/* ══════════════════════════════════════════════════════════════
   К. Толобаев — стоматология · premium editorial, тёмный hero
   Молочный базовый + крупные тёмные зоны (deep teal / графит).
   Mobile-first: 320 → 1440. Никаких тяжёлых библиотек.
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg: #faf6f0;
  --bg-tint: #f3eee3;
  --surface: #ffffff;
  --ink: #1b1f1e;
  --ink-2: #3c4441;
  --muted: #5c6561;
  --line: #e3dac8;
  --line-soft: #ede6d6;
  --accent: #16403c;
  --accent-deep: #102e2b;
  --accent-ink: #0e2a27;
  --accent-soft: #e1e9e4;
  --hero-dark: #0f2d29;
  --graphite: #141918;
  --cream: #f5f0e4;
  --cream-dim: #c3cec8;
  --cream-faint: #93a39c;
  --sand: #c2a164;
  --sand-light: #d3b578;
  --radius: 16px;
  --header-h: 68px;
  --font-sans: "Manrope", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Cormorant", Georgia, "Times New Roman", serif;
  --shadow-soft: 0 18px 45px -22px rgb(18 46 43 / 0.28);
}

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

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

html,
body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: 0.75em; }

a { color: var(--accent); }
a:hover { color: var(--accent-deep); }

address { font-style: normal; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible,
.section-dark :focus-visible,
.cta-panel :focus-visible { outline-color: var(--sand-light); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  min-width: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -14px rgb(18 46 43 / 0.55); }
.btn-accent:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--accent-ink); border-color: #c9c0ab; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); background: rgb(22 64 60 / 0.05); }

.btn-light { background: var(--cream); color: var(--accent-ink); box-shadow: 0 14px 30px -16px rgb(0 0 0 / 0.6); }
.btn-light:hover { background: #fff; color: var(--accent-ink); transform: translateY(-1px); }

.btn-outline-light { background: transparent; color: #f2ede1; border-color: rgb(242 237 225 / 0.4); }
.btn-outline-light:hover { border-color: #f2ede1; color: #fff; background: rgb(255 255 255 / 0.06); }

.btn-small { min-height: 44px; padding: 10px 20px; font-size: 0.9rem; }
.btn-large { min-height: 56px; padding: 16px 30px; font-size: 1.02rem; }
.btn-icon { flex: none; }

/* ---------- Eyebrow / section titles ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-rule { width: 34px; height: 2px; background: var(--sand); border-radius: 2px; flex: none; }
.eyebrow-on-dark { color: var(--cream-dim); }
.eyebrow-on-dark .eyebrow-rule { background: var(--sand-light); }

.section { padding-block: clamp(56px, 7vw, 96px); }
.section-tint {
  background: var(--bg-tint);
  border-block: 1px solid var(--line-soft);
}
.section-dark {
  background: var(--graphite);
  color: var(--cream);
  border-block: 1px solid #000;
}

.section-title {
  font-size: clamp(1.65rem, 1.15rem + 2.4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  max-width: 16em;
}
.title-on-dark { color: #f7f3e9; }
.section-sub {
  color: var(--muted);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.1rem);
  max-width: 38em;
  margin-bottom: 8px;
}
.sub-on-dark { color: #a7b2ac; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgb(250 246 240 / 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.header.is-scrolled {
  background: rgb(250 246 240 / 0.96);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px -22px rgb(27 31 30 / 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark { text-decoration: none; color: var(--ink); line-height: 1.1; display: grid; gap: 2px; }
.wordmark-name {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wordmark-name-small { font-size: 0.95rem; }
.wordmark-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  position: relative;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { display: none; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid #cfc4a8;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 4px 14px -8px rgb(27 31 30 / 0.4);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.burger-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.burger[aria-expanded="true"] .burger-line:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-line:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero (тёмный, фото справа) ---------- */
.hero {
  background: var(--hero-dark);
  color: var(--cream);
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 44px));
  padding-bottom: clamp(36px, 4vw, 52px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  right: -180px; top: -200px;
  border: 1px solid rgb(245 240 228 / 0.09);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  right: -90px; top: -105px;
  border: 1px solid rgb(245 240 228 / 0.07);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.hero-title {
  color: #faf6ee;
  font-size: clamp(2.15rem, 1.45rem + 3.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  margin-bottom: 18px;
}
.hero-accent {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 1.1em;
  line-height: 1.08;
  color: var(--sand-light);
}
.hero-sub {
  color: var(--cream-dim);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.14rem);
  max-width: 27em;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-meta {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream-faint);
  border-top: 1px solid rgb(245 240 228 / 0.16);
  padding-top: 16px;
  max-width: 30em;
}

.hero-media { margin: 0; min-width: 0; }
.hero-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgb(250 246 240 / 0.16);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.65);
  background: #1c3532;
}

