/* Стоматология КДЦ — дизайн-система
   Цвета фирменного стиля текущего сайта kdc-stom.ru: голубой #0F8FD0,
   светло-голубой фон, жёлтая кнопка записи, коралловый телефон, шрифт Rubik.
   Только светлая тема. */
@font-face { font-family: "Rubik"; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url("fonts/rubik-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rubik"; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url("fonts/rubik-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #eef8fe;
  --sky: #cbedff;
  --ink: #2b2f33;
  --heading: #595959;
  --muted: #6b7378;
  --line: #d6e9f5;
  --accent: #0f8fd0;
  --accent-2: #42b2f1;
  --accent-ink: #ffffff;
  --accent-soft: #e2f3fd;
  --accent-deep: #0b70a5;
  --cta: #fecf6c;
  --cta-hover: #fdc144;
  --cta-ink: #1d1d1d;
  --coral: #ff8562;
  --star: #f5b335;
  --shadow: 0 1px 2px rgba(15, 143, 208, .06), 0 14px 34px -14px rgba(15, 100, 150, .22);

  --f-display: "Rubik", Arial, sans-serif;
  --f-body: "Rubik", Arial, sans-serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; color: var(--heading); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(30px, 5vw, 54px); }
h2 { font-size: clamp(24px, 3.2vw, 38px); }
h3 { font-size: clamp(17px, 1.6vw, 20px); letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1 var(--f-body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: var(--cta-ink); }
.btn-primary:hover { background: var(--cta-hover); color: var(--cta-ink); }
.btn-blue { background: var(--accent); color: var(--accent-ink); }
.btn-blue:hover { background: var(--accent-deep); color: var(--accent-ink); }
.btn-ghost { border-color: var(--accent-2); color: var(--accent); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.topbar { background: var(--accent); color: #fff; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-block: 8px; }
.topbar span { display: inline-flex; gap: 6px; align-items: center; }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 600 15px/1 var(--f-display); letter-spacing: -.02em; }
.logo-text { display: grid; line-height: 1.1; }
.logo-text b { font: 600 17px/1.1 var(--f-display); letter-spacing: -.02em; }
.logo-text small { font-size: 12.5px; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: 15.5px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-deep); }
.header-phone { font-weight: 700; color: var(--coral); text-decoration: none; white-space: nowrap; font-size: 17px; font-variant-numeric: tabular-nums; }
.header .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 1020px) {
  .nav, .header .btn { display: none; }
  .header-phone { margin-left: auto; font-size: 15px; }
  .burger { display: grid; place-items: center; margin-left: 0; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--surface); padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open a { padding: 14px; }
}
@media (max-width: 600px) { .topbar .addr-full { display: none; } .logo-text small { display: none; } .header-phone { display: none; } .burger { margin-left: auto; } .ptable th, .ptable td { padding: 13px 14px; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tint { background: var(--tint); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(343deg, #ffffff 0%, var(--sky) 100%); padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 { color: var(--accent); }
.hero-copy h1 span { color: var(--heading); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 8px; font-size: 15px; color: var(--muted); }
.hero-facts b { color: var(--ink); font-size: 18px; display: block; font-variant-numeric: tabular-nums; }
.rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 14.5px; width: fit-content; }
.rating .stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.rating b { font-size: 16px; }
.svc-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: start; }
@media (max-width: 900px) { .hero-grid, .svc-grid { grid-template-columns: 1fr; } }

/* dental arch */
.arch-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 14px; min-width: 0; }
.arch-card svg { width: 100%; height: auto; display: block; }
.arch-card .arch-cap { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.arch-card .arch-cap b { color: var(--ink); font-weight: 600; }
.tooth { fill: var(--tint); stroke: color-mix(in srgb, var(--accent) 28%, var(--line)); stroke-width: 1.5; transition: fill .25s; }
.tooth.on { fill: var(--accent); stroke: var(--accent-deep); }
.tnum { font: 600 10px/1 var(--f-body); fill: var(--muted); text-anchor: middle; dominant-baseline: middle; font-variant-numeric: tabular-nums; }
.tnum.on { fill: var(--accent-deep); }
.arch-mid { font: 500 12px/1 var(--f-body); fill: var(--muted); text-anchor: middle; letter-spacing: .06em; text-transform: uppercase; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--accent-deep); background: var(--accent); vertical-align: -1px; margin-right: 6px; }

/* ---------- services catalog ---------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cat-tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 10px 18px; font: 500 15px/1 var(--f-body); cursor: pointer; }
.cat-tabs button[aria-selected="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cat-block { display: grid; gap: 18px; }
.cat-block + .cat-block { margin-top: 44px; }
.cat-block > h3 { display: flex; align-items: baseline; gap: 12px; font-size: 22px; }
.cat-block > h3 small { font: 500 14px/1 var(--f-body); color: var(--muted); letter-spacing: 0; }
.svc { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; min-width: 0; }
.svc:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.svc h4 { margin: 0; font: 600 18px/1.3 var(--f-body); }
.svc p { font-size: 15px; color: var(--muted); }
.svc .svc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-na { font-size: 14px; color: var(--muted); font-weight: 500; }
.svc .arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.svc .arrow svg { width: 16px; height: 16px; }

/* ---------- price table ---------- */
.ptable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.ptable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptable caption { text-align: left; padding: 18px 22px 0; font: 600 13px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ptable th, .ptable td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable td:last-child, .ptable th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable td a { color: var(--ink); text-decoration: none; font-weight: 500; }
.ptable td a:hover { color: var(--accent); }
.ptable .grp td { background: var(--tint); font: 600 13px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); padding-block: 12px; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 75ch; }

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
.feat .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
.feat .ico svg { width: 24px; height: 24px; }
.feat p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 16px; max-width: 68ch; }
.prose p { color: var(--ink); }
.prose ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 30px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8fd0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.prose h2 { margin-top: 18px; }
.prose h3 { margin-top: 8px; }

/* steps (real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent-deep); display: grid; place-items: center; font: 600 15px/1 var(--f-display); }
.steps h3 { font-size: 18px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* chips list (indications) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 15.5px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 600; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b70a5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); display: grid; gap: 10px; max-width: 72ch; }

/* licenses */
.lic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lic { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px; display: grid; gap: 10px; }
.lic a { display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--tint); }
.lic img { width: 100%; height: 100%; object-fit: cover; }
.lic figcaption { font-size: 14px; color: var(--muted); text-align: center; }
.lic .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 13px; text-align: center; padding: 10px; }
@media (max-width: 800px) { .lic-grid { grid-template-columns: repeat(2, 1fr); } }

