/* =====================================================================
   Excelso — современный редизайн
   Брендовая палитра сохранена: золото #F0C918, изумруд #22706C / #459573,
   терракота #d25a23, графит. Шрифт — Montserrat.
   ===================================================================== */

/* ---- Локальные шрифты бренда (используются как fallback) ---- */
@font-face {
  font-family: 'Montserrat-Local';
  src: url("../fonts/Montserrat-Regular.woff") format("woff"),
       url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat-Local';
  src: url("../fonts/Montserrat-Bold.woff") format("woff"),
       url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

/* ---- Дизайн-токены ---- */
:root {
  --gold: #F0C918;
  --gold-deep: #d8b00f;
  --emerald: #22706C;
  --emerald-light: #459573;
  --mint: #D3F9E9;
  --terracotta: #d25a23;
  --ink: #14130f;
  --ink-soft: #3d3b36;
  --muted: #87867f;
  --line: #e1dacb;
  --bg: #faf9f5;       /* тёплый «пергамент» вместо холодного белого */
  --bg-soft: #f0eee6;  /* приподнятая светлая поверхность */
  --bg-oat: #e3dacc;   /* тёплый средний тон */
  --bg-dark: #14130f;  /* почти-чёрная редакционная карточка */
  --bg-dark-2: #1c1b16;

  --radius: 8px;            /* карточки — резкие 8px */
  --radius-lg: 8px;
  --radius-feature: 24px;   /* крупные тёмные «редакционные» карточки */
  --shadow-sm: none;        /* глубина через границы и контраст, не тени */
  --shadow-md: none;
  --shadow-lg: none;
  --ring: 0 0 0 3px rgba(217, 119, 87, .35);

  --container: 1200px;
  --header-h: 84px;
  --font: 'Montserrat', 'Montserrat-Local', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); overflow-x: hidden; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- Раскладка ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 110px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #eef1f0; }
.section--tight { padding: 80px 0; }

/* ---- Типографика и заголовки ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald-light);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--gold); }

.h-section {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -.02em;
}
.h-section .accent { color: var(--emerald-light); }
.section--dark .h-section .accent { color: var(--gold); }

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 48px;
}
.section--dark .lead { color: #aab6b4; }

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }

/* ---- Кнопки ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(240, 201, 24, .35);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(240, 201, 24, .45); }
.btn--ghost {
  background: transparent;
  border-color: rgba(15, 20, 23, .18);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--emerald); color: var(--emerald); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--on-dark { border-color: rgba(255,255,255,.25); color: #fff; }
.btn--on-dark:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--block { width: 100%; }

/* =====================================================================
   Шапка
   ===================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: height .3s var(--ease), background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  height: 68px;
  background: rgba(15, 20, 23, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.header__logo { height: 46px; width: auto; transition: filter .3s; }
.header:not(.is-scrolled) .header__logo { filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.header:not(.is-scrolled) .nav a { text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

.header .btn { padding: 12px 24px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: none;
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span::before { transform: translate(-50%, -8px); }
.burger span::after { transform: translate(-50%, 6px); }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translate(-50%, -50%) rotate(45deg); }
.burger.is-open span::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* плавающая кнопка WhatsApp */
.wa-fab {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  z-index: 900;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  animation: wa-pulse 2.6s infinite;
}
.wa-fab img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero-bg.png") center/cover no-repeat;
  transform: scale(1.05);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 700px at 78% 18%, rgba(34, 112, 108, .35), transparent 60%),
    linear-gradient(115deg, rgba(10, 14, 16, .94) 0%, rgba(10, 14, 16, .78) 45%, rgba(10, 14, 16, .35) 100%);
}
.hero__inner { max-width: 760px; }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero__tag b { color: var(--gold); }
.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 24px;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--gold), #ffe680);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 20px;
  color: #d7ddda;
  max-width: 560px;
  margin: 0 0 38px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 60px;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stat .num {
  font-size: 40px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero__stat .lab { font-size: 14px; color: #c6cecb; margin-top: 6px; max-width: 170px; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 16px;
}
.scroll-cue::before {
  content: "";
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: cue 1.6s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* =====================================================================
   Преимущества
   ===================================================================== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 22px;
}
.adv-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative;
  overflow: hidden;
}
.adv-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--emerald-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.adv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.adv-card:hover::before { transform: scaleX(1); }
/* свечение, следующее за курсором */
.adv-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(240, 201, 24, .12), transparent 62%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.adv-card:hover::after { opacity: 1; }
.adv-card__icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #232e33 0%, #0f1417 100%);
  border-radius: 18px;
  margin-bottom: 22px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 10px 22px rgba(15, 20, 23, .22);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.adv-card__icon::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 21px;
  background: linear-gradient(150deg, var(--gold), transparent 70%);
  filter: blur(10px);
  opacity: 0;
  z-index: -1;
  transition: opacity .45s;
}
.adv-card:hover .adv-card__icon {
  transform: translateY(-5px) rotate(-7deg) scale(1.07);
  box-shadow: 0 16px 30px rgba(240, 201, 24, .32);
}
.adv-card:hover .adv-card__icon::after { opacity: .8; }
.adv-card__icon img {
  width: 32px; height: 32px;
  filter: drop-shadow(0 2px 8px rgba(240, 201, 24, .45));
  transition: transform .45s var(--ease);
}
.adv-card:hover .adv-card__icon img { transform: rotate(7deg) scale(1.05); }
.adv-card h3 { font-size: 20px; margin: 0 0 10px; font-weight: 700; }
.adv-card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* =====================================================================
   Тарифы — таблица
   ===================================================================== */
