/* oniks-dent.ru — «Оникс-Дент», семейная стоматология. Joomla template copy of the static site's style.css + a Joomla block at the end. Clean white + onyx + turquoise (after the old site's teal chair) */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../fonts/manrope-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../fonts/manrope-latin.woff2') format('woff2'); 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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --onyx: #0f1417;
  --onyx-2: #1a2227;
  --onyx-3: #26313a;
  --ink: #0f1417;
  --text: #2c363d;
  --muted: #5f6b75;
  --line: #e1e6ea;
  --line-2: #cfd7dd;
  --soft: #f1f4f6;
  --white: #fff;
  --acc: #0e9ea4;
  --acc-d: #0a7a7f;
  --acc-l: #e3f5f5;
  --acc-2: #6fdad5;
  --c-green: #1bbf78;
  --c-blue: #1a95dc;
  --c-orange: #e9862c;
  --c-purple: #9567d4;
  --c-pink: #e8668f;
  --c-teal: #0e9ea4;
  --on-dark: rgba(255, 255, 255, .74);
  --line-dark: rgba(255, 255, 255, .13);
  --r: 14px;
  --r-lg: 24px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --hdr-h: 116px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(15, 20, 23, .04), 0 12px 32px -12px rgba(15, 20, 23, .14);
  --shadow-lg: 0 2px 4px rgba(15, 20, 23, .04), 0 28px 60px -20px rgba(15, 20, 23, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) - 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--acc); color: var(--white); }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -200px; z-index: 300; background: var(--acc); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.i { flex: none; }
.muted { color: var(--muted); font-size: .9375rem; margin-top: 14px; }
.hp, .sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* colour helpers for numbered circles (old site: green, blue, orange, purple, pink) */
.c-green { --c: var(--c-green); } .c-blue { --c: var(--c-blue); } .c-orange { --c: var(--c-orange); }
.c-purple { --c: var(--c-purple); } .c-pink { --c: var(--c-pink); } .c-teal { --c: var(--c-teal); }
.nc { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c, var(--acc)); color: var(--white); font-weight: 700; font-size: .9375rem; box-shadow: 0 6px 16px -6px var(--c, var(--acc)); }