/* reviews strip */
.reviews { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); }
.reviews .score { font: 500 clamp(44px, 6vw, 64px)/1 var(--f-display); letter-spacing: -.03em; }
.reviews .stars { color: var(--star); font-size: 20px; letter-spacing: 3px; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- contacts / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: stretch; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; align-content: start; }
.contact-card dl { margin: 0; display: grid; gap: 18px; }
.contact-card dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-card dd { margin: 0; font-size: 18px; font-weight: 500; }
.contact-card dd a { color: var(--ink); text-decoration: none; }
.contact-card dd a:hover { color: var(--accent); }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 20px; font-variant-numeric: tabular-nums; }
.map { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--tint); position: relative; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; gap: 12px; align-content: center; }

.cta-band { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #fff; border-radius: var(--r-l); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cta-band > * { min-width: 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }
.form { display: grid; gap: 12px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; }
.form input, .form select { width: 100%; min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 16px; font: 400 16px/1 var(--f-body); }
.form input:focus, .form select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; line-height: 1.45; }
.form .consent input { width: 18px; min-height: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.form .consent a { color: inherit; }
.form .btn { width: 100%; }
.form-status { font-size: 14.5px; min-height: 1.4em; }
.cta-band .form label { color: #fff; }
.cta-band .form input, .cta-band .form select { background: #fff; border-color: #fff; color: var(--ink); }
.cta-band .form input::placeholder { color: var(--muted); }
.cta-band .form .consent { color: rgba(255,255,255,.9); }

.cta-band .form-status { color: #fff; }

/* ---------- service page ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.svc-hero { background: linear-gradient(343deg, #ffffff 0%, var(--sky) 100%); padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 72px); }
.price-card { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.price-card .big { font: 500 clamp(30px, 4vw, 42px)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-card .big small { font: 500 16px/1 var(--f-body); color: var(--muted); letter-spacing: 0; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.price-card ul li { display: flex; gap: 10px; }
.price-card ul li::before { content: "—"; color: var(--accent); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; display: grid; gap: 4px; }
.aside nav b { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.aside nav a { color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 10px; font-size: 15.5px; display: flex; justify-content: space-between; gap: 10px; }
.aside nav a:hover { background: var(--accent-soft); }
.aside nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.aside nav a span { color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .content-grid { grid-template-columns: 1fr; } .aside { position: static; } }
.block { display: grid; gap: 20px; }
.block + .block { margin-top: clamp(44px, 6vw, 72px); }
.callout { background: var(--accent-soft); border-radius: var(--r-m); padding: 22px 24px; color: var(--ink); display: grid; gap: 8px; }
.callout b { color: var(--accent-deep); }

/* ---------- footer ---------- */
.footer { background: var(--tint); border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: 15px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer h3 { font: 600 13px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.footer-bottom a { color: var(--muted); }
.disclaimer { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* mobile call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
  .callbar .btn { min-height: 46px; padding: 0 12px; font-size: 15px; }
  body { padding-bottom: 72px; }
}

/* modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(8, 24, 29, .55); }
.modal[hidden] { display: none !important; }
.modal-box { background: var(--surface); border-radius: var(--r-l); padding: clamp(22px, 4vw, 36px); width: min(480px, 100%); display: grid; gap: 16px; position: relative; max-height: 90vh; overflow: auto; }
.modal-close { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--tint); color: var(--ink); cursor: pointer; font-size: 20px; line-height: 1; }

.legal { max-width: 78ch; display: grid; gap: 14px; }
.legal h2 { font-size: 22px; margin-top: 18px; }
.legal ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.content-grid .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .content-grid .steps { grid-template-columns: 1fr; } }
.ptable td .muted { white-space: normal; }
.svc-hero + .content-grid { padding-top: clamp(40px, 5vw, 64px); }
.svc-text h2 { margin-top: clamp(28px, 4vw, 48px); }
.svc-text > h2:first-child { margin-top: 0; }