.tariff-scroll { overflow-x: auto; padding-bottom: 10px; }
.tariff-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: separate;
  border-spacing: 0;
}
.tariff-table th, .tariff-table td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.tariff-table thead th {
  position: sticky; top: 0;
  background: var(--ink);
  color: #fff;
  vertical-align: top;
  border-bottom: none;
}
.tariff-table thead th:first-child { background: transparent; }
.tariff-table .t-name { font-size: 18px; font-weight: 800; color: var(--gold); }
.tariff-table .t-desc { font-size: 12px; color: #c6cecb; font-weight: 500; margin-top: 6px; line-height: 1.35; }
.tariff-table tbody th {
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-soft);
  white-space: nowrap;
}
.tariff-table tbody tr:hover td,
.tariff-table tbody tr:hover th { background: rgba(240, 201, 24, .08); }
.tariff-table .tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--emerald-light); color: #fff; font-size: 13px; font-weight: 700;
}
.tariff-table .price-row td { padding-top: 22px; padding-bottom: 22px; }
.tariff-table .price { font-size: 19px; font-weight: 800; color: var(--emerald); }
.tariff-table .price small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }

.tariff-notes {
  margin-top: 32px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 26px 30px;
  font-size: 13.5px;
  color: var(--muted);
  columns: 2;
  column-gap: 40px;
}
.tariff-notes p { margin: 0 0 10px; break-inside: avoid; }

/* =====================================================================
   Калькулятор
   ===================================================================== */
.calc {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.calc__form { padding: 44px; }
.calc__group { margin-bottom: 28px; }
.calc__label { font-weight: 700; font-size: 15px; margin-bottom: 12px; display: block; }

.toggle {
  display: inline-flex;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}
.toggle button {
  border: none;
  background: transparent;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  transition: background .25s, color .25s, box-shadow .25s;
}
.toggle button.is-active { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-sm); }

.calc__field {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.calc__field:focus { outline: none; border-color: var(--gold); box-shadow: var(--ring); }
.calc__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  transition: all .2s var(--ease);
  user-select: none;
}
.chip::before {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid var(--line);
  border-radius: 5px;
  transition: all .2s;
}
.chip.is-on { border-color: var(--emerald-light); color: var(--emerald); background: var(--mint); }
.chip.is-on::before { background: var(--emerald-light); border-color: var(--emerald-light); }

