/* ═══════════════════════════════════════════════════════════════
   nae-landing.css — стилі продуктових лендингів.
   Використовують: newagetrainer.php, therapylab.php.
   Префікс .nae- історичний (перший лендинг був «Тренер нової ери»),
   але правила тут спільні для всіх продуктових сторінок.

   Кольори НЕ задає: усе через токени (tokens.css) + [data-theme]
   з home.css, тож сторінка автоматично живе в активній темі сайту.
   Локальні змінні нижче — лише псевдоніми акценту, щоб не дублювати
   var(--accent) у кожному правилі.
═══════════════════════════════════════════════════════════════ */

.nae { --nae-max: 1140px; }

/* Теми (home.css) перевизначають --accent, але --accent-rgb лишають зеленим.
   Тому напівпрозорі підкладки рахуємо від самого --accent через color-mix —
   так вони збігаються з акцентом у будь-якій темі, теперішній чи майбутній.
   Перший рядок кожної пари — фолбек для браузерів без color-mix. */
.nae {
  --nae-soft:  rgba(var(--accent-rgb), .12);
  --nae-soft:  color-mix(in srgb, var(--accent) 12%, transparent);
  --nae-mark:  rgba(var(--accent-rgb), .38);
  --nae-mark:  color-mix(in srgb, var(--accent) 34%, transparent);
  --nae-ring:  rgba(var(--accent-rgb), .14);
  --nae-ring:  color-mix(in srgb, var(--accent) 22%, transparent);
  --nae-wash:  rgba(var(--accent-rgb), .20);
  --nae-wash:  color-mix(in srgb, var(--accent) 18%, transparent);
  --nae-wash2: rgba(var(--accent-rgb), .04);
  --nae-wash2: color-mix(in srgb, var(--accent) 5%, transparent);
}

/* Якірні переходи робить сам браузер: scroll-margin-top відсуває ціль
   з-під липких шапки й підменю, а scroll-behavior дає плавність.
   Це надійніше за ручний scrollTo у JS — якщо плавний скрол не підтримується,
   посилання все одно спрацює звичайним стрибком. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.nae [id] { scroll-margin-top: calc(var(--nae-hdr, 0px) + var(--nae-subnav-h, 52px) + 10px); }

/* ── Липке підменю розділів ──────────────────────────────────── */
.nae-subnav {
  /* Шапка сайту (.pub-top) теж sticky top:0 і має z-index 60, тож підменю
     мусить ставати ПІД неї. Висоту шапки міряє JS і кладе у --nae-hdr —
     вона різна на десктопі й мобільному. */
  position: sticky; top: var(--nae-hdr, 0px); z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--sep);
}
.nae-subnav-in {
  max-width: var(--nae-max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
}
.nae-subnav-in::-webkit-scrollbar { display: none; }
/* :not(.btn) обовʼязкове: інакше це правило (специфічність 0,1,1) перебиває
   .btn-primary (0,1,0) і фарбує текст кнопки в сірий — на червоному виходило
   1.1:1, тобто напис зникав. */
.nae-subnav a:not(.btn) {
  padding: 15px 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text2); text-decoration: none;
  white-space: nowrap; border-bottom: 2px solid transparent; transition: .15s;
}
.nae-subnav a:not(.btn):hover { color: var(--text); }
.nae-subnav a:not(.btn).on { color: var(--text); border-bottom-color: var(--accent); }
.nae-subnav .nae-subnav-cta { margin-left: auto; padding: 9px 20px; font-size: 13px; }
@media(max-width:760px){ .nae-subnav .nae-subnav-cta { display: none; } }

/* Кнопки: home.css дає .btn-primary колір var(--ink) — на червоному це 3.4:1,
   нижче за AA. Шапка сайту (.pub-btn-primary) уже використовує білий на
   червоному — 5.6:1. Тримаємось тієї ж норми, але тільки в межах .nae. */
