/* ==========================================================================
   Защита прав военных — style.css
   Деловая тема: тёмно-синий + латунь на тёплом светлом фоне.
   Ручной CSS, без сборки. Правки применяются сразу.
   ========================================================================== */

/* --- 1. Токены ----------------------------------------------------------- */
:root {
  --bg: #F6F5F1;
  --surface: #FFFFFF;
  --surface-2: #F0EEE8;
  --surface-hover: #F8F7F3;
  --navy: #0E2A47;
  --navy-2: #163A5F;
  --navy-3: #0A1F36;
  --accent: #A9824A;          /* латунь — акценты, линии, номера */
  --accent-hi: #8E6B37;
  --accent-soft: #F3ECDF;
  --blue: #1D4F86;            /* ссылки, фокус */
  --ok: #2F7D5B;

  --text-primary: #14202E;
  --text-secondary: #4A5666;
  --text-muted: #838C99;
  --text-on-dark: #E9EEF4;
  --text-on-dark-2: #A9B6C6;

  --hairline: rgba(14, 42, 71, 0.10);
  --hairline-hi: rgba(14, 42, 71, 0.18);
  --hairline-dark: rgba(255, 255, 255, 0.12);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(14, 42, 71, .04), 0 8px 24px -12px rgba(14, 42, 71, .12);
  --shadow-lift: 0 2px 4px rgba(14, 42, 71, .05), 0 24px 48px -20px rgba(14, 42, 71, .28);
  --shadow-cta: 0 10px 24px -10px rgba(14, 42, 71, .55);

  --font-display: 'PT Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: var(--font-body);
  --nav-h: 76px;
}

/* --- 2. База ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border-color: var(--hairline); }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }

::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1em; height: 1em; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 3. Типографика и утилиты -------------------------------------------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { padding: 4.5rem 0; }
@media (min-width: 768px) { .section { padding: 6.5rem 0; } }
.section--alt { background: var(--surface); }

.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .section-head { margin-bottom: 3.5rem; } }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.eyebrow--center { justify-content: center; }
.eyebrow__line { display: block; width: 2rem; height: 2px; background: var(--accent); border-radius: 2px; flex: none; }
.eyebrow__dot { display: block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); flex: none; }
.eyebrow__text {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--accent-hi);
}
.eyebrow--light .eyebrow__text { color: #D8B77F; }
.eyebrow--light .eyebrow__line { background: #D8B77F; }

.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem); line-height: 1.18; letter-spacing: -.01em;
  overflow-wrap: break-word; color: var(--navy);
}
.section-title--lg { font-size: clamp(2rem, 5vw, 3.25rem); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600; line-height: 1.2; letter-spacing: .005em;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn .icon { width: 1.05rem; height: 1.05rem; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn--primary .icon { transition: transform .25s ease; }
.btn--primary:hover .icon { transform: translateX(3px); }
.btn--ghost { border-color: var(--hairline-hi); color: var(--navy); background: var(--surface); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--sm { padding: .7rem 1.15rem; font-size: .875rem; }
.btn--pill { border-radius: 999px; }

/* --- 4. Верхняя строка и шапка ------------------------------------------- */
.topbar { display: none; background: var(--navy); color: var(--text-on-dark-2); font-size: .8125rem; }
@media (min-width: 900px) { .topbar { display: block; } }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: .55rem; padding-bottom: .55rem; }
.topbar__info { display: flex; gap: 1.75rem; }
.topbar__info span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__info .icon { width: .95rem; height: .95rem; color: #D8B77F; }
.topbar__links { display: flex; gap: 1.25rem; }
.topbar__links a { color: var(--text-on-dark); transition: color .2s ease; }
.topbar__links a:hover { color: #D8B77F; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--nav-h); }
.nav__logo { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.nav__logo-mark {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--navy); color: #D8B77F;
}
.nav__logo-mark .icon { width: 1.35rem; height: 1.35rem; }
.nav__logo-text { display: flex; flex-direction: column; min-width: 0; }
.nav__logo-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.15;
  color: var(--navy); white-space: nowrap;
}
.nav__logo-sub { font-size: .72rem; color: var(--text-muted); letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 380px) { .nav__logo-sub { display: none; } .nav__logo-name { font-size: .95rem; } }

.nav__links { display: none; align-items: center; gap: 1.75rem; }
.nav__links a { font-size: .9rem; font-weight: 500; color: var(--text-secondary); transition: color .2s ease; }
.nav__links a:hover { color: var(--navy); }

.nav__actions { display: flex; align-items: center; gap: .75rem; }
.nav__phone {
  display: none; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem;
  color: var(--navy); white-space: nowrap;
}
.nav__phone .icon { width: 1rem; height: 1rem; color: var(--accent); }
.nav__cta { display: none; }
.nav__call {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm); background: var(--navy); color: #fff;
}
.nav__call .icon { width: 1.15rem; height: 1.15rem; }
@media (min-width: 640px) { .nav__call { display: none; } }
.nav__burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-hi); background: var(--surface); color: var(--navy);
}
.nav__burger .icon { width: 1.25rem; height: 1.25rem; }