.calc__result {
  background: linear-gradient(160deg, var(--emerald) 0%, #18514e 100%);
  color: #fff;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc__result .small { font-size: 14px; color: #bcd6d3; letter-spacing: .04em; text-transform: uppercase; }
.calc__price {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin: 14px 0 4px;
  color: var(--gold);
}
.calc__price span { font-size: 26px; }
.calc__hint { font-size: 13.5px; color: #aac4c1; margin: 4px 0 28px; }
.calc__result .btn { margin-top: auto; }
.calc__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #d6efe9;
  background: rgba(255,255,255,.08);
  padding: 8px 14px; border-radius: 999px;
  margin-bottom: 22px;
}

/* Обёртка виджета калькулятора uCalc */
.calc-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  min-height: 200px;
  overflow: hidden;
}

/* =====================================================================
   Услуги — аккордеон
   ===================================================================== */
.services { display: grid; gap: 16px; }
.svc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.svc.is-open { box-shadow: var(--shadow-md); border-color: transparent; }
.svc__head {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 26px 30px;
}
.svc__num {
  font-size: 14px; font-weight: 800; color: var(--gold);
  flex-shrink: 0; width: 34px;
}
.svc__title { font-size: 19px; font-weight: 700; flex: 1; }
.svc__toggle {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  position: relative;
  transition: background .25s, transform .35s var(--ease);
}
.svc__toggle::before, .svc__toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--ink); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), background .25s;
}
.svc__toggle::before { width: 14px; height: 2px; }
.svc__toggle::after { width: 2px; height: 14px; }
.svc.is-open .svc__toggle { background: var(--gold); }
.svc.is-open .svc__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.svc.is-open .svc__body { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; }
.svc__content { padding: 0 30px 30px 84px; color: var(--ink-soft); }
.svc__content p { margin: 0 0 14px; }
.svc__content h4 { margin: 22px 0 12px; font-size: 16px; }
.check-list { display: grid; gap: 10px; margin: 0 0 16px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px;
  background: var(--mint) url("../img/check.svg") center/12px no-repeat;
  border-radius: 50%;
}
.svc__price {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 20px;
  background: var(--mint);
  border-radius: 12px;
  font-weight: 700;
  color: var(--emerald);
  font-size: 15px;
}

/* =====================================================================
   Команда — «созвездие» без фото
   ===================================================================== */
.team { position: relative; overflow: hidden; }
.team__lead {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}
.team__quote {
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.45;
  font-weight: 600;
  margin: 0 0 26px;
}
.team__quote .accent { color: var(--gold); }
.director {
  display: flex; align-items: center; gap: 18px;
}
.monogram {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: #fff;
  border-radius: 22px;
  letter-spacing: .02em;
}
.director .monogram { width: 76px; height: 76px; font-size: 26px; border-radius: 24px; }
.director__photo {
  width: 92px; height: 92px;
  flex-shrink: 0;
  border-radius: 22px;
  object-fit: cover;
  object-position: top center;
  border: 2px solid rgba(240, 201, 24, .55);
  animation: dir-pulse 2.8s var(--ease) infinite;
}
.director h4 { margin: 0; font-size: 20px; }
.director p { margin: 4px 0 0; color: var(--gold); font-size: 14px; }

/* агрегированные показатели */
.team__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.metric {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.metric .num { font-size: 42px; font-weight: 800; color: var(--gold); line-height: 1; }
.metric .lab { font-size: 13.5px; color: #aab6b4; margin-top: 8px; }

/* Портрет директора — featured */
.director-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  align-self: start;
}
.director-card__frame {
  position: relative;
  padding: 7px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--gold) 0%, var(--emerald-light) 55%, rgba(255,255,255,.08) 100%);
  box-shadow: var(--shadow-lg);
}
.director-card__frame::after {
  content: "";
  position: absolute; inset: -26px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(240, 201, 24, .28), transparent 72%);
  filter: blur(22px);
}
.director-card__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius-lg) - 7px);
}
.director-card__badge {
  position: absolute;
  top: 18px; left: -12px;
  z-index: 2;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(240, 201, 24, .45);
}
.director-card figcaption { margin-top: 20px; text-align: center; }
.director-card figcaption h3 { margin: 0; font-size: 23px; color: #fff; }
.director-card figcaption p { margin: 6px 0 0; color: var(--gold); font-size: 14px; }

.team__intro { display: flex; flex-direction: column; justify-content: center; }
.team__statement {
  max-width: 760px;
  margin: 0 0 30px;
  font-size: 17px;
  color: #c6d2cf;
}
.team__statement::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
}