.nae .btn-primary { color: #fff; }

/* ── Секції ──────────────────────────────────────────────────── */
.nae-sec { max-width: var(--nae-max); margin: 0 auto; padding: 76px 24px; }
.nae-sec + .nae-sec { padding-top: 0; }
/* Чіп секції: був рожевою пігулкою (12% акценту на білому) — на світлому тлі
   виглядав вицвіло. Темний варіант тримає той самий ритм, але читається
   впевненіше; акцентний колір лишається в підсвітці заголовка й галочках. */
.nae-sec-tag {
  display: inline-block; margin-bottom: 14px; padding: 5px 13px;
  border-radius: var(--radius-pill); background: var(--ink);
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase;
}
.nae-h2 {
  font-size: clamp(26px,3.6vw,42px); font-weight: 900; letter-spacing: -0.024em;
  line-height: 1.1; color: var(--ink); margin: 0 0 14px;
}
.nae-sub { font-size: clamp(15px,1.4vw,17px); color: var(--text2); max-width: 720px; margin: 0 0 34px; }

/* ── Hero ──────────────────────────────────────────────────────
   Дві колонки: текст ліворуч, фото праворуч. В одну колонку
   правий бік лишався порожнім на всю висоту екрана. */
.nae-hero { padding: 64px 24px 56px; }
.nae-hero-in {
  max-width: var(--nae-max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  gap: 56px; align-items: center;
}
@media(max-width:960px){
  .nae-hero-in { grid-template-columns: 1fr; gap: 34px; }
  .nae-hero-art { order: -1; max-width: 420px; }
}
/* На телефоні в герої лишається лише текст: фото там займало цілий екран
   ще до першого рядка. Замість нього кадр зʼявляється у блоці нижче. */
@media(max-width:700px){ .nae-hero-art { display: none; } }
.nae-hero-art {
  position: relative; width: 100%; aspect-ratio: 4/5;
  border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(150deg, var(--nae-wash), var(--nae-wash2));
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}
.nae-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nae-kicker {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.nae-chip {
  padding: 6px 14px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700;
  background: var(--nae-soft); color: var(--accent-dark);
}
.nae-chip.ink { background: var(--ink); color: #fff; }
.nae-hero h1 {
  /* Перенос заданий у розмітці (<br>), щоб підсвітка завжди лягала
     на цілий рядок «Нової Ери», а не рвалась посередині. */
  font-size: clamp(38px,5.6vw,74px); font-weight: 900; letter-spacing: -0.027em;
  line-height: 1; color: var(--ink); margin: 0 0 20px;
}
.nae-hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 58%, var(--nae-mark) 58%);
  padding: 0 4px;
}
.nae-hero .nae-lead { font-size: clamp(16px,1.7vw,20px); color: var(--text2); max-width: 640px; margin: 0 0 32px; }
.nae-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.nae-hero-cta .btn { padding: 15px 30px; font-size: 15px; }

.nae-hero-sub { margin-left: auto; margin-right: auto; }
.nae-hero.is-solo .nae-benefits { justify-items: center; text-align: left; }
.nae-hero-sub {
  font-size: clamp(17px,2vw,22px); font-weight: 700; color: var(--ink);
  max-width: 700px; margin: 0 0 18px; line-height: 1.3;
}
.nae-benefits-head {
  margin: 34px 0 12px; font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text2);
}

/* Фіналочка: обмежена кількість місць. Виділена картка з рамкою акценту —
   це останній аргумент перед формою, він має зупиняти погляд. */
.nae-seats-sec { padding-top: 20px; }
.nae-seats {
  max-width: 820px; margin: 0 auto; text-align: center;
  padding: 40px 38px; border-radius: var(--radius-xl);
  background: var(--glass-white); border: 2px solid var(--accent);
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
}
@media(max-width:640px){ .nae-seats { padding: 28px 22px; } }
.nae-seats-title {
  font-size: clamp(24px,3.2vw,34px); font-weight: 900; letter-spacing: -0.024em;
  color: var(--ink); margin-bottom: 16px; line-height: 1.15;
}
.nae-seats-p { font-size: 15.5px; color: var(--text2); line-height: 1.65; margin: 0 0 12px; }
.nae-seats-accent {
  font-size: 17px; font-weight: 800; color: var(--ink); margin: 0 0 12px; line-height: 1.5;
}

/* Заголовок блоку навичок у біо викладача */
.nae-skills-title {
  margin: 22px 0 10px; font-size: 14px; font-weight: 800; color: var(--ink);
}

/* ── Короткі переваги в герої ────────────────────────────────── */
.nae-benefits {
  list-style: none; padding: 0; margin: 30px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 22px;
}
.nae-benefits li {
  position: relative; padding-left: 28px;
  font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45;
}
.nae-benefits li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 19px; text-align: center;
}

