/* =============================================================================
   BronMe — Landing
   Concept A · Светлый минимализм · Mobile-first
   ============================================================================= */

:root {
  /* Brand */
  --orange:        #FF7A1A;
  --orange-light:  #FFA64D;
  --orange-dark:   #F26A00;
  --grad-brand:    linear-gradient(135deg, #FF9A3D 0%, #F26A00 100%);

  --navy:          #16213E;   /* headings / dark sections */
  --navy-soft:     #2A3A5C;

  --text:          #58617A;   /* body */
  --muted:         #8A92A6;
  --white:         #FFFFFF;
  --bg-soft:       #F6F8FC;   /* alternating section bg */
  --bg-card:       #FFFFFF;
  --border:        #E7ECF4;

  --tg:            #2AABEE;
  --wa:            #25D366;
  --success:       #16A34A;

  --shadow-sm:     0 2px 10px rgba(22, 33, 62, .06);
  --shadow-md:     0 12px 30px rgba(22, 33, 62, .10);
  --shadow-lg:     0 24px 60px rgba(22, 33, 62, .14);
  --shadow-brand:  0 12px 26px rgba(242, 106, 0, .28);

  --radius:        14px;
  --radius-lg:     22px;
  --radius-pill:   999px;

  --container:     1160px;
  --header-h:      64px;

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }

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

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; }

.accent { color: var(--orange-dark); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}
.container--narrow { max-width: 820px; }

/* =============================================================================
   Buttons
   ============================================================================= */
.btn {
  --pad-y: 12px; --pad-x: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: var(--pad-y) var(--pad-x);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  min-height: 46px;
}
.btn__ico { width: 18px; height: 18px; }
.btn--sm  { --pad-y: 9px; --pad-x: 16px; min-height: 40px; font-size: 14px; }
.btn--lg  { --pad-y: 15px; --pad-x: 28px; min-height: 54px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(242,106,0,.36); }

.btn--outline { background: #fff; color: var(--navy); border-color: var(--border); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange-dark); transform: translateY(-2px); }

.btn--ghost { background: rgba(22,33,62,.04); color: var(--navy); border-color: transparent; }
.btn--ghost:hover { background: rgba(22,33,62,.08); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* =============================================================================
   Header
   ============================================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; flex: 0 0 auto; filter: drop-shadow(0 4px 8px rgba(242,106,0,.25)); }
.logo__mark svg { width: 100%; height: 100%; }
.logo__text { font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: -.02em; }
.logo__accent { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  color: var(--navy); font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 10px; transition: background .2s, color .2s;
}
.nav__link:hover { color: var(--orange-dark); background: rgba(255,122,26,.08); }
.nav__cta { margin-left: 8px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =============================================================================
   Sections
   ============================================================================= */
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }

.section__head { max-width: 660px; margin: 0 auto 36px; text-align: center; }
.section__title { font-size: clamp(1.7rem, 5.2vw, 2.5rem); margin-bottom: 12px; }
.section__title--left { text-align: left; }
.section__subtitle { font-size: 1.05rem; color: var(--text); }
.section__subtitle b { color: var(--navy); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(255,122,26,.10); color: var(--orange-dark);
  font-weight: 700; font-size: 13px; letter-spacing: .01em;
  margin-bottom: 18px;
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,26,.18); }