@media (min-width: 640px) { .nav__phone { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .nav__cta { display: inline-flex; }
}

.nav__mobile { display: none; border-top: 1px solid var(--hairline); background: var(--surface); }
.nav__mobile.is-open { display: block; }
.nav__mobile a {
  display: block; padding: .95rem 0; border-bottom: 1px solid var(--hairline);
  font-size: 1rem; font-weight: 500; color: var(--text-secondary);
}
.nav__mobile a:last-child { border-bottom: 0; }
.nav__mobile-phone { display: flex !important; align-items: center; gap: .6rem; color: var(--navy) !important; font-weight: 700 !important; }
.nav__mobile-phone .icon { color: var(--accent); }
@media (min-width: 1100px) { .nav__mobile.is-open { display: none; } }

/* --- 5. Первый экран ----------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(169, 130, 74, .10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
  padding-top: 3rem; padding-bottom: 3.5rem;
}
.hero__grid > * { min-width: 0; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 7fr 5fr; gap: 4rem; padding-top: 4.5rem; padding-bottom: 5.5rem; }
}
.hero__content { animation: fade-up .8s cubic-bezier(.22, 1, .36, 1) both; }

.hero__title { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.hero__line {
  display: block; font-size: clamp(2.05rem, 6.2vw, 3.6rem); line-height: 1.1; letter-spacing: -.015em;
}
.hero__line:last-child { color: var(--accent-hi); }
.hero__line:only-child { color: var(--navy); }

.hero__lead {
  margin-top: 1.5rem; max-width: 36rem; font-size: 1.0625rem; line-height: 1.7; color: var(--text-secondary);
}
@media (min-width: 640px) { .hero__lead { font-size: 1.15rem; } }

.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__facts {
  margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--hairline-hi);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem;
}
.hero__fact-value { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--navy); }
.hero__fact-label { margin-top: .35rem; font-size: .8125rem; color: var(--text-muted); }
.hero__call { display: inline-flex; align-items: center; gap: .8rem; margin-left: auto; }
.hero__call-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent-hi); flex: none;
  transition: background .25s ease, color .25s ease;
}
.hero__call:hover .hero__call-ico { background: var(--navy); color: #fff; }
.hero__call-ico .icon { width: 1.15rem; height: 1.15rem; }
.hero__call-label { display: block; font-size: .75rem; color: var(--text-muted); }
.hero__call-num { display: block; font-weight: 700; font-size: 1.05rem; color: var(--navy); white-space: nowrap; }
@media (max-width: 1023px) { .hero__call { margin-left: 0; } }

.hero__media { position: relative; animation: media-in 1s cubic-bezier(.22, 1, .36, 1) .15s both; }
.hero__frame {
  position: relative; aspect-ratio: 4 / 5; width: 100%; overflow: hidden;
  border-radius: 20px; box-shadow: var(--shadow-lift); background: var(--navy-2);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 42, 71, .45), transparent 55%);
}
.hero__badge {
  position: absolute; bottom: 1.5rem; left: -1.5rem; display: flex;
  align-items: center; gap: .9rem; padding: 1rem 1.25rem; max-width: 80%;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lift);
}
.hero__badge-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent-hi); flex: none;
}
.hero__badge-ico .icon { width: 1.4rem; height: 1.4rem; }
.hero__badge-title { font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--navy); }
.hero__badge-sub { margin-top: .2rem; font-size: .8125rem; color: var(--text-muted); }

@media (max-width: 520px) {
  .hero__cta .btn { width: 100%; }
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes media-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* --- 6. Полоса преимуществ ----------------------------------------------- */
.trust { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.trust__list {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .9rem 2.25rem; padding-top: 1.35rem; padding-bottom: 1.35rem;
}
.trust__item { display: inline-flex; align-items: center; gap: .55rem; font-size: .9375rem; font-weight: 600; color: var(--navy); }
.trust__item .icon { width: 1.15rem; height: 1.15rem; color: var(--ok); }
@media (max-width: 640px) {
  .trust__list { justify-content: flex-start; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
  .trust__item { font-size: .8125rem; align-items: flex-start; }
  .trust__item .icon { margin-top: .15rem; }
}

/* --- 7. Услуги ----------------------------------------------------------- */
.services__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.service-card {
  display: flex; flex-direction: column; height: 100%; padding: 1.75rem;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
@media (min-width: 768px) { .service-card { padding: 2.25rem 2rem; } }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--hairline-hi); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.service-card__ico {
  display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem;
  border-radius: 12px; background: var(--navy); color: #D8B77F;
}
.service-card__ico .icon { width: 1.6rem; height: 1.6rem; }
.service-card__num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--accent); letter-spacing: .04em; }
.service-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.25; color: var(--navy); }
.service-card__text { margin-top: .85rem; font-size: .95rem; line-height: 1.7; color: var(--text-secondary); }
.service-card__points {
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: .65rem; flex: 1;
}
.service-card__points li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9375rem; color: var(--text-primary); }
.service-card__points .icon { width: 1.05rem; height: 1.05rem; margin-top: .2rem; color: var(--ok); stroke-width: 2.2; }
.service-card__link {
  margin-top: 1.75rem; display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; font-size: .9375rem; color: var(--navy);
}
.service-card__link .icon { width: 1rem; height: 1rem; color: var(--accent); transition: transform .25s ease; }
.service-card__link:hover .icon { transform: translateX(4px); }

