/* =========================================================
   SwiftCare Dental — concept redesign (Flossify sample)
   Palette drawn from the clinic's logo (gold + espresso) and
   interior (white marble, warm wood, green plants).
   Fonts are self-hosted from ../assets/fonts — no third-party
   requests from a page a patient reads.
   ========================================================= */

@font-face { font-family: 'Fraunces'; src: url('../assets/fonts/Fraunces-normal.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../assets/fonts/Fraunces-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../assets/fonts/PlusJakartaSans-normal.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --espresso: #2A1B14;
  --espresso-2: #3B2820;
  --espresso-3: #54392C;
  --ink: #2A1B14;
  --ink-2: #5A483D;
  --ink-3: #766559; /* darkened from #85736A: 4.22:1 on cream failed the 4.5 floor for small labels */

  --gold: #C29545;
  --gold-2: #D9B46A;
  --gold-3: #F3E4BF;
  --gold-4: #FAF2DE;
  --gold-deep: #8A6424;
  --gold-grad: linear-gradient(135deg, #EACB86 0%, #C9A04F 55%, #B3863A 100%);

  --cream: #FBF7F1;
  --marble: #F4EDE3;
  --paper: #FFFFFF;
  --line: #EADFD0;
  --line-2: #DDCFBC;

  --sage: #5C8A6B;
  --sage-deep: #2F6443;
  --sage-soft: #E4F0E7;
  --rose: #B3452F;
  --rose-deep: #93321F;
  --rose-soft: #FBE7E1;
  --amber: #9A6512;
  --amber-soft: #FBEFD6;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  --sh-sm: 0 1px 2px rgba(42, 27, 20, .05), 0 2px 10px rgba(42, 27, 20, .05);
  --sh: 0 18px 40px -18px rgba(42, 27, 20, .22), 0 2px 6px rgba(42, 27, 20, .04);
  --sh-lg: 0 40px 80px -30px rgba(42, 27, 20, .35);
  --sh-gold: 0 12px 30px -10px rgba(185, 137, 58, .55);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --f-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --f-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-3); color: var(--espresso); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--espresso); color: var(--cream); padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: top .3s var(--ease); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); }
section[id] { scroll-margin-top: 72px; }
html.has-dialog { overflow: hidden; }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--sparkle { fill: currentColor; stroke: none; }
.ic--dental { stroke-width: 2.4; }
.muted { color: var(--ink-2); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-display);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.eyebrow .ic--sparkle { color: var(--gold); width: .95em; height: .95em; animation: twinkle 3.2s var(--ease-in-out) infinite; }
.eyebrow--light { color: var(--gold-2); }
.h2 {
  font-family: var(--f-display);
  font-variation-settings: 'opsz' 110, 'SOFT' 50;
  font-weight: 450;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -.012em;
  color: var(--espresso);
  text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; font-weight: 400; }
.h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.75rem); letter-spacing: -.01em; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-top: 16px; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }
.section-head--split .lead { margin-top: 0; max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  height: var(--h); padding: 0 1.45rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: .98rem; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--spring), translate .5s var(--spring), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn .ic { width: 1.1em; height: 1.1em; }
.btn--sm { --h: 42px; padding: 0 1.1rem; font-size: .92rem; }
.btn--lg { --h: 58px; padding: 0 1.8rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: scale(.97); }

