﻿:root {
  --bg: #171717;
  --bg-soft: #0f0f10;
  --panel: rgba(31, 35, 53, 0.86);
  --panel-soft: rgba(38, 45, 72, 0.86);
  --panel-strong: rgba(16, 18, 28, 0.96);
  --panel-card: rgba(24, 28, 44, 0.82);
  --text: #fafafa;
  --muted: #a3a3a3;
  --line: rgba(255, 255, 255, 0.08);
  --border: rgba(208, 224, 240, 0.12);
  --brand: #4050a0;
  --brand-deep: #405090;
  --brand-soft: #d0e0f0;
  --accent: #4050a0;
  --accent-2: #506090;
  --accent-soft: #d0e0f0;
  --brand-warm: #b02020;
  --neon-blue: #6f8cff;
  --neon-red: #ff5a5a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: min(1280px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background: #171717;
  color: var(--text);
  line-height: 1.5;
}

@keyframes hero-bg-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

@keyframes hero-badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.is-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-main {
  padding-bottom: 48px;
}

.site-main--home {
  padding-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 16, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.site-header--home {
  position: fixed;
  inset: 0 0 auto;
  background: rgba(10, 10, 10, 0.8);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.site-brand--home {
  gap: 0;
}

.site-brand__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4050a0, #405090);
  box-shadow:
    0 16px 28px rgba(64, 80, 160, 0.42),
    0 0 24px rgba(111, 140, 255, 0.22);
}

.site-brand--home .site-brand__icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  padding: 5px;
  border-radius: 18px;
}

.site-brand__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-brand__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-brand__title {
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.site-brand__title span {
  color: var(--brand);
  text-shadow:
    0 0 14px rgba(111, 140, 255, 0.28),
    0 0 32px rgba(111, 140, 255, 0.14);
}

.site-brand__title--page {
  font-size: 20px;
}

.site-brand__caption {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #a3a3a3;
}

.site-brand__eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1 1 auto;
  justify-content: center;
}

.site-nav--home {
  gap: 32px;
}

.site-nav__link {
  text-decoration: none;
  color: #d4d4d4;
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-current {
  color: var(--brand-soft);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.site-header__contact-note {
  font-size: 12px;
  color: #737373;
}

.site-header__phone,
.site-header__cta,
.site-mobile-menu__cta,
.figma-btn,
.figma-form-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header__phone {
  font-size: 14px;
  color: #fff;
}

.site-header__phone--home {
  font-weight: 700;
}

.site-header__phone-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 2px solid var(--brand);
  border-radius: 999px;
  position: relative;
}

.site-header__phone-icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-top: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
  transform: rotate(35deg);
}

.site-header__cta {
  min-height: 42px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow:
    0 14px 28px rgba(64, 80, 160, 0.24),
    0 0 26px rgba(111, 140, 255, 0.2);
}

.site-header__cta--home {
  min-height: 44px;
  padding: 0 20px;
}

.site-header__cta:hover,
.figma-btn:hover,
.figma-form-card button:hover {
  transform: translateY(-1px);
}

.site-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.site-header__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-mobile-menu {
  display: none;
  background: #171717;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-mobile-menu__inner {
  display: grid;
  gap: 8px;
  padding: 16px 0 20px;
}

.site-mobile-menu__link,
.site-mobile-menu__phone {
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.site-mobile-menu__cta {
  min-height: 46px;
  background: var(--brand-deep);
  color: #fff;
}

.figma-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.figma-hero__bg,
.figma-hero__bg img,
.figma-hero__overlay {
  position: absolute;
  inset: 0;
}

.figma-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-bg-zoom 20s linear infinite alternate;
}

.figma-hero__overlay {
  background: rgba(10, 10, 10, 0.8);
}

.figma-hero__overlay--side {
  background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.9) 48%, rgba(10, 10, 10, 0.15) 100%);
}

.figma-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
}

.figma-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(430px, 0.82fr);
  gap: 64px;
  align-items: center;
  width: 100%;
}

.figma-hero__main {
  max-width: 980px;
  animation: hero-fade-up 0.8s ease-out both;
}

