/* =========================================================
   МПЛ — Межрегиональная проектная лаборатория
   Тема: графит + тёплое золото. Sora / Manrope.
   ========================================================= */

:root {
  --bg:        #0a0b0d;
  --bg-2:      #0e1013;
  --panel:     #121417;
  --panel-2:   #16181c;
  --line:      rgba(240, 198, 116, 0.14);
  --line-soft: rgba(255, 255, 255, 0.07);

  --ink:       #f4f1ea;
  --ink-2:     #b9b6ae;
  --ink-3:     #7e7c76;

  --gold:      #e6b45e;
  --gold-bright:#f0c674;
  --gold-deep: #c8933f;
  --gold-glow: rgba(230, 180, 94, 0.35);

  --radius:    18px;
  --radius-sm: 12px;
  --wrap:      1160px;
  --gutter:    clamp(20px, 5vw, 48px);

  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body:    "Manrope", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- Доступность ---- */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--gold); color: #1a1206; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================
   Атмосферный фон
   ========================================================= */
.bg-atmos { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--bg); }
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.bg-glow--1 {
  width: 620px; height: 620px; top: -260px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(230,180,94,0.28), transparent 65%);
}
.bg-glow--2 {
  width: 520px; height: 520px; top: 40%; right: -180px;
  background: radial-gradient(circle, rgba(120,150,200,0.12), transparent 65%);
}
.bg-noise {
  position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

/* =========================================================
   Кнопки
   ========================================================= */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn--sm { min-height: 42px; padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--primary {
  color: #1c1305;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 8px 24px -10px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--ink); background: rgba(255,255,255,0.02);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(230,180,94,0.06); transform: translateY(-2px); }
.btn--ghost svg { transition: transform .25s var(--ease); }
.btn--ghost:hover svg { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transform: none; }
}

/* =========================================================
   Шапка
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 11, 13, 0.6);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); background: rgba(10,11,13,0.82); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { display: grid; place-items: center; flex: none; }
.brand__mark svg { filter: drop-shadow(0 2px 8px var(--gold-glow)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__abbr { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; }
.brand__full { font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.01em; }

.nav { display: flex; gap: 6px; }
.nav a {
  position: relative; padding: 9px 14px; font-size: 14.5px; color: var(--ink-2); border-radius: 10px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(255,255,255,0.04); }

.header-cta { flex: none; }
.header-back { flex: none; margin-left: auto; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: 1px solid var(--line-soft);
  border-radius: 10px; cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 22px; border-top: 1px solid var(--line-soft); }
.mobile-nav a { padding: 14px 12px; color: var(--ink-2); border-radius: 10px; font-size: 16px; }
.mobile-nav a:hover { background: rgba(255,255,255,0.04); color: var(--ink); }
.mobile-nav .btn { margin-top: 8px; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: clamp(72px, 13vh, 150px) 0 clamp(56px, 9vh, 110px); }
.hero__inner { max-width: 860px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold);
  padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(230,180,94,0.05);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 4px rgba(230,180,94,0.18); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(230,180,94,0.2); } 50% { box-shadow: 0 0 0 6px rgba(230,180,94,0.05); } }

.hero__title { font-size: clamp(2.2rem, 6.4vw, 4.6rem); font-weight: 800; margin: 24px 0 0; overflow-wrap: break-word; hyphens: auto; }
.hero__accent {
  display: block;
  background: linear-gradient(100deg, var(--gold-bright) 10%, var(--gold-deep) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 26px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-2); max-width: 660px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__meta {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px;
  margin-top: 56px; border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; background: var(--line-soft);
}
.hero__meta > div { background: var(--bg-2); padding: 20px 22px; }
.hero__meta dt { font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.hero__meta dd { margin: 6px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); }

/* =========================================================
   Секции — общее
   ========================================================= */
.section { padding: clamp(64px, 11vh, 128px) 0; position: relative; }
.section--process { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015), transparent); }