/* --- 8. Цифры ------------------------------------------------------------ */
.stats { background: var(--navy); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stats__grid > * { min-width: 0; }
.stat { padding: 2rem 1rem; text-align: center; position: relative; }
@media (min-width: 768px) { .stat { padding: 3rem 1.5rem; } }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--hairline-dark);
}
@media (max-width: 767px) { .stat:nth-child(3)::before { display: none; } .stat:nth-child(n+3) { border-top: 1px solid var(--hairline-dark); } }
.stat__value {
  font-family: var(--font-display); font-weight: 700; line-height: 1; color: #fff;
  font-size: clamp(2rem, 5.5vw, 3rem);
}
.stat__label { margin-top: .6rem; font-size: .875rem; line-height: 1.45; color: var(--text-on-dark-2); }

/* --- 9. Как мы работаем -------------------------------------------------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1rem; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; padding: 1.75rem 1.5rem; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--hairline);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--navy);
}
@media (min-width: 1024px) {
  .step:not(:last-child)::after {
    content: ''; position: absolute; top: 3.1rem; left: calc(1.5rem + 2.75rem + .75rem); right: -1.25rem;
    height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); opacity: .5;
  }
}
.step__title { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.3; color: var(--navy); }
.step__text { margin-top: .6rem; font-size: .9375rem; line-height: 1.65; color: var(--text-secondary); }
.steps__cta { margin-top: 2.5rem; text-align: center; }

/* --- 10. Принципы -------------------------------------------------------- */
.manifesto__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.manifesto__grid > * { min-width: 0; }
@media (min-width: 1024px) { .manifesto__grid { grid-template-columns: 5fr 7fr; gap: 4.5rem; } }
.manifesto__figure { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lift); background: var(--navy-2); }
.manifesto__figure img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.manifesto__caption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .85rem 1.1rem;
  border-radius: var(--radius-sm); background: rgba(14, 42, 71, .88); color: #fff;
  font-size: .875rem; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.chapter { display: flex; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--hairline); }
.chapter > div { min-width: 0; }
.chapter:first-of-type { padding-top: 0; }
.chapter:last-child { border-bottom: 0; }
.chapter__num {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--accent-soft);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--accent-hi);
}
.chapter__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--navy); }
.chapter__text { margin-top: .4rem; font-size: .95rem; line-height: 1.7; color: var(--text-secondary); }