/* ── БЛОК 2 · Детальний опис ─────────────────────────────────── */
.nae-intro-sec { padding-top: 20px; }
.nae-intro-wrap {
  display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1fr);
  gap: 40px; align-items: center;
}
@media(max-width:900px){ .nae-intro-wrap { grid-template-columns: 1fr; gap: 26px; } }
.nae-intro-art {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(150deg, var(--nae-wash), var(--nae-wash2));
  box-shadow: 0 20px 50px rgba(0,0,0,.14);
}
/* object-position зверху: якщо рамка колись розійдеться з пропорціями фото,
   обріжеться низ, а не голова. */
.nae-intro-art { position: relative; }
.nae-intro-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
/* На телефоні залишаємо рідні пропорції знімка (4:5). Була рамка 3:2 —
   вона зрізала фігурі і голову, і ноги. */
@media(max-width:900px){ .nae-intro-art { max-width: 420px; margin: 0 auto; } }
.nae-intro {
  padding: 34px 38px; border-radius: var(--radius-xl);
  background: var(--glass-white); border: 1px solid var(--sep);
  border-left: 4px solid var(--accent);
}
@media(max-width:640px){ .nae-intro { padding: 24px 22px; } }
.nae-intro-lead {
  font-size: clamp(20px,2.4vw,27px); font-weight: 800; letter-spacing: -0.022em;
  color: var(--ink); line-height: 1.25; margin: 0 0 16px;
}
.nae-intro-p { font-size: 15.5px; color: var(--text2); line-height: 1.65; margin: 0 0 12px; }
.nae-intro-p:last-child { margin-bottom: 0; }

