/* Stomatoloq Rövşən Məmmədzadə — site styles.
   Visual language: porcelain white, clinical navy, the cyan of the doctor's logo; crown-shaped
   icon holders; fine dental line drawings whose resting state is the finished restoration. */

/* ------------------------------------------------------------------ tokens */
:root {
  --paper: #F6F8F7;
  --paper-2: #EDF3F4;
  --white: #FFFFFF;
  --ink: #0E2238;
  --text: #27353F;
  --muted: #586771;
  --line: #DCE4E6;
  --line-2: #EAEFF0;
  --blue: #1460B4;
  --blue-d: #0D4A8E;
  --blue-t: #E7F0FA;
  --cyan: #25ADE0;
  --cyan-t: #E2F4FB;
  --warn: #A9432A;
  --warn-t: #FDF2EE;
  --rose: #D46A5F;
  --crown: 46% 46% 40% 40% / 42% 42% 58% 58%;
  --r: 22px;
  --shadow: 0 1px 2px rgba(14, 34, 56, .05), 0 10px 26px -14px rgba(14, 34, 56, .22);
  --shadow-l: 0 2px 6px rgba(14, 34, 56, .05), 0 28px 56px -24px rgba(14, 34, 56, .34);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --hdr: 72px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 14px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16px/1.65 "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-wrap: break-word; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
p, li { text-wrap: pretty; }
main { display: block; outline: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: #CDEBF8; color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.narrow { max-width: 860px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* crown-shaped icon holder */
.badge { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: var(--crown); background: var(--blue-t); color: var(--blue); }
.badge .icon { width: 18px; height: 18px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .86rem; font-weight: 500; color: var(--blue); letter-spacing: .01em; }
.kicker .badge { width: 30px; height: 30px; }
.kicker .badge .icon { width: 16px; height: 16px; }

.link-arrow { display: inline; width: fit-content; color: var(--blue); font-weight: 500; text-decoration: none; }
.link-arrow .icon { display: inline-block; width: 18px; height: 18px; margin-left: 6px; vertical-align: -3px; transition: translate .25s var(--ease); }
.link-arrow:hover span { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover .icon { translate: 4px 0; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 60; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246, 248, 247, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled::before { border-bottom-color: var(--line); background: rgba(246, 248, 247, .94); }
.hdr { position: relative; display: flex; align-items: center; gap: 18px; height: var(--hdr); }

.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; color: var(--ink); text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.bm-ring { fill: none; stroke: var(--cyan); stroke-width: 2.6; stroke-linecap: round; }
.bm-tooth { fill: #fff; stroke: var(--ink); stroke-width: 1.7; stroke-linejoin: round; }
.bm-shine { fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; }
.brand__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand__name { font-weight: 600; font-size: 1.04rem; letter-spacing: -.005em; white-space: nowrap; }
.brand__sub { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.brand:hover .bm-ring { stroke: var(--blue); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.has-mega { position: static; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 12px; color: var(--text); font-size: .95rem; text-decoration: none; transition: color .2s, background .2s; }
.nav__link:hover, .has-sub:hover > .nav__link, .has-sub.is-open > .nav__link { color: var(--blue); background: rgba(20, 96, 180, .06); }
.nav__link[aria-current] { color: var(--ink); font-weight: 500; }
.nav__link[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; border-radius: var(--crown); background: var(--cyan); }
.nav__chev { width: 15px; height: 15px; transition: rotate .25s var(--ease); }
.has-sub:hover .nav__chev, .has-sub.is-open .nav__chev, .has-sub:focus-within .nav__chev { rotate: 180deg; }

.sub { position: absolute; top: calc(100% + 6px); left: 50%; z-index: 10; min-width: 340px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-l); opacity: 0; visibility: hidden; translate: -50% 8px; transition: opacity .2s, translate .3s var(--ease), visibility 0s .3s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }
.sub__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sub__link { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; border-radius: 13px; color: var(--text); text-decoration: none; transition: background .2s; }
.sub__link:hover, .sub__link[aria-current] { background: var(--paper); }
.sub__link .badge { width: 34px; height: 34px; transition: background .2s, color .2s; }
.sub__link:hover .badge { background: var(--blue); color: #fff; }
.sub__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding-top: 1px; }
.sub__t { font-size: .93rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.sub__d { font-size: .8rem; line-height: 1.4; color: var(--muted); }
.nav__item:nth-child(4) .sub { min-width: 380px; }
.sub--mega { width: min(940px, calc(100vw - 48px)); padding: 14px 14px 8px; }
.mega { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mega__t { margin: 4px 10px 6px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.sub--mega .sub__link { align-items: center; }
.mega__all { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 8px 4px 2px; padding: 10px 8px 6px; border-top: 1px solid var(--line-2); color: var(--blue); font-size: .92rem; font-weight: 500; text-decoration: none; }
.mega__all .icon { width: 18px; height: 18px; transition: translate .25s var(--ease); }
.mega__all:hover .icon { translate: 4px 0; }

.hdr__actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.iconbtn:hover { border-color: var(--blue); color: var(--blue); }
.iconbtn .icon { width: 20px; height: 20px; }
.iconbtn--menu { display: none; }

.btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px 0 18px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .95rem; font-weight: 500; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(20, 96, 180, .8); transition: background .2s, box-shadow .2s; }
.btn-cta:hover { background: var(--blue-d); box-shadow: 0 10px 22px -10px rgba(13, 74, 142, .9); }
.btn-cta .icon { width: 18px; height: 18px; }
.m-on .btn-cta:hover .icon { animation: cta-tick .6s var(--ease); }
@keyframes cta-tick { 30% { rotate: -9deg; } 60% { rotate: 6deg; } }

/* ------------------------------------------------------------------ contact icons (no labels) */
.cicons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cicon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); text-decoration: none; transition: background .2s, color .2s, border-color .2s, translate .25s var(--ease); }
.cicon .icon { width: 20px; height: 20px; }
.cicon:hover { background: var(--blue); border-color: var(--blue); color: #fff; translate: 0 -2px; }
.cicon--whatsapp:hover { background: #1F9D57; border-color: #1F9D57; }

/* ------------------------------------------------------------------ hero (home) */
.hero { position: relative; overflow: hidden; overflow: clip; padding: clamp(28px, 4.5vw, 60px) 0 0; text-align: center; }
.hero__light { position: absolute; left: 50%; top: -28%; z-index: 0; width: min(1200px, 150vw); aspect-ratio: 1.35; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, #fff 0, rgba(255, 255, 255, .85) 38%, rgba(226, 244, 251, .5) 62%, rgba(246, 248, 247, 0) 100%); }
.hero__in { position: relative; z-index: 2; max-width: 900px; }
.hero__kicker { justify-content: center; }
.hero__t { margin: 0 0 18px; font-weight: 600; line-height: 1.04; letter-spacing: -.022em; }
.hero__role { display: block; margin-bottom: 12px; font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.hero__name { display: block; font-size: clamp(2.3rem, 1.3rem + 4.4vw, 3.8rem); }
.hero__lead { max-width: 640px; margin: 0 auto 24px; font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem); color: var(--muted); }
.cicons--hero { justify-content: center; }
.cicons--hero .cicon { width: 48px; height: 48px; box-shadow: var(--shadow); }

.hero__stage { position: relative; z-index: 1; height: clamp(314px, calc(26.4vw + 92px), 436px); margin-top: clamp(24px, 3.4vw, 40px); }
.hero__arch { position: absolute; left: 50%; top: 0; width: clamp(560px, 66vw, 860px); translate: -50% 0;
  -webkit-mask-image: linear-gradient(#000 52%, transparent 97%); mask-image: linear-gradient(#000 52%, transparent 97%); }
.hero-arch { display: block; width: 100%; height: auto; overflow: visible; }
.ht__o { fill: rgba(255, 255, 255, .78); stroke: #3B5268; stroke-width: .12; stroke-linejoin: round; }
.ht__g { fill: none; stroke: #A9B7C1; stroke-width: .085; stroke-linecap: round; }
.ht.is-resto .ht__o { fill: #fff; stroke: var(--blue); stroke-width: .17; }
.ht.is-resto .ht__g { stroke: #8EC9E6; }
.ha-gum { fill: none; stroke: #E9B5AD; stroke-width: .1; opacity: .9; }
.ha-pal { fill: none; stroke: #C7D2D8; stroke-width: .09; stroke-dasharray: .25 .4; }
.ha-mid { fill: none; stroke: var(--cyan); stroke-width: .11; stroke-dasharray: .35 .35; }

.hero__id { position: absolute; left: 50%; top: clamp(224px, 26.4vw, 344px); z-index: 2; translate: -50% 0; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; text-align: left; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.hero__ava { display: block; flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--cyan); }
.hero__ava img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__idtxt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.hero__idn { font-weight: 600; color: var(--ink); font-size: .98rem; }
.hero__idc { font-size: .84rem; color: var(--text); }
.hero__idl { display: flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); }
.hero__idl .icon { width: 14px; height: 14px; color: var(--blue); }

/* arch: charted tooth by tooth from the midline, then the six front teeth are restored */
.m-on .ht__o { stroke-dasharray: 1; animation: ht-draw .9s var(--ease) backwards; }
.m-on .ht__g { animation: a-fade .6s ease backwards; }
.m-on .ht.is-resto .ht__o { animation: ht-draw .9s var(--ease) backwards, ht-resto .9s var(--ease) backwards; }
.m-on .ht.hi0 .ht__o { animation-delay: .15s, 1.55s; } .m-on .ht.hi0 .ht__g { animation-delay: .7s; }
.m-on .ht.hi1 .ht__o { animation-delay: .27s, 1.75s; } .m-on .ht.hi1 .ht__g { animation-delay: .82s; }
.m-on .ht.hi2 .ht__o { animation-delay: .39s, 1.95s; } .m-on .ht.hi2 .ht__g { animation-delay: .94s; }
.m-on .ht.hi3 .ht__o { animation-delay: .51s; } .m-on .ht.hi3 .ht__g { animation-delay: 1.06s; }
.m-on .ht.hi4 .ht__o { animation-delay: .63s; } .m-on .ht.hi4 .ht__g { animation-delay: 1.18s; }
.m-on .ht.hi5 .ht__o { animation-delay: .75s; } .m-on .ht.hi5 .ht__g { animation-delay: 1.3s; }
.m-on .ht.hi6 .ht__o { animation-delay: .87s; } .m-on .ht.hi6 .ht__g { animation-delay: 1.42s; }
.m-on .ha-gum, .m-on .ha-pal { animation: a-fade 1.2s ease 1s backwards; }
.m-on .ha-mid { animation: a-fade .6s ease .1s backwards; }
.m-on .hero__id { animation: id-rise .8s var(--ease) 2.3s backwards; }
@keyframes ht-draw { from { stroke-dashoffset: 1; fill-opacity: 0; } 70% { fill-opacity: 0; } }
@keyframes ht-resto { from { fill: rgba(255, 255, 255, .78); stroke: #3B5268; stroke-width: .12; } }
@keyframes id-rise { from { opacity: 0; translate: -50% 10px; } }

/* ------------------------------------------------------------------ sections */
.sec { padding: clamp(48px, 5.5vw, 84px) 0; }
.sec--brief { padding-top: clamp(28px, 4vw, 56px); }
.shead { max-width: 760px; margin: 0 0 clamp(26px, 4vw, 42px); }
.shead h2, .early__head h2, .visit h2 { margin: 0; font-size: clamp(1.55rem, 1.15rem + 1.4vw, 2.2rem); line-height: 1.16; letter-spacing: -.015em; }
.shead__intro { margin: 12px 0 0; color: var(--muted); }
.sec__more { margin: 28px 0 0; text-align: center; }

/* brief */
.brief { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.brief__lead { margin: 0; font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); line-height: 1.62; color: var(--text); }
.brief__lead strong { color: var(--ink); font-weight: 600; }
.facts { margin: 0; }
.facts__row { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.facts__row:last-child { border-bottom: 0; }
.facts dt { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.facts dt .badge { width: 30px; height: 30px; }
.facts dt .badge .icon { width: 16px; height: 16px; }
.facts dd { margin: 0; align-self: center; color: var(--ink); font-weight: 500; }
.facts--brief { padding: 6px 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.facts--brief .facts__row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; }
.facts--brief dd { padding-left: 40px; }

/* needs */
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.need { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-content: start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s, box-shadow .3s; }
.need:hover { border-color: rgba(20, 96, 180, .35); box-shadow: var(--shadow); }
.need .badge { grid-row: span 2; }
.need__t { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.45; }
.need__links { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 6px 0 0; font-size: .94rem; }
.need__links a { color: var(--blue); font-weight: 500; text-decoration: none; }
.need__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.need__sep { color: #B3BFC6; }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-grid--hub { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.svc, .tcard { position: relative; display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 24px; transition: border-color .25s, box-shadow .35s, translate .35s var(--ease); }
.svc:hover, .tcard:hover { border-color: rgba(20, 96, 180, .42); box-shadow: var(--shadow-l); translate: 0 -3px; }
.svc__art, .tcard__art { display: block; aspect-ratio: 200 / 140; padding: 12px 22px 0; background: linear-gradient(180deg, #F2F7F8 0%, #FFFFFF 100%); border-bottom: 1px solid var(--line-2); }
.svc__art .art, .tcard__art .art { display: block; width: 100%; height: 100%; }
.svc__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 18px 22px 22px; }
.svc__t, .tcard__t { font-size: 1.08rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.svc__d, .tcard__d { font-size: .93rem; line-height: 1.55; color: var(--muted); }
.svc__go, .tcard__go { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow); opacity: 0; translate: -6px 0; transition: opacity .25s, translate .3s var(--ease); }
.svc__go .icon, .tcard__go .icon { width: 18px; height: 18px; }
.svc:hover .svc__go, .tcard:hover .tcard__go, .svc:focus-visible .svc__go { opacity: 1; translate: 0 0; }

/* topic cards */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tcard__t { padding: 18px 22px 0; }
.tcard__d { padding: 6px 22px 22px; }

/* probe timeline (steps) */
.probe { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.probe::before, .probe::after { content: ""; position: absolute; left: 22px; right: 22px; top: 20px; height: 4px; border-radius: 4px; }
.probe::before { background: repeating-linear-gradient(90deg, #D3DCE1 0 calc(10% - 3px), #8F9DA7 calc(10% - 3px) 10%); }
.probe::after { background: linear-gradient(90deg, var(--cyan), var(--blue)); transform-origin: 0 50%; transition: scale 1.9s var(--ease) .15s; }
.m-on .probe:not(.is-in)::after { scale: 0 1; }
.probe__step { position: relative; }
.probe__node { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border: 2px solid var(--blue); border-radius: 50%; background: #fff; transition: border-color .4s, background .4s; }
.probe__n { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.m-on .probe:not(.is-in) .probe__node { border-color: var(--line); }
.probe__step:nth-child(2) .probe__node { transition-delay: .45s; } .probe__step:nth-child(3) .probe__node { transition-delay: .8s; }
.probe__step:nth-child(4) .probe__node { transition-delay: 1.15s; } .probe__step:nth-child(5) .probe__node { transition-delay: 1.5s; }
.probe .badge { width: 30px; height: 30px; margin-bottom: 10px; }
.probe .badge .icon { width: 16px; height: 16px; }
.probe h3 { margin: 0 0 6px; font-size: 1.08rem; }
.probe p { margin: 0; font-size: .93rem; color: var(--muted); }

/* early detection: a caries lesion travels from enamel towards tooth loss as you scroll */
.sec--early { background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); }
.early { display: grid; gap: 30px; }
.early__head { max-width: 780px; }
.early__head p { margin: 14px 0 0; font-size: 1.04rem; }
.depth { padding: clamp(20px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.depth__bar { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: 16px; margin: 6px 0 22px; }
.depth__l { display: block; height: 100%; }
.depth__l--mina { background: #fff; box-shadow: inset 0 0 0 1.5px #CBD6DC; border-radius: 999px 0 0 999px; }
.depth__l--dentin { background: #F3EBDB; }
.depth__l--pulpa { background: #F4CBC4; }
.depth__l--kok { background: #E7DACB; }
.depth__l--end { background: repeating-linear-gradient(135deg, #EEF2F4 0 6px, #DFE6E9 6px 12px); border-radius: 0 999px 999px 0; }
.depth__dot { position: absolute; top: 50%; left: 6%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #6E5442; box-shadow: 0 0 0 5px rgba(110, 84, 66, .16); }
.m-on .depth:not(.is-in) .depth__dot { left: 6%; }
.m-on .depth .depth__dot { transition: left 3.2s cubic-bezier(.45, .05, .25, 1) .3s; }
.depth.is-in .depth__dot, .m-done .depth__dot { left: 90%; }
@supports (animation-timeline: view()) {
  .m-on .depth .depth__dot { transition: none; animation: depth-move linear both; animation-timeline: view(); animation-range: entry 35% cover 62%; }
}
@keyframes depth-move { from { left: 6%; } to { left: 90%; } }
.depth__stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.depth__layer { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.depth__t { display: block; margin: 4px 0 4px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.depth__d { display: block; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.depth__more { margin: 22px 0 0; }

/* article cards */
.acard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.acard { display: flex; flex-direction: column; gap: 10px; padding: 22px; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s, box-shadow .35s, translate .35s var(--ease); }
.acard:hover { border-color: rgba(20, 96, 180, .42); box-shadow: var(--shadow-l); translate: 0 -3px; }
.acard__top { display: flex; align-items: center; gap: 10px; }
.acard__top .badge { width: 34px; height: 34px; }
.acard__topic { font-size: .82rem; font-weight: 500; color: var(--blue); }
.acard__t { font-size: 1.1rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.acard__d { flex: 1; font-size: .93rem; color: var(--muted); }
.acard__go { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 500; color: var(--blue); }
.acard__go .icon { width: 18px; height: 18px; transition: translate .25s var(--ease); }
.acard:hover .acard__go .icon { translate: 4px 0; }

/* visit */
.visit { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); }
.visit h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 12px; }
.visit__addr { margin: 0 0 4px; font-size: 1.05rem; color: var(--ink); }
.visit__lm { margin: 0 0 16px; color: var(--muted); }
.visit__book { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; font-weight: 500; color: var(--ink); }
.visit__book .icon { color: var(--blue); }

.metro { padding: 20px 22px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 22px; }
.contact__side .metro { background: #fff; border-color: var(--line); }
.metro__t { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.metro__t .icon { color: var(--blue); }
.metro__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.metro__row { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 58px; gap: 14px; align-items: center; font-size: .92rem; }
.metro__n { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); min-width: 0; }
.metro__n .icon { width: 18px; height: 18px; color: var(--blue); }
.metro__n small { display: block; font-size: .78rem; font-weight: 400; color: var(--muted); }
.metro__n .icon { align-self: flex-start; margin-top: 2px; }
.metro__bar { display: block; height: 8px; border-radius: 8px; background: var(--line-2); overflow: hidden; }
.metro__bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--cyan), var(--blue)); transform-origin: 0 50%; transition: scale 1.2s var(--ease) .2s; }
.metro__bar--1 i { width: 55.6%; } .metro__bar--2 i { width: 66.7%; } .metro__bar--3 i { width: 100%; }
.m-on .metro:not(.is-in) .metro__bar i { scale: 0 1; }
.metro__d { color: var(--muted); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.metro__src { margin: 12px 0 0; font-size: .78rem; color: var(--muted); }

/* ------------------------------------------------------------------ page head */
.phead { position: relative; overflow: hidden; overflow: clip; padding: clamp(18px, 3vw, 30px) 0 clamp(36px, 5vw, 60px); text-align: center; }
.phead::before { content: ""; position: absolute; left: 50%; top: -55%; z-index: 0; width: min(1100px, 160vw); aspect-ratio: 1.4; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, #fff 0, rgba(255, 255, 255, .75) 42%, rgba(226, 244, 251, .4) 66%, rgba(246, 248, 247, 0) 100%); }
.phead__in { position: relative; z-index: 1; }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; font-size: .84rem; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: 6px; min-width: 0; }
.crumbs li + li::before { content: "/"; color: #B4C0C7; }
.crumbs a { display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs .icon { width: 16px; height: 16px; }
.phead__art { width: min(300px, 72vw); margin: 0 auto 10px; aspect-ratio: 200 / 140; }
.phead__art .art { display: block; width: 100%; height: 100%; }
.phead__kicker { justify-content: center; }
.phead h1 { max-width: 26ch; margin: 0 auto 18px; font-size: clamp(1.9rem, 1.25rem + 2.5vw, 3.1rem); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.phead__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -2px 0 22px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: .8rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.tag .icon { width: 15px; height: 15px; color: var(--blue); }
.answer { max-width: 840px; margin: 0 auto; padding: 18px 24px 4px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.answer__label { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; padding: 5px 12px 5px 9px; font-size: .78rem; font-weight: 600; color: var(--blue); background: var(--blue-t); border-radius: 999px; }
.answer__label .icon { width: 15px; height: 15px; }
.answer__body p { margin: 0 0 14px; font-size: 1.04rem; line-height: 1.68; }

/* profile head (about) */
.profile { position: relative; width: 168px; margin: 0 auto 22px; }
.profile__img img { display: block; width: 168px; height: 210px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-l); }
.profile__ring { position: absolute; inset: -9px; border: 1.5px solid rgba(37, 173, 224, .55); border-radius: 35px; pointer-events: none; }

/* ------------------------------------------------------------------ document layout */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: clamp(48px, 7vw, 100px); }
.dsec { margin-bottom: 18px; padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.dsec__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dsec__head h2 { margin: 0; font-size: clamp(1.18rem, 1.02rem + .6vw, 1.45rem); line-height: 1.25; }
.dsec--warn { background: var(--warn-t); border-color: #F1D3C8; }
.dsec--warn .badge { background: #FADFD5; color: var(--warn); }
.dsec--faq { padding: 0; background: transparent; border: 0; }
.dsec--faq .dsec__head { padding: 4px 4px 0; }

.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 14px; }
.prose a:not([class]) { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:not([class]):hover { color: var(--blue-d); text-decoration-thickness: 2px; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose h2 { margin: 30px 0 12px; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }

.ticks { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .52em; width: 12px; height: 12px; border-radius: var(--crown); background: var(--cyan); }
.ticks--minus li::before { background: #EDB7A6; }
.ticks--flag li::before { background: var(--warn); }

.nsteps, .numlist { display: grid; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: s; }
.nsteps li, .numlist li { position: relative; padding: 0 0 18px 50px; counter-increment: s; }
.nsteps li::before, .numlist li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-t); color: var(--blue); font-weight: 600; font-size: .92rem; font-variant-numeric: tabular-nums; }
.nsteps li::after, .numlist li::after { content: ""; position: absolute; left: 16.5px; top: 38px; bottom: 4px; width: 1px; background: var(--line); }
.nsteps li:last-child::after, .numlist li:last-child::after { display: none; }
.nsteps li:last-child, .numlist li:last-child { padding-bottom: 4px; }
.numlist li { padding-top: 5px; }
.nsteps__t { display: block; padding-top: 5px; font-weight: 600; color: var(--ink); }
.nsteps__d { display: block; margin-top: 2px; }

.tbl { margin: 0 0 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.tbl thead th { font-size: .86rem; font-weight: 600; color: var(--ink); background: var(--paper); }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl tr:last-child > * { border-bottom: 0; }
.tbl--pair tbody th { font-weight: 400; color: var(--text); }
.tbl--compare tbody th { width: 150px; background: #FBFCFC; }

.faq { display: grid; gap: 10px; }
.faq__item { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, box-shadow .3s; }
.faq__item[open] { border-color: rgba(20, 96, 180, .35); box-shadow: var(--shadow); }
.faq__item summary { display: flex; align-items: center; gap: 14px; padding: 15px 16px 15px 20px; color: var(--ink); font-weight: 500; line-height: 1.4; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin-left: auto; border-radius: 50%; background: var(--paper); color: var(--blue); transition: rotate .3s var(--ease), background .2s; }
.faq__ic .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__ic { rotate: 180deg; background: var(--blue-t); }
.faq__a { padding: 0 20px 6px; }
.faq__a p { margin: 0 0 14px; }

.doc__aside { min-width: 0; }
.doc__sticky { position: sticky; top: calc(var(--hdr) + 18px); display: grid; gap: 16px; }
.toc, .abox { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.toc__t, .abox__t { margin: 0 0 8px; padding: 0 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.toc ol, .rel { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.toc a { display: flex; align-items: flex-start; gap: 10px; padding: 7px 8px; font-size: .9rem; line-height: 1.38; color: var(--text); text-decoration: none; border-radius: 10px; transition: background .2s, color .2s; }
.toc a:hover { background: var(--paper); color: var(--blue); }
/* each section is a tooth: outlined until read, filled when passed */
.toc__m { flex: none; width: 11px; height: 13px; margin-top: 3px; border: 1.5px solid #B6C3CB; border-radius: var(--crown); transition: background .3s, border-color .3s; }
.toc a.is-past .toc__m { background: var(--cyan); border-color: var(--cyan); }
.toc a.is-current { color: var(--ink); font-weight: 500; }
.toc a.is-current .toc__m { background: var(--blue); border-color: var(--blue); }
.rel a { display: flex; align-items: center; gap: 10px; padding: 6px; font-size: .92rem; line-height: 1.35; color: var(--text); text-decoration: none; border-radius: 12px; transition: background .2s, color .2s; }
.rel .badge { width: 30px; height: 30px; }
.rel .badge .icon { width: 16px; height: 16px; }
.rel a:hover { background: var(--paper); color: var(--blue); }
.abox--visit { padding: 18px 20px; }
.visit__name { margin: 0 0 10px; font-weight: 600; color: var(--ink); }
.visit__line { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 8px; font-size: .88rem; line-height: 1.45; }
.visit__line .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--blue); }
.abox--visit .cicons { margin-top: 14px; }
.abox--visit .cicon { width: 42px; height: 42px; }

.relsvc { display: flex; align-items: flex-start; gap: 14px; margin: 4px 0 0; padding: 16px 18px; background: var(--cyan-t); border-radius: 18px; }
.relsvc p { margin: 4px 0 0; }
.relsvc a { color: var(--blue); font-weight: 500; }
.note { display: flex; align-items: flex-start; gap: 14px; margin: 18px 0 0; padding: 16px 18px; background: var(--warn-t); border: 1px solid #F1D3C8; border-radius: 18px; }
.note .badge { background: #FADFD5; color: var(--warn); }
.note p { margin: 5px 0 0; }
.updated { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .84rem; color: var(--muted); }
.updated .icon { width: 16px; height: 16px; }

.quote { margin: 0 0 16px; padding: 20px 22px; background: var(--paper); border-radius: 18px; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0 0 8px; font-size: 1.08rem; font-style: italic; line-height: 1.55; color: var(--ink); }
.quote figcaption { font-size: .84rem; color: var(--muted); }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.case { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 16px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 18px; }
.case .badge { grid-row: span 3; width: 34px; height: 34px; }
.case__t { font-weight: 600; color: var(--ink); line-height: 1.35; }
.case__d { font-size: .92rem; }
.case__n { font-size: .76rem; color: var(--muted); }
.cicons--inline { margin-top: 18px; }

/* hubs */
.hub { padding-bottom: clamp(48px, 7vw, 100px); }
.hub__intro { max-width: 780px; margin: 0 auto 40px; text-align: center; color: var(--muted); }
.hub__group { margin-bottom: 44px; }
.hub__gt { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
.hub__ask { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.hub__ask p { flex: 1 1 260px; margin: 0; color: var(--ink); font-weight: 500; }
.acard-grid--hub { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* article */
.readbar { position: fixed; top: var(--hdr); left: 0; right: 0; z-index: 55; height: 3px; pointer-events: none; }
.readbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); transform-origin: 0 50%; scale: var(--p, 0) 1; }
.reading { max-width: 860px; padding-bottom: clamp(48px, 7vw, 100px); }
.article { padding: clamp(22px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: 26px; font-size: 1.03rem; }
.reading__rel { margin-top: 20px; }
.more-arts { margin-top: 48px; }
.more-arts h2 { margin: 0 0 18px; font-size: 1.3rem; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; align-items: start; }
.vcard { padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.vcard__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.vcard__img { display: block; flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--cyan); }
.vcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vcard__n { margin: 0; font-size: 1.22rem; line-height: 1.25; }
.vcard__c { margin: 2px 0 0; color: var(--muted); }
.vcard .facts__row { grid-template-columns: minmax(0, 128px) minmax(0, 1fr); }
.cicons--card { margin-top: 18px; }
.contact__side { display: grid; gap: 18px; min-width: 0; }
.mapbox { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); border-radius: 26px; }
.mapbox__frame { display: block; width: 100%; height: 100%; border: 0; }
.sec--book { padding-top: clamp(36px, 5vw, 64px); }
.bookcard { padding: clamp(22px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.bookcard h2 { margin: 0 0 20px; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); }

/* booking form */
.bform { display: grid; gap: 16px; }
.bform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 500; color: var(--ink); }
.field input, .select select { width: 100%; height: 50px; padding: 0 14px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #C8D3D9; border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 96, 180, .13); }
.select { position: relative; }
.select select { padding-right: 42px; appearance: none; -webkit-appearance: none; }
.select .icon { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.field__opt { font-weight: 400; color: var(--muted); }
.field__hint { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.field__err { margin: 6px 0 0; font-size: .82rem; color: #B3261E; }
.field.is-bad input { border-color: #D2483F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.5; cursor: pointer; }
.field .check { display: flex; margin-bottom: 0; font-size: .9rem; font-weight: 400; color: var(--text); }
.check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check__box { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; background: #fff; border: 1.5px solid #B4C1C9; border-radius: 7px; transition: background .2s, border-color .2s; }
.check__box .icon { width: 14px; height: 14px; color: #fff; opacity: 0; }
.check input:checked + .check__box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .check__box .icon { opacity: 1; }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(20, 96, 180, .2); }
.field--check.is-bad .check__box { border-color: #D2483F; }
.check a { color: var(--blue); }
.bform__send { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; font: inherit; font-weight: 500; color: #fff; background: var(--ink); border: 0; border-radius: 16px; cursor: pointer; transition: background .2s; }
.bform__send:hover { background: #1B3654; }
.bform__send .icon { width: 20px; height: 20px; }
.bform__note { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.bform__note .icon { width: 16px; height: 16px; margin-top: 2px; }

/* ------------------------------------------------------------------ dialogs */
.dlg { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; color: inherit; background: transparent; border: 0; }
dialog:not([open]) { display: none !important; }
.dlg::backdrop { background: rgba(14, 34, 56, .44); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

.dlg--drawer[open] { display: grid; justify-items: end; grid-template-rows: minmax(0, 1fr); }
.drawer { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: min(420px, 100vw); height: 100%; min-height: 0; background: #fff; box-shadow: var(--shadow-l); }
.m-on .dlg--drawer[open] .drawer { animation: drawer-in .38s var(--ease); }
@keyframes drawer-in { from { translate: 100% 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--line-2); }
.drawer__nav { min-height: 0; overflow: auto; padding: 10px 12px; overscroll-behavior: contain; }
.drawer__link, .drawer__group summary { display: flex; align-items: center; gap: 12px; padding: 9px 10px; color: var(--ink); font-weight: 500; text-decoration: none; border-radius: 14px; cursor: pointer; list-style: none; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__link:hover, .drawer__group summary:hover { background: var(--paper); }
.drawer__link[aria-current] { color: var(--blue); }
.drawer__link .badge, .drawer__group summary .badge { width: 34px; height: 34px; }
.drawer__chev { width: 18px; height: 18px; margin-left: auto; color: var(--muted); transition: rotate .3s var(--ease); }
.drawer__group[open] > summary .drawer__chev { rotate: 180deg; }
.drawer__sub { padding: 2px 4px 10px 56px; }
.drawer__gt { margin: 10px 0 4px; font-size: .76rem; font-weight: 600; color: var(--muted); }
.drawer__sub ul { margin: 0; padding: 0; list-style: none; }
.drawer__sublink { display: flex; align-items: center; gap: 10px; padding: 7px 6px; font-size: .94rem; line-height: 1.35; color: var(--text); text-decoration: none; border-radius: 10px; }
.drawer__sublink:hover, .drawer__sublink[aria-current] { background: var(--paper); color: var(--blue); }
.drawer__sublink .icon { width: 18px; height: 18px; color: var(--blue); }
.drawer__all { display: inline-flex; align-items: center; gap: 6px; padding: 8px 6px 2px; font-size: .9rem; font-weight: 500; color: var(--blue); text-decoration: none; }
.drawer__all .icon { width: 17px; height: 17px; }
.drawer__foot { display: grid; gap: 12px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); }
.drawer__cta:empty { display: none; }
.drawer__cta .btn-cta { width: 100%; height: 50px; }
.drawer__foot .cicon { width: 44px; height: 44px; }

.dlg--search[open] { display: grid; place-items: start center; padding: 9vh 16px 16px; }
.search { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); width: min(720px, 100%); max-height: 82vh; padding: 18px; overflow: hidden; background: #fff; border-radius: 26px; box-shadow: var(--shadow-l); }
.m-on .dlg--search[open] .search, .m-on .dlg--book[open] .book { animation: pop-in .32s var(--ease); }
@keyframes pop-in { from { opacity: 0; translate: 0 12px; scale: .985; } }
.search__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.search__t { margin: 0; font-size: 1.1rem; }
.search__field { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; border: 1px solid #C8D3D9; border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.search__field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 96, 180, .13); }
.search__field .icon { width: 20px; height: 20px; color: var(--muted); }
.search__field input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; color: var(--ink); background: transparent; border: 0; outline: 0; }
.search__chips, .srch__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.search__hint { font-size: .84rem; color: var(--muted); }
.chip { display: inline-flex; padding: 7px 13px; font-size: .86rem; color: var(--text); text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.search__results { display: grid; align-content: start; gap: 4px; min-height: 0; margin-top: 12px; overflow: auto; }
.result { display: grid; gap: 2px; padding: 12px 14px; color: var(--text); text-decoration: none; border: 1px solid transparent; border-radius: 14px; }
.result:hover, .result:focus-visible { background: var(--paper); border-color: var(--line); }
.result__t { font-weight: 600; color: var(--ink); }
.result__u { font-size: .78rem; color: var(--blue); }
.result__x { font-size: .88rem; line-height: 1.5; color: var(--muted); }
.search__empty { margin: 8px 4px; color: var(--muted); }
mark { padding: 0 1px; color: inherit; background: #D3EEF9; border-radius: 3px; }

.dlg--book[open] { display: grid; place-items: center; padding: 16px; }
.book { width: min(660px, 100%); max-height: calc(100dvh - 32px); padding: clamp(18px, 3vw, 30px); overflow: auto; background: #fff; border-radius: 28px; box-shadow: var(--shadow-l); }
.book__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.book__img { display: block; flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 2.5px #fff, 0 0 0 4px var(--cyan); }
.book__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.book__kicker { margin: 0; font-size: .8rem; color: var(--muted); }
.book__ttl h2 { margin: 0; font-size: 1.3rem; line-height: 1.25; }
.book__head .iconbtn { margin-left: auto; }

/* search page, sitemap, legal, 404 */
.srch { padding-bottom: clamp(48px, 7vw, 100px); }
.srch__form { display: flex; gap: 10px; }
.srch__form .search__field { flex: 1; min-width: 0; background: #fff; }
.srch__btn { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 20px; font: inherit; font-weight: 500; color: #fff; background: var(--ink); border: 0; border-radius: 16px; cursor: pointer; }
.srch__btn .icon { width: 18px; height: 18px; }
.srch__count { margin: 18px 0 8px; color: var(--muted); }
.results { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.results .result { background: #fff; border-color: var(--line); }
.smap { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; padding-bottom: clamp(48px, 7vw, 100px); }
.smap__group { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.smap__group h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.05rem; }
.smap__group ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.smap__group a { font-size: .92rem; color: var(--text); text-decoration: none; }
.smap__group a:hover { color: var(--blue); text-decoration: underline; }
.legal { padding-bottom: clamp(48px, 7vw, 100px); }
.legal .prose { padding: clamp(22px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 26px; }
.nf { padding: 24px 0 clamp(60px, 8vw, 110px); text-align: center; }
.nf__art { width: min(260px, 70vw); margin: 0 auto; aspect-ratio: 200 / 140; }
.nf__art .art { width: 100%; height: 100%; }
.nf__code { margin: 6px 0 0; font-size: clamp(2.6rem, 8vw, 4rem); font-weight: 700; line-height: 1; color: #BFDDF0; letter-spacing: .04em; }
.nf h1 { margin: 6px 0 12px; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.nf__links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.nf__links a:hover { border-color: var(--blue); color: var(--blue); }
.nf__links .icon { color: var(--blue); }

/* ------------------------------------------------------------------ footer */
.site-footer { padding-top: clamp(48px, 6vw, 76px); color: #C3CFD8; background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 38px; }
.brand--foot .brand__name { color: #fff; }
.brand--foot .brand__sub { color: #9DB0BE; }
.site-footer .bm-tooth { fill: rgba(255, 255, 255, .06); stroke: #fff; }
.footer__about { max-width: 34ch; margin: 16px 0 20px; font-size: .92rem; line-height: 1.6; }
.cicons--foot .cicon { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.cicons--foot .cicon:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.footer__col h2 { margin: 0 0 14px; font-size: .95rem; font-weight: 600; color: #fff; }
.footer__col ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer__col a { font-size: .92rem; color: #C3CFD8; text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__visit { margin-top: 24px; }
.footer__clinic { margin: 0 0 8px; font-size: .92rem; font-weight: 500; color: #fff; }
.footer__line { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 6px; font-size: .86rem; line-height: 1.5; }
.footer__line .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--cyan); }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 26px; padding-top: 18px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); font-size: .84rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__copy { max-width: 62ch; margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.footer__legal a { color: #C3CFD8; }
.footer__legal a:hover { color: #fff; }
.footer__otx { margin: 0; }
.footer__otx a { font-weight: 600; color: #fff; text-decoration: none; }
.footer__otx a:hover { color: var(--cyan); }

/* ------------------------------------------------------------------ dental drawings */
.art { overflow: visible; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%), linear-gradient(180deg, #000 68%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%), linear-gradient(180deg, #000 68%, transparent 100%); mask-composite: intersect; }
.art--protez { -webkit-mask-image: none; mask-image: none; }
.art .a-tooth { fill: #fff; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.art .a-root { fill: none; stroke: #8E9DA8; stroke-width: 1.5; stroke-dasharray: 4 4; stroke-linecap: round; }
.art .a-gum { fill: #F7E4E1; stroke: #E8BBB4; stroke-width: 1.4; stroke-linejoin: round; }
.art .a-gum--over { fill: rgba(247, 228, 225, .9); }
.art .a-gumline { fill: none; stroke: #E0A69D; stroke-width: 1.6; }
.art .a-line { fill: none; stroke: #B7C3CB; stroke-width: 1.4; stroke-linecap: round; }
.art .a-por { fill: #fff; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.art .a-glint { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; }
.art .a-dim { fill: none; stroke: #A3B3BE; stroke-width: 1.2; stroke-linecap: round; }
.art .a-stump { fill: #F1EADC; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.art .a-metal { fill: none; stroke: #8E9AA5; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.art .a-ceramic { fill: rgba(255, 255, 255, .86); stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.art .a-darkline { fill: none; stroke: #5D6B77; stroke-width: 2.6; stroke-linecap: round; }
.art .a-ghost { fill: #F9FBFB; stroke: #CDD6DC; stroke-width: 1.4; }
.art .a-ray { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: .035 .03; }
.art .a-sweep { opacity: 0; }
.art .a-guide { fill: none; stroke: #9DB2C1; stroke-width: 1.2; stroke-dasharray: 3 4; }
.art .a-mid { stroke-dasharray: .025 .03; }
.art .a-ticks { stroke-dasharray: none; }
.art .a-tab { stroke: rgba(14, 34, 56, .16); stroke-width: 1; }
.art .a-ind { fill: var(--blue); }
.art--protez .a-base { fill: none; stroke: #F3CDC7; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.art--protez .a-metal { stroke-width: .95; }
.art--protez .pt__o { fill: #fff; stroke: #3B5268; stroke-width: .42; }
.art--protez .pt--den .pt__o { stroke: var(--blue); stroke-width: .52; }
.art--protez .pt__g { fill: none; stroke: #B7C3CB; stroke-width: .3; }
.art .a-pulp { fill: #F5CFCA; stroke: #DE9C93; stroke-width: 1.4; }
.art .a-canal { fill: none; stroke: #E8A9A1; stroke-width: 4; stroke-linecap: round; }
.art .a-fillc { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; }
.art .a-fillp { fill: #E2F3FB; stroke: var(--blue); stroke-width: 1.6; }
.art .a-file { opacity: 0; }
.art .a-handle { fill: var(--blue); }
.art .a-needle { fill: none; stroke: #6F7C88; stroke-width: 1.8; stroke-linecap: round; }
.art .a-lesion { fill: #6E5442; opacity: 0; transform-box: fill-box; transform-origin: center; }
.art .a-calc { fill: #CDB98C; opacity: 0; }
.art .a-scaler { opacity: 0; }
.art .a-inst { fill: none; stroke: #6F7C88; stroke-width: 2.4; stroke-linecap: round; }
.art .a-glass { fill: #EEF7FB; stroke: var(--ink); stroke-width: 1.8; }
.art .a-reflect { fill: #fff; stroke: #7FA8C3; stroke-width: 1.4; }
.art .a-inflame { fill: none; stroke: var(--rose); stroke-width: 2.6; stroke-linecap: round; opacity: .8; }
.art .a-drop { fill: var(--rose); }
.art .a-tongue { fill: #F4D2CC; stroke: #DEA097; stroke-width: 1.6; }
.art .a-coat { fill: #F1EAD6; stroke: #D8CBA9; stroke-width: .8; transform-box: fill-box; transform-origin: center; }
.art .a-tub { fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; }
.art .a-enamel { fill: none; stroke: #C5D1D9; stroke-width: 1.4; }
.art .a-was { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-dasharray: .02 .025; }
.art .a-focus { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-dasharray: .015 .02; transform-box: fill-box; transform-origin: center; }
.art .a-lacuna { fill: none; stroke: var(--rose); stroke-width: 2.6; stroke-linecap: round; }
.art .a-shine, .art .a-margin, .art .a-smile, .art .a-mid, .art .a-bar, .art .a-clasp, .art .a-wis { stroke-dasharray: 1; }
.art--protez .pt--den { transform-box: fill-box; transform-origin: center; }
.art--gulus .a-mid { stroke-dasharray: .025 .03; }

/* procedure animations: page heads play once on arrival; cards play on hover (or once in view on touch) */
@keyframes a-draw { from { stroke-dashoffset: 1; } }
@keyframes a-fade { from { opacity: 0; } }
@keyframes a-pop { from { opacity: 0; scale: .55; } }
@keyframes a-shell { from { opacity: 0; transform: translate(-26px, -8px) rotate(-7deg); } 55% { opacity: 1; } }
@keyframes a-seat { from { opacity: 0; transform: translateY(-36px); } 50% { opacity: 1; } }
@keyframes a-sweep { from { opacity: 0; transform: translateX(-46px); } 20%, 80% { opacity: 1; } to { opacity: 0; transform: translateX(104px); } }
@keyframes a-whiten { from { fill: #E5D2A6; } }
@keyframes a-ind { from { transform: translateX(-70px); } }
@keyframes a-file { 0% { opacity: 0; translate: 0 -10px; } 12% { opacity: 1; translate: 0 0; } 45%, 58% { translate: 0 50px; } 86% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 -10px; } }
@keyframes a-lesion { 0%, 45% { opacity: .9; scale: 1; } 78% { opacity: 0; scale: .45; } 100% { opacity: 0; } }
@keyframes a-calc { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
@keyframes a-scaler { 0% { opacity: 0; translate: -150px 0; } 10% { opacity: 1; } 86% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 8px 0; } }
@keyframes a-mirror { 0% { opacity: 0; translate: -112px 4px; } 15% { opacity: 1; } 55% { translate: -58px 0; } }
@keyframes a-drop { from { opacity: 0; translate: 0 -6px; } }
@keyframes a-grind { 20% { translate: -7px 0; } 45% { translate: 7px 0; } 70% { translate: -5px 0; } 86% { translate: 3px 0; } }
@keyframes a-ring { from { opacity: 0; scale: .7; } }

.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-shell { animation: a-shell 1.1s var(--ease) backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-shine { animation: a-draw .7s ease .95s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-cap { animation: a-seat 1s var(--ease) backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .art--metal .a-cap { animation-delay: .75s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .art--metal .a-metal { stroke-dasharray: 1; animation: a-draw .8s ease .05s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-margin { animation: a-draw .6s ease 1s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-darkline { animation: a-fade .5s ease 1.6s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-sweep { animation: a-sweep 1.7s ease-in-out .25s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-ray { animation: a-fade .5s ease backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-sq { animation: a-fade .5s ease backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) :is(.q2, .q3) { animation-delay: .05s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) :is(.q1, .q4) { animation-delay: .2s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) :is(.q0, .q5) { animation-delay: .35s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .art--gulus .a-mid { animation: a-fade .6s ease .45s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-smile { animation: a-draw .9s var(--ease) .7s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-ticks { animation: a-fade .5s ease 1.1s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-wh { animation: a-whiten 1.5s ease backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .w1 { animation-delay: .1s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .w2 { animation-delay: .2s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .w3 { animation-delay: .3s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-ind { animation: a-ind 1.5s var(--ease) backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-bar { animation: a-draw .9s var(--ease) .05s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-base { animation: a-fade .6s ease .3s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-clasp { animation: a-draw .6s ease .7s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .pt--den { animation: a-pop .45s var(--ease) backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .pt--den.d0 { animation-delay: .8s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .pt--den.d1 { animation-delay: .95s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .pt--den.d2 { animation-delay: 1.1s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-file { animation: a-file 1.8s ease-in-out .15s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-fillc { animation: a-draw .8s ease 1.65s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-fillc2 { animation-delay: 1.85s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-fillp { animation: a-fade .5s ease 2.3s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-lesion { animation: a-lesion 1.5s ease .15s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-filled { animation: a-fade .5s ease 1.2s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-scaler { animation: a-scaler 1.9s ease-in-out .15s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-calc { animation: a-calc .5s ease backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .c0 { animation-delay: .45s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .c1 { animation-delay: .6s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .c2 { animation-delay: .8s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .c3 { animation-delay: 1.15s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .c4 { animation-delay: 1.32s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .c5 { animation-delay: 1.5s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-polish { animation: a-fade .5s ease 1.95s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-mirror { animation: a-mirror 1.8s var(--ease) .1s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-inflame { animation: a-fade 1s ease .3s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-drop { animation: a-drop .7s var(--ease) 1.1s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-coat { animation: a-pop .45s var(--ease) backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .k1 { animation-delay: .1s; } .m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .k2 { animation-delay: .2s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .k3 { animation-delay: .3s; } .m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .k4 { animation-delay: .4s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .k5 { animation-delay: .5s; } .m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .k6 { animation-delay: .6s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-tub { animation: a-draw .45s ease backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .t1 { animation-delay: .15s; } .m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .t2 { animation-delay: .3s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .t3 { animation-delay: .45s; } .m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .t4 { animation-delay: .6s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-expo { animation: a-fade .6s ease 1s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-was { animation: a-fade .8s ease .3s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-wear { animation: a-fade .5s ease 1s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-upper { animation: a-grind 1.6s ease-in-out .25s; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-facet { animation: a-fade .5s ease 1.7s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-wis { animation: a-draw 1.1s ease .15s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .art--agil .a-focus { animation: a-fade .6s ease 1.15s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .a-lacuna { animation: a-fade .6s ease .35s backwards; }
.m-on :is(.art--auto, .is-play, .svc:hover, .tcard:hover) .art--rezorbsiya .a-focus { animation: a-ring .8s var(--ease) .8s backwards; }

/* ------------------------------------------------------------------ reveal */
.m-on .rv { transition: opacity .7s var(--ease), translate .8s var(--ease); transition-delay: var(--sd, 0s); }
.m-on .rv:not(.is-in) { opacity: 0; translate: 0 16px; }
.m-done .rv { opacity: 1 !important; translate: none !important; }
.m-done .probe::after { scale: 1 1 !important; }
.m-done .probe__node { border-color: var(--blue) !important; }
.m-done .metro__bar i { scale: 1 1 !important; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content, .drawer__group::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq__item[open]::details-content, .drawer__group[open]::details-content { block-size: auto; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1239.98px) {
  .nav__link { padding: 10px 9px; font-size: .93rem; }
}
@media (max-width: 1099.98px) {
  .nav { display: none; }
  .iconbtn--menu { display: inline-grid; }
  .hdr__actions { margin-left: auto; }
}
@media (max-width: 1023.98px) {
  .brief { grid-template-columns: minmax(0, 1fr); }
  .needs, .svc-grid, .tgrid, .acard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .probe { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .probe::before, .probe::after { left: 20px; right: auto; top: 22px; bottom: 22px; width: 4px; height: auto; }
  .probe::before { background: repeating-linear-gradient(180deg, #D3DCE1 0 calc(10% - 3px), #8F9DA7 calc(10% - 3px) 10%); }
  .probe::after { background: linear-gradient(180deg, var(--cyan), var(--blue)); transform-origin: 50% 0; }
  .m-on .probe:not(.is-in)::after { scale: 1 0; }
  .probe__step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding-bottom: 24px; }
  .probe__step:last-child { padding-bottom: 0; }
  .probe__node { grid-row: 1 / span 3; margin: 0; }
  .probe .badge { display: none; }
  .probe h3 { padding-top: 9px; }
  .visit, .contact { grid-template-columns: minmax(0, 1fr); }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__sticky { position: static; }
  .toc { display: none; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 899.98px) {
  .depth__bar { display: none; }
  .depth__stages { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .depth__st { position: relative; padding: 0 0 18px 30px; }
  .depth__st::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: var(--crown); }
  .depth__st::after { content: ""; position: absolute; left: 7.5px; top: 24px; bottom: 2px; width: 1px; background: var(--line); }
  .depth__st:last-child::after { display: none; }
  .depth__st:nth-child(1)::before { background: #fff; box-shadow: inset 0 0 0 1.5px #CBD6DC; }
  .depth__st:nth-child(2)::before { background: #EADDC4; }
  .depth__st:nth-child(3)::before { background: #F0B7AE; }
  .depth__st:nth-child(4)::before { background: #DCCAB6; }
  .depth__st:nth-child(5)::before { background: #6E5442; }
  .depth__layer:empty, .depth__st:nth-child(5) .depth__layer { display: none; }
  .tbl--compare tbody th { width: auto; }
}
@media (max-width: 767.98px) {
  :root { --hdr: 64px; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .cta-home { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; }
  .cta-home .btn-cta { width: 100%; height: 54px; font-size: 1rem; box-shadow: 0 14px 30px -10px rgba(14, 34, 56, .55); }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: .98rem; }
  .hero__stage { height: auto; margin-top: 18px; }
  .hero__arch { position: relative; left: 50%; width: 560px; }
  .hero__id { position: relative; left: auto; top: auto; translate: none; width: max-content; max-width: calc(100% - 8px); margin: -150px auto 0; }
  .m-on .hero__id { animation-name: id-rise-m; }
  .hero__arch { margin-bottom: 0; }
  .needs { grid-template-columns: minmax(0, 1fr); }
  .dsec { border-radius: 20px; }
  .metro__row { grid-template-columns: minmax(0, 1fr) auto; }
  .metro__bar { grid-column: 1 / -1; grid-row: 2; }
  .tbl { overflow: visible; border: 0; border-radius: 0; }
  .tbl thead { display: none; }
  .tbl table, .tbl tbody { display: block; }
  .tbl tr { display: block; margin-bottom: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
  .tbl th, .tbl td { display: block; padding: 9px 16px; border: 0; }
  .tbl tbody th { width: auto; background: var(--paper); }
  .tbl td::before, .tbl--pair tbody th::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .74rem; font-weight: 600; color: var(--muted); }
}
@keyframes id-rise-m { from { opacity: 0; translate: 0 10px; } }
@media (max-width: 639.98px) {
  .svc-grid, .tgrid, .acard-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { flex-direction: row; }
  .svc__art { flex: none; width: 118px; aspect-ratio: auto; padding: 10px 8px; border-bottom: 0; border-right: 1px solid var(--line-2); }
  .svc__body { padding: 16px 16px 18px; }
  .svc__d { font-size: .88rem; }
  .svc__go { display: none; }
  .bform__row, .cases { grid-template-columns: minmax(0, 1fr); }
  .facts__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts dd { padding-left: 40px; }
  .vcard .facts__row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .srch__btn span { display: none; }
  .srch__btn { padding: 0 16px; }
  .answer { padding: 16px 18px 2px; }
  .phead h1 { max-width: none; }
}
@media (max-width: 399.98px) {
  .brand__sub { display: none; }
  .hdr { gap: 10px; }
  .brand { gap: 8px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: .9rem; }
  .hdr__actions { gap: 6px; margin-left: auto; }
  .iconbtn { width: 38px; height: 38px; }
  .hero__idc { font-size: .8rem; }
}