/* --- 11. Вопросы --------------------------------------------------------- */
.faq { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.faq > * { min-width: 0; }
@media (min-width: 1024px) { .faq { grid-template-columns: 4fr 7fr; gap: 4rem; align-items: start; } }
@media (min-width: 1024px) { .faq__aside { position: sticky; top: calc(var(--nav-h) + 2rem); } }
.ask-card {
  margin-top: 2rem; padding: 1.75rem; border-radius: var(--radius);
  background: var(--navy); color: var(--text-on-dark);
}
.ask-card__ico {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: rgba(216, 183, 127, .15); color: #D8B77F;
}
.ask-card__ico .icon { width: 1.3rem; height: 1.3rem; }
.ask-card__title { margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff; }
.ask-card__text { margin-top: .5rem; font-size: .9375rem; line-height: 1.6; color: var(--text-on-dark-2); }
.ask-card .btn { margin-top: 1.25rem; background: #fff; color: var(--navy); box-shadow: none; }
.ask-card .btn:hover { background: var(--accent-soft); }
@media (max-width: 1023px) { .ask-card { display: none; } }

.faq__list { display: flex; flex-direction: column; gap: .75rem; }
.faq__item {
  background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius);
  transition: border-color .25s ease, background .25s ease;
}
.faq__item.is-open { background: var(--surface); border-color: var(--hairline-hi); box-shadow: var(--shadow-card); }
.faq__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  padding: 1.2rem 1.35rem; background: none; border: 0; text-align: left;
  font-weight: 700; font-size: 1rem; line-height: 1.45; color: var(--navy);
}
@media (min-width: 640px) { .faq__trigger { font-size: 1.0625rem; padding: 1.35rem 1.6rem; } }
.faq__trigger .icon {
  width: 1.9rem; height: 1.9rem; padding: .4rem; flex: none; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--hairline-hi); color: var(--accent-hi);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq__item.is-open .faq__trigger .icon { transform: rotate(180deg); background: var(--navy); color: #fff; border-color: var(--navy); }
.faq__panel { overflow: hidden; height: 0; transition: height .3s ease; }
.faq__panel-inner { padding: 0 1.35rem 1.35rem; font-size: .95rem; line-height: 1.75; color: var(--text-secondary); }
@media (min-width: 640px) { .faq__panel-inner { padding: 0 1.6rem 1.5rem; } }

/* --- 11a. Реквизиты ------------------------------------------------------ */
.legal-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; }
@media (min-width: 640px) { .legal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .legal-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.legal-item {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
}
.legal-item > div { min-width: 0; }
.legal-item__ico {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; flex: none;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent-hi);
}
.legal-item__ico .icon { width: 1.25rem; height: 1.25rem; }
.legal-item--hi { border-color: var(--navy); }
.legal-item--hi .legal-item__ico { background: var(--navy); color: #D8B77F; }
.legal-item__label { font-size: .78rem; font-weight: 600; color: var(--text-muted); }
.legal-item__value { margin-top: .15rem; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--navy); overflow-wrap: break-word; font-variant-numeric: tabular-nums; }
.legal-item--hi .legal-item__value { font-size: 1.2rem; letter-spacing: .02em; }

.hero__req {
  margin-top: 1.25rem; display: inline-flex; align-items: flex-start; gap: .5rem;
  font-size: .85rem; color: var(--text-muted);
}
.hero__req .icon { width: 1.05rem; height: 1.05rem; margin-top: .12rem; color: var(--ok); }