.btn--gold { background: var(--gold-grad); color: var(--espresso); box-shadow: var(--sh-gold), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--gold::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover { box-shadow: 0 18px 40px -12px rgba(185,137,58,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost { background: transparent; color: var(--espresso); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--paper); border-color: var(--gold-2); box-shadow: var(--sh-sm); }
.btn--light { background: rgba(255,255,255,.08); color: var(--cream); border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.btn--text { background: transparent; color: var(--ink-2); padding-inline: .8rem; }
.btn--text:hover:not(:disabled) { color: var(--espresso); background: var(--marble); }

.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); color: var(--espresso);
  transition: transform .4s var(--spring), background .25s, border-color .25s, color .25s;
  text-decoration: none;
}
.icon-btn:hover { transform: translateY(-2px); border-color: var(--gold-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn[aria-pressed="false"] { color: var(--ink-3); }
.icon-btn--gold { background: var(--gold-grad); border: 0; }
.icon-btn--dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--cream); }
.icon-btn--dark:hover { background: var(--gold); color: var(--espresso); border-color: var(--gold); }

.link-btn { background: none; border: 0; padding: 0; color: var(--gold-deep); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Status pill ---------- */
.status-pill { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.status-pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); flex: none; }
.status-pill[data-state="open"] .status-pill__dot { background: #7FD69A; }
.status-pill[data-state="open"] .status-pill__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s var(--ease) infinite; }
.status-pill[data-state="closing"] .status-pill__dot { background: #F2BE5C; }
.status-pill[data-state="closed"] .status-pill__dot { background: #E58C78; }
.status-pill--solid { padding: 6px 12px; border-radius: 999px; background: var(--marble); color: var(--espresso); }
.status-pill--solid[data-state="open"] { background: var(--sage-soft); color: var(--sage-deep); }
.status-pill--solid[data-state="open"] .status-pill__dot { background: var(--sage); }
.status-pill--solid[data-state="closing"] { background: var(--amber-soft); color: var(--amber); }
.status-pill--solid[data-state="closing"] .status-pill__dot { background: #D49A2E; }
.status-pill--solid[data-state="closed"] { background: var(--rose-soft); color: var(--rose-deep); }
.status-pill--solid[data-state="closed"] .status-pill__dot { background: var(--rose); }
.status-pill[data-state="appt"] .status-pill__dot { background: #F2BE5C; }
.status-pill--solid[data-state="appt"] { background: var(--amber-soft); color: var(--amber); }
.status-pill--solid[data-state="appt"] .status-pill__dot { background: #D49A2E; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px rgba(201,160,79,.6); }

/* ---------- Top bar ---------- */
.topbar { background: var(--espresso); color: #E9DCCB; font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; opacity: .88; white-space: nowrap; }
.topbar__item .ic { color: var(--gold-2); width: 1em; height: 1em; }
.topbar__phone { margin-left: auto; font-weight: 650; opacity: 1; transition: color .2s; }
.topbar__sample { opacity: .75; text-decoration: underline; text-underline-offset: 3px; }
.topbar__sample:hover { opacity: 1; color: var(--gold-2); }
.topbar__phone:hover { color: var(--gold-2); }
.topbar .status-pill { color: #FFF6E8; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 241, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), box-shadow .4s, border-color .4s, background .4s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(42,27,20,.25); background: rgba(251, 247, 241, .92); }
.header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .4s var(--ease); }
.header.is-scrolled .header__inner { height: 64px; }
.brand { display: block; flex: none; margin-block: -6px; }
.brand img { height: 58px; width: auto; transition: height .4s var(--ease), transform .5s var(--spring); }
.header.is-scrolled .brand img { height: 48px; }
.brand:hover img { transform: rotate(-4deg) scale(1.04); }

.nav { position: relative; display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 550; color: var(--ink-2); text-decoration: none;
  transition: color .25s;
}
.nav a:hover, .nav a.is-active { color: var(--espresso); }
.nav__indicator {
  position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; border-radius: 2px;
  background: var(--gold-grad); opacity: 0;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__login { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--ink-3); text-decoration: none; padding: 8px 10px; border-radius: 999px; transition: color .2s, background .2s; }
.header__login:hover { color: var(--espresso); background: var(--marble); }
.header__login .ic { width: 1em; height: 1em; }

.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--espresso); transition: transform .45s var(--ease), opacity .25s, top .45s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  padding: calc(var(--header-h) + 56px) var(--gutter) 32px;
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  clip-path: circle(0% at calc(100% - 44px) 60px);
  transition: clip-path .7s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 60px); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--f-display); font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 450;
  text-decoration: none; color: var(--espresso); padding: 8px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .2s;
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu nav a:hover { color: var(--gold-deep); }
.mobile-menu__foot { display: grid; gap: 10px; }
.mobile-menu__login { text-align: center; color: var(--ink-3); font-size: .9rem; padding: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(circle, #F3E1B6, transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.blob--2 { width: 460px; height: 460px; left: -180px; bottom: -200px; background: radial-gradient(circle, #E4EEE6, transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__eyebrow { padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); letter-spacing: .18em; font-size: .72rem; box-shadow: var(--sh-sm); }
.hero__title {
  font-family: var(--f-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  font-weight: 420;
  font-size: clamp(2.8rem, 6.4vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -.028em;
  color: var(--espresso);
  margin-block: 8px 24px;
  text-wrap: balance;
}
.hero__title em {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.returning {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 16px 10px 10px;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: .92rem; color: var(--ink-2); text-decoration: none;
  transition: border-color .3s, box-shadow .3s, transform .4s var(--spring);
}
.returning strong { color: var(--espresso); }
.returning__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); flex: none; }
.returning__arrow { color: var(--gold-deep); transition: transform .4s var(--spring); }
.returning:hover { border-color: var(--gold-2); box-shadow: var(--sh-sm); }
.returning:hover .returning__arrow { transform: translateX(4px); }

.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.trust li { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.trust .ic { color: var(--gold); }

.hero__visual { position: relative; aspect-ratio: 1 / 1.05; max-width: 560px; justify-self: end; width: 100%; }
.hero__tooth { position: absolute; inset: -9% -10% -2% -8%; width: 118%; height: 111%; z-index: 0; overflow: visible; }
.hero__tooth path { fill: none; stroke: url(#gold-grad); stroke-width: 1.2; stroke-dasharray: 720; stroke-dashoffset: 720; animation: draw 2.8s .4s var(--ease-in-out) forwards; }
.hero__frame {
  position: absolute; inset: 6% 10% 8% 14%; z-index: 1;
  border-radius: 999px 999px 36px 36px; overflow: hidden;
  box-shadow: var(--sh-lg);
  clip-path: inset(100% 0 0 0 round 999px 999px 36px 36px);
  animation: unveil 1.4s .2s var(--ease) forwards;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); animation: settle 2.2s .2s var(--ease) forwards; }
.hero__thumb {
  position: absolute; left: 0; bottom: 4%; z-index: 2; width: 30%; aspect-ratio: 3/4;
  border-radius: 24px; overflow: hidden; border: 6px solid var(--cream); box-shadow: var(--sh);
  opacity: 0; animation: pop .9s 1s var(--spring) forwards;
}
.hero__thumb img { width: 100%; height: 100%; object-fit: cover; }

.sparkle { position: absolute; fill: var(--gold); pointer-events: none; }
.hero__visual .sparkle { z-index: 3; }
.sparkle--1 { width: 34px; height: 34px; right: 6%; top: 10%; animation: twinkle 3s .8s var(--ease-in-out) infinite; }
.sparkle--2 { width: 18px; height: 18px; right: 1%; top: 22%; animation: twinkle 3s 1.4s var(--ease-in-out) infinite; }
.sparkle--3 { width: 22px; height: 22px; left: 10%; top: 18%; animation: twinkle 3.6s 2s var(--ease-in-out) infinite; }

.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 18px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--sh);
  font-size: .82rem; line-height: 1.25;
  opacity: 0; animation: pop .9s var(--spring) forwards, float 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--ink-3); font-weight: 500; }
.float-card strong { display: block; font-size: .95rem; color: var(--espresso); font-weight: 700; }
.float-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-4); color: var(--gold-deep); flex: none; }
.float-card__icon .ic { width: 20px; height: 20px; }
.float-card__icon .ic--dental { width: 26px; height: 26px; }
.float-card__icon--sage { background: var(--sage-soft); color: var(--sage-deep); }
.float-card__icon--live { background: var(--sage-soft); color: var(--sage-deep); }
.float-card--status { top: 4%; left: -2%; animation-delay: 1.2s, 2s; }
.float-card--price { right: -4%; top: 44%; animation-delay: 1.4s, 2.4s; animation-duration: .9s, 7s; }
.float-card--safe { right: 8%; bottom: 0; animation-delay: 1.6s, 2.8s; animation-duration: .9s, 6.5s; }

/* Hero title split reveal */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: var(--wd, 0s); }
.is-split .split-word > span { transform: none; }
.split-done em { background: none; color: inherit; padding: 0; }
.split-done em .split-word { padding-right: .1em; margin-right: -.1em; }
.split-done em .split-word > span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Marquee ---------- */
.marquee { background: var(--espresso); color: var(--gold-3); overflow: hidden; padding-block: 18px; border-block: 1px solid var(--espresso-3); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 350; white-space: nowrap; }
.marquee svg { width: 18px; height: 18px; fill: var(--gold); flex: none; }

/* ---------- Quick paths ---------- */
.quick { background: var(--cream); padding-bottom: clamp(48px, 6vw, 72px); }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quick-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 24px 24px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: transform .6s var(--ease), box-shadow .4s, border-color .4s;
  transform-style: preserve-3d;
}
.quick-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(217,180,106,.22), transparent 60%);
}
.quick-card:hover { box-shadow: var(--sh); border-color: var(--gold-2); }
.quick-card:hover::before { opacity: 1; }
.quick-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--gold-4); color: var(--gold-deep); margin-bottom: 8px; transition: transform .6s var(--spring); }
.quick-card__icon .ic { width: 24px; height: 24px; }
.quick-card:hover .quick-card__icon { transform: rotate(-8deg) scale(1.08); }
.quick-card__title { font-family: var(--f-display); font-size: 1.32rem; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; color: var(--espresso); }
.quick-card__text { font-size: .93rem; color: var(--ink-2); flex: 1; }
.quick-card__go { display: inline-flex; align-items: center; gap: .4rem; margin-top: 8px; font-weight: 650; font-size: .92rem; color: var(--gold-deep); }
.quick-card__go .ic { transition: transform .45s var(--spring); }
.quick-card:hover .quick-card__go .ic { transform: translateX(5px); }
.quick-card--rose .quick-card__icon { background: var(--rose-soft); color: var(--rose); }
.quick-card--rose .quick-card__go { color: var(--rose); }
.quick-card--gold { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.quick-card--gold .quick-card__title { color: #FFF8EC; }
.quick-card--gold .quick-card__text { color: #D9C9B6; }
.quick-card--gold .quick-card__icon { background: var(--gold-grad); color: var(--espresso); }
.quick-card--gold .quick-card__go { color: var(--gold-2); }
.quick-card--gold::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(217,180,106,.25), transparent 60%); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  padding: 10px 18px; border-radius: 999px; min-height: 46px;
  background: var(--paper); border: 1.5px solid var(--line);
  font-size: .95rem; font-weight: 600; color: var(--ink-2);
  transition: transform .45s var(--spring), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.chip:hover { border-color: var(--gold-2); color: var(--espresso); transform: translateY(-2px); }
.chip:active { transform: scale(.96); }
.chip__check { display: grid; place-items: center; width: 0; height: 18px; border-radius: 50%; background: var(--gold-grad); color: var(--espresso); overflow: hidden; transition: width .4s var(--spring), margin .4s var(--spring); margin-left: -.5rem; }
.chip__check .ic { width: 12px; height: 12px; stroke-width: 3; }
.chip[aria-checked="true"], .chip[aria-selected="true"] { background: var(--espresso); border-color: var(--espresso); color: #FFF8EC; box-shadow: 0 10px 20px -12px rgba(42,27,20,.6); }
.chip[aria-checked="true"] .chip__check, .chip[aria-selected="true"] .chip__check { width: 18px; margin-left: 0; }
.chip--urgent { border-color: #EFC9BF; }
.chip--urgent .chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
.chip--urgent[aria-checked="true"] { background: var(--rose); border-color: var(--rose); }
.chip--urgent[aria-checked="true"] .chip__dot { background: #fff; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 4px 12px; margin: -4px -4px 12px; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chips--scroll .chip { flex: none; }

/* ---------- Smile Finder ---------- */
.finder { background: linear-gradient(180deg, var(--cream) 0%, var(--marble) 100%); padding-top: clamp(48px, 6vw, 72px); }
.finder__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.finder__result { position: sticky; top: 96px; }
.result-card {
  position: relative; overflow: hidden;
  min-height: 460px; padding: clamp(24px, 3.2vw, 36px);
  border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--sh);
}
.result-card::after { content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, var(--gold-4), transparent 70%); pointer-events: none; }
.result-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 390px; gap: 6px; }
.result-empty__art { position: relative; width: 120px; height: 120px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-4); }
.result-empty__tooth, .result-empty__cal { width: 64px; height: 64px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: float 5s ease-in-out infinite; }
.result-empty__cal { width: 52px; height: 52px; stroke-width: 1.5; }
.result-empty .sparkle--a { width: 22px; height: 22px; right: 8px; top: 6px; animation: twinkle 2.6s infinite; }
.result-empty .sparkle--b { width: 14px; height: 14px; left: 14px; bottom: 18px; animation: twinkle 2.6s 1.2s infinite; }
.result-empty__title { font-family: var(--f-display); font-size: 1.35rem; color: var(--espresso); }
.result-empty__text { color: var(--ink-3); font-size: .95rem; }

.result { position: relative; z-index: 1; }
.result > * { animation: rise .7s var(--ease) both; }
.result > *:nth-child(2) { animation-delay: .06s; }
.result > *:nth-child(3) { animation-delay: .12s; }
.result > *:nth-child(4) { animation-delay: .18s; }
.result > *:nth-child(5) { animation-delay: .24s; }
.result > *:nth-child(6) { animation-delay: .3s; }
.urgency { display: inline-flex; align-items: center; gap: .5rem; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .01em; }
.urgency::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.urgency--sage { background: var(--sage-soft); color: var(--sage-deep); }
.urgency--amber { background: var(--amber-soft); color: var(--amber); }
.urgency--rose { background: var(--rose-soft); color: var(--rose-deep); }
.urgency--rose::before { animation: ping-soft 1.4s infinite; }
.result__title { font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -.015em; margin: 14px 0 8px; color: var(--espresso); }
.result__text { color: var(--ink-2); font-size: .98rem; }
.result__label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 10px; }
.result__services { display: grid; gap: 8px; }
.svc-mini {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px 14px 10px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--cream);
  transition: border-color .3s, background .3s, transform .45s var(--spring);
}
.svc-mini:hover { border-color: var(--gold-2); background: var(--paper); transform: translateX(4px); }
.svc-mini__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--paper); color: var(--gold-deep); flex: none; }
.svc-mini__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.svc-mini__name { flex: 1; font-weight: 650; font-size: .95rem; line-height: 1.3; color: var(--espresso); }
.svc-mini__name small { display: block; font-weight: 500; color: var(--ink-3); font-size: .8rem; }
.svc-mini__price { font-size: .88rem; font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.tips { display: grid; gap: 8px; }
.tips li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink-2); }
.tips .ic { color: var(--sage); margin-top: 3px; stroke-width: 2.6; }
.result__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.disclaimer { display: flex; gap: 8px; margin-top: 14px; font-size: .84rem; color: var(--ink-3); padding-inline: 8px; }
.disclaimer .ic { margin-top: 3px; }