/* узел-«точка» в карточке роли */
.member__dot {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #9fe9d6, var(--emerald-light));
  box-shadow: 0 0 0 5px rgba(69, 149, 115, .16), 0 0 16px rgba(77, 217, 255, .45);
  animation: dot-pulse 3s var(--ease) infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(69, 149, 115, .16), 0 0 16px rgba(77, 217, 255, .35); }
  50% { box-shadow: 0 0 0 8px rgba(69, 149, 115, .08), 0 0 22px rgba(77, 217, 255, .6); }
}
.team-grid.team-grid--roles {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.team-grid--roles .member { align-items: flex-start; }
.team-grid--roles .member .member__dot { margin-top: 4px; }
.team-grid--roles .member p { color: #aab6b4; }

/* сетка монограмм + сеть-связи */
.constellation { position: relative; }
.constellation__net {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.team-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 18px;
}
.member {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .35s var(--ease), background .3s, border-color .3s;
  backdrop-filter: blur(2px);
}
.member:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); border-color: var(--gold); }
.member .monogram { width: 56px; height: 56px; font-size: 19px; }
.member h5 { margin: 0; font-size: 16px; color: #fff; }
.member p { margin: 4px 0 0; font-size: 13px; color: var(--gold); }

.team__caption {
  text-align: center;
  margin-top: 46px;
  font-size: 15px;
  color: #aab6b4;
}

/* конвейер «тройная проверка» */
.pipeline {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.pipe-step {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
}
.pipe-step .step-no {
  font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: .1em;
}
.pipe-step h4 { margin: 10px 0 8px; font-size: 18px; color: #fff; }
.pipe-step p { margin: 0; font-size: 14px; color: #aab6b4; }
.pipe-step:not(:last-child)::after {
  content: "→";
  position: absolute; right: -16px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 22px;
  z-index: 2;
}

/* =====================================================================
   Сертификаты
   ===================================================================== */
.cert-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  scroll-behavior: smooth;
}
.cert-rail::-webkit-scrollbar { height: 8px; }
.cert-rail::-webkit-scrollbar-thumb { background: var(--emerald-light); border-radius: 8px; }
.cert {
  flex: 0 0 auto;
  width: 230px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.cert:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cert img { width: 100%; height: 280px; object-fit: contain; cursor: zoom-in; }
.rail-nav { display: flex; gap: 12px; justify-content: flex-end; margin-bottom: 18px; }
.rail-nav button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff;
  font-size: 18px; color: var(--ink);
  transition: all .2s;
}
.rail-nav button:hover { border-color: var(--gold); background: var(--gold); }

/* лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10, 14, 16, .9);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: 10px; box-shadow: var(--shadow-lg); }

/* =====================================================================
   Видео
   ===================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.video-card video { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #000; display: block; }
.video-card__body { padding: 20px 22px 24px; }
.video-card__body p { margin: 0 0 14px; font-size: 14.5px; font-weight: 600; }
.video-card__by { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* =====================================================================
   Публикации
   ===================================================================== */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 22px;
}
.pub {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.pub:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pub img { width: 100%; height: 180px; object-fit: cover; }
.pub__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.pub__body p { margin: 0; font-size: 15px; font-weight: 600; flex: 1; }
.pub__body .btn { align-self: flex-start; padding: 11px 22px; font-size: 13px; }

/* =====================================================================
   Отзывы и кейсы
   ===================================================================== */
.tcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  align-items: stretch;
}
.tcard {
  position: relative;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.tcard::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--emerald-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.tcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tcard:hover::before { transform: scaleX(1); }
.tcard__mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 80px;
  line-height: .8;
  color: var(--gold);
  opacity: .35;
  height: 42px;
}
.tcard__title {
  font-size: 19px;
  font-weight: 800;
  margin: 8px 0 16px;
  color: var(--emerald);
  line-height: 1.25;
}
.tcard__text {
  margin: 0 0 26px;
  padding: 0;
  border: none;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}
.tcard__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.tcard__logo {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 22px;
  color: #fff;
}
.tcard__logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.tcard__who { display: flex; flex-direction: column; }
.tcard__name { font-weight: 700; font-size: 16px; }
.tcard__co { font-size: 13.5px; color: var(--muted); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.faq__item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 22px; font-weight: 400; line-height: 1;
  transition: transform .3s var(--ease), background .25s, color .25s;
}
.faq__item[open] summary::after { content: "−"; background: var(--gold); transform: rotate(180deg); }
.faq__a { padding: 0 26px 24px; color: var(--ink-soft); font-size: 15.5px; }

/* =====================================================================
   Форма заявки → WhatsApp
   ===================================================================== */
.walead {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 34px;
  display: grid;
  gap: 18px;
}
.walead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.walead__field { display: flex; flex-direction: column; gap: 8px; }
.walead__field > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.walead__field > span em { font-style: normal; color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.walead input,
.walead select,
.walead textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 13px 14px;
  transition: outline-color .15s;
}
.walead input::placeholder, .walead textarea::placeholder { color: var(--muted); }
.walead input:focus,
.walead select:focus,
.walead textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; }
.walead textarea { resize: vertical; }
.walead .btn { margin-top: 4px; }
.walead__note { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
  .walead { padding: 22px; }
  .walead__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   CTA-баннер
   ===================================================================== */
.cta {
  background: linear-gradient(120deg, var(--emerald) 0%, #173f3d 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(240,201,24,.4), transparent 70%);
}
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 14px; font-weight: 800; }
.cta p { margin: 0; color: #cfe0dd; font-size: 17px; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; position: relative; }

/* =====================================================================
   Подвал
   ===================================================================== */
.footer { background: var(--bg-dark); color: #c6cecb; padding: 70px 0 36px; }
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo { height: 50px; margin-bottom: 18px; }
.footer__about { font-size: 14.5px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 15px; margin: 0 0 18px; letter-spacing: .02em; }
.footer__item { margin-bottom: 16px; }
.footer__item .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 4px; }
.footer__item a, .footer__item div { color: #e5e9e8; font-size: 15px; }
.footer__item a:hover { color: var(--gold); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: background .25s, transform .25s;
}
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer__bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #7d8a87;
}

/* =====================================================================
   Анимации появления
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Дополнительный «характер»: микроанимации и эффекты
   ===================================================================== */

/* индикатор прокрутки страницы */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0;
  z-index: 1100;
  background: linear-gradient(90deg, var(--gold), var(--emerald-light));
  box-shadow: 0 0 12px rgba(240, 201, 24, .7);
  transition: width .08s linear;
}

/* блик по кнопкам */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .65s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 150%; }
.btn--ghost::after, .btn--on-dark::after { background: linear-gradient(120deg, transparent, rgba(240, 201, 24, .35), transparent); }

/* мерцание акцентного слова в hero */
.hero h1 .hl {
  background: linear-gradient(110deg, var(--gold) 20%, #fff4c2 40%, var(--gold) 60%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: hl-shine 5s linear infinite;
}
@keyframes hl-shine { to { background-position: 220% center; } }

/* активный пункт навигации (scrollspy) */
.nav a.is-active { color: var(--gold); }
.nav a.is-active::after { width: 100%; }

/* плавающие монограммы команды */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.member .monogram { animation: floaty 4.2s ease-in-out infinite; }
.member:nth-child(2n) .monogram { animation-duration: 5.1s; animation-delay: .5s; }
.member:nth-child(3n) .monogram { animation-duration: 4.6s; animation-delay: .9s; }
.member:nth-child(4n) .monogram { animation-duration: 5.6s; animation-delay: .2s; }
.member:hover .monogram { animation-play-state: paused; transform: scale(1.08) rotate(-4deg); }

/* пульс у директорской монограммы */
.director .monogram { position: relative; }
.director .monogram::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(240, 201, 24, .5);
  animation: dir-pulse 2.8s var(--ease) infinite;
}
@keyframes dir-pulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 201, 24, .5); }
  70% { box-shadow: 0 0 0 16px rgba(240, 201, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 201, 24, 0); }
}