/* --- 12. Контакты и форма ------------------------------------------------ */
.contact {
  position: relative; overflow: hidden; padding: 4.5rem 0;
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(216, 183, 127, .12), transparent 60%),
    var(--navy);
  color: var(--text-on-dark);
}
@media (min-width: 768px) { .contact { padding: 6.5rem 0; } }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.contact__grid > * { min-width: 0; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 5fr 6fr; gap: 4rem; } }
.contact__title { color: #fff; }
.contact__title-accent { color: #D8B77F; }

.contact__phone { margin-top: 2rem; display: inline-flex; align-items: center; gap: 1rem; }
.contact__phone-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem;
  border-radius: 50%; background: #D8B77F; color: var(--navy); flex: none;
  transition: transform .25s ease;
}
.contact__phone:hover .contact__phone-ico { transform: scale(1.06); }
.contact__phone-ico .icon { width: 1.4rem; height: 1.4rem; }
.contact__phone-label { display: block; font-size: .8125rem; color: var(--text-on-dark-2); }
.contact__phone-num {
  display: block; font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(1.5rem, 5.5vw, 2.25rem); line-height: 1.15; white-space: nowrap;
}

.contact__channels { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.channel {
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.15rem;
  border-radius: 999px; font-size: .9rem; font-weight: 600;
  border: 1px solid var(--hairline-dark); background: rgba(255, 255, 255, .06); color: #fff;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.channel:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); }
.channel .icon { width: 1rem; height: 1rem; }
.channel--whatsapp .icon { color: #4CD07A; }
.channel--telegram .icon { color: #53B7EA; }
.channel--max .icon { color: #A58BFF; }
.channel--landline .icon { color: #D8B77F; }
.contact__email { display: inline-block; margin-top: 1.25rem; font-size: .95rem; color: var(--text-on-dark-2); border-bottom: 1px solid var(--hairline-dark); }
.contact__email:hover { color: #fff; }
.contact__note {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline-dark);
  font-size: .875rem; color: var(--text-on-dark-2);
}

/* Форма */
.lead-form {
  width: 100%; padding: 1.5rem; text-align: left; color: var(--text-primary);
  background: var(--surface); border-radius: 18px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .45);
}
@media (min-width: 480px) { .lead-form { padding: 2rem; } }
@media (min-width: 768px) { .lead-form { padding: 2.5rem; } }
.lead-form__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.25; color: var(--navy); }
@media (min-width: 640px) { .lead-form__title { font-size: 1.7rem; } }
.lead-form__sub { margin-top: .5rem; font-size: .9375rem; color: var(--text-secondary); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.field { margin-top: 1.1rem; }
.form-row .field { margin-top: 0; }
.field__label { display: block; margin-bottom: .4rem; font-size: .8125rem; font-weight: 600; color: var(--text-secondary); }
.field__label .normal { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; background: var(--bg); color: var(--text-primary);
  border: 1px solid var(--hairline-hi); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy); background: var(--surface); box-shadow: 0 0 0 3px rgba(14, 42, 71, .10);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.5rem; }
.field--select { position: relative; }
.field--select::after {
  content: ''; position: absolute; right: 1.1rem; bottom: 1.25rem; width: .5rem; height: .5rem;
  border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg); pointer-events: none;
}
.hp {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0;
}
.lead-form__submit { margin-top: 1.5rem; width: 100%; padding-top: 1.05rem; padding-bottom: 1.05rem; font-size: 1rem; }
.lead-form__submit:disabled { opacity: .6; cursor: default; transform: none; }
.lead-form__legal {
  margin-top: .9rem; display: flex; align-items: flex-start; gap: .5rem;
  font-size: .8rem; line-height: 1.55; color: var(--text-muted);
}
.lead-form__legal .icon { width: 1rem; height: 1rem; margin-top: .1rem; color: var(--ok); }

.spinner {
  width: 1rem; height: 1rem; border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Экран «заявка принята» */
.lead-done {
  width: 100%; padding: 2.5rem 1.5rem; text-align: center; color: var(--text-primary);
  background: var(--surface); border-radius: 18px; outline: none;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .45);
  animation: done-in .4s cubic-bezier(.22, 1, .36, 1) both;
}
@media (min-width: 480px) { .lead-done { padding: 3rem 2rem; } }
@keyframes done-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__dialog .lead-done { margin: 0; max-width: none; box-shadow: none; background: transparent; padding: 2.25rem 1.75rem 2.5rem; }
.lead-done__ico {
  display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem;
  border-radius: 50%; background: rgba(47, 125, 91, .12); color: var(--ok);
}
.lead-done__ico .icon { width: 1.7rem; height: 1.7rem; }
.lead-done__title { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.2; color: var(--navy); }
.lead-done__text { margin-top: .6rem; font-size: .95rem; line-height: 1.7; color: var(--text-secondary); }
.lead-done__hint {
  margin: 1.75rem auto 0; max-width: 30rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline);
  font-size: .9rem; line-height: 1.65; color: var(--text-primary);
}
.lead-done__channels { margin-top: 1.1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.channel--done { background: var(--bg); color: var(--navy); border-color: var(--hairline-hi); }
.channel--done:hover { background: var(--surface-2); border-color: var(--navy); }
.lead-done__phone {
  margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: var(--text-muted); transition: color .2s ease;
}
.lead-done__phone:hover { color: var(--navy); }
.lead-done__phone .icon { width: .95rem; height: .95rem; }

/* Подвал */
.site-foot { background: var(--navy-3); color: var(--text-on-dark-2); }
.site-foot__inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center;
  padding-top: 2rem; padding-bottom: 2rem;
}
@media (min-width: 900px) {
  .site-foot__inner { flex-direction: row; justify-content: space-between; text-align: left; gap: 2rem; }
}
.site-foot__brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.site-foot__brand .nav__logo-mark { width: 2.1rem; height: 2.1rem; background: rgba(255, 255, 255, .08); }
.site-foot__brand .nav__logo-mark .icon { width: 1.1rem; height: 1.1rem; }
.site-foot__brand > span:last-child { font-family: var(--font-display); font-weight: 700; color: #fff; }
.site-foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; flex: none; }
.site-foot__links a { font-size: .875rem; color: var(--text-on-dark); transition: color .2s ease; }
.site-foot__links a:hover { color: #D8B77F; }
.site-foot__legal { max-width: 30rem; font-size: .8rem; line-height: 1.65; }
@media (min-width: 900px) { .site-foot__legal { text-align: right; } }

/* --- 13. Модальное окно -------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 1rem;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(10, 31, 54, .6);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: fade-in .25s ease both;
}
.modal__dialog {
  position: relative; width: 100%; max-width: 32rem; max-height: 88dvh; overflow-y: auto;
  background: var(--surface); border-radius: 18px;
  box-shadow: 0 40px 80px -20px rgba(10, 31, 54, .5);
  animation: modal-in .35s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__bar { height: 5px; background: linear-gradient(90deg, var(--navy), var(--accent)); }
.modal__close {
  position: absolute; top: 1.1rem; right: 1.1rem; width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--bg); border: 0; color: var(--text-secondary); transition: background .2s ease, color .2s ease;
}
.modal__close:hover { background: var(--surface-2); color: var(--navy); }
.modal__close .icon { width: 1.15rem; height: 1.15rem; }
.modal__body { padding: 1.75rem 1.5rem; }
@media (min-width: 640px) { .modal__body { padding: 2.25rem; } }
.modal__badge { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; padding: .35rem .85rem .35rem .4rem; border-radius: 999px; background: var(--accent-soft); }
.modal__badge span:first-child {
  display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem;
  border-radius: 50%; background: var(--surface); color: var(--accent-hi);
}
.modal__badge .icon { width: 1rem; height: 1rem; }
.modal__badge-text { font-size: .8rem; font-weight: 700; color: var(--accent-hi); }
.modal__title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.2; color: var(--navy); padding-right: 2rem; }
@media (min-width: 640px) { .modal__title { font-size: 1.8rem; } }
.modal__text { margin-top: .5rem; font-size: .9375rem; line-height: 1.65; color: var(--text-secondary); }
.modal .field { margin-top: 0; }
.modal .form-row { margin-top: 1rem; gap: 1rem; }
.modal__submit { margin-top: 1.25rem; width: 100%; background: var(--navy); color: #fff; box-shadow: var(--shadow-cta); padding-top: 1.05rem; padding-bottom: 1.05rem; }
.modal__submit:hover { background: var(--navy-2); }
.modal__submit:disabled { opacity: .6; cursor: default; transform: none; }
.modal .lead-form__legal { display: block; }

.modal__part { display: flex; align-items: center; gap: .7rem; margin-top: 1.5rem; }
.modal__step {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: .8rem; font-weight: 700;
}
.modal__part-title { font-size: .95rem; font-weight: 700; color: var(--navy); }
.modal__part + .form-row { margin-top: 1rem; }
.modal__or {
  display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted);
}
.modal__or::before, .modal__or::after { content: ''; flex: 1; height: 1px; background: var(--hairline); }
.modal__channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem; }
.modal__channel {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  padding: .85rem .5rem; border-radius: var(--radius-sm); border: 1px solid var(--hairline-hi); background: var(--bg);
  font-size: .8125rem; font-weight: 600; color: var(--navy); text-align: center;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.modal__channel .icon { width: 1.35rem; height: 1.35rem; }
.modal__channel:hover { transform: translateY(-1px); background: var(--surface); }
.modal__channel--whatsapp .icon { color: #1FA855; }
.modal__channel--max .icon      { color: #6A3BF2; }
.modal__channel--telegram .icon { color: #229ED9; }
.modal__channel--whatsapp:hover { border-color: #1FA855; }
.modal__channel--max:hover      { border-color: #6A3BF2; }
.modal__channel--telegram:hover { border-color: #229ED9; }
@media (max-width: 359px) { .modal__channels { grid-template-columns: 1fr; } .modal__channel { flex-direction: row; } }

/* --- 14. Cookie-баннер --------------------------------------------------- */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; display: none;
  max-width: 60rem; margin: 0 auto; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--hairline-hi); box-shadow: var(--shadow-lift);
}
.cookie.is-visible { display: block; animation: fade-up .4s ease both; }
.cookie__bar { display: none; }
.cookie__inner { padding: 1rem 1.25rem; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
@media (min-width: 768px) {
  .cookie__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.75rem; padding: 1rem 1.5rem; }
}
.cookie__text { display: flex; align-items: flex-start; gap: .7rem; font-size: .8125rem; line-height: 1.6; color: var(--text-secondary); }
.cookie__text .icon { width: 1.2rem; height: 1.2rem; margin-top: .1rem; color: var(--accent); }
.cookie__text a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie__btn {
  width: 100%; flex: none; padding: .7rem 1.6rem; border-radius: var(--radius-sm);
  background: var(--navy); color: #fff; border: 0; font-size: .875rem; font-weight: 600;
  transition: background .2s ease;
}
.cookie__btn:hover { background: var(--navy-2); }
@media (min-width: 768px) { .cookie__btn { width: auto; } }

/* --- 15. Уведомления ----------------------------------------------------- */
.toasts {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 200;
  display: flex; flex-direction: column; gap: .5rem; width: calc(100% - 2rem); max-width: 26rem;
  pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: .75rem; padding: .875rem 1rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--hairline-hi); box-shadow: var(--shadow-lift);
  font-size: .875rem; line-height: 1.5; animation: toast-in .3s cubic-bezier(.22, 1, .36, 1) both;
}
.toast--ok { border-left: 3px solid var(--ok); }
.toast--err { border-left: 3px solid #b4232a; }
.toast .icon { width: 1.125rem; height: 1.125rem; margin-top: .1rem; flex: none; }
.toast--ok .icon { color: var(--ok); }
.toast--err .icon { color: #b4232a; }
.toast.is-hiding { animation: toast-out .3s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-12px); } }

/* --- 16. Правовые страницы ----------------------------------------------- */
.legal-page { position: relative; min-height: 100vh; background: var(--surface); }
.legal-page__stripe { display: none; }
.legal-main { max-width: 52rem; margin: 0 auto; padding: 3.5rem 1.25rem 5rem; }
@media (min-width: 768px) { .legal-main { padding: 5rem 2rem 6rem; } }
.legal-main__updated { margin-top: .75rem; font-size: .8125rem; color: var(--text-muted); }
.legal-back { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.legal-back:hover { color: var(--accent-hi); }
.legal-back .icon { width: 1rem; height: 1rem; }

.legal-prose { margin-top: 2.5rem; }
.legal-prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1.25; color: var(--navy); margin: 2.25rem 0 .85rem; }
.legal-prose h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 1.5rem 0 .5rem; }
.legal-prose p { font-size: .975rem; line-height: 1.8; color: var(--text-secondary); margin: 0 0 1rem; }
.legal-prose ul { margin: 0 0 1.25rem; padding: 0; }
.legal-prose li { position: relative; padding-left: 1.4rem; font-size: .975rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: .5rem; }
.legal-prose li::before { content: ''; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.legal-prose strong { color: var(--text-primary); font-weight: 700; }
.legal-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-foot { margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--hairline); }
.legal-foot p { font-size: .9rem; color: var(--text-secondary); }
.legal-foot p + p { margin-top: .6rem; font-size: .8rem; line-height: 1.7; color: var(--text-muted); }
.legal-foot a { color: var(--blue); }