/* ---------- Pill tabs ---------- */
.tabs-pill {
  position: relative; display: flex; gap: 4px; padding: 5px; width: fit-content; max-width: 100%;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; margin-bottom: 36px;
}
.tabs-pill::-webkit-scrollbar { display: none; }
.tabs-pill button {
  position: relative; z-index: 1; flex: none;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 10px 18px; min-height: 44px; border: 0; border-radius: 999px; background: none;
  font-size: .92rem; font-weight: 650; color: var(--ink-2); white-space: nowrap;
  transition: color .35s;
}
.tabs-pill button:hover { color: var(--espresso); }
.tabs-pill button[aria-selected="true"] { color: #FFF8EC; }
.tabs-pill__thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--espresso); transition: transform .55s var(--ease), width .55s var(--ease); box-shadow: 0 8px 18px -10px rgba(42,27,20,.7); }
.tabs-pill--lg { margin-inline: auto; }
.tabs-pill--lg button { padding: 12px 22px; font-size: .96rem; }
.tabs-pill button .ic { width: 1.05em; height: 1.05em; }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 26px; border-radius: var(--r-lg); text-align: left;
  background: var(--cream); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .4s, border-color .4s, background .4s, opacity .4s;
}
.svc::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(217,180,106,.2), transparent 60%); }
.svc:hover { background: var(--paper); border-color: var(--gold-2); box-shadow: var(--sh); }
.svc:hover::before { opacity: 1; }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; margin-bottom: 12px; }
.svc__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); color: var(--gold-deep); transition: background .45s, color .45s, transform .6s var(--spring), border-color .45s; }
.svc__icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 240; stroke-dashoffset: 0; }
.svc:hover .svc__icon { background: var(--gold-grad); color: var(--espresso); border-color: transparent; transform: rotate(-6deg) scale(1.05); }
.svc:hover .svc__icon svg { animation: redraw 1.1s var(--ease-in-out); }
.svc__cat { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.svc__name { font-family: var(--f-display); font-size: 1.38rem; font-weight: 500; letter-spacing: -.01em; color: var(--espresso); }
.svc__local { font-family: var(--f-display); font-style: italic; color: var(--gold-deep); font-size: 1rem; margin-left: .25rem; font-weight: 400; }
.svc__desc { font-size: .93rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.svc__price { font-weight: 700; color: var(--espresso); font-size: .98rem; }
.svc__price small { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.svc__go { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--espresso); transition: transform .5s var(--spring), background .3s, border-color .3s; }
.svc:hover .svc__go { background: var(--espresso); border-color: var(--espresso); color: var(--gold-3); transform: rotate(-45deg); }
.svc.is-leaving { opacity: 0; transform: scale(.92); }
.svc.is-entering { opacity: 0; transform: translateY(16px) scale(.97); }

/* ---------- Pricing ---------- */
.pricing { background: var(--marble); }
.pricing__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: start; }
.price-list { background: var(--paper); border-radius: var(--r-xl); border: 1px solid var(--line); padding: clamp(16px, 2.4vw, 28px); box-shadow: var(--sh-sm); }
.search { position: relative; display: block; margin-bottom: 14px; }
.search .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search input {
  width: 100%; height: 54px; padding: 0 20px 0 50px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--cream); font-size: 1rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.search input:focus { outline: none; border-color: var(--gold); background: var(--paper); box-shadow: 0 0 0 4px rgba(217,180,106,.25); }
.price-rows { display: grid; }
.price-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 16px;
  transition: background .35s;
}
.price-row:last-child { border-bottom: 0; }
.price-row.is-selected { background: var(--gold-4); border-color: transparent; }
.price-row.is-hidden { display: none; }
.price-row.is-flash { animation: flash 1.8s var(--ease); }
.price-row__toggle {
  position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  border: 1.5px solid var(--line-2); background: var(--paper); color: transparent;
  transition: background .3s, border-color .3s, color .3s, transform .45s var(--spring);
}
.price-row__toggle .ic { width: 18px; height: 18px; stroke-width: 3; transform: scale(.4); transition: transform .45s var(--spring); }
.price-row__toggle:hover { border-color: var(--gold); transform: scale(1.06); }
.price-row.is-selected .price-row__toggle { background: var(--gold-grad); border-color: transparent; color: var(--espresso); }
.price-row.is-selected .price-row__toggle .ic { transform: scale(1); }
.price-row__main { min-width: 0; }
.price-row__name { font-weight: 650; color: var(--espresso); line-height: 1.3; }
.price-row__name em { font-family: var(--f-display); font-weight: 400; color: var(--gold-deep); margin-left: .3rem; }
.price-row__meta { font-size: .8rem; color: var(--ink-3); margin-top: 2px; }
.price-row__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.price-row__price { font-weight: 700; color: var(--espresso); white-space: nowrap; font-size: .96rem; }
.price-row__price small { font-weight: 500; color: var(--ink-3); font-size: .78rem; margin-left: .25rem; }
.stepper { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); animation: pop .5s var(--spring); }
.stepper button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--espresso); transition: background .2s; }
.stepper button:hover:not(:disabled) { background: var(--marble); }
.stepper button:disabled { opacity: .35; }
.stepper button .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.stepper output { min-width: 58px; text-align: center; font-size: .82rem; font-weight: 700; }
.price-empty { padding: 30px; text-align: center; color: var(--ink-3); }
.price-foot { font-size: .84rem; color: var(--ink-3); margin-top: 14px; padding-inline: 10px; display: flex; gap: 8px; }