/* ---------- Labels, headings ---------- */
.chip { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--acc-d); margin-bottom: 16px; }
.chip__dot { width: 8px; height: 8px; background: var(--acc); border-radius: 50%; box-shadow: 0 0 0 4px rgba(14, 158, 164, .18); }
.acc { font-style: normal; color: var(--acc); }
.sh { margin-bottom: clamp(32px, 4vw, 52px); max-width: 820px; }
.sh--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.sh--split .sh__main { max-width: 760px; }
.sh__t { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.sh__t--sm { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.sh__lead { margin-top: 18px; font-size: 1.125rem; color: var(--muted); max-width: 680px; }
.sec--dark .sh__t { color: var(--white); }
.sec--dark .acc, .callband .acc, .phero .acc { color: var(--acc-2); }
.sec--dark .chip, .callband .chip { color: var(--acc-2); }
.sec--dark .sh__lead { color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--onyx); --fg: var(--white); --bd: var(--onyx); display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px 0 26px; border: 1.5px solid var(--bd); border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 700; font-size: .9375rem; line-height: 1.2; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover { --bg: var(--onyx-3); --bd: var(--onyx-3); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 46px; padding: 0 18px 0 20px; font-size: .875rem; }
.btn--acc { --bg: var(--acc); --bd: var(--acc); box-shadow: 0 10px 24px -12px rgba(14, 158, 164, .8); }
.btn--acc:hover { --bg: var(--acc-d); --bd: var(--acc-d); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost:hover { --bg: var(--soft); --bd: var(--ink); --fg: var(--ink); }
.btn--light { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn--light:hover { --bg: var(--acc-l); --bd: var(--acc-l); --fg: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--acc-d); border-bottom: 1.5px solid transparent; transition: border-color .2s, gap .2s; }
.tlink:hover { border-color: currentColor; gap: 12px; }
.sec--dark .tlink { color: var(--acc-2); }
.ticks { display: grid; gap: 10px; margin-top: 22px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .i { margin-top: 3px; color: var(--white); background: var(--acc); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.ticks--inv li { color: var(--on-dark); }

/* ---------- Sections ---------- */
.sec { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.sec--tight { padding: clamp(40px, 5vw, 64px) 0; }
.sec--soft { background: var(--soft); }
.sec--dark { background: var(--onyx); color: var(--on-dark); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.two--faq { grid-template-columns: .8fr 1.2fr; align-items: start; }
.two--form { align-items: start; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Version for the visually impaired: panel ---------- */
.vi { background: #fff; color: #000; border-bottom: 2px solid #000; font-size: 1rem; position: relative; z-index: 60; }
.vi__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding-top: 12px; padding-bottom: 12px; }
.vi__grp { display: flex; align-items: center; gap: 6px; }
.vi__l { font-weight: 700; margin-right: 6px; }
.vi button { min-width: 44px; min-height: 44px; padding: 0 12px; border: 2px solid #000; border-radius: 6px; background: #fff; color: #000; font-weight: 700; }
.vi button[aria-pressed="true"] { background: #000; color: #fff; }
.vi .vi__a2 { font-size: 1.25rem; } .vi .vi__a3 { font-size: 1.5rem; }
.vi .vi__c--wb { background: #000; color: #fff; } .vi .vi__c--blue { background: #9dd1ff; color: #063462; border-color: #063462; }
.vi .vi__c[aria-pressed="true"] { outline: 3px solid #e9862c; outline-offset: 2px; }
.vi .vi__off { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s; }
.hdr.is-small { box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(15, 20, 23, .3); }
.hdr.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr__top { background: var(--onyx); color: rgba(255, 255, 255, .8); font-size: .8125rem; }
.hdr__top-row { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.hdr__top-row > * { display: inline-flex; align-items: center; gap: 7px; }
.hdr__top a:hover { color: var(--white); }
.hdr__mail { margin-left: auto; }
.hdr__vi { gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--white); font-weight: 600; transition: background .2s; }
.hdr__vi:hover, .hdr__vi[aria-expanded="true"] { background: var(--acc); }
.hdr__row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.hdr__logo { flex: none; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.lm .lm__t { fill: var(--onyx); }
.lm .lm__f { stroke: var(--acc-2); }
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo__txt b { font-size: 1.3125rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-transform: uppercase; }
.logo__txt b span { color: var(--acc); padding: 0 1px; }
.logo__txt small { font-size: .75rem; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.logo--inv .lm__t { fill: var(--white); }
.logo--inv .lm__f { stroke: var(--acc); }
.logo--inv .logo__txt b { color: var(--white); }
.logo--inv .logo__txt small { color: var(--on-dark); }
.hdr__nav { flex: 1; display: flex; justify-content: center; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { display: block; padding: 9px 12px; border-radius: 999px; font-size: .9375rem; font-weight: 600; color: var(--text); white-space: nowrap; transition: background .2s, color .2s; }
.menu a:hover { background: var(--soft); color: var(--ink); }
.menu a[aria-current="page"] { background: var(--acc-l); color: var(--acc-d); }
.menu__extra { display: none; }
.hdr__phone { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.hdr__phone .i { color: var(--acc); }
.hdr__phone span { display: flex; flex-direction: column; line-height: 1.15; }
.hdr__phone b { font-size: 1rem; color: var(--ink); white-space: nowrap; }
.hdr__phone small { font-size: .75rem; color: var(--muted); }
.hdr__order { flex: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--soft); flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex: none; }
.burger i { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hdr.is-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr.is-open .burger i:nth-child(2) { opacity: 0; }
.hdr.is-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* live «open now» pill */
.open { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; }
.open__dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa5ad; flex: none; }
.open.is-open .open__dot { background: var(--c-green); box-shadow: 0 0 0 0 rgba(27, 191, 120, .6); animation: pulse 2s infinite; }
.open.is-duty .open__dot { background: var(--c-orange); }
.open.is-closed .open__dot { background: var(--c-pink); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(27, 191, 120, 0); } 100% { box-shadow: 0 0 0 0 rgba(27, 191, 120, 0); } }
.open--plain { font-size: 1rem; font-weight: 700; color: var(--ink); }
.open--inv { color: var(--on-dark); margin-top: 18px; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(1200px 500px at 85% 10%, var(--acc-l), transparent 60%), linear-gradient(var(--white), var(--soft)); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__since { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-weight: 700; font-size: .9375rem; color: var(--ink); margin-bottom: 26px; }
.hero__since span { padding: 6px 12px; border-radius: 999px; background: var(--onyx); color: var(--acc-2); font-size: .875rem; letter-spacing: .04em; }
.hero__t { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.hero__t .acc { display: block; }
.hero__lead { margin-top: 24px; font-size: 1.1875rem; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero__chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .7); font-size: .875rem; font-weight: 600; transition: border-color .2s, color .2s, background .2s; }
.hero__chips a .i { color: var(--acc); }
.hero__chips a:hover { border-color: var(--acc); color: var(--acc-d); background: var(--white); }
.hero__media { position: relative; padding: 0 0 40px 40px; }
.hero__photo { border-radius: 32px 32px 32px 120px; overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: var(--shadow-lg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; animation: kb 22s var(--ease) infinite alternate; }
@keyframes kb { to { transform: scale(1.08) translate(-1.5%, 1%); } }
.hcard { position: absolute; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px 18px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hcard--open { left: 0; bottom: 70px; display: flex; gap: 14px; align-items: center; max-width: 300px; }
.hcard--open small { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.hcard__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--acc-l); color: var(--acc-d); flex: none; }
.hcard--steps { right: -14px; top: 34px; width: 210px; animation-delay: -2s; }
.hcard__h { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.hcard--steps ol { display: grid; gap: 8px; counter-reset: v; }
.hcard--steps li { counter-increment: v; display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.hcard--steps li::before { content: counter(v); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--soft); font-size: .75rem; color: var(--muted); transition: background .3s, color .3s; flex: none; }
.hcard--steps li.is-done { color: var(--ink); }
.hcard--steps li.is-done::before { content: '✓'; background: var(--acc); color: var(--white); }
.hcard--steps li.is-cur::before { background: var(--onyx); color: var(--white); }
.hcard--tax { right: 24px; bottom: 0; display: flex; align-items: center; gap: 12px; background: var(--onyx); color: var(--on-dark); font-size: .8125rem; line-height: 1.3; animation-delay: -4s; }
.hcard__big { font-size: 2rem; font-weight: 800; color: var(--acc-2); letter-spacing: -.03em; }

/* ---------- Guarantees ---------- */
.guar { background: var(--white); }
.guar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guar__item { padding: 26px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); transition: box-shadow .3s, transform .3s, border-color .3s; }
.guar__item:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.guar__ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--acc-l); color: var(--acc-d); margin-bottom: 18px; }
.guar__item h3 { font-size: 1.1875rem; }
.guar__item > p { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.guar__note { margin-top: 14px; font-size: .875rem; }
.guar__note summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; color: var(--acc-d); list-style: none; }
.guar__note summary::-webkit-details-marker { display: none; }
.guar__note summary .i { transition: transform .25s; }
.guar__note[open] summary .i { transform: rotate(180deg); }
.guar__note p { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--soft); color: var(--text); line-height: 1.5; }

/* ---------- Services grid ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc__card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: box-shadow .35s, transform .35s; }
.svc__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.svc__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.svc__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc__card:hover .svc__photo img { transform: scale(1.06); }
.svc__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 34px 24px 22px; }
.svc__ic { position: absolute; top: -26px; left: 24px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--onyx); color: var(--acc-2); box-shadow: var(--shadow); }
.svc__t { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.svc__txt { margin-top: 10px; font-size: .9375rem; color: var(--muted); flex: 1; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc__foot b { color: var(--acc-d); font-size: 1.0625rem; }
.svc__foot .arr { color: var(--ink); transition: transform .25s; }
.svc__card:hover .svc__foot .arr { transform: translateX(4px); }

/* ---------- Treatment algorithm ---------- */
.algo { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: stretch; }
.algo__nav { display: grid; gap: 8px; counter-reset: a; }
.algo__tab { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-align: left; font-weight: 700; color: var(--muted); overflow: hidden; transition: color .2s, border-color .2s, box-shadow .2s; }
.algo__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: .875rem; flex: none; transition: background .25s, color .25s; }
.algo__tab:hover { color: var(--ink); }
.algo__tab[aria-selected="true"] { color: var(--ink); border-color: transparent; box-shadow: var(--shadow); }
.algo__tab[aria-selected="true"] .algo__n { background: var(--c); color: var(--white); }
.algo__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--c); }
.algo.is-auto .algo__tab[aria-selected="true"] .algo__bar { animation: bar var(--algo-ms, 6s) linear forwards; }
@keyframes bar { to { width: 100%; } }
.algo__panels { position: relative; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 52px); display: flex; }
.algo__panel { display: flex; gap: 30px; align-items: flex-start; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.algo__big { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 28px; background: var(--c); color: var(--white); flex: none; box-shadow: 0 18px 30px -16px var(--c); }
.algo__step { font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.algo__panel h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 8px; letter-spacing: -.03em; }
.algo__panel p { margin-top: 14px; font-size: 1.0625rem; }
.algo__note { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--acc-l); color: var(--acc-d); font-weight: 700; font-size: .875rem !important; margin-top: 22px !important; }

/* ---------- OPTG compare ---------- */
.optg__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.optg__dose { display: flex; gap: 12px; margin-top: 26px; padding: 16px 18px; border-radius: var(--r); background: var(--soft); font-size: .9375rem; }
.optg__dose .i { color: var(--acc); margin-top: 2px; }
.cmp { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; background: #000; }
.cmp__img { position: absolute; inset: 0; }
.cmp__img img { width: 100%; height: 100%; object-fit: cover; }
.cmp__img--b { clip-path: inset(0 0 0 var(--x)); }
.cmp__img--b img { filter: contrast(1.1); }
.cmp__tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--ink); pointer-events: none; }
.cmp__tag--a { left: 16px; }
.cmp__tag--b { right: 16px; background: var(--onyx); color: var(--acc-2); }
.cmp__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; box-shadow: 0 0 20px rgba(0, 0, 0, .4); }
.cmp__line i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp__range:focus-visible + .cmp__line, .cmp:focus-within .cmp__line i { outline: 3px solid var(--acc); }

/* ---------- Checkup: cost comparison + reminder ---------- */
.costcmp { margin-top: 30px; display: grid; gap: 12px; }
.costcmp__row { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 12px; background: var(--white); font-size: .9375rem; overflow: hidden; z-index: 0; }
.costcmp__row i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--acc-l); z-index: -1; transition: width 1.2s var(--ease); }
.is-in .costcmp__row i { width: var(--w); }
.costcmp__row--hot i { background: #fde4ec; }
.costcmp__row b { color: var(--ink); white-space: nowrap; }
.costcmp__note { font-size: .8125rem; color: var(--muted); }
.remind, .tax { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.remind__head, .tax__head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.remind__head h3, .tax__head h3 { font-size: 1.375rem; }
.remind__head p { color: var(--muted); font-size: .9375rem; margin-top: 2px; }
.remind__ic, .tax__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--onyx); color: var(--acc-2); flex: none; }
.remind__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.remind__quick button { padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: .875rem; font-weight: 600; transition: background .2s, color .2s; }
.remind__quick button:hover, .remind__quick button.is-on { background: var(--onyx); color: var(--white); }
.remind__out { margin-top: 22px; padding: 20px; border-radius: 18px; background: var(--soft); }
.remind__label { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.remind__date { font-size: clamp(1.625rem, 3vw, 2.125rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin-top: 4px; }
.remind__bar { height: 8px; border-radius: 8px; background: var(--line); margin-top: 14px; overflow: hidden; }
.remind__bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--c-green); transition: width .8s var(--ease), background .3s; }
.remind__out.is-soon .remind__bar i { background: var(--c-orange); }
.remind__out.is-late .remind__bar i { background: var(--c-pink); }
.remind__msg { margin-top: 12px; font-size: .9375rem; }
.remind__out.is-late .remind__msg { color: #b0204e; font-weight: 600; }
.remind__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- Tax deduction ---------- */
.tax__inp { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 0 18px; transition: border-color .2s; }
.tax__inp:focus-within { border-color: var(--acc); }
.fld .tax__inp input { flex: 1; min-height: 0; border-radius: 0; box-shadow: none; min-width: 0; border: 0; outline: 0; background: none; font-size: 1.75rem; font-weight: 800; color: var(--ink); padding: 10px 0; letter-spacing: -.02em; }
.tax__inp b { font-size: 1.5rem; color: var(--muted); }
.tax__range { width: 100%; margin: 18px 0 6px; accent-color: var(--acc); height: 28px; }
.tax__scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.tax__out { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 22px; padding: 18px 22px; border-radius: 18px; background: var(--onyx); color: var(--on-dark); }
.tax__out b { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--acc-2); letter-spacing: -.03em; }
.tax__hint { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.two--rev > :first-child { order: 0; }
.nsteps { display: grid; gap: 14px; margin-top: 28px; counter-reset: n; }
.nsteps li { counter-increment: n; position: relative; padding: 16px 18px 16px 70px; border-radius: 16px; background: var(--soft); }
.nsteps li::before { content: counter(n); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--acc); color: var(--white); font-weight: 800; }
.nsteps b { display: block; color: var(--ink); }
.nsteps span { font-size: .9375rem; color: var(--muted); }

/* ---------- Social programs (home, dark) ---------- */
.social__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prog { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: var(--onyx-2); border: 1px solid var(--line-dark); overflow: hidden; transition: transform .3s, border-color .3s; min-height: 260px; }
a.prog:hover { transform: translateY(-4px); border-color: var(--acc); }
.prog--blue { background: linear-gradient(150deg, #155f8f, #0f2f45); }
.prog--green { background: linear-gradient(150deg, #11765a, #0d2f28); }
.prog__tag { font-weight: 800; color: var(--white); letter-spacing: .02em; font-size: 1.0625rem; }
.prog__amount { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; color: var(--white); letter-spacing: -.03em; line-height: 1; margin-top: auto; }
.prog__t { color: var(--white); font-weight: 700; font-size: 1.0625rem; }
.prog__txt { font-size: .9375rem; }
.prog__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--acc-2); font-size: .875rem; }
.prog__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .08); color: var(--acc-2); margin-bottom: 8px; }

/* ---------- Care (gifts after procedures) ---------- */
.care__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.care__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow-lg); }
.care__photo img { width: 100%; height: 100%; object-fit: cover; }
.care__badge { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--white); font-weight: 700; color: var(--ink); box-shadow: var(--shadow); }
.care__badge .i { color: var(--c-pink); }
.care__list { display: grid; gap: 22px; }
.care__list li { display: flex; gap: 18px; align-items: flex-start; }
.care__list h3 { font-size: 1.1875rem; }
.care__list p { margin-top: 4px; color: var(--muted); }

/* ---------- Documents ---------- */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.docs__item { display: flex; flex-direction: column; text-align: left; gap: 8px; }
.docs__img { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); aspect-ratio: 400 / 580; transition: transform .35s var(--ease), box-shadow .35s; }
.docs__img img { width: 100%; height: 100%; object-fit: cover; }
.docs__img i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 20, 23, .45); color: var(--white); opacity: 0; transition: opacity .25s; }
.docs__item:hover .docs__img { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.docs__item:hover .docs__img i, .docs__item:focus-visible .docs__img i { opacity: 1; }
.docs__t { font-weight: 700; color: var(--ink); line-height: 1.3; margin-top: 8px; font-size: .9375rem; }
.docs__sub { font-size: .8125rem; color: var(--muted); }
.lic { margin-top: 40px; padding: 24px 26px; border-radius: var(--r-lg); background: var(--white); }
.lic__h { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.lic__h .i { color: var(--acc); }
.lic ul { display: flex; flex-wrap: wrap; gap: 8px; }
.lic li { padding: 7px 14px; border-radius: 999px; background: var(--acc-l); color: var(--acc-d); font-weight: 600; font-size: .875rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: 16px; background: var(--soft); transition: background .2s; }
.faq__item[open] { background: var(--white); box-shadow: var(--shadow); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 1.0625rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__pm { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--white); flex: none; transition: transform .3s, background .3s; }
.faq__pm::before, .faq__pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.faq__pm::after { transform: rotate(90deg); }
[open] > summary .faq__pm { background: var(--acc); transform: rotate(180deg); }
[open] > summary .faq__pm::before, [open] > summary .faq__pm::after { background: var(--white); }
[open] > summary .faq__pm::after { transform: rotate(0); }
.faq__a { padding: 0 22px 22px; color: var(--muted); }
.bigphone { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.bigphone .i { color: var(--acc); }

/* ---------- Call band ---------- */
.callband { position: relative; padding: clamp(56px, 7vw, 96px) 0; background: radial-gradient(800px 400px at 90% 0%, rgba(111, 218, 213, .25), transparent 60%), linear-gradient(120deg, var(--acc-d), #0b5d68 60%, var(--onyx-2)); color: rgba(255, 255, 255, .85); overflow: hidden; }
.callband::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M15.5 5C9.6 5 6 9.1 6 15.2c0 5.4 2.3 8.7 3.4 14.2 1.4 7 2.4 14.6 6.3 14.6 3.7 0 3.9-8 6-11.6.8-1.4 2.4-1.4 3.2 0 2.1 3.6 2.3 11.6 6 11.6 3.9 0 4.9-7.6 6.3-14.6C38.3 23.9 42 20.6 42 15.2 42 9.1 38.4 5 32.5 5c-3.9 0-6 2.2-8.5 2.2S19.4 5 15.5 5z' fill='none' stroke='white' stroke-opacity='.12' stroke-width='.6'/%3E%3C/svg%3E") center/contain no-repeat; pointer-events: none; }
.callband__row { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.callband__t { font-size: clamp(1.75rem, 3.4vw, 2.625rem); font-weight: 800; color: var(--white); letter-spacing: -.035em; line-height: 1.1; }
.callband__text p { margin-top: 16px; font-size: 1.0625rem; max-width: 600px; }
.callband__side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.callband__phone { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.callband__phone .i { color: var(--acc-2); }
.callband__note { font-size: .9375rem; }

/* ---------- Footer ---------- */
.ftr { background: var(--onyx); color: var(--on-dark); padding: clamp(56px, 6vw, 80px) 0 28px; font-size: .9375rem; }
.ftr__grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 40px; }
.ftr__about { margin-top: 18px; max-width: 340px; }
.ftr__chips { display: grid; gap: 8px; margin-top: 18px; }
.ftr__chips a { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.ftr__chips .i { color: var(--acc-2); }
.ftr__h { font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.ftr__menu { display: grid; gap: 9px; }
.ftr__menu a:hover, .ftr__chips a:hover { color: var(--acc-2); }
.ftr__credits { display: flex; flex-direction: column; align-items: flex-start; }
.ftr__client { color: var(--white); font-weight: 700; }
.ftr__label { margin-top: 16px; font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.ftr__partners { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.ftr__partners { gap: 14px 22px; }
.ftr__partners a { display: block; transition: transform .2s; }
.ftr__partners a:hover { transform: translateY(-2px); }
.ftr__partners img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: .8; transition: opacity .2s; }
.ftr__partners a[title="Мой бизнес"] img { height: 42px; }
.ftr__partners a:hover img { opacity: 1; }
.ftr__warn { display: flex; align-items: center; gap: 12px; margin-top: 48px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line-dark); color: var(--white); font-weight: 700; font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .02em; }
.ftr__warn .i { color: var(--acc-2); }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 30px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .8125rem; color: rgba(255, 255, 255, .55); }
.ftr__links { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr__links a:hover { color: var(--white); }

/* ---------- Dialogs ---------- */
.modal { width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); color: var(--text); overflow: auto; }
.modal::backdrop { background: rgba(15, 20, 23, .6); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__x { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); z-index: 2; transition: background .2s; }
.modal__x:hover { background: var(--line); }
.form-wrap { padding: clamp(26px, 4vw, 40px); }
.form-wrap--card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.oform { display: grid; gap: 16px; }
.oform .chip { margin-bottom: 0; }
.oform__t { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 800; letter-spacing: -.03em; padding-right: 40px; }
.oform__lead { color: var(--muted); margin-top: -6px; }
.fld { display: grid; gap: 7px; }
.fld__l { font-size: .875rem; font-weight: 700; color: var(--ink); }
.fld__l i { color: var(--c-pink); font-style: normal; }
.fld__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 80px; }
.fld select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f1417' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") right 16px center no-repeat; padding-right: 42px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--acc); box-shadow: 0 0 0 4px rgba(14, 158, 164, .15); }
.fld.is-err input, .fld.is-err textarea { border-color: var(--c-pink); }
.fld__err { font-size: .8125rem; color: #c0245a; font-weight: 600; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; margin-bottom: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .875rem; cursor: pointer; transition: all .2s; }
.seg input:checked + span { background: var(--onyx); border-color: var(--onyx); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--acc); flex: none; }
.check a { color: var(--acc-d); text-decoration: underline; text-underline-offset: 2px; }
.check.is-err span { color: #c0245a; }
.oform__go { width: 100%; }
.oform__status { font-size: .9375rem; font-weight: 600; min-height: 1px; }
.oform__status.is-err { color: #c0245a; }
.oform__alt { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .9375rem; color: var(--muted); }
.oform__alt a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.oform__est { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--acc-l); color: var(--acc-d); font-size: .875rem; font-weight: 600; white-space: pre-line; }
.form-done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 20px 0; }
.form-done__ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--acc); color: var(--white); animation: pop .5s var(--ease); }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 13, 15, .94); color: var(--white); }
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox__fig { margin: 0; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 0; gap: 14px; }
.lightbox__fig img { max-height: calc(100dvh - 110px); width: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox__fig figcaption { font-weight: 600; text-align: center; padding: 0 16px; }
.lightbox__x { position: fixed; right: 18px; top: 18px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); z-index: 2; }
.lightbox__nav { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: rgba(255, 255, 255, .12); transition: background .2s; }
.lightbox__nav:hover, .lightbox__x:hover { background: var(--acc); }
.toast { position: fixed; left: 50%; top: calc(var(--hdr-h) + 14px); transform: translateX(-50%); z-index: 400; padding: 12px 20px; border-radius: 999px; background: var(--onyx); color: var(--white); font-weight: 600; box-shadow: var(--shadow-lg); animation: pop .3s var(--ease); }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--onyx); color: var(--white); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--acc); }
.page-services .totop { bottom: 96px; }
.copy { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--muted); transition: background .2s, color .2s; flex: none; }
.copy:hover { background: var(--acc-l); color: var(--acc-d); }