/* подсветка колонки тарифов при наведении на ячейку */
.tariff-table tbody td { transition: background .2s, transform .2s; }

/* «оживающие» галочки */
.tariff-table .tick { transition: transform .25s var(--ease), box-shadow .25s; }
.tariff-table tbody tr:hover .tick { transform: scale(1.18); box-shadow: 0 4px 12px rgba(34, 112, 108, .4); }

/* мягкое появление + лёгкий «зум» для медиа-карточек */
.video-card, .pub, .cert { will-change: transform; }

/* линия-акцент под заголовком секции, рисуется при появлении */
.section-head.reveal.is-visible .h-section .accent { position: relative; }
.section-head .h-section .accent::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  height: 3px; width: 0;
  background: currentColor;
  border-radius: 3px;
  opacity: .35;
  transition: width .8s var(--ease) .3s;
}
.section-head.is-visible .h-section .accent::after { width: 100%; }

/* лёгкий наклон карточек публикаций при наведении */
.pub { transition: transform .35s var(--ease), box-shadow .35s; }
.pub:hover img { filter: saturate(1.12); }
.pub img { transition: filter .4s, transform .6s var(--ease); }
.pub:hover img { transform: scale(1.06); }

/* CTA: «дышащий» градиентный ореол */
.cta::before { animation: cta-orb 6s ease-in-out infinite; }
@keyframes cta-orb {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.25); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 .hl, .member .monogram, .member__dot, .director__photo, .cta::before { animation: none; }
  .btn::after { display: none; }
}