/* ── Результати після курсу ──────────────────────────────────── */
.nae-out { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media(max-width:820px){ .nae-out { grid-template-columns: 1fr; } }
.nae-out-item {
  display: flex; gap: 16px; padding: 22px;
  background: var(--glass-white); border: 1px solid var(--sep); border-radius: var(--radius-lg);
}
.nae-out-n {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.nae-out-t { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.nae-out-d { font-size: 14px; color: var(--text2); line-height: 1.55; }

/* ── Для кого ────────────────────────────────────────────────── */
.nae-who { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media(max-width:1040px){ .nae-who { grid-template-columns: repeat(2,1fr); } }
@media(max-width:620px){ .nae-who { grid-template-columns: 1fr; } }
.nae-who-card {
  padding: 28px 24px; border-radius: var(--radius-xl);
  background: var(--glass-white); border: 1px solid var(--sep);
  border-top: 3px solid var(--accent);
}
.nae-who-t { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.nae-who-d { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ── Головний спікер ─────────────────────────────────────────── */
.nae-lead-speaker {
  display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start;
  padding: 36px; border-radius: var(--radius-xl);
  background: var(--glass-white); border: 1px solid var(--sep);
}
@media(max-width:900px){ .nae-lead-speaker { grid-template-columns: 1fr; gap: 26px; padding: 26px; } }
.nae-portrait {
  position: relative;
  aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--nae-wash), var(--nae-wash2));
  display: grid; place-items: center;
}
.nae-portrait { position: relative; }
.nae-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nae-portrait .nae-initials { font-size: 64px; font-weight: 900; color: var(--accent-dark); opacity: .5; }
.nae-speaker-name { font-size: clamp(24px,3vw,34px); font-weight: 900; letter-spacing: -0.029em; color: var(--ink); margin: 0 0 6px; }
.nae-speaker-role { font-size: 14px; color: var(--accent-dark); font-weight: 700; margin-bottom: 20px; }
.nae-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.nae-bullets li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--text2); line-height: 1.55; }
.nae-bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}
.nae-creds { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.nae-cred {
  padding: 5px 11px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 600;
  background: #F0F0F2; color: var(--text2);
}

/* ── Карусель спікерів ───────────────────────────────────────────
   Замість сітки — стрічка з гортанням: у ряд три картки, решта поруч.
   Основа — нативний scroll-snap, кнопки лише допомагають. Без JS стрічка
   лишається гортабельною пальцем і трекпадом, нічого не ламається. */
.nae-carou { position: relative; }
.nae-carou-track {
  display: flex; gap: 16px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.nae-carou-track::-webkit-scrollbar { display: none; }
.nae-carou-track > .nae-person { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; }
@media(max-width:980px){ .nae-carou-track > .nae-person { flex-basis: calc((100% - 16px) / 2); } }
@media(max-width:640px){ .nae-carou-track > .nae-person { flex-basis: 100%; } }

.nae-carou-btn {
  position: absolute; top: 130px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--sep); background: var(--glass-white); color: var(--ink);
  font-size: 20px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.12);
  transition: opacity .2s ease, transform .15s ease, background .15s ease;
}
.nae-carou-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nae-carou-btn:active { transform: scale(.94); }
.nae-carou-btn.prev { left: -21px; }
.nae-carou-btn.next { right: -21px; }
.nae-carou-btn[disabled], .nae-carou-btn[hidden] { opacity: 0; pointer-events: none; }
/* На вужчих екранах поля обабіч секції немає — кнопки заходять на картку. */
@media(max-width:1180px){ .nae-carou-btn.prev { left: 6px; } .nae-carou-btn.next { right: 6px; } }
@media(max-width:640px){ .nae-carou-btn { display: none; } }

.nae-carou-dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.nae-carou-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--sep); cursor: pointer; transition: background .2s ease, width .2s ease;
}
.nae-carou-dots button[aria-current="true"] { background: var(--accent); width: 22px; border-radius: 100px; }