.figma-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(64, 80, 160, 0.18);
  border: 1px solid rgba(208, 224, 240, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(111, 140, 255, 0.08),
    0 0 24px rgba(111, 140, 255, 0.1);
  margin-bottom: 32px;
  color: var(--brand-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.figma-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 14px rgba(111, 140, 255, 0.9);
}

.figma-hero__content {
  max-width: 1040px;
}

.figma-hero__content h1 {
  margin: 0 0 24px;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #fff;
  max-width: 11.5ch;
}

.figma-hero__content h1 span,
.figma-stat strong span {
  color: var(--brand);
}

.figma-stat__unit {
  display: inline-block;
  margin-left: 1px;
  font-size: 0.72em;
  line-height: 1;
}

.figma-stat__unit sup {
  font-size: 0.58em;
  line-height: 0;
  position: relative;
  top: -0.45em;
}

.figma-hero__content p {
  margin: 0 0 40px;
  max-width: 42rem;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: #d4d4d4;
}

.figma-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.figma-btn {
  min-height: 56px;
  padding: 0 32px;
  font-size: 16px;
}

.figma-btn--primary {
  background: linear-gradient(135deg, #4050a0, #506090);
  color: #fff;
  box-shadow:
    0 18px 36px rgba(33, 41, 84, 0.52),
    0 0 32px rgba(111, 140, 255, 0.28);
}

.figma-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(8px);
}

.figma-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.figma-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 38px;
  line-height: 1;
  color: #fff;
  font-weight: 800;
}

.figma-stat p {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a3a3a3;
  font-weight: 700;
}

.figma-hero-widget {
  position: relative;
  width: 100%;
  max-width: 480px;
  animation: hero-fade-up 0.8s ease-out 0.2s both;
}

.figma-hero-widget__floating {
  position: absolute;
  top: -78px;
  right: -24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 316px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(39, 48, 78, 0.96);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(111, 140, 255, 0.14);
  border-top: 2px solid rgba(176, 32, 32, 0.55);
  animation: hero-badge-float 4s ease-in-out infinite;
}

.figma-hero-widget__floating-icon,
.figma-hero-widget__shield {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(64, 80, 160, 0.18);
  box-shadow:
    inset 0 0 18px rgba(111, 140, 255, 0.12),
    0 0 18px rgba(111, 140, 255, 0.14);
}

.figma-hero-widget__floating p,
.figma-hero-widget__head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: #b7c1da;
  font-weight: 700;
}

.figma-hero-widget__floating strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-shadow:
    0 1px 0 rgba(176, 32, 32, 0.12),
    0 0 16px rgba(111, 140, 255, 0.18);
}

.figma-hero-widget__panel {
  padding: 40px 32px 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(35, 40, 62, 0.96), rgba(18, 22, 36, 0.96));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    0 0 54px rgba(111, 140, 255, 0.08);
  backdrop-filter: blur(20px);
}

.figma-hero__title span,
.figma-stat__value span {
  text-shadow:
    0 0 18px rgba(111, 140, 255, 0.28),
    0 0 42px rgba(111, 140, 255, 0.14);
}

.figma-hero-widget__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.figma-hero-widget__head h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
}

.figma-hero-widget__cards {
  display: grid;
  gap: 16px;
}

.figma-hero-widget__card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(7, 12, 28, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.figma-hero-widget__card:hover {
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(7, 12, 28, 0.82);
}

.figma-hero-widget__card h4 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}

.figma-hero-widget__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #aab5cf;
}

.figma-hero-widget svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.figma-section {
  position: relative;
  z-index: 2;
  padding: 96px 0;
  background: #171717;
}

.figma-section--dark {
  background: #0f0f10;
  border-top: 1px solid #262626;
}

.figma-section--form {
  overflow: hidden;
  border-top: 1px solid #262626;
}

.figma-section__intro {
  max-width: 768px;
  margin-bottom: 64px;
}

.figma-section__intro--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.figma-section__intro h2,
.figma-production__content h2,
.figma-section__split h2,
.figma-form-band__content h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #fff;
}