/* ---------- Inner page hero ---------- */
.phero { position: relative; background: var(--onyx); color: var(--on-dark); overflow: hidden; }
.phero__bg { position: absolute; inset: 0 0 0 38%; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.phero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--onyx) 0%, rgba(15, 20, 23, .78) 32%, rgba(15, 20, 23, .2) 75%, rgba(15, 20, 23, .1)), linear-gradient(0deg, rgba(14, 158, 164, .25), transparent 50%); }
.phero__inner { position: relative; z-index: 1; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(52px, 6vw, 92px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: rgba(255, 255, 255, .6); margin-bottom: 20px; }
.crumbs a:hover { color: var(--white); }
.phero__t { font-size: clamp(2.375rem, 6vw, 4.75rem); font-weight: 800; color: var(--white); letter-spacing: -.045em; line-height: 1; text-transform: uppercase; max-width: 900px; }
.phero__lead { margin-top: 20px; font-size: 1.1875rem; max-width: 560px; }
.phero__extra { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Services page ---------- */
.subnav { position: sticky; top: var(--hdr-h); z-index: 30; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav__row { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav__row::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: .875rem; font-weight: 700; white-space: nowrap; color: var(--text); transition: background .2s, color .2s; }
.subnav a .i { color: var(--acc); }
.subnav a:hover, .subnav a.is-cur { background: var(--onyx); color: var(--white); }
.subnav a.is-cur .i, .subnav a:hover .i { color: var(--acc-2); }
.dirs { display: grid; gap: clamp(40px, 6vw, 80px); }
.dir { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; scroll-margin-top: calc(var(--hdr-h) + 80px); }
.dir--rev .dir__photo { order: 2; }
.dir__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.dir__photo img { width: 100%; height: 100%; object-fit: cover; }
.dir__n { position: absolute; left: 20px; top: 16px; font-size: 4.5rem; font-weight: 800; color: var(--white); letter-spacing: -.05em; line-height: 1; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.dir__ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--acc-l); color: var(--acc-d); margin-bottom: 18px; }
.dir__t { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.dir__body > p { color: var(--muted); font-size: 1.0625rem; }
.dir__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.dir__price { display: flex; flex-direction: column; line-height: 1.15; }
.dir__price small { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.dir__price b { font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.brands { background: var(--onyx); padding: 22px 0; overflow: hidden; }
.brands__track, .ticker__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.brands:hover .brands__track { animation-play-state: paused; }
.brands ul, .ticker ul { display: flex; flex: none; }
.brands li { padding: 0 34px; font-size: 1.25rem; font-weight: 800; color: rgba(255, 255, 255, .55); white-space: nowrap; position: relative; letter-spacing: -.01em; }
.brands li::after { content: ''; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--acc); }
@keyframes marquee { to { transform: translateX(-50%); } }
.psearch { position: relative; display: flex; align-items: center; width: min(420px, 100%); }
.psearch > .i { position: absolute; left: 18px; color: var(--muted); pointer-events: none; }
.psearch input { width: 100%; min-height: 54px; padding: 0 48px 0 52px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.psearch input:focus { outline: 0; border-color: var(--acc); box-shadow: 0 0 0 4px rgba(14, 158, 164, .15); }
.psearch input::-webkit-search-cancel-button { display: none; }
.psearch__x { position: absolute; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); }
.ptabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.ptabs button { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); font-weight: 700; font-size: .875rem; transition: all .2s; }
.ptabs button:hover { border-color: var(--ink); }
.ptabs button[aria-selected="true"] { background: var(--onyx); border-color: var(--onyx); color: var(--white); }
.pempty { padding: 26px; border-radius: var(--r); background: var(--white); font-weight: 600; text-align: center; }
.pempty a { color: var(--acc-d); }
.plist { display: grid; gap: 34px; }
.psec { scroll-margin-top: calc(var(--hdr-h) + 80px); }
.psec__t { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.psec__t small { font-size: .9375rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pgrp { border-radius: 18px; background: var(--white); margin-bottom: 10px; box-shadow: 0 1px 2px rgba(15, 20, 23, .04); scroll-margin-top: calc(var(--hdr-h) + 80px); }
.pgrp > summary { display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 1.0625rem; }
.pgrp > summary::-webkit-details-marker { display: none; }
.pgrp > summary span { flex: 1; }
.pgrp > summary small { font-size: .8125rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.pgrp > summary .faq__pm { background: var(--soft); }
.pgrp.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 4px var(--acc); } }
.prows { padding: 0 12px 12px; }
.prow { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 14px 10px; border-top: 1px solid var(--line); }
.prow__txt b { display: block; font-weight: 700; color: var(--ink); line-height: 1.35; }
.prow__txt span { display: block; font-size: .875rem; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.prow__p { font-weight: 800; color: var(--ink); white-space: nowrap; font-size: 1.0625rem; }
.prow__add { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); color: var(--ink); transition: all .2s; }
.prow__add:hover { border-color: var(--acc); color: var(--acc-d); }
.prow__add[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--white); transform: rotate(45deg); }
.prow mark { background: #ffeaa0; color: inherit; border-radius: 3px; padding: 0 1px; }
.pnote { display: flex; gap: 14px; margin-top: 28px; padding: 18px 22px; border-radius: 16px; background: var(--white); color: var(--muted); font-size: .9375rem; }
.pnote .i { color: var(--acc); margin-top: 2px; }
.est { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 45; width: min(560px, calc(100vw - 24px)); border-radius: 22px; background: var(--onyx); color: var(--on-dark); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .5); animation: pop .35s var(--ease); }
.est__bar { display: flex; align-items: center; gap: 18px; width: 100%; padding: 12px 18px 12px 12px; text-align: left; }
.est__ic { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--acc); color: var(--white); flex: none; }
.est__ic i { position: absolute; right: -6px; top: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--white); color: var(--ink); font-style: normal; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.est__sum, .est__tax { display: flex; flex-direction: column; line-height: 1.15; }
.est__sum { flex: 1; }
.est small { font-size: .75rem; color: rgba(255, 255, 255, .55); }
.est__sum b { font-size: 1.375rem; color: var(--white); }
.est__tax b { font-size: 1.0625rem; color: var(--acc-2); }
.est__bar > .i { transition: transform .3s; }
.est.is-open .est__bar > .i { transform: rotate(180deg); }
.est__panel { padding: 0 18px 18px; border-top: 1px solid var(--line-dark); }
.est__list { display: grid; gap: 2px; max-height: 40vh; overflow: auto; padding: 10px 0; }
.est__list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 8px 0; font-size: .875rem; color: var(--white); border-bottom: 1px solid var(--line-dark); }
.est__list b { white-space: nowrap; }
.est__list button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: rgba(255, 255, 255, .6); }
.est__list button:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.est__note { font-size: .8125rem; margin-top: 10px; }
.est__act { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.est .btn--ghost { --fg: var(--white); --bd: var(--line-dark); }
.est .btn--ghost:hover { --bg: rgba(255, 255, 255, .08); --fg: var(--white); --bd: var(--white); }

/* ---------- Promotions page ---------- */
.pbig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4vw, 56px); border-radius: 32px; margin-bottom: 32px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.pbig--blue { background: linear-gradient(150deg, #eaf5fd, #f6fafc); }
.pbig--green { background: linear-gradient(150deg, #e7f8f0, #f6fbf9); }
.pbig__label { font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.pbig__tag { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.04em; margin-top: 8px; line-height: 1; }
.pbig--blue .pbig__tag { color: #155f8f; } .pbig--green .pbig__tag { color: #11765a; }
.pbig__t { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-top: 16px; }
.pbig__lead { margin-top: 12px; color: var(--text); }
.pbig__sum { display: inline-flex; flex-direction: column; margin-top: 26px; padding: 18px 24px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.pbig__sum small { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.pbig__sum b { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; }
.pbig__sum b span:last-child { margin-left: 6px; color: var(--acc); }
.pbig__h { font-weight: 800; color: var(--ink); margin-bottom: 18px; font-style: italic; }
.nlist { display: grid; gap: 14px; margin-bottom: 28px; }
.nlist li { display: flex; gap: 16px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--white); }
.nlist__next { background: var(--onyx) !important; color: var(--white); }
.nlist__next b { color: var(--white); }
.quiz { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); display: grid; gap: 22px; }
.quiz__q legend { font-weight: 800; color: var(--ink); font-size: 1.125rem; margin-bottom: 12px; }
.quiz__q label { display: block; position: relative; margin-bottom: 8px; }
.quiz__q input { position: absolute; opacity: 0; }
.quiz__q span { display: block; padding: 14px 18px 14px 50px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; transition: all .2s; position: relative; }
.quiz__q span::before { content: ''; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 2px solid var(--line-2); transition: all .2s; }
.quiz__q input:checked + span { border-color: var(--acc); background: var(--acc-l); }
.quiz__q input:checked + span::before { border: 6px solid var(--acc); }
.quiz__q input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.quiz__res { padding: 20px 22px; border-radius: 18px; background: var(--onyx); color: var(--on-dark); animation: fadeUp .4s var(--ease); }
.quiz__res h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 8px; }
.quiz__res .acc { color: var(--acc-2); }
.quiz__res .btn { margin-top: 16px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.card__ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--acc-l); color: var(--acc-d); margin-bottom: 8px; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); }
.card--acc { background: var(--acc-l); border-color: transparent; }
.card--acc .card__ic { background: var(--white); }
.gprog { display: grid; gap: 12px; }
.gprog__item { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 18px; background: var(--onyx-2); border: 1px solid var(--line-dark); }
.gprog__item b { font-size: 1.625rem; font-weight: 800; color: var(--acc-2); white-space: nowrap; min-width: 128px; letter-spacing: -.02em; }
.gprog__h { margin-top: 14px; font-weight: 800; color: var(--white); }
.gprog .ticks { margin-top: 4px; }

/* ---------- Team page ---------- */
.ticker { background: linear-gradient(90deg, var(--c-blue), var(--acc) 50%, var(--c-green)); padding: 16px 0; overflow: hidden; }
.ticker__track { animation-duration: 30s; }
.ticker li { padding: 0 28px; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; position: relative; }
.ticker li::after { content: '✦'; position: absolute; right: -10px; opacity: .6; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px; border-radius: var(--r-lg); background: var(--soft); }
.stat b { display: flex; align-items: baseline; gap: 6px; font-size: clamp(2.5rem, 4.6vw, 3.5rem); font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.num__u { font-size: 1.125rem; letter-spacing: 0; color: var(--acc); }
.stat > span { display: block; margin-top: 12px; color: var(--muted); font-size: .9375rem; }
.tfilter { display: flex; flex-wrap: wrap; gap: 8px; }
.tfilter button { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: .875rem; background: var(--white); transition: all .2s; }
.tfilter button[aria-pressed="true"] { background: var(--onyx); border-color: var(--onyx); color: var(--white); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tm { padding: 30px 26px; border-radius: var(--r-lg); background: var(--white); text-align: center; display: flex; flex-direction: column; align-items: center; transition: box-shadow .3s, transform .3s, opacity .3s; }
.tm:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.tm.is-hidden { display: none; }
.tm__ava { position: relative; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; font-size: 2.125rem; font-weight: 800; color: var(--white); letter-spacing: -.02em; margin-bottom: 20px; --c: var(--acc); background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .35), transparent 55%), var(--c); box-shadow: 0 18px 36px -18px var(--c); }
.tm__ava .i { position: absolute; right: -2px; bottom: 4px; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--white); color: var(--c); box-shadow: var(--shadow); }
.tm__ava--blue { --c: var(--c-blue); } .tm__ava--purple { --c: var(--c-purple); } .tm__ava--green { --c: var(--c-green); }
.tm__ava--orange { --c: var(--c-orange); } .tm__ava--pink { --c: var(--c-pink); } .tm__ava--teal { --c: var(--acc); }
.tm__name { font-size: 1.1875rem; line-height: 1.25; }
.tm__role { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.tm__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.tm__tags li { padding: 5px 12px; border-radius: 999px; background: var(--soft); font-size: .8125rem; font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value { padding: 26px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.value__l { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--c); color: var(--white); font-size: 1.5rem; font-weight: 800; margin-bottom: 18px; }
.value h3 { font-size: 1.125rem; }
.value p { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.first { display: grid; gap: 14px; }
.first li { display: flex; gap: 18px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--white); }
.first h3 { font-size: 1.125rem; }
.first p { color: var(--muted); margin-top: 4px; }
.kphoto { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); }
.kphoto img { width: 100%; height: 100%; object-fit: cover; }
.lic__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 26px; }
.lic__list li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .9375rem; }
.lic__list .i { color: var(--acc); }

/* ---------- Contacts page ---------- */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s, border-color .3s; }
a.ccard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.ccard__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--onyx); color: var(--acc-2); margin-bottom: 10px; }
.ccard small { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.ccard b { font-size: clamp(1.25rem, 2.2vw, 1.5rem); color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.ccard > span:last-child { font-size: .9375rem; color: var(--muted); }
.sched { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.sched__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.sched__list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 14px; border-radius: 12px; }
.sched__list li em { grid-column: 1 / -1; font-style: normal; font-size: .8125rem; color: var(--muted); }
.sched__list li em:empty { display: none; }
.sched__list li b { color: var(--ink); }
.sched__list .sched__off { color: var(--c-pink); }
.sched__list li.is-today { background: var(--acc-l); }
.sched__list li.is-today span::after { content: ' — ' attr(data-today); color: var(--acc-d); font-weight: 700; }
.sched__note { display: flex; gap: 10px; margin-top: 16px; font-size: .875rem; color: var(--muted); }
.sched__note .i { color: var(--acc); flex: none; margin-top: 2px; }
.head__card { display: flex; gap: 20px; align-items: center; margin-top: 4px; }
.head__card .tm__ava { width: 88px; height: 88px; font-size: 1.75rem; margin: 0; }
.head__card h3 { font-size: 1.375rem; }
.head__card p { color: var(--muted); margin-top: 4px; }
.head__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.route { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.route__tabs { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--soft); }
.route__nav { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--white); margin-bottom: 22px; }
.route__nav button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: .875rem; transition: all .2s; }
.route__nav button[aria-selected="true"] { background: var(--onyx); color: var(--white); }
.route__panel { animation: fadeUp .35s var(--ease); }
.route__panel .ticks { margin-top: 14px; }
.route__addr { display: flex; gap: 12px; margin-top: 22px; padding: 16px; border-radius: 14px; background: var(--white); font-size: .9375rem; }
.route__addr .i { color: var(--acc); margin-top: 2px; }
.route__h { font-weight: 800; color: var(--ink); margin: 20px 0 10px; }
.rnums { display: flex; flex-wrap: wrap; gap: 8px; }
.rnums li { display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 800; font-size: 1.125rem; color: var(--white); }
.rnums__bus { background: var(--c-green); } .rnums__tr { background: var(--c-blue); }
.map { position: relative; min-height: 440px; border-radius: var(--r-lg); overflow: hidden; background: var(--onyx); }
.map__ph { position: absolute; inset: 0; }
.map__ph img { width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: grayscale(1); }
.map__cta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--white); padding: 20px; }
.map__cta small { color: rgba(255, 255, 255, .6); font-size: .8125rem; }
.map__pin { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--acc); animation: float 3s ease-in-out infinite; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.req { margin-top: 32px; padding: 24px; border-radius: var(--r-lg); background: var(--white); }
.req__h { font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.req dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.req dt { color: var(--muted); }
.req dd { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.req .tlink { margin-top: 16px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- Legal pages ---------- */
.doc { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.doc__side { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 16px; }
.doc__toc, .doc__card { padding: 22px; border-radius: 18px; background: var(--soft); font-size: .9375rem; }
.doc__ct { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.doc__toc ol { display: grid; gap: 8px; list-style: decimal; padding-left: 18px; }
.doc__toc a:hover, .doc__card a { color: var(--acc-d); }
.doc__card p + p { margin-top: 6px; }
.doc__body { max-width: 780px; }
.doc__key { display: flex; gap: 16px; padding: 20px 22px; border-radius: 18px; background: var(--acc-l); margin-bottom: 36px; }
.doc__key .i { color: var(--acc-d); }
.doc__body section { margin-bottom: 34px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.doc__body h2 { display: flex; gap: 10px; font-size: 1.5rem; margin-bottom: 14px; }
.doc__body h2 span { color: var(--acc); }
.doc__body p { margin-bottom: 12px; }
.doc__n { color: var(--muted); font-weight: 700; }

/* ---------- 404 ---------- */
.nf { padding: clamp(60px, 9vw, 130px) 0; background: radial-gradient(800px 400px at 20% 20%, var(--acc-l), transparent 60%); }
.nf__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.nf__code { display: flex; align-items: center; font-size: clamp(6rem, 16vw, 12rem); font-weight: 800; color: var(--ink); letter-spacing: -.06em; line-height: 1; }
.nf .nf__mark { width: .8em; height: .8em; margin: 0 .04em; }
.nf__mark .lm__t { fill: var(--acc); } .nf__mark .lm__f { stroke: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1260px) {
  .hdr__phone small { display: none; }
  .menu a { padding: 9px 9px; font-size: .875rem; }
}
@media (max-width: 1180px) {
  :root { --hdr-h: 108px; }
  .burger { display: flex; }
  .hdr__row { gap: 14px; }
  .hdr__logo { margin-right: auto; }
  .hdr__nav { position: fixed; inset: var(--hdr-h) 0 0; background: var(--white); display: flex; flex-direction: column; justify-content: space-between; padding: 20px var(--pad) 28px; overflow: auto; transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden; }
  .hdr.is-open .hdr__nav { transform: none; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .menu a { font-size: 1.25rem; padding: 14px 16px; border-radius: 14px; }
  .menu__extra { display: grid; gap: 12px; margin-top: 24px; }
  .menu__phone { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--soft); }
  .menu__phone .i { color: var(--acc); }
  .menu__phone span { display: flex; flex-direction: column; }
  .menu__phone b { font-size: 1.25rem; color: var(--ink); }
  .menu__phone small { color: var(--muted); }
  .menu__vi { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; border: 2px solid var(--ink); font-weight: 700; }
  .guar__grid, .social__grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .docs { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (max-width: 960px) {
  .hero__grid, .two, .two--faq, .optg__grid, .care__grid, .callband__row, .route, .pbig, .dir { grid-template-columns: 1fr; }
  .hero__media { padding: 0 0 40px 20px; max-width: 620px; }
  .dir--rev .dir__photo { order: 0; }
  .svc, .cards3, .team, .cgrid { grid-template-columns: 1fr 1fr; }
  .algo { grid-template-columns: 1fr; }
  .algo__nav { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; padding-bottom: 4px; }
  .algo__nav::-webkit-scrollbar { display: none; }
  .algo__tab { white-space: nowrap; }
  .stats { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; }
  .doc__side { position: static; }
  .two--rev > :first-child { order: 2; }
  .phero__bg { inset: 0; }
  .phero__bg::after { background: linear-gradient(90deg, rgba(15, 20, 23, .92), rgba(15, 20, 23, .6)); }
  .nf__inner { grid-template-columns: 1fr; }
  .hdr__mail { display: none; }
  .hdr__open { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 102px; }
  body { font-size: 1rem; }
  .hdr__top-row { gap: 12px; min-height: 38px; }
  .hdr__addr, .hdr__open { display: none !important; }
  .hdr__vi { margin-left: auto; }
  .hdr__row { min-height: 64px; }
  .hdr__phone, .hdr__order { display: none; }
  .logo__txt b { font-size: 1.125rem; }
  .lm { width: 36px; height: 36px; }
  .svc, .cards3, .team, .cgrid, .guar__grid, .social__grid, .values, .lic__list { grid-template-columns: 1fr; }
  .fld__row { grid-template-columns: 1fr; }
  .hcard--steps { display: none; }
  .hcard--open { left: 0; bottom: 64px; max-width: 260px; padding: 12px 14px; }
  .hcard--tax { right: 8px; }
  .hero__photo { border-radius: 24px 24px 24px 80px; }
  .algo__panel { flex-direction: column; gap: 18px; }
  .algo__big { width: 72px; height: 72px; border-radius: 22px; }
  .prow { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .prow__p { grid-column: 1; grid-row: 2; color: var(--acc-d); }
  .prow__add { grid-column: 2; grid-row: 1 / span 2; }
  .est__tax { display: none; }
  .req dl > div { grid-template-columns: 1fr; gap: 2px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 30px; }
  .ftr__warn { font-size: .9375rem; }
  .dir__n { font-size: 3.25rem; }
  .route__nav button { font-size: .8125rem; gap: 4px; }
  .route__nav .i { display: none; }
  .lightbox[open] { grid-template-columns: 0 1fr 0; }
  .lightbox__nav { position: fixed; bottom: 18px; }
  .lightbox__nav--prev { left: 18px; } .lightbox__nav--next { right: 18px; }
  .lightbox__fig img { max-height: calc(100dvh - 160px); max-width: calc(100vw - 24px); }
  .vi__row { gap: 10px 16px; }
  .vi .vi__off { margin-left: 0; }
}
@media (max-width: 420px) {
  .hero__cta .btn, .phero__extra .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hcard--tax { display: none; }
}

/* ---------- Version for the visually impaired: page overrides ---------- */
html[data-vi] { --vi-bg: #fff; --vi-fg: #000; --vi-acc: #000; }
html[data-vi][data-vi-scheme="wb"] { --vi-bg: #000; --vi-fg: #fff; --vi-acc: #ffeb3b; }
html[data-vi][data-vi-scheme="blue"] { --vi-bg: #9dd1ff; --vi-fg: #063462; --vi-acc: #063462; }
html[data-vi][data-vi-size="2"] { font-size: 125%; }
html[data-vi][data-vi-size="3"] { font-size: 150%; }
html[data-vi] body, html[data-vi] main *, html[data-vi] .hdr, html[data-vi] .hdr *, html[data-vi] .ftr, html[data-vi] .ftr *, html[data-vi] .callband, html[data-vi] .callband *, html[data-vi] dialog, html[data-vi] dialog *, html[data-vi] .est, html[data-vi] .est *, html[data-vi] .totop {
  background-color: var(--vi-bg) !important; background-image: none !important; color: var(--vi-fg) !important; border-color: var(--vi-fg) !important; box-shadow: none !important; text-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; animation: none !important; transition: none !important;
}
html[data-vi] body { font-size: 1.125rem; }
html[data-vi][data-vi-sp="1"] body { letter-spacing: .08em; word-spacing: .16em; line-height: 1.9; }
html[data-vi][data-vi-sp="1"] h1, html[data-vi][data-vi-sp="1"] h2, html[data-vi][data-vi-sp="1"] h3 { letter-spacing: .04em; line-height: 1.4; }
html[data-vi] .acc { color: var(--vi-fg) !important; text-decoration: underline; }
html[data-vi] a { text-decoration: underline; }
html[data-vi] .btn, html[data-vi] .tlink, html[data-vi] .ptabs button, html[data-vi] .tfilter button, html[data-vi] .seg span, html[data-vi] .remind__quick button, html[data-vi] .route__nav button, html[data-vi] .prow__add, html[data-vi] .guar__item, html[data-vi] .svc__card, html[data-vi] .card, html[data-vi] .ccard, html[data-vi] .tm, html[data-vi] .value, html[data-vi] .prog, html[data-vi] .faq__item, html[data-vi] .pgrp, html[data-vi] .stat, html[data-vi] .quiz__q span, html[data-vi] .algo__tab, html[data-vi] .algo__panels, html[data-vi] .remind, html[data-vi] .tax, html[data-vi] .sched, html[data-vi] .nlist li, html[data-vi] .first li { border: 2px solid var(--vi-fg) !important; }
html[data-vi] .btn--acc, html[data-vi] [aria-selected="true"], html[data-vi] [aria-pressed="true"]:not(.vi button), html[data-vi] .seg input:checked + span, html[data-vi] .quiz__q input:checked + span, html[data-vi] .nc, html[data-vi] .algo__n, html[data-vi] .value__l, html[data-vi] .rnums li { background-color: var(--vi-fg) !important; color: var(--vi-bg) !important; }
html[data-vi] [aria-selected="true"] *, html[data-vi] .btn--acc *, html[data-vi] .nc *, html[data-vi] .seg input:checked + span * { background-color: transparent !important; color: var(--vi-bg) !important; }
html[data-vi] :focus-visible { outline: 4px solid var(--vi-acc) !important; outline-offset: 3px; }
html[data-vi] [data-deco], html[data-vi] .hcard--steps, html[data-vi] .brands, html[data-vi] .ticker, html[data-vi] .callband::after, html[data-vi] .algo__bar, html[data-vi] .costcmp__row i { display: none !important; }
html[data-vi] .hero__grid, html[data-vi] .care__grid { grid-template-columns: 1fr; }
html[data-vi] .hero__media { padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
html[data-vi] .hcard { position: static; animation: none; border: 2px solid var(--vi-fg) !important; }
html[data-vi] .phero__inner { padding-top: 32px; padding-bottom: 32px; }
html[data-vi] .reveal { opacity: 1 !important; transform: none !important; }
html[data-vi] img { filter: grayscale(1) contrast(1.1); }
html[data-vi][data-vi-scheme="wb"] .ftr__partners img, html[data-vi][data-vi-scheme="bw"] .ftr__partners img, html[data-vi][data-vi-scheme="blue"] .ftr__partners img { filter: brightness(0); }
html[data-vi][data-vi-scheme="wb"] .ftr__partners img { filter: brightness(0) invert(1); }
html[data-vi][data-vi-img="off"] img, html[data-vi][data-vi-img="off"] picture, html[data-vi][data-vi-img="off"] .cmp, html[data-vi][data-vi-img="off"] .docs__img, html[data-vi][data-vi-img="off"] .ftr__partners img { display: none !important; }
html[data-vi][data-vi-img="off"] .ftr__partners a::after { content: attr(title); }
html[data-vi] .lm .lm__t { fill: var(--vi-fg) !important; } html[data-vi] .lm .lm__f { stroke: var(--vi-bg) !important; }
html[data-vi] .ticks .i { background: var(--vi-fg) !important; color: var(--vi-bg) !important; }
html[data-vi] .ticks .i path { stroke: var(--vi-bg); }
html[data-vi] .open__dot { background: var(--vi-fg) !important; }
html[data-vi] .svc__photo, html[data-vi] .dir__photo, html[data-vi] .kphoto, html[data-vi] .care__photo, html[data-vi] .map__ph { display: none !important; }
html[data-vi] .dir { grid-template-columns: 1fr; }
html[data-vi] .svc__ic { position: static; margin-bottom: 14px; }
html[data-vi] .svc__body { padding-top: 22px; }
html[data-vi] .phero__bg { display: none; }
html[data-vi] .map { min-height: 300px; border: 2px solid var(--vi-fg); }
html[data-vi] .hdr__top { border-bottom: 2px solid var(--vi-fg); }
html[data-vi] .hdr { border-bottom: 2px solid var(--vi-fg); }
html[data-vi] .ftr__warn { border: 2px solid var(--vi-fg) !important; }
html[data-vi] .tm__ava .i { display: none; }
html[data-vi] .tm__ava, html[data-vi] .tm__ava * { background-color: var(--vi-fg) !important; color: var(--vi-bg) !important; }
html[data-vi] .menu { flex-wrap: wrap; }
html[data-vi] .hdr__nav { flex-wrap: wrap; }
html[data-vi] .hdr { position: relative; }
html[data-vi] .subnav { top: 0; }
@media (min-width: 1181px) {
  html[data-vi] .hdr__row { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  html[data-vi] .hdr__nav { order: 5; flex-basis: 100%; justify-content: flex-start; }
}
.pgrp[open] > summary .faq__pm { background: var(--acc); }

/* ================================================================== Joomla */
.od-messages { position: fixed; left: 50%; top: calc(var(--hdr-h) + 12px); transform: translateX(-50%); z-index: 60; width: min(640px, calc(100vw - 24px)); }
.od-messages joomla-alert, .od-messages .alert { display: block; margin: 0 0 8px; padding: 14px 44px 14px 18px; border-radius: 14px; background: var(--onyx); color: var(--white); box-shadow: var(--shadow-lg); font-size: .9375rem; border: 0; }
.od-messages .alert-heading, .od-messages .visually-hidden { position: absolute; left: -9999px; }
.od-messages .joomla-alert--close, .od-messages .btn-close { position: absolute; right: 10px; top: 10px; color: var(--white); background: none; border: 0; font-size: 1.25rem; cursor: pointer; }
.od-content { padding: clamp(40px, 6vw, 80px) 0; }
.od-content h1, .od-content h2 { margin-bottom: 18px; }
.od-content p, .od-content ul, .od-content ol { margin-bottom: 14px; }
.doc__docs { display: grid; gap: 6px; }
.doc__docs a { padding: 6px 10px; border-radius: 10px; font-weight: 600; }
.doc__docs a[aria-current="page"] { background: var(--white); color: var(--acc-d); }
.doc__body h2 { scroll-margin-top: calc(var(--hdr-h) + 20px); }
.doc__body ul, .doc__body ol { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.doc__body a { color: var(--acc-d); text-decoration: underline; }
.doc__body--wide { max-width: 860px; }
.tm__ava--photo { overflow: hidden; padding: 0; }
.tm__ava--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.prow--noadd { grid-template-columns: 1fr auto; }
.logo__img { height: 42px; width: auto; }
.nf .hero__cta { margin-top: 26px; }
html[data-vi] .od-messages joomla-alert, html[data-vi] .od-messages .alert { border: 2px solid var(--vi-fg) !important; }
