/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', 'Montserrat', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #021276;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   VARIABLES — цвета точь в точь по Figma
   ============================================================ */
:root {
  --orange:      #FD7E01;
  --orange-dark: #e56e00;
  --orange-glow: rgba(253,126,1,0.4);
  --navy:        #021276;
  --navy-mid:    #0422DC;
  --navy-footer: #020955;
  --red:         #EF4444;
  --sky:         #B3DEFF;
  --bg-light:    #EFF6FF;
  --bg-hero-blur:#E9F2FA;
  --white:       #ffffff;
  --text-muted:  #3A506B;
  --border:      rgba(179,222,255,0.2);
  --radius:      16px;
  --radius-lg:   24px;
  --shadow:      0 10px 40px -10px rgba(2,18,118,0.10);
  --shadow-lg:   0 25px 50px -12px rgba(0,0,0,0.25);
  --tr:          0.22s ease;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container { padding: 0 112px; }

@media (max-width: 1440px) { .container { padding: 0 112px; } }
@media (max-width: 1280px) { .container { padding: 0 48px; } }
@media (max-width: 1024px) { .container { padding: 0 40px; } }
@media (max-width: 768px)  { .container { padding: 0 20px; } }

/* ============================================================
   TYPOGRAPHY — SECTION TITLES
   ============================================================ */
.section-title {
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--navy);
}
.section-title--center  { text-align: center; }
.section-title--white   { color: var(--white); }
.section-title__accent  { color: var(--orange); }

.section-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  margin-top: 16px;
}
.section-subtitle strong { font-weight: 700; color: var(--navy); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  padding: 16px 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.btn--pill { border-radius: 9999px; }

.btn--orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 6px -4px rgba(0,0,0,0.1), 0 10px 15px -3px rgba(0,0,0,0.1);
}
.btn--orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--orange-glow);
}

.btn--white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--white-outline:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -3px rgba(255,255,255,0.1);
}

.checklist__btn {
  background-color: #B3DEFF;
  color: #021276;
}

.btn--submit {
  width: 100%;
  font-size: 16px;
  padding: 16px 32px;
}

.btn__icon { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 81px;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(2,18,118,0.06);
  transform: translateY(0);
  transition: box-shadow var(--tr), background var(--tr), transform 0.28s ease;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(2,18,118,0.12); }