/* --- 17. Появление при скролле ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-20px); }
@media (max-width: 640px) { .reveal--left { transform: translateY(20px); } }
.reveal--left.is-visible { transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }

/* Секции с якорями не уезжают под шапку */
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Телефоны: без крупных фотографий — экран короче и быстрее
   ========================================================================== */
@media (max-width: 767px) {
  :root { --nav-h: 64px; }
  .hero__media { display: none; }
  .hero__grid { padding-top: 2.25rem; padding-bottom: 2.5rem; }
  .manifesto__grid > .reveal:first-child { display: none; }
  .manifesto__grid { gap: 0; }
  .nav__cta { display: none; }
.nav__call {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm); background: var(--navy); color: #fff;
}
.nav__call .icon { width: 1.15rem; height: 1.15rem; }
@media (min-width: 640px) { .nav__call { display: none; } }
}

/* Экран подтверждения номера звонком (FlashCall) */
.otp {
  width: 100%; padding: 2.5rem 1.5rem; text-align: center; color: var(--text-primary);
  background: var(--surface); border-radius: 18px; outline: none;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .45);
  animation: done-in .4s cubic-bezier(.22, 1, .36, 1) both;
}
@media (min-width: 480px) { .otp { padding: 3rem 2rem; } }
.modal__dialog .otp { margin: 0; max-width: none; box-shadow: none; background: transparent; padding: 2.25rem 1.75rem 2.5rem; }
.otp__ico {
  display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent-hi);
}
.otp__ico .icon { width: 1.6rem; height: 1.6rem; }
.otp__title { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.2; color: var(--navy); }
.otp__text { margin-top: .6rem; font-size: .95rem; line-height: 1.7; color: var(--text-secondary); }