.figma-section__intro p,
.figma-production__content > p,
.figma-section__split p,
.figma-form-band__content p,
.figma-step p,
.figma-card p,
.figma-check p,
.figma-production__note {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #a3a3a3;
}

.figma-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.figma-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(38, 38, 38, 0.5);
  transition: border-color 180ms ease;
}

.figma-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.figma-card__icon,
.figma-step__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 24px;
}

.figma-card h3,
.figma-step h4,
.figma-check h4,
.figma-showcase__content strong {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

.figma-production {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.figma-production__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.figma-production__gallery img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.figma-production__image-offset {
  transform: translateY(32px);
}

.figma-checks {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.figma-check {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
}

.figma-check__mark {
  color: var(--brand);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}

.figma-production__note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.figma-section__split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.figma-section__split > div {
  max-width: 768px;
}

.figma-section__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}

.figma-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.figma-showcase {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 16px;
  text-decoration: none;
}

.figma-showcase img,
.figma-showcase__overlay {
  position: absolute;
  inset: 0;
}

.figma-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.figma-showcase:hover img {
  transform: scale(1.05);
}

.figma-showcase__overlay {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.06), rgba(10, 10, 10, 0.84));
}

.figma-showcase__content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
}

.figma-showcase__content small {
  display: block;
  font-size: 14px;
  color: #d4d4d4;
}

.figma-steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 8px;
}

.figma-steps-grid::before {
  content: "";
  position: absolute;
  top: 42px;
  left: calc(12.5% + 44px);
  right: calc(12.5% + 44px);
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  z-index: 0;
}

.figma-step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.figma-step__icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 38px;
  border-radius: 22px;
  border: 3px solid rgba(59, 130, 246, 0.38);
  background: #1b1b1b;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.figma-step__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--brand);
  stroke-width: 1.8;
  fill: none !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.figma-step__icon svg path,
.figma-step__icon svg rect,
.figma-step__icon svg circle,
.figma-step__icon svg polygon,
.figma-step__icon svg line,
.figma-step__icon svg polyline {
  fill: none !important;
  stroke: var(--brand) !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.figma-step h4 {
  margin-bottom: 18px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.figma-step p {
  max-width: 340px;
  font-size: 19px;
  line-height: 1.6;
  color: #b5b5b5;
}

.figma-form-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 48px;
  padding: 48px 64px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(38, 38, 38, 0.8);
}

.figma-form-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: rgba(59, 130, 246, 0.05);
  filter: blur(140px);
  pointer-events: none;
}

.figma-form-band__content {
  position: relative;
  z-index: 1;
}

.figma-form-band__content ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.figma-form-band__content li {
  position: relative;
  padding-left: 28px;
  color: #d4d4d4;
}

.figma-form-band__content li::before {
  content: "вњ“";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
}

.figma-form-card {
  position: relative;
  z-index: 1;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #171717;
  box-shadow: var(--shadow);
}

.figma-form-card form {
  display: grid;
  gap: 20px;
}

.figma-form-card label {
  display: grid;
  gap: 8px;
}

.figma-form-card label span {
  font-size: 14px;
  color: #a3a3a3;
}

.figma-form-card input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #262626;
  color: #fff;
  font: inherit;
}

.figma-form-card button {
  min-height: 56px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 16px;
}

.figma-form-card p {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: #737373;
}

.site-footer {
  background: #171717;
}

.site-footer--home {
  background: #0a0a0a;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer__inner {
  padding: 0;
}