/* =====================================================================
   Адаптив
   ===================================================================== */
@media (max-width: 1080px) {
  .calc { grid-template-columns: 1fr; }
  .team__lead { grid-template-columns: 1fr; gap: 36px; }
  .cta { grid-template-columns: 1fr; padding: 44px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .header .btn { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(15, 20, 23, .97);
    backdrop-filter: blur(14px);
    padding: 14px 24px 26px;
    margin: 0;
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open a { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.is-open a::after { display: none; }
  .section { padding: 80px 0; }
  .pipeline { grid-template-columns: 1fr; }
  .pipe-step:not(:last-child)::after { content: "↓"; right: 50%; bottom: -20px; top: auto; transform: translateX(50%); }
  .team__metrics { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero__stats { gap: 24px; }
  .hero__stat .num { font-size: 32px; }
  .calc__form { padding: 28px; }
  .calc__result { padding: 32px 28px; }
  .calc__row2 { grid-template-columns: 1fr; }
  .tariff-notes { columns: 1; }
  .svc__content { padding-left: 30px; }
  .footer__top { grid-template-columns: 1fr; }
  .cta { padding: 32px 24px; }
}

/* =====================================================================
   РЕДАКЦИОННЫЙ РЕСТАЙЛ (механика Anthropic, бренд-цвета + Montserrat)
   Плоские поверхности · жёсткие границы · резкие углы ·
   подчёркивание вместо цвета · чередование светлых/тёмных полос
   ===================================================================== */

/* — Плоские поверхности с границей вместо теней — */
.adv-card, .svc, .pub, .video-card, .cert, .faq__item, .tcard,
.calc, .calc-widget, .b24-wrap, .metric, .pipe-step {
  box-shadow: none !important;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.adv-card:hover, .svc.is-open, .pub:hover, .video-card:hover,
.cert:hover, .faq__item[open], .tcard:hover {
  box-shadow: none !important;
  border-color: var(--ink);
  transform: none;
}
/* убираем декоративные градиентные полоски — оставляем плоский акцент */
.adv-card::before, .tcard::before { background: var(--gold); }
.adv-card::after { display: none; }            /* свечение по курсору убираем */
.adv-card:hover .adv-card__icon { transform: none; }
.pub:hover img { transform: none; }

/* иконки преимуществ — плоская тёмная плитка, резкие углы */
.adv-card__icon { background: var(--ink); border-radius: 8px; box-shadow: none; }
.adv-card__icon::after { display: none; }

/* — Кнопки: резкие, с границей, без тени и бликов — */
.btn { border-radius: 0; box-shadow: none !important; }
.btn::after { display: none !important; }       /* блик убираем */
.btn--primary {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0 0 8px 8px;                    /* фирменный асимметричный радиус */
}
.btn--primary:hover { background: var(--gold-deep); transform: none; }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); border-radius: 0; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: none; }
.btn--light { border: 1px solid var(--ink); border-radius: 0; }
.btn--light:hover { background: var(--ink); color: var(--bg); transform: none; }
.btn--on-dark { border: 1px solid var(--bg); color: var(--bg); border-radius: 0; }
.btn--on-dark:hover { background: var(--bg); color: var(--ink); transform: none; }

/* — Подчёркивание как единственный механизм акцента — */
.h-section .accent,
.section--dark .h-section .accent {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 6px;
  text-underline-offset: 6px;
}
.section-head .h-section .accent::after { display: none; }  /* анимированное подчёркивание убираем */

.hero h1 .hl {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 6px;
  text-underline-offset: 8px;
  animation: none;
}

/* — Тонкая негативная трекинг-настройка крупной типографики — */
.hero h1 { letter-spacing: -.03em; }
.h-section { letter-spacing: -.025em; }

/* — Эйброу/метки: «технический» ярлык на брендовом шрифте Montserrat — */
.eyebrow {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .18em;
}
.eyebrow::before { background: var(--ink); }
.section--dark .eyebrow { color: var(--bg); }
.section--dark .eyebrow::before { background: var(--gold); }

/* — Плоские заливки вместо градиентов — */
.calc__result { background: var(--emerald); }
.cta {
  background: var(--ink);
  border-radius: var(--radius-feature);          /* крупная тёмная редакционная карточка */
}
.cta::before { display: none; }
.cta h2 { letter-spacing: -.02em; }
.scroll-progress { background: var(--gold); box-shadow: none; }

/* — Поля ввода: резкие, с границей — */
.calc__field { border-radius: 0; border: 1px solid var(--ink); }
.calc__field:focus { box-shadow: none; outline: 2px solid var(--gold); outline-offset: 0; }
.toggle, .toggle button { border-radius: 0; box-shadow: none; }
.toggle { border: 1px solid var(--ink); padding: 0; }
.toggle button.is-active { background: var(--gold); box-shadow: none; }
.chip { border-radius: 0; }
.chip::before { border-radius: 0; }
.chip.is-on::before { border-radius: 0; }

/* — Бейджи/ярлыки без «капсул» — */
.hero__tag, .calc__badge { border-radius: 0; backdrop-filter: none; }
.tariff-table .tick { border-radius: 0; }
.faq__item summary::after { border-radius: 0; }

/* — Featured-портрет директора: плоская тёмная рамка — */
.director-card__frame { background: var(--ink); box-shadow: none; }
.director-card__frame::after { display: none; }
.director-card__frame img { border-radius: 0; }
.director-card__badge { border-radius: 0; box-shadow: none; }
.director-card figcaption h3 { letter-spacing: -.01em; }

/* — Карточки-роли: узел-точка без свечения, плоско — */
.member { box-shadow: none; }
.member:hover { border-color: var(--gold); transform: none; }
.member__dot { box-shadow: 0 0 0 4px rgba(34, 112, 108, .25); animation: none; }

/* — Тарифная таблица: плоские «чернильные» заголовки — */
.tariff-table thead th { background: var(--ink); }
.tariff-table tbody th { background: var(--bg-soft); }

/* — Шапка: при прокрутке — светлая с нижней границей (без блюра/тени) — */
.header.is-scrolled {
  background: var(--bg);
  backdrop-filter: none;
  box-shadow: none;
  border-bottom: 1px solid var(--ink);
}
.header.is-scrolled .nav a { color: var(--ink); text-shadow: none; }
.header.is-scrolled .nav a:hover { color: var(--emerald); }
.header.is-scrolled .nav a.is-active { color: var(--emerald); }
.header.is-scrolled .nav a.is-active::after,
.header.is-scrolled .nav a:hover::after { background: var(--gold); }
.header.is-scrolled .burger { background: rgba(20,19,15,.08); }
.header.is-scrolled .burger span,
.header.is-scrolled .burger span::before,
.header.is-scrolled .burger span::after { background: var(--ink); }
.header.is-scrolled .header__logo { filter: none; }

/* — Сертификаты/секции: плоские разделители — */
.cert-rail::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 0; }
.rail-nav button { border-radius: 0; border: 1px solid var(--ink); }
.rail-nav button:hover { background: var(--ink); color: var(--bg); }

/* мобильное меню — сплошной пергамент */
@media (max-width: 860px) {
  .nav.is-open { background: var(--bg); box-shadow: none; border-bottom: 1px solid var(--ink); }
  .nav.is-open a { color: var(--ink); border-color: var(--line); }
}