.estimate { position: sticky; top: 96px; }
.estimate__card { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); background: var(--espresso); color: #EFE4D6; box-shadow: var(--sh-lg); }
.estimate__card::before { content: ''; position: absolute; width: 300px; height: 300px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(217,180,106,.35), transparent 70%); pointer-events: none; }
.estimate__head { position: relative; display: flex; gap: 14px; align-items: center; }
.estimate__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-grad); color: var(--espresso); flex: none; }
.estimate__head h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.45rem; color: #FFF8EC; }
.estimate__head p { font-size: .88rem; color: #BCA995; }
.estimate__items { position: relative; margin: 20px 0 0; display: grid; gap: 2px; max-height: 300px; overflow-y: auto; scrollbar-width: thin; }
.estimate__items li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .9rem; animation: rise .5s var(--ease); }
.estimate__items li span:first-child { flex: 1; }
.estimate__items li b { font-weight: 650; color: #FFF8EC; white-space: nowrap; }
.estimate__remove { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #D9C9B6; transition: background .2s, color .2s; }
.estimate__remove:hover { background: var(--rose); color: #fff; }
.estimate__remove .ic { width: 12px; height: 12px; stroke-width: 2.8; }
.estimate__total { position: relative; display: flex; flex-direction: column; gap: 4px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(255,255,255,.2); }
.estimate__total span { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: #BCA995; font-weight: 600; }
.estimate__total strong { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.02em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.15; font-variant-numeric: tabular-nums; }
.estimate__note { position: relative; font-size: .82rem; color: #BCA995; margin-top: 8px; }
.estimate__actions { position: relative; display: grid; gap: 10px; margin-top: 22px; }
.estimate__row { display: flex; gap: 8px; }
.estimate__row .btn { flex: 1; }
.estimate .btn--ghost { color: #EFE4D6; border-color: rgba(255,255,255,.2); }
.estimate .btn--ghost:hover:not(:disabled) { background: rgba(255,255,255,.08); border-color: var(--gold-2); }
.estimate .btn--text { color: #BCA995; }
.estimate .btn--text:hover:not(:disabled) { background: rgba(255,255,255,.06); color: #fff; }

/* ---------- Journey ---------- */
.journey { background: var(--cream); }
.segmented { position: relative; display: inline-flex; margin-top: 28px; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.segmented button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; padding: 10px 20px; min-height: 44px; border: 0; border-radius: 999px; background: none; font-weight: 650; font-size: .94rem; color: var(--ink-2); transition: color .35s; }
.segmented button[aria-selected="true"] { color: var(--espresso); }
.segmented__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--gold-grad); box-shadow: var(--sh-gold); transition: transform .55s var(--ease), width .55s var(--ease); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps::before {
  content: ''; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-2) 0 8px, transparent 8px 16px);
  transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease-in-out) .2s;
}
.steps.is-visible::before { transform: scaleX(1); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; }
.step__num {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px;
  border-radius: 50%; background: var(--paper); border: 1.5px solid var(--gold-2);
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; color: var(--gold-deep);
  box-shadow: 0 0 0 8px var(--cream);
  transition: transform .6s var(--spring), background .4s, color .4s;
}
.step:hover .step__num { transform: scale(1.1) rotate(-6deg); background: var(--gold-grad); color: var(--espresso); border-color: transparent; }
.step__title { font-family: var(--f-display); font-size: 1.28rem; font-weight: 500; color: var(--espresso); margin-bottom: 8px; }
.step__text { font-size: .94rem; color: var(--ink-2); max-width: 30ch; }
.step__text a { color: var(--gold-deep); font-weight: 600; }
.step__title, .step__text { transition: opacity .3s var(--ease), transform .45s var(--ease); }
.steps.is-swapping .step__title, .steps.is-swapping .step__text { opacity: 0; transform: translateY(8px); }

/* ---------- About ---------- */
.about { background: var(--paper); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__media { position: relative; aspect-ratio: 1 / 1.08; }
.about__photo { position: absolute; margin: 0; overflow: hidden; box-shadow: var(--sh-lg); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about__photo:hover img { transform: scale(1.06); }
.about__photo--a { inset: 0 22% 18% 0; border-radius: 999px 999px 32px 32px; }
.about__photo--b { right: 0; bottom: 0; width: 56%; aspect-ratio: 4/3; border-radius: 28px; border: 8px solid var(--paper); }
.about__badge { position: absolute; left: 50%; bottom: 4%; transform: translateX(-80%); width: 128px; height: 128px; border-radius: 50%; background: var(--espresso); display: grid; place-items: center; box-shadow: var(--sh); z-index: 2; }
.about__badge-ring { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); animation: spin 22s linear infinite; }
.about__badge-ring text { font-size: 10.5px; font-weight: 700; letter-spacing: 2.2px; fill: var(--gold-2); font-family: var(--f-body); }
.about__badge-tooth { width: 42px; height: 42px; fill: none; stroke: var(--gold-2); stroke-width: 2; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pillars li { display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); transition: transform .5s var(--spring), border-color .3s, box-shadow .3s; }
.pillars li:hover { transform: translateY(-4px); border-color: var(--gold-2); box-shadow: var(--sh-sm); }
.pillar__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--paper); color: var(--gold-deep); flex: none; border: 1px solid var(--line); }
.pillars h3 { font-size: 1rem; font-weight: 700; color: var(--espresso); margin-bottom: 2px; }
.pillars p { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(56px, 8vw, 96px) 0 0; border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 0; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.03em; color: var(--espresso); display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.stat dd small { font-family: var(--f-body); font-size: .9rem; letter-spacing: 0; color: var(--gold-deep); font-weight: 650; }
.stat dd .stat__pre { font-family: var(--f-display); font-size: .55em; color: var(--gold-deep); font-weight: 400; }
.stat dt { font-size: .9rem; color: var(--ink-3); font-weight: 550; }

/* ---------- Care hub ---------- */
.care { background: linear-gradient(180deg, var(--marble), var(--cream)); }
.care__panels { background: var(--paper); border-radius: var(--r-xl); border: 1px solid var(--line); padding: clamp(18px, 3.4vw, 44px); box-shadow: var(--sh); }
.panel { animation: rise .6s var(--ease); }

.er-banner { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 20px; background: var(--rose-soft); color: var(--rose-deep); margin-bottom: 26px; font-size: .94rem; }
.er-banner__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--rose); color: #fff; flex: none; animation: ping-soft 2s infinite; }
.er-banner__icon .ic { width: 18px; height: 18px; }
.er-banner strong { color: var(--rose-deep); }

.emergency { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 3vw, 40px); }
.emergency__list { display: grid; gap: 6px; align-content: start; }
.em-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: var(--cream);
  text-align: left; font-weight: 650; font-size: .95rem; color: var(--ink-2);
  transition: background .3s, color .3s, border-color .3s, transform .45s var(--spring);
}
.em-btn .ic { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .45s var(--spring); }
.em-btn:hover { border-color: var(--line-2); color: var(--espresso); }
.em-btn[aria-selected="true"] { background: var(--espresso); color: #FFF8EC; }
.em-btn[aria-selected="true"] .ic { opacity: 1; transform: none; color: var(--gold-2); }
.em-detail { animation: rise .55s var(--ease); }
.em-detail__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 20px; }
.em-detail__head .h3 { color: var(--espresso); }
.em-steps { display: grid; gap: 12px; counter-reset: em; }
.em-steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--cream); border: 1px solid var(--line); animation: rise .55s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.em-steps li::before { counter-increment: em; content: counter(em); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-grad); color: var(--espresso); font-weight: 750; font-size: .88rem; flex: none; }
.em-note { display: flex; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--amber-soft); color: var(--amber); font-size: .92rem; font-weight: 550; }
.em-note .ic { margin-top: 3px; }
.em-note--info { background: var(--marble); color: var(--ink-2); }
.em-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn--rose { background: var(--rose); color: #fff; box-shadow: 0 12px 26px -12px rgba(179,69,47,.7); }
.btn--rose:hover { background: var(--rose-deep); }

.aftercare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.care-col { padding: 22px; border-radius: 22px; border: 1px solid var(--line); animation: rise .55s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
.care-col h4 { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 750; margin-bottom: 14px; }
.care-col h4 span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; }
.care-col h4 .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.care-col ul { display: grid; gap: 10px; }
.care-col li { position: relative; padding-left: 18px; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.care-col li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; }
.care-col--do { background: linear-gradient(180deg, var(--sage-soft), transparent 70%); }
.care-col--do h4 { color: var(--sage-deep); }
.care-col--do h4 span { background: var(--sage); color: #fff; }
.care-col--do li::before { background: var(--sage); }
.care-col--avoid { background: linear-gradient(180deg, var(--rose-soft), transparent 70%); }
.care-col--avoid h4 { color: var(--rose-deep); }
.care-col--avoid h4 span { background: var(--rose); color: #fff; }
.care-col--avoid li::before { background: var(--rose); }
.care-col--call { background: linear-gradient(180deg, var(--amber-soft), transparent 70%); }
.care-col--call h4 { color: var(--amber); }
.care-col--call h4 span { background: #C98A2A; color: #fff; }
.care-col--call li::before { background: #C98A2A; }
.care-col--call .btn { margin-top: 16px; }

/* PhilHealth & HMO */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cov-card { padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--cream); animation: rise .55s var(--ease) both; }
.cov-card:nth-child(2) { animation-delay: 90ms; }
.cov-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cov-card__head h3 { font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; color: var(--espresso); line-height: 1.2; }
.cov-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; flex: none; }
.cov-card--sage .cov-card__icon { background: var(--sage-soft); color: var(--sage-deep); }
.cov-card--gold .cov-card__icon { background: var(--gold-4); color: var(--gold-deep); }
.cov-card__intro { color: var(--ink-2); font-size: .95rem; }
.cov-card__label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 8px; }
.cov-list { display: grid; gap: 8px; }
.cov-list li { padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.cov-list strong { display: block; color: var(--espresso); margin-bottom: 2px; }
.cov-steps { display: grid; gap: 8px; counter-reset: cov; }
.cov-steps li { position: relative; padding-left: 34px; font-size: .92rem; color: var(--ink-2); }
.cov-steps li::before { counter-increment: cov; content: counter(cov); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .78rem; font-weight: 750; color: var(--espresso); background: var(--gold-grad); }
.cov-card--sage .cov-steps li::before { background: var(--sage); color: #fff; }
.cov-card__pocket { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: .9rem; color: var(--ink-2); }
.cov-card__pocket .ic { margin-top: 3px; color: var(--gold-deep); flex: none; }
.cov-card__note { margin-top: 12px; font-size: .86rem; color: var(--ink-3); }

/* Brushing timer */
.timer { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.timer__stage { position: relative; width: min(340px, 78vw); aspect-ratio: 1; margin-inline: auto; }
.timer__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.timer__ring circle { fill: none; stroke-width: 10; }
.timer__ring-bg { stroke: var(--marble); }
.timer__ring-fg { stroke: url(#gold-grad); stroke-linecap: round; stroke-dasharray: 930; stroke-dashoffset: 930; transition: stroke-dashoffset 1s linear; }
.mouth { position: absolute; inset: 12%; width: 76%; height: 76%; overflow: visible; }
.mouth__q { fill: none; stroke: var(--line); stroke-width: 18; stroke-linecap: round; stroke-dasharray: 6 20; transition: stroke .5s; }
.mouth__q.is-active { stroke: var(--gold); animation: glow 1.2s ease-in-out infinite; }
.mouth__q.is-done { stroke: var(--sage); }
.mouth__side { font-size: 12px; font-weight: 750; fill: var(--ink-3); font-family: var(--f-body); }
.mouth__bubbles circle { fill: rgba(255,255,255,.9); stroke: var(--gold-2); stroke-width: 1; animation: bubble 1.6s var(--ease) forwards; }
.timer__readout { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.timer__time { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.4rem); letter-spacing: -.03em; color: var(--espresso); font-variant-numeric: tabular-nums; line-height: 1; }
.timer__label { font-size: .82rem; font-weight: 650; color: var(--ink-3); margin-top: 6px; max-width: 120px; line-height: 1.3; }
.timer__side .muted { margin: 10px 0 20px; max-width: 48ch; }
.quadrants { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; }
.quadrants li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: background .4s, border-color .4s, color .4s, transform .5s var(--spring); }
.quadrants__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); transition: background .4s, box-shadow .4s; }
.quadrants li.is-active { background: var(--gold-4); border-color: var(--gold-2); color: var(--espresso); transform: scale(1.03); }
.quadrants li.is-active .quadrants__dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(194,149,69,.25); }
.quadrants li.is-done { color: var(--sage-deep); }
.quadrants li.is-done .quadrants__dot { background: var(--sage); }
.timer__controls { display: flex; gap: 10px; align-items: center; }
.timer__tip { display: flex; gap: 10px; margin-top: 20px; font-size: .92rem; color: var(--ink-2); min-height: 3em; }
.timer__tip .ic { color: var(--gold); margin-top: 4px; width: 14px; height: 14px; }
.timer__tip span { transition: opacity .35s; }
.timer.is-done .timer__time { color: var(--sage-deep); }

/* Reminder */
.reminder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.reminder__form .muted { margin: 10px 0 22px; }
.field { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; border: 0; }
.field label, .field legend { font-size: .88rem; font-weight: 700; color: var(--espresso); padding: 0; margin-bottom: 8px; }
.field input[type="date"] { height: 54px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--cream); font-size: 1rem; transition: border-color .3s, box-shadow .3s; }
.field input[type="date"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217,180,106,.25); }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills label { margin: 0; }
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: .92rem; color: var(--ink-2); cursor: pointer; transition: all .3s; }
.radio-pills input:checked + span { background: var(--espresso); border-color: var(--espresso); color: #FFF8EC; }
.radio-pills input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.reminder__quick { font-size: .9rem; color: var(--ink-3); }
.reminder__result { border-radius: var(--r-lg); background: var(--cream); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); min-height: 360px; }
.reminder__result .result-empty { min-height: 300px; }
.due { animation: rise .6s var(--ease); }
.due__label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.due__date { font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -.02em; color: var(--espresso); margin: 6px 0 14px; }
.due__bar { height: 12px; border-radius: 999px; background: var(--marble); overflow: hidden; }
.due__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--gold-grad); transition: width 1.2s var(--ease); }
.due--overdue .due__bar span { background: linear-gradient(90deg, #E7A08E, var(--rose)); }
.due--soon .due__bar span { background: linear-gradient(90deg, #F0CB7F, #D49A2E); }
.due__meta { display: flex; justify-content: space-between; font-size: .84rem; color: var(--ink-3); margin-top: 8px; }
.due__msg { display: flex; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: 16px; font-size: .94rem; font-weight: 550; }
.due__msg .ic { margin-top: 3px; }
.due__msg--ok { background: var(--sage-soft); color: var(--sage-deep); }
.due__msg--soon { background: var(--amber-soft); color: var(--amber); }
.due__msg--overdue { background: var(--rose-soft); color: var(--rose-deep); }
.due__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- Stories ---------- */
.stories { background: var(--cream); overflow: hidden; }
.carousel__nav { display: flex; gap: 10px; }
.carousel__viewport { overflow: hidden; border-radius: var(--r-xl); touch-action: pan-y; }
.carousel__track { display: flex; transition: transform .9s var(--ease); }
.story {
  position: relative; flex: 0 0 100%;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 64px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  opacity: .35; transform: scale(.94); transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.story.is-active { opacity: 1; transform: none; }
.story__quote-mark { width: clamp(56px, 8vw, 96px); height: clamp(56px, 8vw, 96px); fill: var(--gold-3); align-self: start; }
.story.is-active .story__quote-mark { animation: pop .8s var(--spring); }
.story blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.25rem, 2.4vw, 1.85rem); font-weight: 380; line-height: 1.4; letter-spacing: -.01em; color: var(--espresso); text-wrap: pretty; }
.story figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.story__avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--gold-grad); color: var(--espresso); font-weight: 750; font-size: .95rem; flex: none; }
.story__name { display: block; font-weight: 700; color: var(--espresso); }
.story__meta { display: block; font-size: .88rem; color: var(--ink-3); }
.story__tag { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: var(--gold-4); color: var(--gold-deep); font-size: .8rem; font-weight: 650; white-space: nowrap; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel__dot { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--line-2); overflow: hidden; transition: width .5s var(--ease), background .3s; }
.carousel__dot::before { content: ''; position: absolute; inset: -12px; }
.carousel__dot[aria-current="true"] { width: 44px; background: var(--gold-3); }
.carousel__dot[aria-current="true"] span { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); animation: fill var(--dur, 7s) linear forwards; }
.carousel.is-paused .carousel__dot span { animation-play-state: paused; }
.stories__more { text-align: center; margin-top: 22px; font-size: .92rem; color: var(--ink-3); }
.stories__more a { color: var(--gold-deep); font-weight: 650; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro .lead { margin-top: 14px; }
.faq__contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 4px; background: none; border: 0; text-align: left; font-family: var(--f-display); font-size: clamp(1.08rem, 1.6vw, 1.25rem); font-weight: 500; color: var(--espresso); letter-spacing: -.005em; }
.acc-q:hover { color: var(--gold-deep); }
.acc-icon { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; transition: transform .5s var(--spring), background .3s, border-color .3s; }
.acc-icon .ic { width: 16px; height: 16px; }
.acc-q[aria-expanded="true"] .acc-icon { transform: rotate(135deg); background: var(--gold-grad); border-color: transparent; }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-a > div { overflow: hidden; }
.acc-a p { padding: 0 60px 24px 4px; color: var(--ink-2); opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease); }
.acc-item.is-open .acc-a { grid-template-rows: 1fr; }
.acc-item.is-open .acc-a p { opacity: 1; transform: none; transition-delay: .1s; }

