/* ==========================================================================
   Dentatacity Canada (dentatacity.ca) – design system v5 "Canada edition"
   Built on v4 (modern clinic); v5 overrides are at the end of this file.
   Navy #0B1A35 + teal → aqua gradient accents, DM Sans, soft glass surfaces.
   Normal clinic page flow; no prices; no scroll-triggered reveals.
   ========================================================================== */

@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/dmsans-400.ttf) format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/dmsans-500.ttf) format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/dmsans-600.ttf) format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/dmsans-700.ttf) format("truetype"); }

:root {
  --navy: #0B1A35;
  --navy-2: #15315F;
  --navy-3: #0E3F63;
  --accent: #1A86A8;
  --accent-2: #0F6E8C;
  --aqua: #2DB6CB;
  --mint: #5ED3C1;
  --accent-soft: #E7F4F8;
  --ink: #0B1628;
  --text: #39445A;
  --muted: #667085;
  --line: #E4E9F0;
  --line-2: #EEF2F6;
  --bg: #FFFFFF;
  --gray: #F4F7FB;
  --gray-2: #EAF0F6;
  --gold: #F5B62B;
  --wa: #25D366;
  --wa-ink: #05341A;
  --danger: #C2412D;
  --grad: linear-gradient(135deg, #1A86A8 0%, #2DB6CB 55%, #5ED3C1 100%);
  --grad-text: linear-gradient(92deg, #157C9E 0%, #22A4BF 50%, #2FB7A4 100%);
  --grad-text-light: linear-gradient(92deg, #8FE3F1 0%, #A9F0DF 100%);
  --grad-dark: linear-gradient(135deg, #0B1A35 0%, #13305C 55%, #0F4A6A 100%);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 40, .06);
  --shadow: 0 1px 2px rgba(11, 22, 40, .04), 0 14px 36px -18px rgba(11, 22, 40, .22);
  --shadow-lg: 0 30px 70px -30px rgba(11, 22, 40, .38);
  --glow: 0 18px 40px -18px rgba(26, 134, 168, .55);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --hdr-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:lang(ru) { --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

/* ---------- Base ---------- */
*, *::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) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.7rem); line-height: 1.12; letter-spacing: -.03em; }
h3 { font-size: 1.16rem; letter-spacing: -.015em; }
.hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
::selection { background: #BFE8F1; color: var(--ink); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }
.i { width: 1.2em; height: 1.2em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); white-space: nowrap; }
.btn .i { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, #0B1A35, #17386B); color: #fff; box-shadow: 0 10px 24px -14px rgba(11, 26, 53, .8); }
.btn-primary:hover { color: #fff; box-shadow: var(--glow), 0 0 0 4px rgba(45, 182, 203, .14); transform: translateY(-1px); }
.btn-accent { background: var(--accent-2); color: #fff; }
.btn-accent:hover { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--line); background: rgba(255, 255, 255, .7); color: var(--navy); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--navy); background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 8px 22px -14px rgba(0, 0, 0, .5); }
.btn-white:hover { background: #fff; color: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .12); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #1FC35D; color: var(--wa-ink); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: .85em 1.7em; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--accent-2); text-decoration: none; }
.link-arrow .i { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover .i { transform: translateX(3px); }
.link-btn { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }

/* ---------- Small components ---------- */
.label { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(26, 134, 168, .08); border: 1px solid rgba(26, 134, 168, .16); font-size: .84rem; font-weight: 700; letter-spacing: .01em; color: var(--accent-2); line-height: 1.4; }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(45, 182, 203, .18); flex: none; }
.label-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #A6E6F2; }
.lead { font-size: clamp(1.04rem, 1.3vw, 1.16rem); color: var(--muted); max-width: 64ch; }
.checks { list-style: none; display: grid; gap: .7em; margin: 1.3rem 0 1.7rem; }
.checks li { display: flex; gap: .7em; align-items: flex-start; color: var(--ink); }
.checks .i { color: #fff; width: 1.35em; height: 1.35em; padding: .2em; margin-top: .12em; border-radius: 50%; background: var(--grad); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); vertical-align: -2px; }
.stars .i { width: 1em; height: 1em; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.note { display: flex; gap: .6em; align-items: flex-start; margin-top: 1.2rem; font-size: .9rem; color: var(--muted); }
.note .i { margin-top: .2em; }
.ico-box { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg, #E6F4F8, #DDF5F0); color: var(--accent-2); flex: none; }
.ico-box .i { width: 25px; height: 25px; }
.ico-grad { background: var(--grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(26, 134, 168, .7); }
.ico-glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; flex: none; }

/* ---------- Announcement bar ---------- */
.announce { position: relative; z-index: 61; background: var(--grad); color: #fff; font-size: .9rem; }
.an-dark { background: var(--grad-dark); }
.an-warn { background: linear-gradient(90deg, #F5B62B, #F7C95A); color: #3A2A00; }
.announce-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding-block: 6px; }
.announce p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin: 0; text-align: center; font-weight: 600; line-height: 1.4; }
.announce p > .i { width: 17px; height: 17px; flex: none; }
.announce a { display: inline-flex; align-items: center; gap: 5px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.announce a .i { width: 14px; height: 14px; }
.announce-x { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: inherit; cursor: pointer; }
.announce-x:hover { background: rgba(255, 255, 255, .3); }
.announce-x .i { width: 14px; height: 14px; }
.modal-video iframe.yt { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.modal-video iframe.yt[hidden], .modal-video video[hidden] { display: none; }
.vcard:not(:has(img)) { background: var(--grad-dark); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .8); font-size: .85rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar ul { list-style: none; display: flex; align-items: center; gap: 22px; }
.topbar li, .topbar a { display: flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .i { width: 15px; height: 15px; color: #7FD6E6; }
.topbar-right { gap: 14px !important; }
.topbar .social { margin: 0; gap: 2px; }
.topbar .social a { width: 28px; height: 28px; justify-content: center; border-radius: 50%; background: none; }
.topbar .social a:hover { background: rgba(255, 255, 255, .1); }
.topbar .social .i { color: #fff; width: 15px; height: 15px; }
.topbar .t-hide { display: none; }
@media (max-width: 899px) { .topbar { display: none; } }
@media (min-width: 1100px) { .topbar .t-hide { display: flex; } }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(228, 233, 240, .8); transition: box-shadow .25s, background .25s; }
.hdr.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px -20px rgba(11, 22, 40, .4); }
body.nav-open .hdr { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
.hdr-in { display: flex; align-items: center; gap: 24px; height: var(--hdr-h); }
.logo { flex: none; display: block; }
.logo img { width: 172px; height: auto; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr-appt { display: none; }

/* Language */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: .35em; height: 40px; padding: 0 .8em; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; color: var(--navy); cursor: pointer; }
.topbar .lang-btn { height: 28px; border-color: rgba(255, 255, 255, .22); background: transparent; color: #fff; font-size: .8rem; }
.lang-btn .i { width: 1.05em; height: 1.05em; }
.topbar .lang-btn .i { color: #fff; }
.lang-btn .chev { width: .85em; height: .85em; transition: transform .2s; }
.lang.is-open .chev { transform: rotate(180deg); }
.lang-menu { list-style: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s var(--ease); z-index: 80; display: block !important; }
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li { display: block !important; }
.lang-menu a { display: flex !important; align-items: center; gap: .7em; padding: .55em .7em; border-radius: 10px; color: var(--ink) !important; text-decoration: none; font-size: .93rem; }
.lang-menu a:hover { background: var(--gray); }
.lang-menu a[aria-current] { background: var(--accent-soft); font-weight: 700; }
.lang-code { display: inline-grid; place-items: center; min-width: 30px; height: 22px; border-radius: 6px; background: var(--gray-2); font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: var(--navy); }
.hdr .lang { display: block; }
@media (min-width: 900px) { .hdr .lang { display: none; } }

/* Burger */
.burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-grid; place-content: center; gap: 4px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Navigation – mobile panel */
.nav { position: fixed; top: var(--hdr-h); left: 0; right: 0; bottom: 0; background: #fff; padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none; transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s; z-index: 59; border-top: 1px solid var(--line); }
.nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.nav-list { list-style: none; }
.nav-list > li { border-bottom: 1px solid var(--line-2); position: relative; }
.nav-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-weight: 600; font-size: 1.06rem; color: var(--ink); text-decoration: none; }
.nav-link.is-active, .nav-link[aria-current] { color: var(--accent-2); }
.nav-link .chev { display: none; }
.sub-toggle { position: absolute; right: 0; top: 9px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--gray); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.sub-toggle .i { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.mega { display: none; padding: 0 0 14px; }
.mega.is-open { display: block; }
.mega-col h3 { margin: 12px 0 4px; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.mega-col h3 .i { width: 16px; height: 16px; color: var(--accent); }
.mega-col ul { list-style: none; }
.mega-col a { display: block; padding: 7px 0; color: var(--ink); text-decoration: none; font-size: .98rem; }
.mega-col a:hover, .mega-col a.is-active { color: var(--accent-2); }
.mega-foot { padding-top: 8px; }
.nav-extra { display: grid; gap: 10px; margin-top: 24px; }
.nav-extra-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nav-contact { margin: 6px 0 0; text-align: center; font-size: .92rem; color: var(--muted); }
body.nav-open { overflow: hidden; }

@media (min-width: 640px) { .hdr-appt { display: inline-flex; } .logo img { width: 186px; } }
@media (min-width: 1200px) {
  .burger { display: none; }
  .nav { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; background: none; padding: 0; overflow: visible; border: 0; margin-left: auto; }
  .hdr-actions { margin-left: 8px; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-list > li { border: 0; }
  .nav-link { padding: 9px 13px; font-size: .95rem; font-weight: 600; color: var(--ink); border-radius: 999px; gap: 5px; white-space: nowrap; transition: background .2s, color .2s; }
  .nav-link:hover { color: var(--accent-2); background: var(--gray); }
  .nav-link.is-active, .nav-link[aria-current] { background: var(--accent-soft); }
  .nav-link .chev { display: block; width: 14px; height: 14px; }
  .sub-toggle { display: none; }
  .has-mega { position: relative; }
  .mega { position: absolute; left: 50%; top: calc(100% + 18px); width: 760px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 22px; padding: 24px 26px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: .2s var(--ease); }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
  .has-mega:hover .mega, .has-mega:focus-within .mega, .mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .mega-col { padding: 14px; border-radius: 16px; background: var(--gray); }
  .mega-col h3 { margin-top: 0; color: var(--ink); letter-spacing: .02em; text-transform: none; font-size: .92rem; }
  .mega-col h3 .i { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--grad); color: #fff; }
  .mega-col a { padding: 6px 8px; margin: 0 -8px; border-radius: 8px; font-size: .94rem; }
  .mega-col a:hover, .mega-col a.is-active { background: #fff; }
  .mega-foot { grid-column: 1 / -1; padding-top: 10px; margin-top: 4px; }
  .nav-extra { display: none; }
}

/* nav fit: 7 menu items in long languages (ES/DE/FR) */
@media (min-width: 1200px) { .hdr-in { gap: 14px; } .logo img { width: 166px; } .nav-link { padding: 9px 9px; font-size: .92rem; } .hdr-actions { margin-left: 4px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 76px) 0; }
.section-gray { background: var(--gray); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 4.5vw, 56px); }
.sec-head .lead { margin: 0 auto; }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(30px, 4vw, 48px); }
.sec-head-row .sec-head { margin: 0; text-align: left; }
.sec-head-row .sec-head .lead { margin: 0; }
.sec-foot { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 40px); }
.split { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split-60 { grid-template-columns: 1.15fr .85fr; align-items: start; } }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(110px, 11vw, 150px); overflow: hidden; background: #F3F8FB; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 55% at 88% 12%, rgba(45, 182, 203, .26), transparent 70%),
    radial-gradient(36% 45% at 62% 88%, rgba(94, 211, 193, .20), transparent 70%),
    radial-gradient(40% 50% at 4% 8%, rgba(26, 134, 168, .12), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 26, 53, .09) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin: 0 0 20px; max-width: 15ch; }
.hero .lead { margin-bottom: 30px; font-size: clamp(1.06rem, 1.35vw, 1.2rem); }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 34px; }
.hero-trust p { margin: 0; font-size: .93rem; line-height: 1.5; color: var(--muted); }
.hero-trust p strong { color: var(--ink); font-size: 1.05rem; }
.hero-trust p b { color: var(--ink); }
.avatars { display: flex; align-items: center; text-decoration: none; }
.avatars img, .avatars-more { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; object-position: top; background: var(--gray-2); box-shadow: 0 6px 14px -8px rgba(11, 22, 40, .5); }
.avatars > * + * { margin-left: -12px; }
.avatars-more { display: grid; place-items: center; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700; }
.hero-media { position: relative; padding: 0 0 0 clamp(0px, 2vw, 24px); }
.hero-frame { position: relative; border-radius: var(--r-xl); }
.hero-frame::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: var(--r-xl); background: var(--grad); opacity: .9; z-index: -1; }
.hero-frame img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 20px 44px -22px rgba(11, 22, 40, .5); animation: floaty 7s ease-in-out infinite; }
.float-card strong { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 1rem; line-height: 1.2; }
.float-card small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.float-card .g { width: 30px; height: 30px; }
.float-card .ico-box { width: 40px; height: 40px; border-radius: 12px; }
.float-card .ico-box .i { width: 20px; height: 20px; }
.fc-rating { top: 22px; left: -6px; }
.fc-guarantee { bottom: 26px; left: -18px; max-width: 290px; animation-delay: -2.5s; }
.fc-years { top: 38%; right: -14px; flex-direction: column; gap: 0; padding: 14px 18px; text-align: center; background: var(--grad-dark); border-color: rgba(255, 255, 255, .12); animation-delay: -4.5s; }
.fc-years strong { font-size: 1.9rem; color: #fff; line-height: 1; }
.fc-years small { color: rgba(255, 255, 255, .75); max-width: 10ch; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 600px) {
  .fc-rating { top: 12px; left: 10px; }
  .fc-guarantee { left: 10px; bottom: 12px; right: 40px; }
  .fc-years { right: 8px; top: auto; bottom: 86px; padding: 10px 12px; }
  .fc-years strong { font-size: 1.4rem; }
  .hero-frame::before { inset: 12px -8px -8px 12px; }
}

/* Info cards overlapping hero */
.info-cards { position: relative; z-index: 2; margin-top: calc(-1 * clamp(64px, 7.5vw, 90px)); }
.info-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .info-grid { grid-template-columns: 1.08fr 1fr 1fr; gap: 18px; } }
.info-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 24px 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid #fff; box-shadow: 0 1px 2px rgba(11, 22, 40, .04), 0 24px 48px -28px rgba(11, 22, 40, .35); transition: transform .3s var(--ease), box-shadow .3s; }
.info-card::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.info-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(11, 22, 40, .04), 0 34px 60px -30px rgba(11, 22, 40, .45); }
.info-card:hover::after { transform: scaleX(1); }
.ic-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-bottom: 18px; }
.info-card .ico-box { width: 48px; height: 48px; border-radius: 15px; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(26, 134, 168, .75); }
.info-card .ico-box .i { width: 23px; height: 23px; }
.info-card h2 { font-size: 1.12rem; margin: 0 0 4px; letter-spacing: -.015em; }
.info-card p { margin: 0 0 14px; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.info-card .big { display: block; margin-bottom: 14px; font-size: clamp(1.3rem, 1.9vw, 1.55rem); font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.02em; line-height: 1.2; }
.info-card .btn { margin-top: auto; }

/* main (dark) card */
.info-card-main { background: var(--grad-dark); border-color: transparent; color: rgba(255, 255, 255, .8); }
.info-card-main::before { content: ""; position: absolute; right: -80px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 182, 203, .5), transparent); pointer-events: none; }
.info-card-main > * { position: relative; z-index: 1; }
.info-card-main h2, .info-card-main .big { color: #fff; }
.info-card-main p { color: rgba(255, 255, 255, .7); }
.info-card-main .ico-box { background: rgba(255, 255, 255, .12); box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); }
.info-card-main .big:hover { color: #8FE3F1; }
.ic-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.ic-actions .btn { margin: 0; }
.ic-round { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background .2s, transform .2s var(--ease); }
.ic-round:hover { background: rgba(255, 255, 255, .2); color: #fff; transform: translateY(-2px); }
.ic-round .i { width: 18px; height: 18px; }
.open-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .12); }
.open-pill i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #9AA3B2; }
.open-pill.is-open { background: rgba(34, 197, 125, .16); border-color: rgba(34, 197, 125, .35); color: #86EFBF; }
.open-pill.is-open i { background: #34D399; }
.open-pill.is-open i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #34D399; animation: ping 2s var(--ease) infinite; }

/* week chips */
.week { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; width: 100%; margin-top: auto; }
.week li { display: grid; place-items: center; height: 34px; border-radius: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .01em; }
.week .on { background: var(--accent-soft); color: var(--accent-2); }
.week .off { background: var(--gray); color: #A3ABB8; text-decoration: line-through; }
.week .is-today { background: var(--grad); color: #fff; box-shadow: 0 10px 18px -10px rgba(26, 134, 168, .8); text-decoration: none; }
.week .off.is-today { background: #E9EDF2; color: var(--muted); box-shadow: none; }

/* map card */
.info-card-map::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    linear-gradient(115deg, transparent 47%, rgba(26, 134, 168, .14) 47.5%, rgba(26, 134, 168, .14) 50.5%, transparent 51%),
    linear-gradient(25deg, transparent 60%, rgba(26, 134, 168, .1) 60.5%, rgba(26, 134, 168, .1) 62.5%, transparent 63%),
    linear-gradient(rgba(11, 26, 53, .045) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, rgba(11, 26, 53, .045) 1px, transparent 1px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(80% 90% at 100% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 90% at 100% 0%, #000 20%, transparent 75%); }
.info-card-map > * { position: relative; z-index: 1; }
.map-dot { position: relative; width: 14px; height: 14px; margin-right: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(26, 134, 168, .5); }
.map-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--aqua); animation: ping 2.4s var(--ease) infinite; }

/* ---------- About intro ---------- */
.about-media { position: relative; display: grid; grid-template-columns: 1fr .8fr; gap: 14px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.about-media .a1 { grid-row: span 2; min-height: 100%; aspect-ratio: 3 / 4; }
.about-media .a2, .about-media .a3 { aspect-ratio: 4 / 3.2; }
.about-media::before { content: ""; position: absolute; left: -22px; bottom: -22px; width: 140px; height: 140px; border-radius: 28px; background-image: radial-gradient(rgba(26, 134, 168, .35) 1.5px, transparent 1.6px); background-size: 14px 14px; z-index: -1; }
.exp-badge { position: absolute; right: 14px; top: -18px; padding: 16px 20px; border-radius: 20px; background: var(--grad); color: #fff; text-align: center; box-shadow: var(--glow); }
.exp-badge strong { display: block; font-size: 2rem; line-height: 1; letter-spacing: -.03em; }
.exp-badge span { font-size: .8rem; font-weight: 600; }

/* ---------- Treatment cards ---------- */
.tgrid { display: grid; gap: 24px; }
@media (min-width: 620px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tgrid { grid-template-columns: repeat(3, 1fr); } }
.tcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; height: 100%; }
.tcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: rgba(45, 182, 203, .35); color: inherit; }
.tcard-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--gray); margin: 8px 8px 0; border-radius: 18px; }
.tcard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 26, 53, 0) 55%, rgba(11, 26, 53, .35)); }
.tcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tcard:hover .tcard-img img { transform: scale(1.06); }
.tcard-cat, .tcard-pop { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; line-height: 1.3; }
.tcard-cat { left: 12px; bottom: 12px; max-width: calc(100% - 24px); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--navy); }
.tcard-cat .i { width: 14px; height: 14px; color: var(--accent); }
.tcard-pop { left: 12px; top: 12px; background: var(--gold); color: #3A2A00; }
.tcard-pop .i { width: 13px; height: 13px; }
.tcard-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.tcard-body h3 { margin-bottom: .35em; font-size: 1.2rem; }
.tcard-body p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; line-height: 1.6; }
.tcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.tcard-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); transition: background .3s, color .3s, transform .3s var(--ease), border-color .3s; }
.tcard-go .i { width: 18px; height: 18px; }
.tcard:hover .tcard-go { background: var(--grad); border-color: transparent; color: #fff; transform: rotate(-45deg); }
.cat-block + .cat-block { margin-top: clamp(48px, 5vw, 72px); }
.cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.cat-head .ico-box { background: var(--grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(26, 134, 168, .7); }
.cat-head h2 { margin: 0; font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.cat-head p { margin: 2px 0 0; color: var(--muted); font-size: .96rem; }

/* ---------- Stats band ---------- */
.stats-band { position: relative; overflow: hidden; background: var(--grad-dark); color: rgba(255, 255, 255, .78); }
.stats-band::before, .stats-band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.stats-band::before { width: 520px; height: 520px; left: -160px; top: -280px; background: radial-gradient(closest-side, rgba(45, 182, 203, .35), transparent); }
.stats-band::after { width: 460px; height: 460px; right: -120px; bottom: -280px; background: radial-gradient(closest-side, rgba(94, 211, 193, .28), transparent); }
.stats-band .wrap { position: relative; z-index: 1; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.stats li { display: grid; gap: 4px; padding: clamp(18px, 2.4vw, 28px); border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stat-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #8FE3F1; }
.stat-ico .i { width: 20px; height: 20px; }
.stats strong { display: block; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: .95rem; }
.stats-light li { background: var(--gray); border-color: var(--line); }
.stats-light strong { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.stats-light span { color: var(--muted); }

/* ---------- Features ---------- */
.feat { list-style: none; display: grid; gap: 18px; }
@media (min-width: 640px) { .feat { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feat-3 { grid-template-columns: repeat(3, 1fr); } }
.feat li { display: flex; gap: 16px; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.feat li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(45, 182, 203, .3); }
.feat h3 { font-size: 1.06rem; margin: 2px 0 .3em; }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* Bento ("why choose us") */
.bento { display: grid; gap: 16px; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento-img { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .bento { grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(3, auto); gap: 18px; } .bento-img { grid-column: 1; grid-row: 1 / span 3; } }
.bento-img { position: relative; min-height: 340px; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); }
.bento-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 26, 53, .05) 20%, rgba(11, 26, 53, .88) 100%); }
.bento-img-in { position: absolute; inset: auto 0 0 0; z-index: 1; display: grid; justify-items: start; gap: 12px; padding: clamp(22px, 3vw, 32px); }
.bento-img-in strong { color: #fff; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; max-width: 18ch; }
.bento-item { position: relative; overflow: hidden; padding: 26px; border-radius: var(--r-lg); background: var(--gray); border: 1px solid var(--line-2); transition: background .25s, box-shadow .25s, transform .25s var(--ease); }
.bento-item:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-3px); }
.bento-item .ico-box { margin-bottom: 16px; }
.bento-item h3 { margin-bottom: .3em; font-size: 1.08rem; }
.bento-item p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.bento-n { position: absolute; right: 20px; top: 16px; font-size: 2.4rem; font-weight: 700; letter-spacing: -.04em; color: rgba(11, 26, 53, .06); line-height: 1; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 820px) { .team-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1080px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.doc { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.doc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.doc-img { position: relative; aspect-ratio: 4 / 4.7; margin: 8px 8px 0; border-radius: 18px; background: radial-gradient(120% 80% at 50% 0%, #E3F4F8 0%, #EEF3F8 60%, #E6ECF3 100%); overflow: hidden; }
.doc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.doc:hover .doc-img img { transform: scale(1.04); }
.doc-body { padding: 16px 18px 20px; text-align: center; }
.doc-body h2, .doc-body h3 { font-size: 1.05rem; margin: 0 0 4px; }
.doc-role { display: inline-block; margin: 0; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-weight: 600; font-size: .82rem; }
.doc-exp { margin: 6px 0 0; color: var(--muted); font-size: .86rem; }
.doc-bio { margin: 10px 0 0; color: var(--text); font-size: .9rem; line-height: 1.55; text-align: left; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } .gallery .g-entry { grid-column: span 2; grid-row: span 2; } .gallery .g-exterior { grid-column: span 2; } }
.gallery figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: var(--gray); min-height: 160px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); font-size: .8rem; font-weight: 600; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 18px; }
@media (min-width: 700px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews { grid-template-columns: .9fr 1fr 1fr 1fr; } }
.rev-summary { position: relative; overflow: hidden; display: grid; justify-items: start; align-content: start; gap: 8px; padding: 28px; border-radius: var(--r-lg); background: var(--grad-dark); color: rgba(255, 255, 255, .78); }
.rev-summary::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 182, 203, .4), transparent); }
.rev-summary > * { position: relative; z-index: 1; }
.rev-g { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; }
.rev-g .g { width: 20px; height: 20px; }
.rev-score { font-size: 3.6rem; line-height: 1; color: #fff; letter-spacing: -.04em; margin-top: 8px; }
.rev-summary .stars .i { width: 1.25em; height: 1.25em; }
.rev-summary p { margin: 0 0 10px; }
.review { position: relative; margin: 0; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: transform .25s var(--ease), box-shadow .25s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review::before { content: "\201C"; position: absolute; right: 22px; top: 4px; font-size: 5.5rem; line-height: 1; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .28; }
.review blockquote { margin: 0; flex: 1; color: var(--ink); }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.review figcaption > span:last-child { display: grid; line-height: 1.35; }
.review figcaption small { color: var(--muted); font-size: .85rem; }
.rating-row { display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin: -16px auto 34px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--muted); font-size: .95rem; }
.rating-row strong { color: var(--ink); font-size: 1.1rem; }
.rating-row .g { width: 22px; height: 22px; }
.rating-row a { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.faq-item:hover { border-color: #CDE5EC; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.01rem; font-weight: 600; line-height: 1.45; letter-spacing: -.005em; }
.faq-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); flex: none; transition: transform .25s var(--ease), background .25s, color .25s; }
.faq-ico .i { width: 16px; height: 16px; }
.faq-item[open] { border-color: rgba(45, 182, 203, .45); box-shadow: 0 16px 36px -24px rgba(26, 134, 168, .55); }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-layout { display: grid; gap: 28px; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.faq-nav a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; transition: border-color .2s, color .2s, background .2s; }
.faq-nav a:hover { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }
.faq-cat { margin-bottom: 44px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.faq-cat h2 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: 260px 1fr; gap: 52px; } .faq-nav { position: sticky; top: calc(var(--hdr-h) + 24px); flex-direction: column; } .faq-nav a { border-radius: 14px; } }

/* ---------- Appointment box (home) ---------- */
.appt-box { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 40px); border-radius: var(--r-xl); background: var(--grad-dark); color: rgba(255, 255, 255, .78); box-shadow: var(--shadow-lg); }
.appt-box::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 182, 203, .42), transparent); }
.appt-box > * { position: relative; z-index: 1; }
.appt-box h2 { color: #fff; font-size: 1.6rem; }
.appt-box ul { list-style: none; display: grid; gap: 10px; margin: 20px 0 24px; }
.appt-box li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.appt-box li .i { color: #8FE3F1; }
.appt-box a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; }
@media (min-width: 960px) { .appt-box { position: sticky; top: calc(var(--hdr-h) + 24px); } }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(56px, 7vw, 96px) 0; }
.section-gray + .cta-band { background: linear-gradient(180deg, var(--gray) 50%, #fff 50%); }
.cta-box { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(32px, 5vw, 60px); border-radius: var(--r-xl); background: var(--grad-dark); color: rgba(255, 255, 255, .78); box-shadow: var(--shadow-lg); }
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.3px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 100%); }
.cta-box::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 182, 203, .45), transparent); }
.cta-box > * { position: relative; z-index: 1; }
.cta-text { flex: 1 1 420px; }
.cta-box h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .35em; }
.cta-box .hl, .page-head .hl, .appt-box .hl, .on-dark .hl { background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; }
.cta-box p { margin: 0; max-width: 58ch; }
.cta-box .label { margin-bottom: 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; margin: 10px clamp(8px, 1vw, 14px) 0; border-radius: clamp(22px, 2.4vw, 32px); background: #0A1833; color: rgba(255, 255, 255, .75); padding: clamp(28px, 4.5vw, 64px) 0 clamp(36px, 5vw, 72px); }
.ph-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--grad-dark); }
.ph-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 90% at 75% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 90% at 75% 40%, #000 0%, transparent 75%); }
.ph-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(8, 20, 43, .35)); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; animation: drift 18s ease-in-out infinite alternate; }
.o1 { width: 420px; height: 420px; right: 4%; top: -160px; background: rgba(45, 182, 203, .55); }
.o2 { width: 360px; height: 360px; left: -120px; bottom: -200px; background: rgba(94, 211, 193, .32); animation-delay: -6s; }
.o3 { width: 280px; height: 280px; left: 42%; top: 30%; background: rgba(76, 110, 245, .22); animation-delay: -12s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
.ph-grid { position: relative; display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .ph-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } .ph-compact .ph-grid { grid-template-columns: minmax(0, 1fr); } }
.ph-text { min-width: 0; }
.crumbs ol { list-style: none; display: inline-flex; flex-wrap: wrap; gap: 6px; max-width: 100%; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: rgba(255, 255, 255, .62); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: rgba(255, 255, 255, .35); }
.crumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.page-head .label { display: flex; width: fit-content; margin: 20px 0 0; }
.page-head h1 { margin: 18px 0 14px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: #fff; max-width: 18ch; }
.page-head .label + h1 { margin-top: 14px; }
.page-head .lead { margin: 0; color: rgba(255, 255, 255, .74); max-width: 56ch; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ph-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.ph-trust li { display: inline-flex; align-items: center; gap: 7px; }
.ph-trust .i { width: 17px; height: 17px; color: #8FE3F1; }
.ph-trust .stars .i { color: var(--gold); width: .95em; height: .95em; }
.ph-trust b { color: #fff; }
.ph-compact { padding-bottom: clamp(32px, 4vw, 56px); }
.ph-compact h1 { max-width: 24ch; }

/* right-hand visual */
.ph-visual { position: relative; min-width: 0; }
.ph-frame { position: relative; padding: 6px; border-radius: 30px; background: linear-gradient(135deg, rgba(143, 227, 241, .55), rgba(255, 255, 255, .08) 40%, rgba(94, 211, 193, .45)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.ph-frame img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: 24px; }
.ph-chip { position: absolute; display: flex; align-items: center; gap: 11px; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .6); animation: floaty 7s ease-in-out infinite; max-width: 270px; }
.ph-chip small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.ph-chip strong { display: flex; align-items: center; gap: 6px; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.ph-chip .ico-box { width: 38px; height: 38px; border-radius: 12px; }
.ph-chip .ico-box .i { width: 19px; height: 19px; }
.ph-rating { top: -14px; left: 22px; padding-left: 12px; }
.ph-rating .g { width: 26px; height: 26px; }
.ph-chip.c1 { left: -22px; bottom: 30px; animation-delay: -2.4s; }
.ph-chip.c2 { right: -16px; top: 42%; animation-delay: -4.6s; }

/* doctor collage */
.ph-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.ph-docs figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #E3F4F8 0%, #EEF3F8 60%, #E6ECF3 100%); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.ph-docs figure:nth-child(2) { transform: translateY(-26px); }
.ph-docs img { width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; object-position: top; }
.ph-docs figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); font-size: .74rem; font-weight: 700; line-height: 1.25; text-align: center; }
.ph-docs + .ph-chip.c1 { position: relative; left: auto; right: auto; bottom: auto; width: fit-content; margin: 22px auto 0; }

/* quick contact card */
.ph-contact { display: grid; gap: 8px; padding: 22px; border-radius: 26px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.ph-contact-t { display: flex; align-items: center; gap: 9px; margin: 0 0 6px; color: #fff; font-weight: 700; font-size: 1.05rem; }
.ph-contact-t .i { color: #8FE3F1; }
.ph-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); color: #fff; text-decoration: none; transition: background .2s, border-color .2s, transform .2s var(--ease); }
a.ph-row:hover { background: rgba(255, 255, 255, .1); border-color: rgba(143, 227, 241, .35); color: #fff; transform: translateX(3px); }
.ph-row .ico-box { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #8FE3F1; }
.ph-row .ico-box .i { width: 19px; height: 19px; }
.ph-row .ico-wa { background: rgba(37, 211, 102, .18); color: #4BE38A; }
.ph-row > span:nth-child(2) { flex: 1; min-width: 0; }
.ph-row small { display: block; font-size: .74rem; color: rgba(255, 255, 255, .6); }
.ph-row strong { display: block; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-row .go { width: 16px; height: 16px; color: rgba(255, 255, 255, .45); }

@media (max-width: 959px) {
  .ph-visual { max-width: 560px; }
  .ph-chip.c2, .ph-rating { display: none; }
  .ph-chip.c1 { left: 12px; bottom: 12px; }
  .ph-frame img { aspect-ratio: 16 / 10; }
  .ph-docs + .ph-chip.c1 { margin-top: 16px; }
}
@media (max-width: 600px) {
  .ph-trust li:nth-child(3) { display: none; }
  .ph-docs { gap: 8px; }
  .ph-docs figcaption { font-size: .66rem; padding: 4px 6px; }
}

/* ---------- Content layout with sidebar ---------- */
.layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 60px; align-items: start; } .sidebar { align-self: stretch; } .side-sticky { position: sticky; top: calc(var(--hdr-h) + 20px); } }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-top: 1.9em; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 72ch; }
.prose-narrow { max-width: 820px; }
.feature-img { margin: 0 0 26px; border-radius: var(--r-lg); overflow: hidden; background: var(--gray); box-shadow: var(--shadow); }
.feature-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.summary { position: relative; font-size: 1.08rem; color: var(--ink); padding: 20px 22px 20px 26px; background: linear-gradient(135deg, #EAF6F9, #EFFAF7); border-radius: var(--r); margin: 0 0 8px; overflow: hidden; }
.summary::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad); }
.psteps { list-style: none; display: grid; margin: 1.3rem 0 1.6rem; }
.psteps li { display: flex; gap: 16px; position: relative; padding-bottom: 22px; }
.psteps li:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 2px; background: linear-gradient(180deg, rgba(45, 182, 203, .5), var(--line)); }
.psteps-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; flex: none; box-shadow: 0 10px 20px -10px rgba(26, 134, 168, .7); }
.psteps h3 { font-size: 1.05rem; margin: 9px 0 .2em; }
.psteps p { margin: 0; color: var(--muted); }
.benefits { list-style: none; display: grid; gap: 12px; margin: 1.3rem 0 1.6rem; }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--gray); border: 1px solid var(--line-2); color: var(--ink); font-weight: 500; }
.benefits .i { color: #fff; width: 1.4em; height: 1.4em; padding: .22em; border-radius: 50%; background: var(--grad); margin-top: .1em; }
.plan-box { padding: clamp(22px, 3vw, 30px); border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--gray)); margin: 1.3rem 0; }
.plan-box .checks { margin: 0 0 18px; }
.updated { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; margin-top: 38px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.updated .i { width: 1em; height: 1em; }

.side-card { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.side-card + .side-card { margin-top: 18px; }
.side-card h2 { font-size: 1.1rem; margin-bottom: 12px; }
.facts { margin: 0; display: grid; }
.facts div { display: grid; grid-template-columns: 128px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: .93rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.side-list { list-style: none; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.side-list a:hover { background: var(--gray); color: var(--accent-2); }
.side-list a[aria-current] { background: var(--accent-soft); color: var(--accent-2); font-weight: 700; }
.side-list .i { width: 14px; height: 14px; color: #A7B0BD; }
.facts-card { padding: 0; overflow: hidden; }
.facts-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: linear-gradient(135deg, #EAF6F9, #EFFAF7); border-bottom: 1px solid var(--line-2); }
.facts-head::after { content: ""; position: absolute; right: -40px; top: -50px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 182, 203, .22), transparent); }
.facts-head .ico-box { width: 44px; height: 44px; border-radius: 14px; }
.facts-head .ico-box .i { width: 21px; height: 21px; }
.facts-head h2 { margin: 0; font-size: 1.06rem; }
.facts-head p { margin: 0; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.facts-grid { margin: 0; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { display: grid; align-content: start; gap: 2px; padding: 14px; border-radius: 16px; background: var(--gray); border: 1px solid var(--line-2); transition: background .2s, border-color .2s, transform .2s var(--ease); }
.fact:hover { background: #fff; border-color: rgba(45, 182, 203, .35); transform: translateY(-2px); }
.fact-wide { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; }
.fact-ico { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 10px; background: #fff; color: var(--accent-2); box-shadow: 0 4px 10px -6px rgba(11, 22, 40, .35); }
.fact-ico .i { width: 17px; height: 17px; }
.fact-wide .fact-ico { grid-row: span 2; margin: 0; }
.fact dt { font-size: .76rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
.fact dd { margin: 0; font-size: .97rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.fact-hi, .fact-hi:hover { background: var(--grad-dark); border-color: transparent; }
.fact-hi dt { color: rgba(255, 255, 255, .65); }
.fact-hi dd { color: #fff; }
.fact-hi .fact-ico { background: rgba(255, 255, 255, .12); color: #8FE3F1; box-shadow: none; }
.side-form { padding: 0; overflow: hidden; box-shadow: var(--shadow); }
.sf-head { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 18px; background: var(--grad-dark); color: rgba(255, 255, 255, .74); }
.sf-head::after { content: ""; position: absolute; right: -70px; top: -80px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 182, 203, .45), transparent); pointer-events: none; }
.sf-head > * { position: relative; z-index: 1; }
.sf-head .ico-box { width: 42px; height: 42px; border-radius: 13px; }
.sf-head .ico-box .i { width: 20px; height: 20px; }
.sf-head h2 { margin: 0 0 3px; color: #fff; font-size: 1.1rem; }
.sf-head p { margin: 0; font-size: .86rem; line-height: 1.5; }
.sf-body { padding: 18px 20px 20px; }
.form-compact { gap: 12px; }
.field-stack { display: grid; gap: 12px; }
.form-compact input[type="text"], .form-compact input[type="tel"], .form-compact select { min-height: 46px; }
.form-compact .consent { font-size: .8rem; }
.form-compact .form-note { display: none; }
.form-compact .btn-lg { min-height: 50px; }
.form-compact .form-done { padding: 12px 0 4px; }
.form-compact .form-done h3 { font-size: 1.25rem; }
.sf-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.sf-alt .btn { padding-inline: .6em; font-size: .86rem; }
.side-appt { position: relative; overflow: hidden; background: var(--grad-dark); border-color: transparent; color: rgba(255, 255, 255, .78); box-shadow: var(--shadow); }
.side-appt::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 182, 203, .4), transparent); }
.side-appt > * { position: relative; z-index: 1; }
.side-appt h2 { color: #fff; }
.side-appt p { font-size: .94rem; }
.side-appt .btn + .btn { margin-top: 10px; }
.side-appt .phone { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 700; text-decoration: none; justify-content: center; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table thead th { background: var(--gray); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th a { color: var(--ink); font-weight: 600; text-decoration: none; }
.table tbody th a:hover { color: var(--accent-2); }
.table td { color: var(--muted); }

/* ---------- Journey ---------- */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 16px; box-shadow: 0 10px 20px -10px rgba(26, 134, 168, .7); }
.step h3 { font-size: 1.06rem; margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.itin { list-style: none; display: grid; gap: 10px; }
.itin li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.itin-day { display: grid; place-items: center; min-width: 60px; padding: 6px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); font-weight: 700; font-size: .8rem; text-align: center; line-height: 1.15; }
.itin-day b { display: block; font-size: 1.15rem; }
.itin h3 { font-size: 1rem; margin: 2px 0 .15em; color: var(--ink); }
.itin p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Certificates ---------- */
.certs { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .certs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .certs { grid-template-columns: repeat(3, 1fr); } }
.cert { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert h3 { font-size: 1.02rem; margin: 2px 0 .2em; }
.cert p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; position: relative; }
.form-card { position: relative; padding: clamp(24px, 3.5vw, 38px); border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.form-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 4px; border-radius: 0 0 6px 6px; background: var(--grad); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); margin: 0 0 20px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px; padding: .7em .95em; border: 1.5px solid var(--line); border-radius: 14px; background: var(--gray); font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; }
input:hover, select:hover, textarea:hover { border-color: #D2DAE5; }
textarea { resize: vertical; min-height: 104px; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.4em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1A35' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9em center; background-size: 1em; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--aqua); background-color: #fff; box-shadow: 0 0 0 4px rgba(45, 182, 203, .16); }
.field.has-error input { border-color: var(--danger); background: #FFF7F6; }
.field-err { margin: 0; font-size: .84rem; color: var(--danger); }
.field-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent-2); flex: none; }
.form-note { display: flex; gap: .5em; align-items: flex-start; margin: 0; font-size: .85rem; color: var(--muted); }
.form-note .i { width: 1em; height: 1em; margin-top: .25em; color: var(--accent); }
.form-done { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: clamp(24px, 4vw, 40px) 12px; }
.form-done[hidden], [hidden] { display: none !important; }
.form-done .ico-box { width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: var(--glow); }
.form-done .ico-box .i { width: 34px; height: 34px; }
.form-done h3 { font-size: 1.5rem; margin: 8px 0 0; }
.form-done p { color: var(--muted); max-width: 40ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.contact-list li:hover { border-color: rgba(45, 182, 203, .4); box-shadow: var(--shadow); }
.contact-list strong { display: block; color: var(--ink); }
.contact-list span, .contact-list a { color: var(--muted); text-decoration: none; }
.contact-list a:hover { color: var(--accent-2); }
.contact-list .ico-box { width: 48px; height: 48px; }
.contact-list .wa .ico-box { background: #E2F8EA; color: #128C4A; }
.map { position: relative; overflow: hidden; min-height: 380px; border-radius: var(--r-xl); background: var(--gray-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: grid; place-items: center; }
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(.3); }
.map-ph-in { position: relative; display: grid; justify-items: center; gap: 8px; padding: 26px; text-align: center; max-width: 420px; margin: 16px; border-radius: 22px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.map-ph-in strong { color: var(--ink); }
.map-ph-in p { color: var(--text); font-size: .9rem; margin: 0 0 6px; }
.map-pin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: var(--glow); }

/* ---------- Footer ---------- */
.ftr { position: relative; overflow: hidden; background: #08142B; color: rgba(255, 255, 255, .66); padding: clamp(56px, 7vw, 88px) 0 24px; font-size: .95rem; }
.ftr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.ftr::after { content: ""; position: absolute; left: -200px; top: -260px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 134, 168, .2), transparent); pointer-events: none; }
.ftr > * { position: relative; z-index: 1; }
.ftr-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .ftr-grid { grid-template-columns: 1.4fr .9fr 1fr 1.3fr; gap: 48px; } }
.ftr-brand img { width: 200px; margin-bottom: 18px; }
.ftr-brand p { max-width: 40ch; }
.ftr-h { font-size: .8rem; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: .1em; text-transform: uppercase; }
.ftr-links { list-style: none; display: grid; gap: 9px; }
.ftr a { color: rgba(255, 255, 255, .74); text-decoration: none; transition: color .2s; }
.ftr a:hover { color: #fff; }
.ftr-links a:hover { color: #8FE3F1; }
.ftr-contact p { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; }
.ftr-contact .i { margin-top: .2em; width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #8FE3F1; }
.social { list-style: none; display: flex; gap: 8px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, transform .2s var(--ease); }
.social a:hover { background: var(--accent); transform: translateY(-2px); color: #fff; }
.social .i { width: 18px; height: 18px; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: .86rem; }
.ftr-bottom p { margin: 0; }
.ftr-langs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ftr-langs a[aria-current] { color: #fff; font-weight: 700; }
.ftr-note { margin-top: 12px; font-size: .78rem; color: rgba(255, 255, 255, .42); }
.ftr-note .link-btn { color: rgba(255, 255, 255, .6); }

/* ---------- Top bar callback button ---------- */
.tb-cb { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--grad); color: #fff; font-size: .8rem; font-weight: 700; cursor: pointer; transition: filter .2s, transform .2s var(--ease); }
.tb-cb:hover { filter: brightness(1.08); transform: translateY(-1px); }
.topbar .tb-cb .i { color: #fff; width: 14px; height: 14px; }

/* ---------- Trust / technology marquee ---------- */
.trust-strip { padding: clamp(30px, 4vw, 44px) 0 0; overflow: hidden; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; display: flex; gap: 12px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-sm); }
.marquee-track .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- Dark section ---------- */
.section-dark { position: relative; overflow: hidden; background: var(--grad-dark); color: rgba(255, 255, 255, .75); }
.section-dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent 80%); mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent 80%); pointer-events: none; }
.section-dark::after { content: ""; position: absolute; right: -180px; bottom: -220px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 182, 203, .3), transparent); pointer-events: none; }
.section-dark .wrap { position: relative; z-index: 1; }
.on-dark h2 { color: #fff; }
.on-dark .lead { color: rgba(255, 255, 255, .72); }

/* ---------- Video testimonials ---------- */
.vgrid { display: grid; gap: 16px; }
@media (min-width: 640px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vgrid { grid-template-columns: repeat(3, 1fr); gap: 18px; } .vcard-lg { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; } }
.vcard { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; overflow: hidden; background: #0A1630; cursor: pointer; text-align: left; color: #fff; isolation: isolate; }
.vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); z-index: -1; }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 43, 0) 40%, rgba(8, 20, 43, .85)); z-index: -1; }
.vcard:hover img { transform: scale(1.05); }
.vplay { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .45); transition: transform .3s var(--ease), background .3s; }
.vplay::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); animation: ping 2.6s var(--ease) infinite; }
.vplay .i { width: 26px; height: 26px; margin-left: 3px; color: #fff; }
.vcard-lg .vplay { width: 72px; height: 72px; right: 22px; bottom: 22px; }
.vcard-lg .vplay .i { width: 30px; height: 30px; }
.vcard-lg .vmeta { left: 22px; bottom: 22px; right: 110px; }
.vcard:hover .vplay { transform: scale(1.08); background: var(--grad); }
.vmeta { position: absolute; left: 16px; right: 84px; bottom: 16px; display: grid; gap: 2px; }
.vmeta strong { font-size: 1rem; line-height: 1.25; }
.vcard-lg .vmeta strong { font-size: 1.3rem; }
.vmeta small { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255, 255, 255, .75); }
.vmeta small .i { width: 12px; height: 12px; }

/* ---------- Dialogs ---------- */
.modal { padding: 0; border: 0; background: transparent; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); overflow: visible; color: var(--text); }
.modal::backdrop { background: rgba(8, 20, 43, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .28s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-card { position: relative; width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; padding: 26px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); }
.modal-x { position: absolute; right: 14px; top: 14px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.modal-x:hover { background: var(--gray); }
.modal-x .i { width: 18px; height: 18px; }
.modal-head { display: flex; gap: 14px; align-items: flex-start; margin: 0 40px 18px 0; }
.modal-head h2 { font-size: 1.3rem; margin: 2px 0 4px; }
.modal-head p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.modal-video .modal-card { width: min(960px, calc(100vw - 24px)); padding: 0; background: #000; border-radius: 20px; overflow: hidden; }
.modal-video video { display: block; width: 100%; max-height: calc(100vh - 110px); background: #000; }
.modal-video .modal-x { background: rgba(255, 255, 255, .9); border-color: transparent; }
.modal-cap { margin: 0; padding: 12px 18px; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .95rem; background: #0A1630; }
body.modal-open { overflow: hidden; }

/* ---------- Real smiles: 3D coverflow ---------- */
.section-smiles { overflow: hidden; }
.cf { position: relative; height: clamp(380px, 40vw, 500px); margin-top: clamp(10px, 2vw, 24px); perspective: 1400px; touch-action: pan-y; }
.cf::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 22, 40, .18), transparent); pointer-events: none; }
.cf-stage { position: absolute; inset: 0 0 24px; transform-style: preserve-3d; }
.cf-item { position: absolute; left: 50%; top: 50%; width: clamp(200px, 26vw, 330px); aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 26px; overflow: hidden; background: var(--gray); box-shadow: 0 40px 70px -34px rgba(11, 22, 40, .6); cursor: pointer; transform: translate(-50%, -50%); transition: transform .65s var(--ease), opacity .65s var(--ease), filter .65s var(--ease); will-change: transform; -webkit-tap-highlight-color: transparent; }
.cf-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-select: none; }
.cf-item.is-active { cursor: zoom-in; box-shadow: 0 50px 80px -36px rgba(11, 22, 40, .7), 0 0 0 1px rgba(255, 255, 255, .6) inset; }
.cf-item:focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; }
.cf-nav { position: absolute; top: calc(50% - 12px); z-index: 200; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); color: var(--navy); box-shadow: 0 12px 28px -14px rgba(11, 22, 40, .45); cursor: pointer; transform: translateY(-50%); transition: background .2s, color .2s, transform .2s var(--ease); }
.cf-nav:hover { background: var(--navy); color: #fff; }
.cf-nav .i { width: 20px; height: 20px; }
.cf-prev { left: 0; }
.cf-next { right: 0; }
.cf-dots { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.cf-dots i { width: 7px; height: 7px; border-radius: 99px; background: #CBD3DE; transition: width .35s var(--ease), background .35s; }
.cf-dots i.on { width: 24px; background: var(--grad); }
.modal-photo .modal-card { width: auto; max-width: min(620px, calc(100vw - 24px)); padding: 0; background: #0A1630; border-radius: 22px; overflow: hidden; }
.modal-photo img { display: block; width: 100%; max-height: calc(100vh - 40px); object-fit: contain; }
.modal-photo .modal-x { background: rgba(255, 255, 255, .9); border-color: transparent; }
@media (max-width: 640px) { .cf-nav { width: 44px; height: 44px; } .cf-item { width: 62vw; } }

@media (prefers-reduced-motion: reduce) { .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; } .marquee-track li[aria-hidden] { display: none; } .marquee { -webkit-mask-image: none; mask-image: none; } }

/* ---------- Blog ---------- */
.section-tight { padding-top: clamp(40px, 5vw, 64px); }
.ph-meta { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .78); font-size: .86rem; }
.ph-meta .i { width: 15px; height: 15px; color: #8FE3F1; }
.ph-search { position: relative; display: flex; align-items: center; max-width: 560px; margin-top: 26px; }
.ph-search .i { position: absolute; left: 20px; width: 20px; height: 20px; color: rgba(255, 255, 255, .6); pointer-events: none; z-index: 1; }
.ph-search input { width: 100%; min-height: 56px; padding: 0 22px 0 52px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1rem; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .2s, background .2s, box-shadow .2s; }
.ph-search input::placeholder { color: rgba(255, 255, 255, .55); }
.ph-search input:focus { outline: none; border-color: rgba(143, 227, 241, .75); background: rgba(255, 255, 255, .13); box-shadow: 0 0 0 4px rgba(45, 182, 203, .22); }

/* category colours */
.cat-implant { --cc: #1A86A8; } .cat-aesthetic { --cc: #8B5CF6; } .cat-care { --cc: #16A06F; } .cat-general { --cc: #E08A1E; } .cat-tourism { --cc: #4C6EF5; }
.pcard-cat i, .latest-txt small i, .cat-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--cc, var(--accent)); }

/* featured + latest */
.blog-feature { display: grid; gap: 22px; }
@media (min-width: 1000px) { .blog-feature { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: stretch; } }
.feat-post { display: grid; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
@media (min-width: 700px) { .feat-post { grid-template-columns: 1.05fr 1fr; } }
.feat-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.feat-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
@media (min-width: 700px) { .feat-img { aspect-ratio: auto; min-height: 320px; } }
.feat-img img, .feat-img .cover-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feat-post:hover .feat-img img { transform: scale(1.04); }
.feat-body { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); }
.feat-body .label { width: fit-content; margin-bottom: 14px; }
.feat-body h2 { margin: 0 0 12px; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.2; }
.feat-body > p:not(.label) { margin: 0 0 22px; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.feat-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.latest { padding: 20px; border-radius: var(--r-xl); background: var(--gray); border: 1px solid var(--line-2); }
.latest-h { display: flex; align-items: center; gap: 8px; margin: 2px 4px 12px; font-size: 1.05rem; }
.latest-h .i { width: 18px; height: 18px; color: var(--accent); }
.latest ol { list-style: none; display: grid; gap: 6px; }
.latest a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; color: inherit; text-decoration: none; transition: background .2s, box-shadow .2s; }
.latest a:hover { background: #fff; box-shadow: var(--shadow-sm); color: inherit; }
.latest-img { position: relative; flex: none; width: 88px; height: 72px; border-radius: 12px; overflow: hidden; background: #fff; }
.latest-img img, .latest-img .cover-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.latest-img .cover-art .i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; }
.latest-txt { display: grid; gap: 3px; min-width: 0; }
.latest-txt small { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--muted); }
.latest-txt strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; line-height: 1.3; color: var(--ink); }
.latest-txt em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: .75rem; color: var(--muted); }
.latest-txt em .i { width: 12px; height: 12px; }

/* toolbar */
.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 26px; }
.blog-list-h { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.blog-list-h b { display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 9px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .85rem; letter-spacing: 0; }
.blog-filter { display: flex; gap: 8px; max-width: 100%; margin: 0; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.blog-filter::-webkit-scrollbar { display: none; }
@media (max-width: 700px) { .blog-filter { margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); } }
@media (min-width: 701px) { .blog-toolbar { flex-direction: column; align-items: flex-start; } .blog-filter { flex-wrap: wrap; overflow: visible; } }
.chip-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip-btn b { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gray); color: var(--muted); font-size: .72rem; }
.chip-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.chip-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-btn.is-active b { background: rgba(255, 255, 255, .16); color: #fff; }

/* cards */
.pgrid { display: grid; gap: 22px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pcard { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; color: inherit; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(45, 182, 203, .35); color: inherit; }
.pcard[hidden] { display: none !important; }
.pcard-img { position: relative; aspect-ratio: 16 / 10; margin: 8px 8px 0; border-radius: 18px; overflow: hidden; background: var(--gray); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-cat { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 24px); padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); font-size: .74rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 18px; }
.pcard h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 8px; font-size: 1.08rem; line-height: 1.32; }
.pcard-body > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 16px; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); }
.pcard-meta { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.pcard-meta .i { width: 14px; height: 14px; color: var(--accent); }
.pcard-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); transition: background .3s, color .3s, transform .3s var(--ease), border-color .3s; }
.pcard-go .i { width: 16px; height: 16px; }
.pcard:hover .pcard-go { background: var(--grad); border-color: transparent; color: #fff; transform: rotate(-45deg); }
.blog-empty { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 40px 20px; border-radius: var(--r-lg); background: #fff; border: 1px dashed var(--line); color: var(--muted); font-weight: 600; }
.blog-empty .i { width: 20px; height: 20px; }
.cover-art { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; background: var(--grad-dark); overflow: hidden; }
.cover-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.3px); background-size: 18px 18px; }
.cover-art::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 182, 203, .55), transparent); }
.cover-art .i { position: relative; z-index: 1; width: 64px; height: 64px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #A9F0DF; }
.cover-aesthetic { background: linear-gradient(135deg, #14305E, #1A86A8 70%, #2DB6CB); }
.cover-care { background: linear-gradient(135deg, #0B1A35, #0F4A6A 60%, #2FB7A4); }
.cover-tourism { background: linear-gradient(135deg, #0B1A35, #15315F 55%, #4C6EF5); }
.post-body { font-size: 1.06rem; }
.post-body > p:first-of-type { font-size: 1.14rem; color: var(--ink); }
.post-body h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 1.6em 0 .55em; }
.post-body h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.post-body ul, .post-body ol { margin: 0 0 1.3em; padding-left: 0; list-style: none; display: grid; gap: .55em; counter-reset: li; }
.post-body li { position: relative; padding-left: 34px; }
.post-body ul li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(45, 182, 203, .15); }
.post-body ol li { counter-increment: li; }
.post-body ol li::before { content: counter(li); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-2); font-size: .78rem; font-weight: 700; }
.post-body strong { color: var(--ink); }
.post-cover { margin: 0 0 28px; aspect-ratio: 16 / 8; border-radius: var(--r-lg); overflow: hidden; background: var(--gray); box-shadow: var(--shadow); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.side-treat { display: block; padding: 0; overflow: hidden; color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; margin-bottom: 18px; }
.side-treat:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.side-treat img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.side-treat-body { display: grid; gap: 2px; padding: 14px 18px 16px; }
.side-treat-body small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.side-treat-body strong { color: var(--ink); font-size: 1.05rem; }
.side-treat-body .link-arrow { margin-top: 6px; font-size: .92rem; }
.side-treat + .side-card { margin-top: 0; }
.home-blog .pgrid { margin-bottom: 0; }

/* ---------- Team page ---------- */
.team-stats-sec { position: relative; z-index: 2; margin-top: -34px; }
.team-stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 14px; border-radius: var(--r-xl); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid #fff; box-shadow: 0 24px 50px -28px rgba(11, 22, 40, .4); }
@media (min-width: 900px) { .team-stats { grid-template-columns: repeat(4, 1fr); } }
.team-stats li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--gray); }
.ts-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -12px rgba(26, 134, 168, .8); }
.ts-ico .i { width: 21px; height: 21px; }
.team-stats strong { display: block; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.team-stats small { display: block; font-size: .8rem; line-height: 1.3; color: var(--muted); }

/* founder spotlight */
.founder { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(18px, 2.5vw, 28px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 860px) { .founder { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.founder-img { position: relative; aspect-ratio: 4 / 4.4; border-radius: 26px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #DDF2F7 0%, #EAF1F7 60%, #E2EAF2 100%); }
.founder-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-chip { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); font-weight: 700; font-size: .88rem; box-shadow: 0 12px 26px -16px rgba(11, 22, 40, .5); }
.founder-chip .i { width: 18px; height: 18px; color: var(--accent); }
.founder-body { padding: 4px clamp(0px, 1.5vw, 16px) 8px 0; }
.founder-body h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.founder-body .lead { margin-bottom: 22px; }
.founder-facts { list-style: none; display: grid; gap: 10px; margin: 0 0 26px; }
@media (min-width: 560px) { .founder-facts { grid-template-columns: 1fr 1fr; } }
.founder-facts li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--gray); color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.35; }
.founder-facts .i { flex: none; width: 22px; height: 22px; color: var(--accent); }

/* doctor cards */
.dgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .dgrid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1080px) { .dgrid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.dcard { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; scroll-margin-top: calc(var(--hdr-h) + 24px); }
.dcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(45, 182, 203, .35); }
.dcard:target { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(45, 182, 203, .25), var(--shadow-lg); }
.dcard-img { position: relative; aspect-ratio: 1 / 1.05; margin: 8px 8px 0; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #DDF2F7 0%, #EAF1F7 60%, #E2EAF2 100%); }
.dcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.dcard:hover .dcard-img img { transform: scale(1.05); }
.dcard-ph { display: grid; place-items: center; width: 100%; height: 100%; color: #A7B0BD; }
.dcard-ph .i { width: 48px; height: 48px; }
.dcard-exp { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); font-size: .74rem; font-weight: 700; }
.dcard-exp .i { width: 14px; height: 14px; color: var(--accent); }
.dcard-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.dcard-name { margin: 0 0 4px; font-size: 1.04rem; line-height: 1.3; }
.dcard-role { margin: 0 0 14px; color: var(--accent-2); font-weight: 600; font-size: .86rem; }
.dcard-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.dcard-actions .btn { flex: 1; min-width: 0; padding-inline: .8em; }
.dcard-wa { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #E2F8EA; color: #128C4A; transition: background .2s, color .2s, transform .2s var(--ease); }
.dcard-wa:hover { background: var(--wa); color: var(--wa-ink); transform: translateY(-2px); }
.dcard-wa .i { width: 19px; height: 19px; }
@media (max-width: 480px) { .dcard-actions .btn { font-size: .8rem; } .dcard-actions .btn .i { display: none; } .dcard-name { font-size: .95rem; } }

/* approach */
.appr-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .appr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .appr-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* doctor profile dialog */
.modal-doc .modal-card { width: min(820px, calc(100vw - 24px)); padding: 0; overflow: auto; }
.dm-grid { display: grid; }
@media (min-width: 680px) { .dm-grid { grid-template-columns: .85fr 1.15fr; } }
.dm-img { position: relative; aspect-ratio: 4 / 4.2; background: radial-gradient(120% 80% at 50% 0%, #DDF2F7 0%, #EAF1F7 60%, #E2EAF2 100%); }
@media (min-width: 680px) { .dm-img { aspect-ratio: auto; min-height: 100%; } }
.dm-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.dm-body { padding: clamp(22px, 3vw, 34px); }
.dm-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 8px; }
.dm-exp { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-weight: 700; font-size: .85rem; }
.dm-exp .i { width: 16px; height: 16px; }
.dm-bio { color: var(--text); line-height: 1.7; margin: 0 0 22px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 55; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--wa-ink); box-shadow: 0 14px 30px -10px rgba(15, 122, 61, .65); transition: transform .25s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.07); color: var(--wa-ink); }
.wa-float .i { width: 30px; height: 30px; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
body.nav-open .wa-float { display: none; }

/* ---------- Cookie notice ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; display: grid; gap: 14px; max-width: 520px; padding: 20px 22px; border-radius: 22px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.55; }
.cookie p { margin: 0; color: var(--text); }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (min-width: 640px) { .cookie { left: 24px; right: auto; bottom: 24px; } }

/* ---------- Root / language chooser & 404 ---------- */
.page-root { background: #F3F8FB; }
.root { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 32px var(--gutter); overflow: hidden; }
.root::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 85% 10%, rgba(45, 182, 203, .25), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(94, 211, 193, .18), transparent 70%); }
.root-card { position: relative; width: 100%; max-width: 680px; text-align: center; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow-lg); }
.root-card > img { margin: 0 auto 26px; width: 230px; }
.root-card h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.root-card > p { color: var(--muted); }
.root-langs { list-style: none; display: grid; gap: 10px; margin: 28px 0; text-align: left; }
@media (min-width: 560px) { .root-langs { grid-template-columns: 1fr 1fr; } }
.root-langs a { display: flex; align-items: center; gap: 14px; padding: 13px 15px; border-radius: 16px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s, transform .2s var(--ease); }
.root-langs a:hover { border-color: var(--aqua); background: var(--accent-soft); transform: translateY(-2px); }
.root-langs a > span:last-child { display: grid; line-height: 1.3; }
.root-langs small { color: var(--muted); font-size: .84rem; }
.root-contact { font-size: .92rem; }
.err-code { font-size: 5rem; font-weight: 700; line-height: 1; margin: 0 0 10px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
@media print { .topbar, .hdr, .wa-float, .dock, .cta-band, .ftr-langs, .cookie { display: none !important; } .page-head { background: none; color: var(--text); } .page-head h1 { color: var(--ink); } }

/* ---------- Mobile action dock + appointment sheet ---------- */
.dock { display: none; }
@media (max-width: 1199px) {
  :root { --dock-h: 62px; --dock-gap: 12px; }
  .wa-float { display: none; }
  .dock { position: fixed; left: var(--dock-gap); right: var(--dock-gap); bottom: calc(var(--dock-gap) + env(safe-area-inset-bottom)); z-index: 62; display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; max-width: 480px; height: var(--dock-h); margin-inline: auto; filter: drop-shadow(0 0 .5px rgba(11, 26, 53, .22)) drop-shadow(0 10px 18px rgba(11, 26, 53, .14)); animation: dock-in .5s var(--ease) .2s both; transition: transform .35s var(--ease), opacity .25s; }
  .dock-bar { position: absolute; inset: 0; z-index: -1; border-radius: 26px; background: linear-gradient(180deg, #FFFFFF 0%, #FBFCFE 100%); -webkit-mask: radial-gradient(circle 37px at 50% 0, transparent 36px, #000 37px); mask: radial-gradient(circle 37px at 50% 0, transparent 36px, #000 37px); }
  .dock-it, .dock-cta { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; padding: 0 2px; border: 0; background: none; font: inherit; color: #1C3A60; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .dock-it .i { width: 23px; height: 23px; stroke-width: 1.8; }
  .dock-it:hover { color: var(--navy); }
  .dock-it:active .dock-ic { transform: scale(.9); }
  .dock-it:focus-visible, .dock-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 14px; }
  .dock-ic { position: relative; display: grid; place-items: center; width: 44px; height: 30px; border-radius: 999px; color: #1C3A60; transition: transform .2s var(--ease), background .2s, color .2s; }
  .dock-it:hover .dock-ic, .dock-it:focus-visible .dock-ic { background: rgba(26, 134, 168, .1); color: #0F6E8C; }
  .dock-lb { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .66rem; font-weight: 600; line-height: 1; letter-spacing: .01em; color: #5A6B82; transition: color .2s; }
  .dock-it:hover .dock-lb { color: var(--navy); }
  .dock-menu .i-x { display: none; }
  .dock-menu[aria-expanded="true"] .i-x { display: block; }
  .dock-menu[aria-expanded="true"] .i-menu { display: none; }
  .dock-menu[aria-expanded="true"] .dock-ic { background: rgba(26, 134, 168, .12); color: #0F6E8C; }
  .dock-menu[aria-expanded="true"] .dock-lb { color: #0F6E8C; }
  .dock-live { position: absolute; top: 1px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 2px #fff; }
  .dock-cta { justify-content: flex-end; padding-bottom: 11px; }
  .dock-cta .dock-lb { font-weight: 700; color: #0F6E8C; }
  .dock-fab { position: absolute; top: -27px; left: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin-left: -29px; border-radius: 50%; background: radial-gradient(120% 120% at 30% 18%, #6EDDCB 0%, #2DB6CB 45%, #1689AB 100%); color: #fff; box-shadow: 0 14px 26px -10px rgba(22, 137, 171, .85), 0 4px 10px -4px rgba(45, 182, 203, .5), inset 0 1px 1px rgba(255, 255, 255, .5), inset 0 -4px 8px rgba(10, 70, 95, .22); transition: transform .2s var(--ease), box-shadow .2s; }
  .dock-fab::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(45, 182, 203, .22); background: radial-gradient(circle, rgba(94, 211, 193, .12), rgba(94, 211, 193, 0) 70%); z-index: -1; animation: fab-ring 2.8s var(--ease) infinite; }
  .dock-fab .i { width: 28px; height: 28px; color: #fff; }
  .dock-fab { --ic2: #fff; }
  .dock-cta:hover .dock-fab { transform: translateY(-2px); }
  .dock-cta:active .dock-fab { transform: scale(.94); }
  @media (max-width: 350px) { .dock-lb { font-size: .58rem; } }
  body.kb-open .dock { transform: translateY(calc(100% + 30px)); opacity: 0; pointer-events: none; }
  .cookie { bottom: calc(var(--dock-h) + var(--dock-gap) * 2 + 30px + env(safe-area-inset-bottom)); }
  .nav { padding-bottom: calc(var(--dock-h) + 64px + env(safe-area-inset-bottom)); }
  .ftr { padding-bottom: calc(24px + var(--dock-h) + var(--dock-gap) * 2 + 30px + env(safe-area-inset-bottom)); }
}
@keyframes dock-in { from { transform: translateY(130%); opacity: 0; } }
@keyframes fab-ring { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(1.22); opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .dock, .dock-fab::after, .modal-sheet[open] { animation: none; } }

/* ---------- Appointment sheet ---------- */
.modal-sheet .modal-card { width: min(460px, calc(100vw - 24px)); padding: 0; background: #fff; }
.sheet-top { position: relative; padding: 22px 22px 34px; color: var(--ink); background: radial-gradient(110% 130% at 100% 0%, rgba(94, 211, 193, .22), rgba(94, 211, 193, 0) 55%), linear-gradient(180deg, #E8F4F8 0%, #F3F8FB 100%); }
.modal-sheet .modal-x { top: 16px; right: 16px; width: 36px; height: 36px; background: rgba(255, 255, 255, .85); border-color: #DCE6EE; color: var(--navy); }
.modal-sheet .modal-x:hover { background: #fff; }
.sheet-title { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; margin-right: 44px; }
.sheet-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgba(26, 134, 168, .8); }
.sheet-ico .i { width: 22px; height: 22px; }
.sheet-title h2 { margin: 2px 0 6px; color: var(--ink); font-size: 1.28rem; line-height: 1.25; }
.sheet-title p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.sheet-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.sheet-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #DCE8EF; color: var(--navy); font-size: .78rem; font-weight: 600; }
.sheet-chips .i { width: 14px; height: 14px; color: var(--accent-2); }
.sheet-chips .st-star { color: #F5B62B; fill: #F5B62B; }
.sheet-body { position: relative; margin-top: -16px; padding: 22px 20px 20px; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -8px 20px -14px rgba(11, 26, 53, .18); }
.sheet-body .form { gap: 14px; }
.sheet-body .field { gap: 7px; }
.sheet-body .field label { font-size: .8rem; font-weight: 600; color: #475467; letter-spacing: .01em; }
.sheet-body input[type="text"], .sheet-body input[type="tel"], .sheet-body select { min-height: 54px; padding-left: 46px; border: 1.5px solid #E3E9F0; border-radius: 14px; background-color: #F6F8FB; background-repeat: no-repeat; background-position: 15px center; background-size: 19px; font-size: 1rem; }
.sheet-body input[name="name"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238592A6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-3.5 4.5-5 8-5s6.5 1.5 8 5'/%3E%3C/svg%3E"); }
.sheet-body input[name="phone"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238592A6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 4h3.3l1.7 4.3-2.1 1.4a11 11 0 0 0 6.2 6.2l1.4-2.1 4.3 1.7v3.3a1.6 1.6 0 0 1-1.7 1.6A16.4 16.4 0 0 1 3.6 5.7 1.6 1.6 0 0 1 5.2 4z'/%3E%3C/svg%3E"); }
.sheet-body select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238592A6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3c-2.2 0-4 1.8-4 4.3 0 2 .8 3.4 1.4 5 .7 2 .8 5.7 2.3 7.9.7 1 1.9.7 2.2-.5l.9-3.6c.3-1 1.9-1 2.2 0l.9 3.6c.3 1.2 1.5 1.5 2.2.5 1.5-2.2 1.6-5.9 2.3-7.9.6-1.6 1.4-3 1.4-5C21 4.8 19.2 3 17 3c-2 0-3 1-5 1S9 3 7 3z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1A33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-position: 15px center, right 15px center; background-size: 19px, 15px; padding-right: 42px; }
.sheet-body input:focus, .sheet-body select:focus { border-color: #1A86A8; background-color: #fff; box-shadow: 0 0 0 4px rgba(26, 134, 168, .12); }
.sheet-body .consent { gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #F6F8FB; font-size: .78rem; line-height: 1.5; }
.sheet-body .consent input { appearance: none; -webkit-appearance: none; display: grid; place-items: center; width: 22px; height: 22px; margin: 0; border: 1.5px solid #C5CFDC; border-radius: 7px; background: #fff; cursor: pointer; transition: background .15s, border-color .15s; }
.sheet-body .consent input:checked { border-color: #0F6E8C; background: #0F6E8C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.sheet-body .consent input:focus-visible { outline: 2px solid #1A86A8; outline-offset: 2px; }
.sheet-body .consent a { color: #0F6E8C; font-weight: 600; }
.sheet-body .btn-primary { min-height: 54px; border-radius: 14px; font-size: 1rem; }
.sheet-body .form-note { display: flex; justify-content: center; text-align: center; font-size: .76rem; }
.sheet-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; color: #98A2B3; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.sheet-or::before, .sheet-or::after { content: ""; flex: 1; height: 1px; background: #E8EDF3; }
.sheet-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-tile { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 10px; border: 1.5px solid #E3E9F0; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
.sheet-tile:hover { border-color: #C9D5E2; background: #FAFBFD; color: var(--ink); }
.st-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #EAF3F7; color: #0F6E8C; }
.st-ic .i { width: 18px; height: 18px; }
.st-wa .st-ic { background: #E7F7EE; color: #12955A; }
.st-tx { display: grid; min-width: 0; line-height: 1.25; }
.st-tx small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .66rem; font-weight: 600; }
.st-tx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; font-weight: 700; }
.sheet-handle { display: none; }
@media (max-width: 640px) {
  .modal-sheet { width: 100%; max-width: 100%; max-height: 100%; margin: auto 0 0; }
  .modal-sheet[open] { animation: sheet-up .38s var(--ease); }
  .modal-sheet .modal-card { width: 100%; max-height: 94dvh; border-radius: 26px 26px 0 0; }
  .modal-sheet .sheet-handle { display: block; width: 40px; height: 4px; margin: -8px auto 16px; border-radius: 3px; background: #C9D7E2; }
  .sheet-top { padding-top: 18px; }
  .sheet-body { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}


/* ==========================================================================
   v5 – Canada edition (dentatacity.ca)
   Editorial serif headings (DM Serif Display), warm ivory surfaces,
   deeper slate-navy, a small maple accent, Canada band + time-zone card.
   ========================================================================== */
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/dmserif-400.ttf) format("truetype"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/dmserif-400i.ttf) format("truetype"); }

:root {
  --navy: #0B1F33;
  --navy-2: #143450;
  --ink: #0C1B2B;
  --accent: #14809A;
  --accent-2: #0E6A80;
  --aqua: #27A9BE;
  --mint: #57CDB8;
  --accent-soft: #E6F3F5;
  --gray: #F7F4EE;
  --gray-2: #EFEADF;
  --line: #E6E1D6;
  --line-2: #F0ECE4;
  --maple: #D6312B;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --grad: linear-gradient(135deg, #14809A 0%, #27A9BE 55%, #57CDB8 100%);
  --grad-text: linear-gradient(92deg, #0F6F86 0%, #1C97AF 50%, #2AA893 100%);
  --grad-dark: linear-gradient(140deg, #0A1C30 0%, #11314D 55%, #0D4A5E 100%);
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
}

/* Typography: serif display headings, sans for UI headings */
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; }
h1 { font-size: clamp(2.45rem, 5.3vw, 4.25rem); line-height: 1.04; }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.95rem); line-height: 1.08; }
h1 .hl, h2 .hl { font-style: italic; padding-right: .06em; }
.hero h1 { font-size: clamp(2.4rem, 4.7vw, 3.9rem); }
.info-card h2, .doc-body h2, .side-card h2, .facts-head h2, .sf-head h2, .modal-head h2, .sheet-title h2, .ftr-h, .form-card h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -.015em; }
.prose h2, .post-body h2 { line-height: 1.15; }
.stats strong { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.exp-badge strong, .fc-years strong { font-family: var(--serif); font-weight: 400; }

/* Warm surfaces */
.hero { background: linear-gradient(180deg, #FAF7F1 0%, #F4F6F3 100%); }
.hero-bg {
  background:
    radial-gradient(40% 52% at 90% 10%, rgba(39, 169, 190, .22), transparent 70%),
    radial-gradient(34% 44% at 60% 90%, rgba(87, 205, 184, .16), transparent 70%),
    radial-gradient(38% 48% at 2% 6%, rgba(214, 49, 43, .06), transparent 70%); }
.ftr { background: #0A1A2B; }
.page-head { background: #0B1D31; }
.label { background: rgba(20, 128, 154, .07); border-color: rgba(20, 128, 154, .16); }

/* Maple accent */
.label:has(> .i)::before { display: none; }
.maple { color: var(--maple); width: 1.05em; height: 1.05em; }
.label-dark .maple, .on-dark .maple { color: #FF7A6E; }

/* ---------- Canada band ---------- */
.ca-band { padding: clamp(64px, 8vw, 112px) 0; }
.ca-head { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; margin-bottom: clamp(32px, 4vw, 52px); }
@media (min-width: 960px) { .ca-head { grid-template-columns: 1.1fr .9fr; } }
.ca-band h2 { color: #fff; max-width: 15ch; }
.ca-band .lead { color: rgba(255, 255, 255, .78); max-width: 560px; }
.ca-band .btn-row { margin-top: 26px; }
.ca-route { margin: 0; padding: clamp(12px, 2vw, 22px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.ca-route svg { display: block; width: 100%; height: auto; overflow: visible; }
.ca-dot { fill: #fff; }
.ca-hub { fill: #A9F0DF; }
.ca-hub-ring { fill: rgba(169, 240, 223, .14); stroke: rgba(169, 240, 223, .55); stroke-width: 1.2; }
.ca-code { fill: #fff; font: 700 13px var(--sans); letter-spacing: .08em; }
.ca-city { fill: rgba(255, 255, 255, .62); font: 500 11px var(--sans); }
.ca-dur { fill: rgba(255, 255, 255, .72); font: 600 12px var(--sans); letter-spacing: .04em; }
.ca-arc { animation: ca-dash 2.6s linear infinite; }
@keyframes ca-dash { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) { .ca-arc { animation: none; } }
.ca-facts { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .ca-facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ca-facts { grid-template-columns: repeat(3, 1fr); } }
.ca-facts li { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.ca-facts li:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.ca-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(143, 227, 241, .12); color: #A6E6F2; }
.ca-ic .i { width: 21px; height: 21px; }
.ca-facts h3 { margin: 2px 0 5px; color: #fff; font-size: 1.02rem; }
.ca-facts p { margin: 0; font-size: .93rem; line-height: 1.6; color: rgba(255, 255, 255, .7); }

/* ---------- Hours from Canada (time zones) ---------- */
.tz { align-items: start; }
.tz .label { width: fit-content; }
.tz-card { padding: clamp(16px, 3vw, 28px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tz-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tz-table th, .tz-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tz-table thead th { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.tz-table tbody th { font-weight: 600; color: var(--ink); }
.tz-table td { font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.tz-table tbody tr:last-child > * { border-bottom: 0; }
.tz-foot { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.tz-live { margin-top: 20px; padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.tz-now { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; }
.tz-now strong { color: var(--ink); font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.tz-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #FBECEA; color: #9A2B1F; font-size: .8rem; font-weight: 700; }
.tz-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tz-pill.is-open { background: #E4F5EC; color: #0D7A4F; }
.tz-yours { margin: 8px 0 0; font-size: .93rem; color: var(--muted); }
@media (max-width: 600px) {
  .tz-table { font-size: .86rem; }
  .tz-table th, .tz-table td { padding: 10px 6px; }
  .tz-table td { white-space: normal; }
}

/* ---------- Price comparison (CAD) + savings calculator ---------- */
.pr-grid { display: grid; gap: clamp(18px, 3vw, 28px); align-items: start; }
@media (min-width: 1000px) { .pr-grid { grid-template-columns: 1.45fr .9fr; } }
.pr-card { padding: clamp(8px, 2vw, 18px) clamp(14px, 2.6vw, 28px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pr-table { width: 100%; border-collapse: collapse; }
.pr-table th, .pr-table td { padding: 16px 10px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: middle; }
.pr-table thead th { padding-top: 12px; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.pr-table tbody tr:last-child > * { border-bottom: 0; }
.pr-table tbody th a { display: block; color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.02rem; }
.pr-table tbody th a:hover { color: var(--accent-2); }
.pr-table tbody th small { display: block; margin-top: 2px; font-size: .82rem; font-weight: 500; color: var(--muted); }
.pr-pop { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #FDF1E4; color: #9A5B13; font-size: .72rem; font-weight: 700; }
.pr-ca { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr-ist { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr-ist strong { color: var(--ink); font-size: 1.15rem; }
.pr-pct { text-align: right !important; }
.pr-save { display: inline-block; padding: 5px 11px; border-radius: 999px; background: #E4F5EC; color: #0D7A4F; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.pr-note { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 10px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .84rem; color: var(--muted); line-height: 1.55; }
.pr-note .i { margin-top: 3px; }
@media (max-width: 640px) {
  .pr-table thead { display: none; }
  .pr-table, .pr-table tbody, .pr-table tr { display: block; }
  .pr-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .pr-table tbody tr:last-child { border-bottom: 0; }
  .pr-table th, .pr-table td { padding: 0; border: 0; }
  .pr-table tbody th { grid-column: 1 / -1; }
  .pr-table td[data-label]::before { content: attr(data-label) " "; font-size: .78rem; color: var(--muted); }
  .pr-ca { grid-column: 1; } .pr-ist { grid-column: 1; } .pr-pct { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
}
.pr-calc { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-lg); background: var(--grad-dark); color: rgba(255, 255, 255, .78); box-shadow: var(--shadow-lg); }
@media (min-width: 1000px) { .pr-calc { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.pr-calc h3 { margin: 0 0 4px; color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: -.01em; }
.pr-calc > p { margin: 0 0 18px; font-size: .95rem; }
.pr-fld { display: grid; gap: 6px; margin-bottom: 14px; font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.pr-fld select { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #fff; font-weight: 600; }
.pr-fld select option { color: var(--ink); }
.pr-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.pr-step { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; overflow: hidden; }
.pr-step button { width: 42px; height: 40px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.2rem; cursor: pointer; }
.pr-step button:hover { background: rgba(255, 255, 255, .16); }
.pr-step output { min-width: 42px; text-align: center; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.pr-lines { margin: 0 0 14px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.pr-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .9rem; }
.pr-lines dt { color: rgba(255, 255, 255, .7); }
.pr-lines dd { margin: 0; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-lines .pr-total dt, .pr-lines .pr-total dd { color: #fff; font-weight: 700; }
.pr-result { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 10px; margin-bottom: 18px; }
.pr-result span { grid-column: 1 / -1; font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.pr-result strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.05; background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.pr-result em { font-style: normal; padding: 4px 10px; border-radius: 999px; background: rgba(169, 240, 223, .16); color: #A9F0DF; font-weight: 800; font-size: .9rem; }
.pr-incl { margin-top: clamp(20px, 3vw, 30px); padding: clamp(18px, 2.6vw, 24px); border-radius: var(--r-lg); background: var(--accent-soft); }
.pr-incl h3 { margin: 0 0 12px; font-size: 1rem; }
.pr-incl ul { list-style: none; display: grid; gap: 10px 20px; }
@media (min-width: 640px) { .pr-incl ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pr-incl ul { grid-template-columns: repeat(3, 1fr); } }
.pr-incl li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); font-size: .95rem; }
.pr-incl li .i { color: var(--accent-2); }

/* ---------- Patient video stories: reels-style cards, filters, progress, story viewer ---------- */
.vbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 22px; }
.vfilter { display: flex; gap: 8px; min-width: 0; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.vfilter::-webkit-scrollbar { display: none; }
.vchip { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: rgba(255, 255, 255, .88); font-weight: 600; font-size: .92rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.vchip small { padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .74rem; font-weight: 700; }
.vchip:hover { border-color: rgba(255, 255, 255, .45); }
.vchip.is-on { background: #fff; border-color: #fff; color: var(--navy); }
.vchip.is-on small { background: var(--accent-soft); color: var(--accent-2); }
.vchip .maple { color: #FF7A6E; }
.vchip.is-on .maple { color: var(--maple); }
.vctl { flex: none; display: flex; align-items: center; gap: 10px; }
.vcount { min-width: 6ch; text-align: right; color: rgba(255, 255, 255, .6); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.vbtn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background .2s, border-color .2s, color .2s, opacity .2s; }
.vbtn:hover:not(:disabled) { background: #fff; border-color: #fff; color: var(--navy); }
.vbtn:disabled { opacity: .3; cursor: default; }

.vrail { list-style: none; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 6px 0 4px; scrollbar-width: none; }
.vrail::-webkit-scrollbar { display: none; }
.vrail.has-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.vrail:focus-visible { outline: 3px solid var(--aqua); outline-offset: 6px; border-radius: 8px; }
@media (max-width: 1100px) { .vrail { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
.vs-item { scroll-snap-align: start; min-width: 0; }
.vs-item[hidden] { display: none; }

.vs-card { position: relative; isolation: isolate; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: #0A1630; color: #fff; text-align: left; font: inherit; cursor: pointer; box-shadow: 0 24px 44px -26px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08) inset; transition: transform .35s var(--ease), box-shadow .35s; }
.vs-card:hover { transform: translateY(-4px); box-shadow: 0 30px 54px -26px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .2) inset; }
.vs-card:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.vs-card img, .vs-card .vs-prev { position: absolute; left: 0; top: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.vs-card img { height: 124%; object-position: center top; } /* posters carry burned-in subtitles at the bottom: crop them away */
.vs-card img { transition: transform .8s var(--ease); transform-origin: center top; }
.vs-card:hover img { transform: scale(1.06); }
.vs-card .vs-prev { opacity: 0; transition: opacity .45s; }
.vs-card.is-preview .vs-prev { opacity: 1; }
.vs-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 12, 26, .5) 0%, rgba(5, 12, 26, 0) 24%, rgba(5, 12, 26, 0) 44%, rgba(5, 12, 26, .62) 70%, rgba(5, 12, 26, .94) 100%); pointer-events: none; }
.vs-top { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vs-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; line-height: 1; letter-spacing: .01em; }
.vs-chip .i { width: 12px; height: 12px; }
.vs-ca { background: rgba(255, 255, 255, .95); color: var(--ink); }
.vs-ca .i { width: 13px; height: 13px; color: var(--maple); }
.vs-dur { background: rgba(8, 16, 32, .42); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-variant-numeric: tabular-nums; }
.vs-play { position: absolute; left: 50%; top: 46%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); color: #fff; transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .3s, color .3s, opacity .3s; }
.vs-play::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); animation: vs-ring 2.4s var(--ease) infinite; }
.vs-play .i { width: 22px; height: 22px; margin-left: 3px; }
.vs-card:hover .vs-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; color: var(--navy); }
.vs-card.is-preview .vs-play { opacity: 0; }
@keyframes vs-ring { 0% { transform: scale(.9); opacity: .9; } 70%, 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vs-play::after { animation: none; } }
.vs-info { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 4px; }
.vs-info strong { font-size: 1.12rem; line-height: 1.25; letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.vs-info small { color: rgba(255, 255, 255, .78); font-size: .82rem; line-height: 1.4; }

.vprog { position: relative; height: 3px; margin-top: 20px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.vprog[hidden] { display: none; }
.vprog i { position: absolute; left: 0; top: 0; height: 100%; width: 25%; border-radius: 3px; background: linear-gradient(90deg, #8FE3F1, #A9F0DF); transition: transform .12s linear, width .2s; }

@media (max-width: 760px) {
  .vbar { margin-bottom: 18px; }
  .vfilter { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
  .vctl { display: none; }
  .vrail { grid-auto-columns: 58%; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .vrail.has-more { -webkit-mask-image: none; mask-image: none; }
  .vs-card { border-radius: 20px; }
  .vs-play { width: 54px; height: 54px; }
  .vs-info { left: 13px; right: 13px; bottom: 13px; }
  .vs-info strong { font-size: 1rem; }
  .vs-info small { font-size: .76rem; }
  .vprog { margin-top: 16px; }
}
@media (max-width: 420px) { .vrail { grid-auto-columns: 64%; } }

/* Story viewer */
.modal-story .modal-card { position: relative; width: min(480px, calc(100vw - 20px)); padding: 0; border-radius: 26px; overflow: hidden; background: #050B17; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.modal-story::backdrop { background: rgba(3, 8, 18, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.st-top { position: absolute; left: 0; right: 0; top: 0; z-index: 2; padding: 12px 14px 34px; background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); pointer-events: none; }
.st-bar { height: 3px; margin-bottom: 12px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.st-bar i { display: block; width: 0; height: 100%; background: #fff; transition: width .25s linear; }
.st-head { display: flex; align-items: center; gap: 10px; padding-right: 48px; color: #fff; }
.st-avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad) center / cover no-repeat; border: 2px solid rgba(255, 255, 255, .85); color: transparent; font-weight: 700; }
.st-who { display: grid; min-width: 0; line-height: 1.25; }
.st-who strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-who small { color: rgba(255, 255, 255, .72); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-index { margin-left: auto; flex: none; color: rgba(255, 255, 255, .75); font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.modal-story .modal-x { top: 22px; right: 12px; z-index: 3; width: 36px; height: 36px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.st-stage { position: relative; background: #000; }
.st-stage video { display: block; width: 100%; aspect-ratio: 1 / 1; max-height: min(78vh, 78dvh); object-fit: contain; background: #000; }
.st-stage iframe.yt { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 78vh; border: 0; }
.st-stage video[hidden], .st-stage iframe[hidden] { display: none; }
.st-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.st-nav:hover { background: #fff; color: var(--navy); }
.st-prev { left: 10px; } .st-next { right: 10px; }
.modal-story .modal-cap { display: none; }

/* ---------- Smiles: portrait 4:5 & square patient photos ---------- */
.cf-item { aspect-ratio: 4 / 5; }

/* ---------- Scanned certificates ---------- */
.cert-docs { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 18px; }
@media (min-width: 760px) { .cert-docs { grid-template-columns: repeat(5, 1fr); } }
.cert-doc { display: flex; flex-direction: column; height: 100%; padding: 10px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.cert-doc:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--accent-2); }
.cert-doc img { width: 100%; height: 190px; object-fit: contain; background: var(--gray); border-radius: 10px; }
.cert-doc span { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 10px; font-size: .84rem; font-weight: 700; line-height: 1.3; }
.cert-doc .i { width: 14px; height: 14px; flex: none; opacity: .6; }

/* ---------- Gallery: 8 tiles (team photo 2×2, building wide) ---------- */
@media (min-width: 900px) { .gallery .g-team_photo { grid-column: span 2; grid-row: span 2; } .gallery .g-building { grid-column: span 2; } }

/* ---------- Team photo on the dentists page ---------- */
.team-photo-sec { padding-top: clamp(20px, 3vw, 36px); }
.team-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.team-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 35%; }
.team-photo figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); font-size: .86rem; font-weight: 700; }
@media (max-width: 640px) { .team-photo img { aspect-ratio: 4 / 3; } }