/* Сітка лишається для розмітки без каруселі (та як запасний варіант) */
.nae-people { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media(max-width:980px){ .nae-people { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px){ .nae-people { grid-template-columns: 1fr; } }
.nae-person {
  padding: 24px; border-radius: var(--radius-xl);
  background: var(--glass-white); border: 1px solid var(--sep);
  display: flex; flex-direction: column; overflow: hidden;
}
/* Фото зверху на всю ширину картки: знімки студійні, у кружечку 56px вони
   пропадали б намарно. object-position зсунуто вгору — обличчя на всіх
   портретах у верхній третині кадру. */
.nae-person-photo {
  position: relative;
  margin: -24px -24px 16px; aspect-ratio: 1/1; overflow: hidden;
  background: linear-gradient(150deg, var(--nae-wash), var(--nae-wash2));
  display: grid; place-items: center;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
/* Фото прибите до країв рамки, а не «width/height: 100%» у гріді: відсоткова
   висота там залежить від того, як рушій рахує aspect-ratio, і в частині
   браузерів картинка виходила нижчою за рамку — згори прозирала підкладка
   (у червоній темі — рожевою смугою). Absolute inset:0 такого не допускає. */
.nae-person-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  transition: transform .4s ease;
}
/* Підкладка потрібна лише там, де фото немає (показуємо ініціали). */
.nae-person-photo:has(img) { background: none; }
.nae-person:hover .nae-person-photo img { transform: scale(1.04); }
.nae-person-photo .nae-ini { font-size: 44px; font-weight: 900; color: var(--accent-dark); opacity: .45; }
.nae-person-name { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.nae-person-role { font-size: 12.5px; color: var(--text2); margin: 4px 0 0; line-height: 1.4; }
.nae-person ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; }
.nae-person li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--text2); line-height: 1.5; }
.nae-person li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ── Програма ────────────────────────────────────────────────── */
.nae-prog { border: 1px solid var(--sep); border-radius: var(--radius-xl); overflow: hidden; background: var(--glass-white); }
.nae-mod + .nae-mod { border-top: 1px solid var(--sep); }
.nae-mod > summary {
  /* Явні області, а не порядок у розмітці: на мобільному номер і кількість
     занять стають в один рядок, а назва переїжджає під них. */
  list-style: none; cursor: pointer; padding: 22px 26px;
  display: grid; grid-template-columns: 46px 1fr 24px;
  grid-template-areas: "num title arrow" "num meta arrow";
  gap: 2px 18px; align-items: center;
}
.nae-mod-n    { grid-area: num;   align-self: center; }
.nae-mod-t    { grid-area: title; }
.nae-mod-meta { grid-area: meta;  }
.nae-mod-arrow{ grid-area: arrow; align-self: center; }
.nae-mod > summary::-webkit-details-marker { display: none; }
.nae-mod > summary:hover { background: #FAFAFB; }
.nae-mod-n { font-size: 22px; font-weight: 900; color: var(--accent); letter-spacing: -.5px; }
.nae-mod-t { font-size: 16.5px; font-weight: 700; color: var(--ink); }
.nae-mod-meta { font-size: 12.5px; color: var(--text2); }
.nae-mod-arrow { justify-self: end; color: var(--text3); font-size: 20px; transition: transform .2s; }
.nae-mod[open] .nae-mod-arrow { transform: rotate(180deg); }
.nae-mod-body { padding: 0 26px 24px 90px; }

/* Бонусний модуль: не входить у базовий пакет, тож позначений і в шапці
   (бейдж поруч із кількістю занять), і всередині — рядком про доступ. */
.nae-mod-badge {
  display: inline-block; margin-right: 8px; padding: 2px 8px;
  border-radius: var(--radius-pill); background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  vertical-align: 1px;
}
.nae-mod-note {
  margin: 0 0 14px; padding: 10px 14px; border-radius: var(--radius-md);
  background: var(--nae-soft); border-left: 3px solid var(--accent);
  font-size: 13.5px; color: var(--accent-dark); font-weight: 600; line-height: 1.5;
}
.nae-mod.is-bonus > summary .nae-mod-n { opacity: .55; }
@media(max-width:640px){
  /* Верхній рядок — номер і кількість занять поруч; назва під ними на всю
     ширину. У вузькій колонці номер збоку з'їдав ширину, і назви ламались
     по два-три слова. */
  .nae-mod > summary {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "num meta arrow" "title title title";
    gap: 6px 10px; padding: 18px; align-items: center;
  }
  .nae-mod-n { font-size: 15px; letter-spacing: .08em; }
  .nae-mod-t { font-size: 16px; }
  .nae-mod-body { padding: 0 18px 20px 18px; }
}
.nae-mod-body ol { margin: 0; padding-left: 18px; display: grid; gap: 12px; }
.nae-mod-body li { font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.nae-les-note {
  display: block; margin-top: 3px;
  font-size: 13px; color: var(--text2); font-style: italic; line-height: 1.5;
}

/* ── БЛОК 6 · Міжнародна сертифікація ────────────────────────── */
.nae-cert {
  display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: center;
  padding: 40px; border-radius: var(--radius-xl);
  background: var(--glass-white); border: 1px solid var(--sep);
}
@media(max-width:900px){ .nae-cert { grid-template-columns: 1fr; gap: 28px; padding: 26px; } }
.nae-cert-p { font-size: 15.5px; color: var(--text2); line-height: 1.65; margin: 0 0 14px; }
.nae-cert-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.14); }
.nae-cert-art img { width: 100%; height: auto; display: block; }
.nae-cert-ph {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--nae-wash), var(--nae-wash2));
  display: grid; place-content: center; text-align: center; gap: 8px;
}
.nae-cert-ph-t { font-size: 34px; font-weight: 900; letter-spacing: -1px; color: var(--accent-dark); line-height: 1.05; }
.nae-cert-ph-d { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text2); }