/* ---------- CTA ---------- */
.cta { padding-block: 0 clamp(72px, 10vw, 120px); background: var(--paper); }
.cta__card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 64px);
  border-radius: clamp(28px, 4vw, 48px);
  background: radial-gradient(120% 120% at 50% 0%, var(--espresso-3) 0%, var(--espresso) 60%);
  color: #EFE4D6;
}
.cta__tooth { position: absolute; z-index: -1; width: 540px; height: 540px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .14; animation: breathe 9s ease-in-out infinite; }
.cta__tooth path { fill: none; stroke: var(--gold-2); stroke-width: 1; }
.cta__sparkles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta__sparkles svg { position: absolute; fill: var(--gold-2); animation: twinkle 3s ease-in-out infinite; }
.cta__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.3rem, 5.6vw, 4.4rem); letter-spacing: -.03em; line-height: 1.05; color: #FFF8EC; font-variation-settings: 'opsz' 144, 'SOFT' 60; }
.cta__text { max-width: 48ch; margin: 18px auto 0; color: #D1C0AC; font-size: 1.08rem; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 20px; align-items: stretch; }
.contact__cards { display: grid; grid-template-columns: 1fr; gap: 12px; align-content: start; }
.contact-card { display: flex; gap: 14px; padding: 20px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--spring), box-shadow .3s, border-color .3s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); border-color: var(--gold-2); }
.contact-card { align-items: center; }
.contact-card:first-child { align-items: flex-start; }
.contact-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--gold-4); color: var(--gold-deep); flex: none; }
.contact-card__body { min-width: 0; }
.contact-card h3 { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.contact-card p { font-weight: 600; color: var(--espresso); overflow-wrap: anywhere; line-height: 1.45; }
.contact-card p a { text-decoration: none; }
.contact-card p a:hover { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--cream); font-size: .84rem; font-weight: 650; color: var(--espresso); text-decoration: none; transition: background .25s, border-color .25s, transform .4s var(--spring); }
.chip-link:hover { background: var(--paper); border-color: var(--gold-2); transform: translateY(-2px); }
.chip-link .ic { width: 14px; height: 14px; }
.hours-card { padding: 22px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.hours-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.hours-card h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; color: var(--espresso); }
.hours-card h3 .ic { color: var(--gold); }
.hours-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.hours-table th, .hours-table td { padding: 9px 12px; text-align: left; font-weight: 500; color: var(--ink-2); }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr { transition: background .3s; }
.hours-table tr.is-today { background: var(--gold-4); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--espresso); font-weight: 700; }
.hours-table tr.is-today th::after { content: 'Today'; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--gold-grad); font-size: .7rem; font-weight: 750; color: var(--espresso); vertical-align: 1px; }
.hours-table tr.is-today th { border-radius: 12px 0 0 12px; }
.hours-table tr.is-today td { border-radius: 0 12px 12px 0; }
.map { position: relative; min-height: 520px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh); background: var(--marble); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.12); }
.map__card { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: var(--sh); }
.map__card img { width: 52px; height: 40px; object-fit: contain; }
.map__card div { flex: 1; min-width: 0; line-height: 1.3; }
.map__card strong { display: block; color: var(--espresso); font-size: .96rem; }
.map__card span { font-size: .84rem; color: var(--ink-3); }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: #BCA995; padding: clamp(56px, 8vw, 88px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { display: inline-grid; place-items: center; padding: 12px 20px; border-radius: 22px; background: var(--cream); margin-bottom: 18px; }
.footer__logo img { height: 72px; width: auto; }
.footer__brand p { max-width: 34ch; font-size: .94rem; }
.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.footer__title { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { color: #D9C9B6; text-decoration: none; font-size: .94rem; position: relative; transition: color .25s; }
.footer__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease); }
.footer__links a:hover { color: #FFF8EC; }
.footer__links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.footer__hours { font-size: .92rem; margin-bottom: 12px; }
.footer__hours strong { color: #FFF8EC; font-weight: 600; }
.footer__hours a { color: var(--gold-2); font-weight: 650; text-decoration: none; }
.footer__bottom a { color: var(--gold-2); text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--espresso); box-shadow: var(--sh); text-decoration: none; opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: opacity .4s, transform .5s var(--spring), background .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--espresso); color: var(--gold-2); }
.to-top .ic { position: relative; transition: transform .45s var(--spring); }
.to-top:hover .ic { transform: translateY(-3px); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2.5; }
.to-top__ring circle:first-child { stroke: var(--line); }
.to-top__ring circle:last-child { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(540px, 100vw); height: 100dvh; max-height: 100dvh; max-width: 100vw;
  background: var(--paper); color: var(--ink);
  box-shadow: -30px 0 80px -30px rgba(42,27,20,.4);
  overflow: hidden;
}
.drawer::backdrop { background: rgba(42, 27, 20, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.drawer[open] { animation: drawer-in .6s var(--ease); }
.drawer[open]::backdrop { animation: fade-in .4s ease; }
.drawer.is-closing { animation: drawer-out .4s var(--ease-in-out) forwards; }
.drawer.is-closing::backdrop { animation: fade-out .4s ease forwards; }
.drawer__inner { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.drawer__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--marble); }
.drawer__media img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.4s var(--ease); transform: scale(1); }
.drawer__close { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(255,255,255,.92); border: 0; box-shadow: var(--sh-sm); }
.drawer__body { padding: 28px clamp(20px, 4vw, 36px) 36px; }
.drawer__body > * { animation: rise .6s var(--ease) both; }
.drawer__body > *:nth-child(2) { animation-delay: .05s; }
.drawer__body > *:nth-child(3) { animation-delay: .1s; }
.drawer__body > *:nth-child(4) { animation-delay: .15s; }
.drawer__body > *:nth-child(5) { animation-delay: .2s; }
.drawer__body > *:nth-child(6) { animation-delay: .25s; }
.drawer__cat { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.drawer__title { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 2.3rem); font-weight: 500; letter-spacing: -.02em; color: var(--espresso); margin: 8px 0 12px; }
.drawer__title em { font-weight: 400; color: var(--gold-deep); font-size: .7em; margin-left: .3rem; }
.drawer__desc { color: var(--ink-2); }
.drawer__price { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 24px 0; padding: 18px 20px; border-radius: 20px; background: var(--gold-4); }
.drawer__price span { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.drawer__price strong { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; color: var(--espresso); text-align: right; line-height: 1.2; }
.drawer__price strong small { display: block; font-family: var(--f-body); font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.drawer__h { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.expect { display: grid; gap: 10px; }
.expect li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.expect li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); flex: none; font-size: .8rem; font-weight: 750; }
.drawer__note { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--marble); font-size: .88rem; color: var(--ink-2); }
.drawer__note .ic { margin-top: 3px; color: var(--gold-deep); }
.drawer__actions { display: grid; gap: 10px; margin-top: 28px; }
.drawer__actions-row { display: flex; gap: 10px; }
.drawer__actions-row .btn { flex: 1; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--espresso); color: #FFF8EC; font-weight: 600; font-size: .92rem; box-shadow: var(--sh-lg); transform: translate(-50%, 140%); opacity: 0; transition: transform .6s var(--spring), opacity .3s; pointer-events: none; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast .ic { color: #7FD69A; stroke-width: 2.8; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