.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vh, 68px); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-idx { display: inline-block; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.section-sub { margin-top: 16px; color: var(--ink-2); font-size: 1.06rem; }

/* =========================================================
   Карточки компетенций
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.card {
  position: relative; padding: 28px 26px 30px;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 200px at var(--mx, 50%) -10%, rgba(230,180,94,0.1), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); background: var(--panel-2); }
.card:hover::before { opacity: 1; }

.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px;
  border-radius: 13px; color: var(--gold-bright);
  background: rgba(230,180,94,0.09); border: 1px solid var(--line);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 0.98rem; }

@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

/* =========================================================
   Процесс — шаги
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: none; }
.step {
  position: relative; padding: 26px 22px 28px;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.step:hover { border-color: var(--line); transform: translateY(-3px); }
.step__num {
  display: inline-block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px var(--gold-deep); margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 9px; }
.step p { color: var(--ink-2); font-size: 0.95rem; }
@media (prefers-reduced-motion: reduce) { .step:hover { transform: none; } }

/* =========================================================
   О лаборатории
   ========================================================= */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about__lead { font-size: 1.22rem; color: var(--ink); margin-top: 8px; }
.about__body { margin-top: 20px; color: var(--ink-2); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tags li {
  font-family: var(--font-display); font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  padding: 8px 15px; border: 1px solid var(--line-soft); border-radius: 999px; background: rgba(255,255,255,0.02);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.tags li:hover { border-color: var(--gold); color: var(--gold-bright); }

.about__aside {
  padding: 8px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(230,180,94,0.05), transparent);
}
.principles li { padding: 22px 20px; border-radius: var(--radius-sm); }
.principles li + li { border-top: 1px solid var(--line-soft); }
.principles__k { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--gold-bright); margin-bottom: 7px; }
.principles__v { display: block; color: var(--ink-2); font-size: 0.96rem; }

/* =========================================================
   Форма
   ========================================================= */
.section--contact { padding-bottom: clamp(72px, 12vh, 140px); }
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__intro { position: sticky; top: 100px; }
.contact__intro .section-idx { margin-bottom: 14px; }
.contact__intro h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.contact__sub { margin-top: 18px; color: var(--ink-2); font-size: 1.08rem; max-width: 420px; }

.lead-form {
  padding: clamp(26px, 4vw, 40px);
  background: var(--panel); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 9px; }
.field label span { color: var(--gold); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #101216;
  box-shadow: 0 0 0 3px rgba(230,180,94,0.14);
}
.field.has-error input, .field.has-error textarea { border-color: #e2705a; box-shadow: 0 0 0 3px rgba(226,112,90,0.14); }
.field__error { margin-top: 8px; font-size: 13.5px; color: #ee8b78; }

.lead-form__note { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.lead-form__note a, .consent a, .legal a, .cookie__text a, .footer-bottom a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.lead-form__note a:hover, .consent a:hover, .legal a:hover, .cookie__text a:hover, .footer-bottom a:hover { color: var(--gold-bright); }

/* Чекбокс согласия */
.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.consent input[type="checkbox"] {
  flex: none; width: 22px; height: 22px; margin: 0; margin-top: 1px;
  accent-color: var(--gold-deep); cursor: pointer;
}
.consent label { font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent.has-error label { color: #ee8b78; }
.consent.has-error input[type="checkbox"] { outline: 2px solid #e2705a; outline-offset: 2px; border-radius: 4px; }
/* увеличенная тап-зона на чекбоксе */
.consent__box { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; margin: -11px 0 -11px -11px; flex: none; }

.lead-form__status {
  margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); font-size: 15px; line-height: 1.5;
  border: 1px solid transparent;
}
.lead-form__status.is-success { background: rgba(230,180,94,0.08); border-color: var(--line); color: var(--gold-bright); }
.lead-form__status.is-error { background: rgba(226,112,90,0.08); border-color: rgba(226,112,90,0.3); color: #ee8b78; }

/* спиннер кнопки */
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(28,19,5,0.35); border-top-color: #1c1305; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .btn__label { opacity: 0.6; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Футер
   ========================================================= */
.site-footer { border-top: 1px solid var(--line-soft); padding: clamp(48px, 8vh, 80px) 0 30px; margin-top: 20px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer__brand { display: flex; gap: 16px; max-width: 440px; }
.footer__abbr { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; }
.footer__desc { margin-top: 6px; color: var(--ink-3); font-size: 14px; }
.footer__nav { display: grid; gap: 12px; align-content: start; }
.footer__nav a { color: var(--ink-2); font-size: 14.5px; transition: color .2s var(--ease); }
.footer__nav a:hover { color: var(--gold-bright); }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.footer-bottom p { font-size: 13px; color: var(--ink-3); }
.footer-legal { margin-top: 14px; }
.footer-legal p { font-size: 12px; color: var(--ink-3); line-height: 1.6; overflow-wrap: break-word; }

/* =========================================================
   Cookie-баннер
   ========================================================= */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 16, 19, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 50px -30px rgba(0,0,0,0.9);
  transform: translateY(110%);
  transition: transform .4s var(--ease);
}
.cookie.is-visible { transform: translateY(0); }
.cookie__inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie__text { flex: 1 1 340px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cookie__actions { flex: none; display: flex; align-items: center; gap: 8px; }
.cookie__more { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.cookie__more:hover { color: var(--gold-bright); }

@media (prefers-reduced-motion: reduce) {
  .cookie { transition: none; }
}

/* =========================================================
   Страница Политики
   ========================================================= */
.legal-page { padding: clamp(48px, 8vh, 96px) 0 clamp(56px, 9vh, 110px); }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 14.5px; color: var(--ink-2); margin-bottom: 24px;
  transition: color .2s var(--ease);
}
.legal-back:hover { color: var(--gold-bright); }
.legal { max-width: 720px; }
.legal__title { font-size: clamp(1.8rem, 4.6vw, 2.7rem); margin-bottom: 10px; }
.legal__meta { color: var(--ink-3); font-size: 14px; margin-bottom: 36px; }
.legal h2 {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 600;
  color: var(--gold-bright); margin: 38px 0 12px; scroll-margin-top: 90px;
}
.legal p { color: var(--ink-2); font-size: 1.02rem; line-height: 1.75; margin-bottom: 14px; overflow-wrap: break-word; }
.legal ul { margin: 0 0 14px; padding-left: 4px; list-style: none; }
.legal ul li { position: relative; padding-left: 20px; margin-bottom: 9px; color: var(--ink-2); line-height: 1.7; overflow-wrap: break-word; }
.legal ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-deep); }
.legal a { overflow-wrap: break-word; }
.legal__req {
  margin-top: 40px; padding: 24px 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: linear-gradient(180deg, rgba(230,180,94,0.05), transparent);
}
.legal__req dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.legal__req dt { color: var(--ink-3); font-size: 14px; }
.legal__req dd { margin: 0; color: var(--ink); font-size: 14px; }

@media (max-width: 520px) {
  .legal__req dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal__req dt { margin-top: 10px; }
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: .07s; }
[data-reveal].d2 { transition-delay: .14s; }
[data-reveal].d3 { transition-delay: .21s; }
[data-reveal].d4 { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .eyebrow__dot { animation: none; }
  .btn__spinner { animation-duration: 1.4s; }
}

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
}

@media (max-width: 780px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .site-header.nav-open .mobile-nav { display: flex; }
  .hero__meta { grid-template-columns: 1fr; }
  .cookie__inner { gap: 12px; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 520px) {
  /* hero-заголовок: без грубых переносов слов */
  .hero__title { font-size: clamp(1.95rem, 8.4vw, 2.9rem); hyphens: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .footer-inner { gap: 28px; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .brand__full { display: none; }
  .lead-form { padding: 22px 18px; }
  .card { padding: 24px 20px 26px; }
  .step { padding: 22px 18px 24px; }
}