/* ── БЛОК 7 · Фінальна теза ──────────────────────────────────── */
.nae-closing-sec { padding-top: 20px; }
.nae-closing {
  max-width: 900px; margin: 0 auto; text-align: center;
  font-size: clamp(19px,2.4vw,28px); font-weight: 600; line-height: 1.45;
  color: var(--text2); letter-spacing: -.4px;
}
.nae-closing b { color: var(--ink); font-weight: 800; }

/* ── Фінальний блок із формою ────────────────────────────────── */
.nae-final { background: var(--ink); color: #fff; }
.nae-final-in {
  max-width: var(--nae-max); margin: 0 auto; padding: 72px 24px;
  display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start;
}
@media(max-width:900px){ .nae-final-in { grid-template-columns: 1fr; gap: 34px; padding: 52px 24px; } }
.nae-final h2 { font-size: clamp(28px,4vw,46px); font-weight: 900; letter-spacing: -0.033em; line-height: 1.05; margin: 0 0 16px; }
.nae-final p { color: rgba(255,255,255,.65); font-size: 16px; max-width: 480px; margin: 0 0 26px; }
.nae-final-facts { display: flex; gap: 28px; flex-wrap: wrap; }
.nae-final-facts b { display: block; font-size: 26px; font-weight: 900; letter-spacing: -.5px; }
.nae-final-facts span { font-size: 12px; color: rgba(255,255,255,.55); }

.nae-form { background: #fff; border-radius: var(--radius-xl); padding: 28px; }
.nae-form label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text2); margin: 0 0 6px; }
.nae-form input, .nae-form textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15px;
  border: 1px solid var(--sep); border-radius: var(--radius-md); background: #FAFAFB;
  color: var(--text); margin-bottom: 15px;
}
.nae-form input:focus, .nae-form textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px var(--nae-ring);
}
.nae-form textarea { min-height: 84px; resize: vertical; }

/* Поле Instagram: «@» намальована окремо й не редагується — так видно, що
   вводити треба лише нік, а сервер не мусить розбирати різні написання. */
.nae-ig { position: relative; }
.nae-ig-at {
  position: absolute; left: 15px; top: 13px;
  font-size: 15px; color: var(--text3); pointer-events: none;
}
.nae-ig input { padding-left: 30px; }
.nae-form .btn { width: 100%; padding: 15px; font-size: 15px; }
.nae-form .nae-hp { position: absolute; left: -9999px; opacity: 0; }
.nae-note { font-size: 11.5px; color: var(--text3); margin-top: 12px; line-height: 1.5; }
.nae-msg { padding: 12px 14px; border-radius: var(--radius-md); font-size: 14px; margin-bottom: 14px; display: none; }
.nae-msg.err { background: #FFF4F4; color: #B71C1C; border: 1px solid #FFCDD2; display: block; }
.nae-msg.ok  { background: #F1FBEE; color: #1A7A00; border: 1px solid #C8E6C9; display: block; }

/* ── Плаваюча кнопка на мобільному ───────────────────────────── */
.nae-sticky-cta { display: none; }
@media(max-width:760px){
  .nae-sticky-cta {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    text-align: center; padding: 16px; border-radius: var(--radius-pill);
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
  }
  body { padding-bottom: 84px; }
}