.header._black { box-shadow: 0 6px 24px rgba(2,18,118,0.14); }
.header._hidden { transform: translateY(-100%); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

/* LOGO */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo__brand { width: 160px; height: auto; display: block; }

/* NAVMENU (desktop: just inline links; mobile: slide-in panel) */
.navmenu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.navmenu__title { display: none; }
.navmenu__contacts { display: none; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color var(--tr), background var(--tr);
}
.nav__link:hover { color: var(--navy); background: var(--bg-light); }

/* Header CTA */
.header__cta { padding: 14px 28px; font-size: 16px; }

/* BURGER TOGGLE — CSS-only via :target */
.burger-toggle {
  display: none;
  position: relative;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1.5px solid rgba(2,18,118,0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: border-color var(--tr), background var(--tr);
  user-select: none;
}
.burger-toggle:hover { border-color: var(--orange); }
.burger-toggle__text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.burger-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 22px; height: 22px;
}
.burger-toggle__icon::before,
.burger-toggle__icon::after {
  content: '';
  width: 18px; height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--tr);
}
.burger-toggle__icon--close::before { transform: translateY(4px) rotate(45deg); }
.burger-toggle__icon--close::after  { transform: translateY(-3px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 728px;
  padding-top: 81px; /* header height */
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Background image - полный bleed */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero-merch.png");
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

/* Большой голубой blur-blob слева (из Figma: Rectangle 3, blur 200px) */
.hero__blur {
  position: absolute;
  width: 890px; height: 1289px;
  top: -183px; left: -180px;
  background: var(--bg-hero-blur);
  filter: blur(90px);

  z-index: 1;
  pointer-events: none;
}

/* Контент (заголовок + кнопка) */
.hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 93px;
  padding-bottom: 32px;
}

.hero__content {
  max-width: 554px;
  padding: 0;
}

.hero__title {
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 48px;
}
.hero__accent { color: var(--orange); }

/* Мобильная кнопка под stat-карточками — скрыта на всех брейкпоинтах кроме 480px */
.hero__cta {
  display: none;
}

/* Строка стат-карточек — прижата к низу hero */
.hero__stats-row {
  position: relative;
  z-index: 2;
  margin-top: 12px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.stat-card {
  padding: 28px 32px;
  border-radius: 24px;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-card--navy {
  background: var(--navy);
}
.stat-card--navy .stat-card__value { color: var(--orange); text-align: center;}
.stat-card--navy .stat-card__label { color: rgba(255,255,255,0.7); text-align: center;}

.stat-card--white {
  background: var(--white);
}
.stat-card--white .stat-card__value { color: var(--orange); text-align: center;}
.stat-card--white .stat-card__label { color: var(--text-muted); text-align: center;}

.stat-card--orange {
  background: var(--orange);
}
.stat-card--orange .stat-card__value { color: var(--white); text-align: center;}
.stat-card--orange .stat-card__label { color: rgba(255,255,255,0.85); text-align: center;}

.stat-card__value {
  font-size: clamp(28px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card__label { font-size: clamp(14px, 1.4vw, 20px); font-weight: 600; line-height: 1.4; }

/* ============================================================
   PROBLEMS
   ============================================================ */
.problems {
  padding: 96px 0;
  background: var(--white);
}
.problems__title { margin-bottom: 56px; }

.problems__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.problem-card {
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 40px 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: var(--white);
  transition: transform var(--tr), box-shadow var(--tr);
  min-height: 240px;
  flex: 1 1 calc(20% - 20px);
  min-width: 160px;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(239,68,68,0.12);
}

.problem-card__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  position: relative;
}
.problem-card__icon img { width: 100%; height: 100%; object-fit: contain; }

.problem-card__cross {
  position: absolute;
  width: 18px;
  height: 18px;
  top: -6px;
  right: -6px;
}

.problem-card__text {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

/* ============================================================
   ADVANTAGES
   ============================================================ */
.advantages {
  padding: 96px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

/* Декоративный blur-blob (из Figma: background+blur, blueish circle) */
.advantages::after {
  content: '';
  position: absolute;
  width: 512px; height: 512px;
  top: -128px; right: -128px;
  background: var(--sky);
  filter: blur(128px);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
}

.advantages__title { margin-bottom: 8px; }

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.advantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border-top: 4px solid transparent;
  box-shadow: var(--shadow);
  transition: transform var(--tr), box-shadow var(--tr);
  display: flex;
  flex-direction: column;
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.advantage-card--orange { border-top-color: var(--orange); }
.advantage-card--blue   { border-top-color: var(--navy-mid); }
.advantage-card--sky    { border-top-color: var(--sky); }

.advantage-card__icon { width: 64px; height: 64px; margin-bottom: 24px; flex-shrink: 0; }
.advantage-card__icon img { width: 100%; height: 100%; object-fit: contain; }

.advantage-card__title {
  font-size: 20px; font-weight: 800; color: var(--navy);
  margin-bottom: 20px; line-height: 1.3;
}

.advantage-card__list { display: flex; flex-direction: column; gap: 12px; }
.advantage-card__list li {
  font-size: 14px; color: var(--text-muted); line-height: 1.5;
  padding-left: 24px; position: relative;
}
.advantage-card__list li::before {
  content: '';
  position: absolute; left: 0; top: 0px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7l4 4 6-6' stroke='%23021276' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

/* ============================================================
   RESULTS
   ============================================================ */
.results {
  padding: 96px 0;
  background: var(--navy);
}
.results__title { margin-bottom: 56px; }

/* 2×2 grid, карточки горизонтальные (соотношение ~3:1) */
.results__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.result-card {
  border-radius: var(--radius);
  padding: 40px 32px;
  min-height: 200px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: transform var(--tr);
  position: relative;
}
.result-card:hover { transform: translateY(-3px); }

/* Glassmorphism-карточки — rgba(4,34,220,0.5) + backdrop-filter:blur(4px) + subtle border */
.result-card--glass {
  background: rgba(4, 34, 220, 0.5);
  border: 1px solid rgba(179, 222, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Оранжевая карточка с glow (из Figma: box-shadow 0px 0px 20px 0px rgba(253,126,1,0.4)) */
.result-card--orange {
  background: var(--orange);
  box-shadow: 0px 0px 20px 0px var(--orange-glow);
}

.result-card__icon { width: 112px; height: 112px; flex-shrink: 0; }
.result-card__icon img { width: 100%; height: 100%; object-fit: contain; }

.result-card__value {
  font-size: clamp(24px, 3.3vw, 48px);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.result-card__value span { font-size: clamp(18px, 2.2vw, 32px); }
.result-card--orange .result-card__value { color: var(--white); }
.result-card__value--white { color: var(--white) !important; }

.result-card__label {
  font-size: clamp(12px, 1.7vw, 24px); color: rgba(255,255,255,0.75); line-height: 1.4;
}
.result-card__label--top {
  font-size: clamp(12px, 1.4vw, 20px); color: rgba(255,255,255,0.75); order: -1;
}
.result-card--orange .result-card__label,
.result-card--orange .result-card__label--top {
  color: rgba(255,255,255,0.9);
}

.result-card__wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist { padding: 96px 0; background: var(--white); }
.checklist__heading { margin-bottom: 56px; }

.checklist__card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
  min-height: 436px;
}

.checklist__left {
  background: var(--navy);
  padding: 56px 48px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 24px;
}
.checklist__pretitle {
  font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.checklist__title {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 900;
  color: var(--orange);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.checklist__desc {
  font-size: 14px; color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.checklist__right {
  background: #c9daf8;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.checklist__img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
  padding: 96px 0;
  background: var(--bg-light);
}
.form-section__wrap { display: flex; justify-content: center; }

.form-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 832px;
  width: 100%;
  background: var(--white);
}

.form-card__left {
  position: relative;
  background: var(--navy);
  padding: 56px 40px;
  display: flex; flex-direction: column; gap: 32px;
}

.form-card__left::before {
  content: '';
  position: absolute;
  background-image: url("/assets/form-overlay.svg");
  background-size: cover;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.form-card__logo { width: 140px; height: auto; margin-bottom: 8px; }
.form-card__title {
  font-size: clamp(36px, 2vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
}

.form-card__right {
  background: var(--white);
  padding: 48px 40px;
}

/* Form fields */
.itc-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { 
  font-size: 13px; 
  font-weight: 700; 
  color: var(--navy);
  letter-spacing: 0.3px;
}
.form-input {
  font-family: inherit; font-size: 14px; color: var(--navy);
  background: var(--bg-light); border: 1.5px solid rgba(2,18,118,0.12);
  border-radius: 8px; padding: 12px 14px;
  width: 100%; outline: none;
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
}
.form-input::placeholder { color: #AAB4C3; }
.form-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(253,126,1,0.12);
  background: var(--white);
}

.form-input.-invalid {
  border-color: #dc3545;
}

.form-input.-valid {
  border-color: #28a745;
}

.error {
  display: none;
  font-size: 12px;
  color: #dc3545;
  margin-top: 4px;
}

.form-input.-invalid ~ .error,
.form-group.is-invalid .error {
  display: block;
}

.form-output {
  font-size: 14px;
  color: var(--navy);
  margin-top: 16px;
}
.form-output--success {
  color: var(--green);
}
.form-output.-invalid {
  color: var(--red);
}

.submit-component {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}



/* Checkboxes */
.check-group { display: flex; gap: 12px; flex-wrap: wrap; border: none}
.check-option {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1.5px solid rgba(2,18,118,0.12); border-radius: 8px;
  padding: 10px 16px;
  transition: border-color var(--tr), background var(--tr);
}
.check-option:has(input:checked) {
  border-color: var(--orange); background: rgba(253,126,1,0.06);
}
.check-option input { display: none; }
.check-option__box {
  width: 18px; height: 18px; border: 2px solid rgba(2,18,118,0.2);
  border-radius: 4px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr), border-color var(--tr);
}
.check-option:has(input:checked) .check-option__box {
  background: var(--orange); border-color: var(--orange);
}
.check-option__tick { width: 12px; height: 12px; opacity: 0; transition: opacity var(--tr); }
.check-option:has(input:checked) .check-option__tick { opacity: 1; }
.check-option__label { font-size: 14px; font-weight: 600; color: var(--navy); }

/* Privacy */
.privacy-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: var(--text-muted); cursor: pointer; line-height: 1.5;
  margin-top: 8px;
}
.privacy-label input[type="checkbox"] {
  width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--orange); cursor: pointer;
}
.privacy-label a { color: var(--navy); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer__top {
  background: var(--navy-footer);
  padding: 56px 0 48px;
}
.footer__top-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 32px;
  row-gap: 36px;
  align-items: center;
}
.footer__logo {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: start;
}
.footer__logo .logo__brand { width: 160px; height: auto; }

.footer__socials {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  gap: 16px;
  align-self: center;
}
.footer__social {
  width: 56px; height: 56px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--tr), transform var(--tr);
}
.footer__social img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.footer__social:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }

.footer__contacts {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 36px;
  min-width: 0;
}
.footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  word-break: break-word;
  transition: color var(--tr);
}
.footer__contact:hover { color: var(--orange); }
.footer__contact-icon {
  width: 18px; height: 18px;
  opacity: 0.85;
  flex-shrink: 0;
}
.footer__contact--address {
  display: flex;
  align-items: flex-start;
  cursor: default;
}
.footer__contact--address:hover { color: var(--white); }
.footer__contact--address .footer__contact-icon { margin-top: 2px; }

.footer__bottom {
  background: var(--white);
  padding: 28px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 13px;
  font-weight: 500;
  color: #081034;
  line-height: 1.45;
}
.footer__policy {
  font-size: 13px;
  font-weight: 500;
  color: #081034;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--tr);
}
.footer__policy:hover { color: var(--orange); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate].visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE — small desktop 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }

  .hero { min-height: 640px; }
  .hero__body { padding-top: 72px; }
  .hero__title { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 36px; }
  .hero__stats { gap: 24px; }

  .problems { padding: 80px 0; }
  .problems__grid { gap: 16px; }
  .problem-card { flex: 1 1 calc(33.333% - 12px); min-height: 220px; }

  .advantages { padding: 80px 0; }
  .advantages__grid { gap: 24px; margin-top: 48px; }
  .advantage-card { padding: 28px 24px; }

  .results { padding: 80px 0; }
  .results__grid { gap: 20px; }
  .result-card { padding: 32px 28px; min-height: 180px; gap: 24px; }
  .result-card__icon { width: 88px; height: 88px; }

  .checklist { padding: 80px 0; }
  .checklist__card { min-height: 380px; }
  .checklist__left { padding: 48px 36px; gap: 20px; }

  .form-section { padding: 80px 0; }
  .form-card { grid-template-columns: 320px 1fr; max-width: 720px; }
  .form-card__left { padding: 48px 32px; gap: 24px; }
  .form-card__right { padding: 40px 32px; }

  .footer__top { padding: 48px 0 40px; }
  .footer__top-inner {
    grid-template-columns: 1fr auto;
    column-gap: 24px;
    row-gap: 28px;
  }
  .footer__logo { grid-column: 1; grid-row: 1; }
  .footer__socials { grid-column: 2; grid-row: 1; justify-self: end; }
  .footer__contacts { grid-column: 1 / -1; grid-row: 2; gap: 14px 28px; }
}

/* ============================================================
   RESPONSIVE — tablet 768px (Figma: 640-960)
   ============================================================ */
@media (max-width: 768px) {
  .container { padding: 0 32px; }

  .burger-toggle--open { display: inline-flex; }
  .burger-toggle--close { display: none; }
  .header__cta { display: none; }

  /* Full-screen panel — slides in from the right */
  .navmenu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 0 32px;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s linear;
    overflow-y: auto;
    z-index: 99;
    transform: translateX(100%);
    visibility: hidden;
  }
  .navmenu__title {
    display: block;
    margin: 0 24px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .nav {
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__link {
    display: block;
    padding: 18px 24px;
    width: 100%;
    border-top: 1px solid rgba(2, 18, 118, 0.08);
    border-radius: 0;
    color: var(--navy);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    transition: color var(--tr), background var(--tr);
  }
  .nav__link:last-child { border-bottom: 1px solid rgba(2, 18, 118, 0.08); }
  .nav__link:hover { background: var(--bg-light); color: var(--orange); }

  .navmenu__contacts {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 32px 24px 0;
  }
  .navmenu__contacts a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    transition: color var(--tr);
  }
  .navmenu__contacts a:hover { color: var(--orange); }

  /* Keep logo & burger above the slide-in panel so close button stays clickable */
  .logo,
  .burger-toggle { position: relative; z-index: 100; }

  /* Open state via :target — clicking any other anchor inside the menu
     swaps :target away from #navmenu and the menu auto-closes */
  .navmenu:target {
    transform: translateX(0);
    visibility: visible;
  }
  .header:has(.navmenu:target) .burger-toggle--open { display: none; }
  .header:has(.navmenu:target) .burger-toggle--close { display: inline-flex; }

  .hero { min-height: 580px; padding-bottom: 24px; }
  .hero__body { padding-top: 48px; padding-bottom: 16px; }
  .hero__title { font-size: clamp(28px, 6vw, 40px); margin-bottom: 28px; }
  .hero__content { max-width: 100%; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat-card { padding: 20px 16px; min-height: 120px; border-radius: 24px; }
  .stat-card__value { font-size: clamp(22px, 4.5vw, 36px); margin-bottom: 4px; }
  .stat-card__label { font-size: 13px; line-height: 1.3; }

  .problems { padding: 64px 0; }
  .problems__title { margin-bottom: 40px; }
  .problems__grid { gap: 14px; justify-content: center; }
  .problem-card { padding: 28px 12px 22px; min-height: 190px; flex: 1 1 calc(25% - 11px); min-width: 130px; }
  .problem-card__icon { width: 56px; height: 56px; }
  .problem-card__text { font-size: 14px; }
  .problem-card__cross { width: 16px; height: 16px; }

  .advantages { padding: 64px 0; }
  .advantages::after { width: 320px; height: 320px; filter: blur(96px); }
  .advantages__title { margin-bottom: 4px; }
  .advantages__grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .advantage-card { padding: 28px 24px; }

  .results { padding: 64px 0; }
  .results__title { margin-bottom: 40px; }
  .results__grid { grid-template-columns: 1fr; gap: 16px; }
  .result-card { padding: 32px 28px; min-height: 180px; gap: 24px; }
  .result-card__icon { width: 96px; height: 96px; }

  .checklist { padding: 64px 0; }
  .checklist__heading { margin-bottom: 40px; }
  .checklist__card { grid-template-columns: 1fr; min-height: auto; }
  .checklist__left { padding: 40px 28px 36px; gap: 20px; }
  .checklist__pretitle { font-size: 12px; }
  .checklist__title { font-size: clamp(20px, 5vw, 28px); margin-bottom: 0; }
  .checklist__desc { font-size: 14px; }
  .checklist__right { min-height: 280px; order: -1; }

  .form-section { padding: 64px 0; }
  .form-card { grid-template-columns: 1fr; max-width: 560px; }
  .form-card__left { padding: 40px 28px 32px; gap: 20px; align-items: center; text-align: center; }
  .form-card__title { text-align: center; }
  .form-card__right { padding: 32px 28px 36px; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — mobile 640px (footer top row + small tweaks)
   ============================================================ */
@media (max-width: 640px) {
  .footer__top { padding: 36px 0 32px; }
  .footer__top-inner { column-gap: 16px; row-gap: 24px; }
  .footer__social { width: 48px; height: 48px; border-radius: 6px; }
  .footer__contacts { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__bottom { padding: 22px 0; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ============================================================
   RESPONSIVE — mobile 480px (Figma: 320-480)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .header { height: 72px; }
  .logo__brand { width: 130px; }

  .hero { min-height: auto; padding-top: 72px; padding-bottom: 0; }
  .hero__bg { background-position: 65% top; }
  .hero__blur { width: 480px; height: 600px; left: -120px; top: -100px; filter: blur(80px); }
  .hero__body { padding-top: 28px; padding-bottom: 20px; }
  .hero__content .btn { display: none; }
  .hero__title { font-size: clamp(26px, 7vw, 34px); margin-bottom: 0; line-height: 1.1; }
  .hero__stats-row { margin-top: 12px; }
  .hero__cta { display: block; position: relative; z-index: 2; padding: 20px 0 32px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card--orange { grid-column: 1 / -1; }
  .stat-card { padding: 20px 16px; min-height: auto; border-radius: 24px; }
  .stat-card__value { font-size: clamp(26px, 6vw, 38px); margin-bottom: 4px; }
  .stat-card__label { font-size: 13px; line-height: 1.3; }

  .problems { padding: 48px 0; }
  .problems__title { margin-bottom: 28px; font-size: clamp(20px, 5.5vw, 28px); }
  .problems__grid { grid-template-columns: 1fr; gap: 12px; flex-direction: column; }
  .problem-card { padding: 24px 16px 20px; min-height: auto; flex: 1 1 100%; flex-direction: row; text-align: left; align-items: center; gap: 14px; }
  .problem-card__icon { width: 48px; height: 48px; }
  .problem-card__text { font-size: 14px; }
  .problem-card__cross { width: 14px; height: 14px; top: -4px; right: -4px; }

  .advantages { padding: 48px 0; }
  .advantages__grid { gap: 16px; margin-top: 32px; }
  .advantage-card { padding: 24px 20px; }
  .advantage-card__icon { width: 52px; height: 52px; margin-bottom: 16px; }
  .advantage-card__title { font-size: 18px; margin-bottom: 14px; }
  .advantage-card__list li { font-size: 13px; }

  .results { padding: 48px 0; }
  .result-card { padding: 20px 16px; min-height: auto; gap: 16px; }
  .result-card__icon { width: 56px; height: 56px; }
  .result-card__wrapper { gap: 8px; }

  .checklist { padding: 48px 0; }
  .checklist__heading { margin-bottom: 28px; }
  .checklist__card { border-radius: 16px; }
  .checklist__left { padding: 28px 20px; gap: 14px; }
  .checklist__title { font-size: clamp(18px, 5vw, 22px); }
  .checklist__desc { font-size: 13px; }
  .checklist__right { min-height: 200px; }
  .btn--submit { padding: 10px 24px; }

  .form-section { padding: 48px 0; }
  .form-card { border-radius: 16px; }
  .form-card__left { padding: 28px 20px 24px; gap: 16px; }
  .form-card__logo { width: 110px; }
  .form-card__title { font-size: clamp(18px, 5vw, 22px); }
  .form-card__right { padding: 24px 18px 28px; }
  .itc-form { gap: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .form-label { font-size: 12px; }
  .form-input { font-size: 13px; padding: 10px 12px; }
  .check-option { padding: 8px 12px; font-size: 12px; }
  .privacy-label { font-size: 11px; }

  .footer__logo .logo__brand { width: 130px; }
  .footer__contact { font-size: 13px; gap: 8px; }
  .footer__contact-icon { width: 16px; height: 16px; }
  .footer__copy { font-size: 12px; }
  .footer__policy { font-size: 12px; }
}