/* Номер, на который звонит клиент — главный элемент экрана */
.otp__number {
  margin: 1.75rem auto 0; display: block; max-width: 24rem; padding: 1.2rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--hairline-hi); background: var(--bg);
  transition: border-color .25s ease, background .25s ease;
}
.otp__number:hover { border-color: var(--navy); background: var(--surface); }
.otp__number-value {
  display: block; font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums;
  letter-spacing: .03em; color: var(--navy); white-space: nowrap;
}
@media (min-width: 480px) { .otp__number-value { font-size: 1.85rem; } }
.otp__number-action {
  margin-top: .5rem; display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8125rem; font-weight: 600; color: var(--accent-hi);
}
.otp__number-action .icon { width: .9rem; height: .9rem; }

.otp__free { margin-top: 1rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; line-height: 1.5; color: var(--text-secondary); }
.otp__free strong { color: var(--text-primary); font-weight: 700; }
.otp__free .icon { width: .95rem; height: .95rem; color: var(--ok); flex: none; }

.otp__steps {
  margin: 1.75rem auto 0; max-width: 26rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline);
  display: grid; gap: .7rem; text-align: left; list-style: none;
}
.otp__steps li { display: flex; align-items: center; gap: .75rem; font-size: .9rem; line-height: 1.5; color: var(--text-secondary); }
.otp__steps span {
  flex: none; width: 1.6rem; height: 1.6rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700;
}

.otp__status { margin-top: 1.75rem; display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--text-primary); }
.otp__pulse { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); flex: none; animation: otp-pulse 1.6s ease-in-out infinite; }
@keyframes otp-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.otp__status[data-state="ok"] { color: var(--ok); font-weight: 600; }
.otp__status[data-state="ok"] .otp__pulse { animation: none; background: var(--ok); }
.otp__status[data-state="expired"] { color: var(--text-muted); }
.otp__status[data-state="expired"] .otp__pulse { animation: none; background: var(--text-muted); }

.otp__fallback {
  margin: 1.5rem auto 0; max-width: 30rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline);
  font-size: .85rem; line-height: 1.7; color: var(--text-muted);
}
.otp__fallback a { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--hairline-hi); }
.otp__detail { color: var(--text-muted); font-size: .8125rem; }

@media (prefers-reduced-motion: reduce) {
  .otp { animation: none; }
  .otp__pulse { animation: none; }
}