/* ---------- Services (компактные строки) ---------- */
.srv-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.srv {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 24px;
  padding: 20px 4px;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: background-color 0.18s ease;
}
.srv:hover { background: rgb(22 64 60 / 0.035); }
.srv-index {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--sand);
  font-variant-numeric: tabular-nums;
}
.srv-title { font-size: clamp(1.15rem, 1.02rem + 0.55vw, 1.35rem); font-weight: 800; }
.srv-desc { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Prices (тёмный графит) ---------- */
.prices-wrap { max-width: 880px; }
.price-list { list-style: none; margin: 32px 0 0; padding: 0; }
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 20px;
  align-items: baseline;
  padding: 18px 4px;
  border-top: 1px solid rgb(236 231 218 / 0.14);
}
.price-row:last-of-type { border-bottom: 1px solid rgb(236 231 218 / 0.14); }
.price-name h3 {
  font-size: clamp(1rem, 0.93rem + 0.3vw, 1.1rem);
  font-weight: 700;
  color: #f2ede0;
}
.price-name p { margin: 3px 0 0; font-size: 0.86rem; color: #9aa5a0; }
.price-value {
  font-weight: 800;
  font-size: clamp(1rem, 0.93rem + 0.35vw, 1.12rem);
  color: #f5efe1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.price-row-featured {
  background: linear-gradient(to right, rgb(211 181 120 / 0.13), transparent 62%);
  border-left: 3px solid var(--sand);
  padding-left: 16px;
  border-radius: 0 12px 12px 0;
}
.price-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.step { padding: 22px 4px; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-index {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; max-width: 30em; }

/* ---------- Cases ---------- */
.cases-grid { display: grid; gap: clamp(26px, 4vw, 52px); }
.cases-placeholder {
  border: 1px dashed #c4b897;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.6);
  padding: clamp(26px, 4vw, 40px);
  text-align: left;
  display: grid;
  gap: 10px;
  justify-items: start;
}
.cases-placeholder-frame {
  width: 60px; height: 60px;
  border-radius: 18px 18px 18px 5px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.cases-plus { font-size: 1.8rem; font-weight: 300; line-height: 1; }
.cases-placeholder-title { font-weight: 800; font-size: 1.06rem; margin: 0; }
.cases-placeholder-text { margin: 0; color: var(--muted); font-size: 0.94rem; max-width: 34em; }
.cases-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.case-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case-card-body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.case-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.case-card-body h3 { font-size: 1.05rem; }
.case-card-body p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-photo { margin: 0; min-width: 0; }
.photo-dummy {
  aspect-ratio: 4 / 4.2;
  border-radius: 20px 20px 6px 20px;
  background:
    linear-gradient(160deg, #ece4d2 0%, #e2d8c1 55%, #d6c9ac 100%);
  border: 1px solid var(--line);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  color: var(--accent-ink);
  position: relative;
  overflow: hidden;
}
.photo-dummy::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgb(22 64 60 / 0.25);
  border-radius: 14px 14px 4px 14px;
  pointer-events: none;
}
.photo-mono {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
  color: var(--accent);
}
.photo-note {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.about-copy p:not(.eyebrow) { color: var(--ink-2); max-width: 32em; }
.about-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq { margin-top: 28px; display: grid; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { margin: 0; font-size: 1rem; }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.08rem);
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}
.faq-btn:hover { color: var(--accent-deep); }
.faq-icon {
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--surface);
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}
.faq-icon svg { display: block; }
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 4px 20px; color: var(--muted); max-width: 40em; }
.faq-a a { font-weight: 700; }

/* ---------- Final CTA ---------- */
.cta-panel {
  background: var(--hero-dark);
  color: #f0ebe0;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: auto -120px -160px auto;
  width: 380px; height: 380px;
  border: 1px solid rgb(240 235 224 / 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -70px -110px auto;
  width: 240px; height: 240px;
  border: 1px solid rgb(240 235 224 / 0.1);
  border-radius: 50%;
  pointer-events: none;
}
.cta-title {
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.7rem);
  font-weight: 800;
  color: #faf6ee;
  margin-bottom: 12px;
}
.cta-sub { color: #cfc9b8; max-width: 32em; margin-bottom: 26px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cta-contacts {
  display: grid;
  gap: 0;
  border-top: 1px solid rgb(240 235 224 / 0.16);
  position: relative;
  z-index: 1;
}
.cta-contact-row {
  display: grid;
  gap: 3px;
  padding: 15px 2px;
  border-bottom: 1px solid rgb(240 235 224 / 0.16);
  font-size: 0.98rem;
}
.cta-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a9b3ab;
}
.cta-contacts a { color: #faf6ee; text-decoration: none; border-bottom: 1px solid transparent; width: fit-content; }
.cta-contacts a:hover { border-color: #faf6ee; }
.cta-phone { font-size: 1.35rem; font-weight: 800; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding-block: 36px 120px; }
.footer-inner { display: grid; gap: 18px; }
.footer-brand { display: grid; gap: 2px; }
.footer-note { font-size: 0.82rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--ink-2); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent-deep); }
.footer-disclaimer { margin: 0; font-size: 0.78rem; line-height: 1.6; color: var(--muted); max-width: 60em; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  padding: 10px;
  background: rgb(253 251 246 / 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px -18px rgb(27 31 30 / 0.45);
  transform: translateY(140%);
  transition: transform 0.3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-btn { min-height: 50px; width: 100%; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ═══════════ Breakpoints ═══════════ */

/* ≥560px */
@media (min-width: 560px) {
  .cases-list { grid-template-columns: repeat(2, 1fr); }
}

/* ≥720px */
@media (min-width: 720px) {
  .srv { grid-template-columns: 72px 250px 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .step:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; }
  .cta-contact-row { grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline; }
}

/* ≥900px — desktop: hero в один экран */
@media (min-width: 900px) {
  .burger { display: none; }
  .header-cta { display: inline-flex; }
  .nav-cta { display: none; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 44px; }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 32px;
  }
  .hero-grid { grid-template-columns: 0.94fr 1.06fr; gap: clamp(40px, 4.5vw, 68px); width: 100%; }
  .hero-img {
    aspect-ratio: auto;
    height: 62vh;
    height: 62svh;
    min-height: 440px;
    max-height: 620px;
  }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
  .step:nth-last-child(2) { border-bottom: 0; }
  .step { border-top: 2px solid var(--line); padding-top: 20px; }
  .step:last-child,
  .step:nth-last-child(2) { border-bottom: 0; }

  .cases-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .cases-list { grid-template-columns: repeat(2, 1fr); }

  .cta-panel { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .cta-contacts { border-top: 0; border-left: 1px solid rgb(240 235 224 / 0.16); padding-left: clamp(24px, 3vw, 48px); }
}

/* <900px — mobile nav + sticky offset */
@media (max-width: 899.98px) {
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .header-cta { display: none; }
  .burger { display: inline-flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fdfaf4;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 24px 50px -24px rgb(27 31 30 / 0.4);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link { padding: 13px 14px; border-radius: 10px; font-size: 1.02rem; }
  .nav-link:hover { background: rgb(22 64 60 / 0.06); }
  .nav-link::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 6px; }
}

/* ≤480px — узкие экраны */
@media (max-width: 480px) {
  .price-row { grid-template-columns: 1fr; gap: 4px; }
  .price-value { text-align: left; }
  .hero-cta .btn, .price-cta .btn, .about-cta .btn { flex: 1 1 100%; }
  .cta-panel { border-radius: 20px; }
}

/* ≥1280px */
@media (min-width: 1280px) {
  .container { max-width: 1240px; }
}

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