.site-footer__grid-home {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer__brand-home {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.site-footer__brand-icon {
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 8px;
  background: var(--brand-deep);
}

.site-footer__brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer__brand-text,
.site-footer__home-title {
  color: #fff;
  font-weight: 700;
}

.site-footer__home-title {
  margin: 0 0 16px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.site-footer__home-text,
.site-footer__home-links,
.site-footer__bottom-home p,
.site-footer__bottom-home-links a {
  color: #737373;
}

.site-footer__home-links {
  display: grid;
  gap: 12px;
}

.site-footer__home-links a {
  text-decoration: none;
}

.site-footer__bottom-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom-home-links {
  display: flex;
  gap: 16px;
}

.page-hero {
  padding-top: 110px;
}

.page-hero__card,
.page-content:not(.page-content--home) > .container,
.page-content:not(.page-content--home) > article,
.page-content:not(.page-content--home) > section,
.page-content:not(.page-content--home) > div {
  width: var(--container);
  margin: 0 auto 24px;
  padding: 28px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(23, 23, 23, 0.92);
}

.page-breadcrumbs,
.page-content:not(.page-content--home) {
  color: #a3a3a3;
}

.page-content:not(.page-content--home) > article.product-detail {
  padding: 24px;
  border-radius: 28px;
}

.page-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

#pagetitle {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
}

.page-content:not(.page-content--home) h2,
.page-content:not(.page-content--home) h3,
.page-content:not(.page-content--home) strong,
.page-content:not(.page-content--home) b {
  color: #fff;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 18px;
  }

  .figma-hero__layout,
  .figma-cards-grid,
  .figma-steps-grid,
  .site-footer__grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-form-band {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .site-nav,
  .site-header__contact,
  .site-header__cta {
    display: none;
  }

  .site-header__toggle,
  .site-mobile-menu {
    display: block;
  }

  .figma-hero__layout,
  .figma-production,
  .figma-cards-grid,
  .figma-steps-grid,
  .figma-showcase-grid,
  .site-footer__grid-home {
    grid-template-columns: minmax(0, 1fr);
  }

  .figma-hero-widget {
    max-width: none;
  }

  .figma-hero-widget__floating {
    position: static;
    min-width: 0;
    margin-bottom: 18px;
  }

  .figma-hero-widget__panel {
    padding: 28px;
  }

  .figma-steps-grid::before {
    display: none;
  }

  .figma-section__split,
  .site-footer__bottom-home {
    flex-direction: column;
    align-items: flex-start;
  }

  .figma-production__image-offset {
    transform: none;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  .site-brand__caption,
  .site-brand__eyebrow {
    display: none;
  }

  .site-brand__title {
    font-size: 16px;
  }

  .figma-hero__inner {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .figma-hero__content h1 {
    max-width: none;
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .figma-hero__actions {
    flex-direction: column;
  }

  .figma-btn {
    width: 100%;
  }

  .figma-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-section {
    padding: 72px 0;
  }

  .figma-card,
  .figma-form-card,
  .figma-form-band {
    padding-left: 20px;
    padding-right: 20px;
  }

  .figma-hero-widget__card {
    grid-template-columns: 1fr;
  }
}

/* Internal pages palette sync */
.site-body:not(.is-homepage) .content-layout,
.site-body:not(.is-homepage) .product-detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-body:not(.is-homepage) .page-breadcrumbs,
.site-body:not(.is-homepage) .page-breadcrumbs a,
.site-body:not(.is-homepage) .page-breadcrumbs span,
.site-body:not(.is-homepage) .page-breadcrumbs .bx-breadcrumb-item,
.site-body:not(.is-homepage) .page-breadcrumbs .bx-breadcrumb-item a {
  color: #9fa9c6;
}

.site-body:not(.is-homepage) .page-breadcrumbs a:hover,
.site-body:not(.is-homepage) .page-breadcrumbs a:focus-visible {
  color: var(--brand-soft);
}

.site-body:not(.is-homepage) .page-hero__card,
.site-body:not(.is-homepage) .feature-strip,
.site-body:not(.is-homepage) .cta-band,
.site-body:not(.is-homepage) .content-card,
.site-body:not(.is-homepage) .feature-card,
.site-body:not(.is-homepage) .process-card,
.site-body:not(.is-homepage) .contact-item,
.site-body:not(.is-homepage) .catalog-card,
.site-body:not(.is-homepage) .product-detail {
  border: 1px solid rgba(208, 224, 240, 0.1);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(111, 140, 255, 0.08);
}

.site-body:not(.is-homepage) .page-hero__card,
.site-body:not(.is-homepage) .feature-strip,
.site-body:not(.is-homepage) .content-card,
.site-body:not(.is-homepage) .cta-band {
  background:
    linear-gradient(180deg, rgba(36, 42, 64, 0.94), rgba(16, 18, 28, 0.96));
}

.site-body:not(.is-homepage) .content-card--accent,
.site-body:not(.is-homepage) .cta-band {
  background:
    linear-gradient(135deg, rgba(58, 69, 108, 0.94), rgba(22, 27, 42, 0.98));
}

.site-body:not(.is-homepage) .feature-card,
.site-body:not(.is-homepage) .process-card,
.site-body:not(.is-homepage) .contact-item,
.site-body:not(.is-homepage) .catalog-card,
.site-body:not(.is-homepage) .product-detail,
.site-body:not(.is-homepage) .product-detail__fact,
.site-body:not(.is-homepage) .product-gallery__main,
.site-body:not(.is-homepage) .product-gallery__thumb,
.site-body:not(.is-homepage) .product-detail__media {
  background:
    linear-gradient(180deg, rgba(14, 18, 30, 0.88), rgba(7, 10, 18, 0.92));
  border-color: rgba(208, 224, 240, 0.08);
}

.site-body:not(.is-homepage) .catalog-card,
.site-body:not(.is-homepage) .feature-card,
.site-body:not(.is-homepage) .process-card,
.site-body:not(.is-homepage) .contact-item,
.site-body:not(.is-homepage) .product-gallery__thumb {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-body:not(.is-homepage) .catalog-card:hover,
.site-body:not(.is-homepage) .feature-card:hover,
.site-body:not(.is-homepage) .process-card:hover,
.site-body:not(.is-homepage) .contact-item:hover,
.site-body:not(.is-homepage) .product-gallery__thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(208, 224, 240, 0.16);
}

.site-body:not(.is-homepage) .catalog-card__image,
.site-body:not(.is-homepage) .product-gallery__main img,
.site-body:not(.is-homepage) .product-gallery__thumb img {
  background: rgba(9, 12, 22, 0.94);
}

.site-body:not(.is-homepage) .product-gallery__thumb.is-active {
  border-color: var(--brand);
  box-shadow:
    0 0 0 1px rgba(111, 140, 255, 0.22),
    0 18px 36px rgba(33, 41, 84, 0.36);
}

.site-body:not(.is-homepage) .product-detail__fact,
.site-body:not(.is-homepage) .product-detail__chip {
  background: rgba(25, 31, 49, 0.9);
  border-color: rgba(208, 224, 240, 0.08);
}

.site-body:not(.is-homepage) #pagetitle,
.site-body:not(.is-homepage) .content-card h2,
.site-body:not(.is-homepage) .content-card h3,
.site-body:not(.is-homepage) .feature-card h2,
.site-body:not(.is-homepage) .process-card h3,
.site-body:not(.is-homepage) .catalog-card__title,
.site-body:not(.is-homepage) .catalog-card__title a,
.site-body:not(.is-homepage) .product-detail h2,
.site-body:not(.is-homepage) .product-detail__fact strong,
.site-body:not(.is-homepage) .contact-item strong,
.site-body:not(.is-homepage) .contact-item a,
.site-body:not(.is-homepage) .product-gallery__meta strong,
.site-body:not(.is-homepage) .product-gallery__thumb-copy strong {
  color: #fff;
}

.site-body:not(.is-homepage) .page-hero__eyebrow,
.site-body:not(.is-homepage) .section-heading__eyebrow,
.site-body:not(.is-homepage) .feature-card__index,
.site-body:not(.is-homepage) .contact-item__label {
  color: var(--brand-soft);
}

.site-body:not(.is-homepage) .content-card p,
.site-body:not(.is-homepage) .catalog-card__text,
.site-body:not(.is-homepage) .feature-card p:last-child,
.site-body:not(.is-homepage) .product-detail__lead,
.site-body:not(.is-homepage) .product-detail__text,
.site-body:not(.is-homepage) .product-detail__fact span,
.site-body:not(.is-homepage) .product-gallery__meta span,
.site-body:not(.is-homepage) .product-gallery__thumb-copy span,
.site-body:not(.is-homepage) .contact-item,
.site-body:not(.is-homepage) .content-list {
  color: #aab5cf;
}

.site-body:not(.is-homepage) .content-list li::marker {
  color: var(--brand);
}

.site-body:not(.is-homepage) .button--primary,
.site-body:not(.is-homepage) .catalog-card__link {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow:
    0 16px 32px rgba(64, 80, 160, 0.28),
    0 0 28px rgba(111, 140, 255, 0.18);
}

.site-body:not(.is-homepage) .button--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(208, 224, 240, 0.14);
  color: #eef3ff;
}

.site-body:not(.is-homepage) .button--ghost:hover,
.site-body:not(.is-homepage) .button--primary:hover,
.site-body:not(.is-homepage) .catalog-card__link:hover {
  transform: translateY(-1px);
}

.site-footer:not(.site-footer--home) {
  padding: 20px 0 48px;
  background: #0f0f10;
}

.site-footer:not(.site-footer--home) .site-footer__top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(208, 224, 240, 0.1);
  background:
    linear-gradient(180deg, rgba(35, 40, 62, 0.96), rgba(18, 22, 36, 0.96));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(111, 140, 255, 0.08);
}

.site-footer:not(.site-footer--home) .site-footer__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-soft);
}

.site-footer:not(.site-footer--home) .site-footer__brand-link {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 800;
  color: #fff;
}

.site-footer:not(.site-footer--home) .site-footer__brand-link span {
  color: var(--brand);
  text-shadow:
    0 0 14px rgba(111, 140, 255, 0.24),
    0 0 28px rgba(111, 140, 255, 0.12);
}

.site-footer:not(.site-footer--home) .site-footer__text,
.site-footer:not(.site-footer--home) .site-footer__contacts p,
.site-footer:not(.site-footer--home) .site-footer__bottom p {
  color: #9fa9c6;
}

.site-footer:not(.site-footer--home) .site-footer__nav,
.site-footer:not(.site-footer--home) .site-footer__contacts {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer:not(.site-footer--home) .site-footer__nav a,
.site-footer:not(.site-footer--home) .site-footer__contacts a {
  text-decoration: none;
  color: #fff;
  transition: color 160ms ease;
}

.site-footer:not(.site-footer--home) .site-footer__nav a:hover,
.site-footer:not(.site-footer--home) .site-footer__contacts a:hover,
.site-footer:not(.site-footer--home) .site-footer__bottom-link:hover {
  color: var(--brand-soft);
}

.site-footer:not(.site-footer--home) .site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 18px 24px;
  border-radius: 20px;
  border: 1px solid rgba(208, 224, 240, 0.08);
  background: rgba(15, 19, 31, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.site-footer:not(.site-footer--home) .site-footer__bottom p {
  margin: 0;
}

.site-footer:not(.site-footer--home) .site-footer__bottom-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow:
    0 14px 30px rgba(64, 80, 160, 0.24),
    0 0 24px rgba(111, 140, 255, 0.16);
}

@media (max-width: 960px) {
  .site-footer:not(.site-footer--home) .site-footer__top {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .site-footer:not(.site-footer--home) .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer:not(.site-footer--home) {
    padding-bottom: 32px;
  }

  .site-footer:not(.site-footer--home) .site-footer__top,
  .site-footer:not(.site-footer--home) .site-footer__bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-body:not(.is-homepage) .feature-strip,
  .site-body:not(.is-homepage) .cta-band,
  .site-body:not(.is-homepage) .content-card,
  .site-body:not(.is-homepage) .product-detail {
    border-radius: 20px;
  }
}

/* /products section-card readability override */
.section-card {
  overflow: hidden;
  background: var(--panel-strong);
  border: 1px solid var(--border);
}

.section-card__body {
  padding: 28px;
  background: linear-gradient(180deg, rgba(16, 18, 28, 0.96) 0%, rgba(24, 28, 44, 0.94) 100%);
  border-top: 1px solid rgba(208, 224, 240, 0.08);
}

.section-card__title,
.section-card__title a {
  color: var(--text);
}

.section-card__text {
  color: #d7dbe6;
}

.section-card__meta {
  color: var(--brand-soft);
}