/* ---------- Keyframes ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes redraw { 0% { stroke-dashoffset: 240; } 100% { stroke-dashoffset: 0; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round 999px 999px 36px 36px); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes pop { 0% { opacity: 0; transform: translateY(14px) scale(.85); } 100% { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0deg); opacity: .5; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 40px) scale(1.1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes ping-soft { 0%, 100% { box-shadow: 0 0 0 0 rgba(179,69,47,.45); } 50% { box-shadow: 0 0 0 7px rgba(179,69,47,0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(-4deg); } 50% { transform: translate(-50%, -50%) scale(1.06) rotate(4deg); } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(194,149,69,0)); } 50% { filter: drop-shadow(0 0 8px rgba(194,149,69,.7)); } }
@keyframes bubble { 0% { opacity: 0; transform: translate(0, 0) scale(.3); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--bx, 0), -34px) scale(1); } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes flash { 0%, 100% { box-shadow: inset 0 0 0 0 rgba(194,149,69,0); } 20%, 60% { box-shadow: inset 0 0 0 2px var(--gold); background: var(--gold-4); } }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-out { to { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes celebrate { 0% { opacity: 1; transform: translate(0, 0) scale(.4) rotate(0); } 100% { opacity: 0; transform: translate(var(--cx), var(--cy)) scale(1) rotate(180deg); } }
.confetti { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; fill: var(--gold); pointer-events: none; animation: celebrate 1.2s var(--ease) forwards; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .topbar__hide-md { display: none; }
}

@media (max-width: 1100px) {
  .nav a { padding: 8px 10px; font-size: .92rem; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .aftercare { grid-template-columns: 1fr 1fr; }
  .care-col--call { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav, .header__login { display: none; }
  .header__actions { margin-left: auto; }
  .burger { display: block; }
  .topbar__hide-md { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 520px; margin-top: 24px; }
  .finder__grid, .pricing__grid, .about__grid, .faq__grid, .contact__grid, .reminder { grid-template-columns: 1fr; }
  .finder__result, .estimate, .faq__intro { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .about__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .emergency { grid-template-columns: 1fr; }
  .emergency__list { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .emergency__list::-webkit-scrollbar { display: none; }
  .em-btn { flex: none; width: auto; border-radius: 999px; padding: 10px 16px; }
  .em-btn .ic { display: none; }
  .timer { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .map { min-height: 380px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .topbar__hide-sm { display: none; }
  .topbar__inner { gap: 12px; }
  .topbar .status-pill__text { white-space: nowrap; }
  .header .btn--sm span { display: none; }
  .header .btn--sm { width: 46px; padding: 0; }
  .brand img { height: 52px; }
  .header.is-scrolled .brand img { height: 46px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .returning { border-radius: 20px; }
  .hero__eyebrow { letter-spacing: .08em; font-size: .64rem; }
  .float-card { font-size: .74rem; padding: 8px 12px 8px 8px; gap: 8px; }
  .float-card strong { font-size: .84rem; }
  .float-card__icon { width: 32px; height: 32px; border-radius: 10px; }
  .float-card--status { left: 0; }
  .float-card--price { right: 0; }
  .float-card--safe { display: none; }
  .quick__grid, .services__grid { grid-template-columns: 1fr; }
  .quick-card { padding: 22px 20px; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .tabs-pill { margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; width: auto; max-width: none; padding-inline: var(--gutter); background: transparent; border: 0; gap: 8px; }
  .tabs-pill button { background: var(--paper); border: 1px solid var(--line); }
  .tabs-pill button[aria-selected="true"] { background: var(--espresso); border-color: var(--espresso); }
  .tabs-pill__thumb { display: none; }
  .price-row { grid-template-columns: auto 1fr; }
  .price-row__right { grid-column: 2; align-items: flex-start; flex-direction: row; flex-wrap: wrap; justify-content: space-between; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step { flex-direction: row; text-align: left; align-items: flex-start; gap: 16px; }
  .step__num { width: 52px; height: 52px; margin: 0; font-size: 1.2rem; flex: none; }
  .pillars { grid-template-columns: 1fr; }
  .stat dd { font-size: 2.4rem; }
  .aftercare { grid-template-columns: 1fr; }
  .coverage { grid-template-columns: 1fr; }
  .quadrants { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; gap: 12px; }
  .story__quote-mark { width: 44px; height: 44px; }
  .story figcaption { flex-wrap: wrap; }
  .story__tag { margin-left: 0; }
  .carousel__nav { display: none; }
  .acc-a p { padding-right: 8px; }
  .contact__cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
  .cta__actions .btn { flex: 1 1 100%; }

  .action-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 85;
    display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 4px; padding: 6px;
    border-radius: 22px; background: rgba(42,27,20,.94); backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -12px rgba(42,27,20,.55);
    transform: translateY(0); transition: transform .5s var(--ease);
  }
  .action-bar.is-hidden { transform: translateY(140%); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 16px; color: #E9DCCB; text-decoration: none; font-size: .72rem; font-weight: 650; transition: background .2s; }
  .action-bar a:active { background: rgba(255,255,255,.1); }
  .action-bar .ic { width: 20px; height: 20px; color: var(--gold-2); }
  .action-bar__book { background: var(--gold-grad); color: var(--espresso) !important; flex-direction: row !important; gap: 8px !important; font-size: .9rem !important; }
  .action-bar__book .ic { color: var(--espresso) !important; }
  .to-top { bottom: calc(92px + env(safe-area-inset-bottom)); right: 14px; width: 46px; height: 46px; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }

  .drawer { inset: auto 0 0 0; width: 100vw; height: auto; max-height: 92dvh; border-radius: 28px 28px 0 0; }
  .drawer__inner { max-height: 92dvh; }
  .drawer[open] { animation: sheet-in .6s var(--ease); }
  .drawer.is-closing { animation: sheet-out .4s var(--ease-in-out) forwards; }
}

@media (hover: none) {
  .svc:hover .svc__icon svg { animation: none; }
}

/* No reduced-motion variant: every animation on this page runs for every
   visitor. See CLAUDE.md, "The tour". */