/* =============================================================================
   Hero
   ============================================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 36px) 0 56px;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(255,166,77,.18), transparent 60%),
    radial-gradient(50% 40% at 0% 20%, rgba(255,122,26,.08), transparent 60%),
    var(--bg-soft);
  overflow: hidden;
}
.hero__inner { display: grid; gap: 38px; }
.hero__title { font-size: clamp(2rem, 8vw, 3.3rem); margin-bottom: 16px; }
.hero__subtext { font-size: 1.1rem; max-width: 540px; margin-bottom: 26px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero__trust li { position: relative; padding-left: 24px; font-size: .92rem; font-weight: 600; color: var(--navy-soft); }
.hero__trust li::before {
  content: '✓'; position: absolute; left: 0; top: -1px;
  color: var(--success); font-weight: 800;
}

/* Phone mockup */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; }
.phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 300 / 610;
  background: #0e1730;
  border-radius: 42px;
  padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone__cam { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; background: #0e1730; border-radius: 999px; z-index: 3; }
.phone__screen { height: 100%; border-radius: 32px; background: var(--bg-soft); overflow: hidden; }

/* Video embed inside phone frame (9:16 vertical, fits shorts) */
.phone--video { background: #000; }
.phone--video .phone__screen { background: #000; }
.phone__video { width: 100%; height: 100%; border: 0; display: block; }

.app { display: flex; flex-direction: column; height: 100%; padding: 30px 14px 14px; gap: 11px; position: relative; }
.app__top { display: flex; align-items: center; justify-content: space-between; }
.app__brand { display: flex; align-items: center; gap: 7px; font-weight: 800; color: var(--navy); font-size: 15px; }
.app__logo { width: 22px; height: 22px; }
.app__date { font-size: 11px; color: var(--muted); font-weight: 600; }

.app__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.app__stat { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px 11px; }
.app__stat b { display: block; color: var(--navy); font-size: 15px; }
.app__stat span { font-size: 10px; color: var(--muted); font-weight: 600; }

.app__list { display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.appt { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px 10px; }
.appt--active { border-color: var(--orange-light); box-shadow: 0 6px 16px rgba(242,106,0,.14); }
.appt__time { font-weight: 800; color: var(--navy); font-size: 12px; width: 36px; flex: 0 0 auto; }
.appt__info { flex: 1; min-width: 0; }
.appt__info b { display: block; font-size: 12.5px; color: var(--navy); }
.appt__info span { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt__badge { flex: 0 0 auto; font-size: 10px; font-weight: 800; color: var(--muted); }
.appt__badge--ok { color: var(--success); }
.appt__badge--new { background: var(--grad-brand); color: #fff; padding: 3px 8px; border-radius: 999px; font-size: 9px; text-transform: uppercase; }

.app__fab {
  position: absolute; right: 16px; bottom: 16px;
  width: 44px; height: 44px; border: none; cursor: default;
  border-radius: 50%; background: var(--grad-brand); color: #fff;
  font-size: 26px; line-height: 1; font-weight: 400;
  box-shadow: var(--shadow-brand);
  display: flex; align-items: center; justify-content: center;
}

.float-chip {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border);
  padding: 9px 13px; border-radius: 14px;
  font-size: 12.5px; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-md);
  max-width: 210px;
}
.float-chip__ico { width: 20px; height: 20px; flex: 0 0 auto; color: var(--wa); }
.float-chip__ico--ai { display: grid; place-items: center; background: var(--grad-brand); color: #fff; border-radius: 6px; font-size: 11px; }
.float-chip--wa { top: 16%; right: -6px; animation: floaty 5s ease-in-out infinite; }
.float-chip--ai { bottom: 12%; left: -6px; animation: floaty 5s ease-in-out infinite .8s; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* =============================================================================
   Metrics
   ============================================================================= */
.metrics { padding: 30px 0; border-bottom: 1px solid var(--border); }
.metrics__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; text-align: center; }
.metric b { display: block; font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.metric b { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric span { font-size: .85rem; color: var(--text); font-weight: 600; }

/* =============================================================================
   Problem / Solution
   ============================================================================= */
.ps { display: grid; gap: 18px; }
.ps__card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.ps__card--solution { border-color: rgba(255,122,26,.35); background: linear-gradient(180deg, #fff, #fff8f1); box-shadow: var(--shadow-sm); }
.ps__title { font-size: 1.25rem; margin-bottom: 16px; }
.ps__card--problem .ps__title { color: var(--navy-soft); }
.ps__list li { position: relative; padding-left: 30px; margin-bottom: 11px; font-size: .98rem; }
.ps__list li:last-child { margin-bottom: 0; }
.ps__list--minus li::before, .ps__list--plus li::before {
  position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.ps__list--minus li::before { content: '×'; background: #f1f3f8; color: var(--muted); }
.ps__list--plus  li::before { content: '✓'; background: rgba(22,163,74,.12); color: var(--success); }

/* =============================================================================
   Features
   ============================================================================= */
.features { display: grid; gap: 18px; }
.feature {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(255,122,26,.3); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,122,26,.10); color: var(--orange-dark);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature__title { font-size: 1.2rem; margin-bottom: 14px; }

.checklist li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: .96rem; }
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 800; }
.checklist li b { color: var(--navy); }
.checklist--lg li { font-size: 1.02rem; margin-bottom: 12px; }

/* =============================================================================
   AI Spotlight
   ============================================================================= */
.spotlight { display: grid; gap: 34px; align-items: center; }
.spotlight__lead { font-size: 1.08rem; margin: 14px 0 18px; }
.spotlight .checklist { margin-bottom: 26px; }

.chat {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  box-shadow: var(--shadow-md); max-width: 420px; margin: 0 auto;
}
.chat__head { display: flex; align-items: center; gap: 11px; padding-bottom: 13px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.chat__ava { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: 16px; box-shadow: var(--shadow-brand); }
.chat__head b { display: block; color: var(--navy); font-size: .98rem; }
.chat__status { font-size: .78rem; color: var(--success); font-weight: 700; }
.chat__status::before { content: '●'; margin-right: 4px; font-size: .6rem; vertical-align: middle; }
.chat__body { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 85%; padding: 11px 14px; font-size: .94rem; line-height: 1.45; border-radius: 16px; }
.bubble--in  { align-self: flex-start; background: #f1f3f8; color: var(--navy-soft); border-bottom-left-radius: 5px; }
.bubble--out { align-self: flex-end; background: var(--grad-brand); color: #fff; border-bottom-right-radius: 5px; box-shadow: var(--shadow-brand); }

/* =============================================================================
   Steps
   ============================================================================= */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; position: relative; }
.step__num { width: 50px; height: 50px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-size: 1.3rem; font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow-brand); }
.step__title { font-size: 1.18rem; margin-bottom: 8px; }
.step__text { font-size: .96rem; }

/* =============================================================================
   Pricing
   ============================================================================= */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.chip { padding: 6px 14px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border); font-size: .82rem; font-weight: 700; color: var(--navy-soft); }
.chip--accent { background: rgba(22,163,74,.10); color: var(--success); border-color: rgba(22,163,74,.25); }

.pricing { display: grid; gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--featured { border: 2px solid var(--orange); box-shadow: var(--shadow-md); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color: #fff; font-size: .76rem; font-weight: 800; padding: 5px 16px; border-radius: var(--radius-pill); box-shadow: var(--shadow-brand); white-space: nowrap; }
.plan__name { font-size: 1.18rem; }
.plan__tag { font-size: .86rem; color: var(--muted); margin-top: 4px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 18px; }
.plan__amount { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.plan__period { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan__features { margin-top: 20px; }
.plan .btn { margin-top: 2px; }

.pricing__note { text-align: center; margin-top: 22px; font-size: .88rem; color: var(--muted); }

/* =============================================================================
   Accordion
   ============================================================================= */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.ac { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ac__head {
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; font-family: inherit; font-size: 1.02rem; font-weight: 700; color: var(--navy);
  padding: 18px 52px 18px 20px; position: relative;
}
.ac__icon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; }
.ac__icon::before, .ac__icon::after { content: ''; position: absolute; background: var(--orange); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.ac__icon::before { top: 7px; left: 0; width: 16px; height: 2.5px; }
.ac__icon::after  { top: 0; left: 7px; width: 2.5px; height: 16px; }
.ac.open .ac__icon::after { transform: scaleY(0); opacity: 0; }
.ac__body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.ac__body p { padding: 0 20px 18px; font-size: .98rem; }

/* =============================================================================
   Final CTA
   ============================================================================= */
.cta { padding: 64px 0; background:
    radial-gradient(70% 120% at 85% 0%, rgba(242,106,0,.45), transparent 55%),
    radial-gradient(60% 100% at 0% 100%, rgba(255,122,26,.25), transparent 55%),
    var(--navy);
}
.cta__inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta__title { color: #fff; font-size: clamp(1.7rem, 5.5vw, 2.6rem); margin-bottom: 14px; }
.cta__subtitle { color: rgba(255,255,255,.82); font-size: 1.06rem; margin-bottom: 28px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 26px; }

.cta__messengers { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.msg { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: var(--radius-pill); font-weight: 700; font-size: .95rem; color: #fff; transition: transform .15s ease, box-shadow .2s ease; min-height: 46px; }
.msg svg { width: 20px; height: 20px; }
.msg--tg { background: var(--tg); }
.msg--wa { background: var(--wa); }
.msg:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* =============================================================================
   Footer
   ============================================================================= */
.footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding-top: 48px; }
.footer__inner { display: grid; gap: 32px; padding-bottom: 36px; }
.footer__brand { max-width: 320px; }
.logo--footer { margin-bottom: 14px; }
.footer__tagline { font-size: .95rem; color: var(--text); }
.footer__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__link { color: var(--navy-soft); font-size: .95rem; font-weight: 600; transition: color .2s; width: fit-content; }
.footer__link:hover { color: var(--orange-dark); }
.footer__bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer__bottom p { font-size: .86rem; color: var(--muted); text-align: center; }

/* =============================================================================
   Mobile sticky CTA
   ============================================================================= */
.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: 900;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(22,33,62,.08);
  transform: translateY(120%); transition: transform .3s ease;
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta .btn { min-height: 50px; }
.mobile-cta .btn--ghost { flex: 0 0 38%; }
.mobile-cta .btn--primary { flex: 1; }

/* =============================================================================
   Reveal animation
   ============================================================================= */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================================
   Responsive — tablet & up
   ============================================================================= */
@media (min-width: 600px) {
  .metrics__grid { grid-template-columns: repeat(4, 1fr); }
  .ps { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pricing { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  :root { --header-h: 72px; }
  .section { padding: 84px 0; }
  .cta { padding: 88px 0; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 940px) {
  .container { padding: 0 28px; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; }
  .hero__visual { justify-content: flex-end; }
  .phone { width: 320px; }
  .spotlight { grid-template-columns: 1fr 1fr; gap: 56px; }
  .pricing { grid-template-columns: repeat(4, 1fr); }
  .plan--featured { transform: scale(1.04); }
  .plan--featured:hover { transform: scale(1.04) translateY(-4px); }
}

/* =============================================================================
   Responsive — mobile nav & sticky CTA
   ============================================================================= */
@media (max-width: 939px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; justify-content: flex-start; gap: 6px;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.98); backdrop-filter: blur(8px);
    transform: translateX(100%); transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav__link { width: 100%; padding: 14px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav__cta { width: 100%; margin: 14px 0 0; }
  .burger { display: flex; }
  body.nav-locked { overflow: hidden; }
  .mobile-cta { display: flex; }
}

/* =============================================================================
   Accessibility — reduced motion
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* =============================================================================
   Legal pages (оферта / конфиденциальность / платежи)
   ============================================================================= */
.legal-page {
  padding: calc(var(--header-h) + 28px) 0 64px;
  background:
    radial-gradient(50% 30% at 90% 0%, rgba(255,166,77,.10), transparent 60%),
    var(--white);
  min-height: 70vh;
}
.legal-breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.legal-breadcrumbs a { color: var(--orange-dark); font-weight: 600; }
.legal-breadcrumbs span { margin: 0 4px; }
.legal-title { font-size: clamp(1.5rem, 5vw, 2.3rem); margin-bottom: 10px; }
.legal-effective {
  display: inline-block; margin-bottom: 28px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: rgba(255,122,26,.10); color: var(--orange-dark);
  font-size: .82rem; font-weight: 700;
}
.legal-doc { color: var(--text); font-size: 1rem; line-height: 1.7; }
.legal-doc h2 {
  font-size: 1.25rem; margin: 32px 0 12px;
  padding-top: 18px; border-top: 1px solid var(--border);
  color: var(--navy);
}
.legal-doc h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-doc p { margin-bottom: 14px; }
.legal-doc a { color: var(--orange-dark); font-weight: 600; word-break: break-word; }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc ul { margin: 0 0 16px; padding-left: 0; }
.legal-doc ul li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
}
.legal-doc ul li::before {
  content: ''; position: absolute; left: 8px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
}
.legal-note {
  background: var(--bg-soft); border-left: 3px solid var(--orange);
  padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem; color: var(--navy-soft); margin-bottom: 22px;
}
.legal-requisites {
  margin-top: 36px; padding: 22px 24px;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg);
  font-size: .95rem;
}
.legal-requisites p { margin-bottom: 5px; }
.legal-requisites strong { color: var(--navy); }
.legal-back { margin-top: 36px; }

/* Header nav on legal pages: keep visible (no burger here) */
.nav--legal { display: flex; }
@media (max-width: 939px) {
  .nav--legal {
    position: static; inset: auto; width: auto; height: auto;
    flex-direction: row; background: none; backdrop-filter: none;
    transform: none; padding: 0; font-size: inherit; gap: 6px; overflow: visible;
  }
  .nav--legal .nav__link { display: none; }
  .nav--legal .nav__cta { display: inline-flex; width: auto; margin: 0; }
}
