/* ==========================================================================
   Divine Hospital – Divine ENT Centre
   Design system: "Soft UI Evolution" — deep medical teal + brand gold (logo)
   Type: Figtree (UI/body) + Instrument Serif italic (accents)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --gold-50: #fffaeb;
  --gold-100: #fff1c2;
  --gold-300: #ffd84d;
  --gold-400: #fcc81a;
  --gold-500: #f5be00;
  --gold-600: #d6a200;

  --teal-50: #eef7f6;
  --teal-100: #d7ecea;
  --teal-200: #b3dad6;
  --teal-400: #3fa39c;
  --teal-500: #16867f;
  --teal-600: #0f6f6b;
  --teal-700: #0b5a58;
  --teal-800: #0a4749;
  --teal-900: #073b3f;
  --teal-950: #04282b;

  --bg: #f7f6f2;
  --bg-alt: #eef5f3;
  --surface: #ffffff;
  --text: #0c2326;
  --text-2: #3a5356;
  --text-3: #55696b;
  --line: rgba(7, 59, 63, .1);
  --line-2: rgba(7, 59, 63, .18);
  --on-dark: #eaf4f3;
  --on-dark-2: rgba(234, 244, 243, .74);
  --danger: #b42318;
  --success: #067647;
  --whatsapp: #25d366;

  --font-sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Nirmala UI", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(4, 40, 43, .05), 0 1px 1px rgba(4, 40, 43, .03);
  --sh-2: 0 1px 2px rgba(4, 40, 43, .04), 0 10px 28px -8px rgba(4, 40, 43, .12);
  --sh-3: 0 2px 6px rgba(4, 40, 43, .05), 0 28px 56px -18px rgba(4, 40, 43, .26);
  --sh-gold: 0 10px 28px -10px rgba(214, 162, 0, .75);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.4, 0, .2, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 128px);
  --action-bar-space: 88px;
}

@media (min-width: 768px) {
  :root { --action-bar-space: 0px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body { overflow-x: clip; }
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
main:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

::selection { background: var(--gold-300); color: var(--teal-950); }

.sr-only {
  position: absolute !important;
  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;
  top: 12px; left: 12px;
  z-index: 100;
  padding: .75rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--teal-950);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { --container: 1400px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- 3. Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}
.eyebrow--light { color: var(--gold-400); }

.h2 {
  font-size: clamp(2rem, 1.3rem + 2.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--teal-950);
  text-wrap: balance;
}
.h2--sm { font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem); }

h1 em, .h2 em, .footer-cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -.01em;
  color: var(--teal-600);
}

.lead {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-2);
}

.label-title {
  margin-top: 2.25rem;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-900);
}

/* ---------- 4. Buttons & links ---------- */
.btn {
  --btn-h: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: var(--btn-h);
  padding: 0 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-size: .975rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .25s var(--ease-out), background-color .2s, border-color .2s, color .2s, box-shadow .25s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:active { transform: scale(.97); }

.btn--gold {
  background: var(--gold-500);
  color: var(--teal-950);
  box-shadow: var(--sh-gold), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--gold:hover { background: var(--gold-400); transform: translateY(-2px); }

.btn--teal { background: var(--teal-900); color: #fff; box-shadow: 0 10px 24px -12px rgba(7, 59, 63, .8); }
.btn--teal:hover { background: var(--teal-800); transform: translateY(-2px); }

.btn--outline {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .7);
  color: var(--teal-900);
}
.btn--outline:hover { border-color: var(--teal-900); background: #fff; }

.btn--outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--outline-light:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }

.btn--light { background: #fff; color: var(--teal-900); box-shadow: var(--sh-2); }
.btn--light:hover { background: var(--gold-50); }

.btn--whatsapp { background: var(--whatsapp); color: #06301a; }
.btn--whatsapp:hover { background: #3ee07a; transform: translateY(-2px); }

.btn--sm { --btn-h: 44px; padding: 0 1.1rem; font-size: .9rem; }
.btn--lg { --btn-h: 56px; padding: 0 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  color: var(--teal-700);
  transition: color .2s, gap .25s var(--ease-out);
}
.link-arrow:hover { gap: .7rem; color: var(--teal-900); }
.link-arrow--gold { color: var(--gold-400); }
.link-arrow--gold:hover { color: var(--gold-300); }

/* ---------- 5. Shared bits ---------- */
.icon-bubble {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.icon-bubble .icon { width: 22px; height: 22px; }
.icon-bubble--gold { background: var(--gold-100); color: var(--teal-900); }
.icon-bubble--wa { background: #dcfce7; color: #128c4a; }

.tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal-900);
  color: var(--gold-400);
}
.tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.tick--sm { width: 22px; height: 22px; margin-top: .1rem; }
.tick--sm .icon { width: 12px; height: 12px; }

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-950));
  color: var(--gold-400);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.avatar--sm { width: 42px; height: 42px; }
.avatar--photo { object-fit: cover; background: var(--teal-100); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold-400); }

.status-dot {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #98a8a9;
  box-shadow: 0 0 0 4px rgba(152, 168, 169, .22);
}
.is-open .status-dot {
  background: #17c26b;
  box-shadow: 0 0 0 4px rgba(23, 194, 107, .22);
  animation: pulse 2.2s ease-out infinite;
}
.is-closed .status-dot { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .22); }

.chip-glass {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .8rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.chip-glass .icon { width: 15px; height: 15px; color: var(--gold-300); }

/* ---------- 6. Top bar ---------- */
.topbar {
  display: none;
  background: var(--teal-950);
  color: var(--on-dark-2);
  font-size: .8125rem;
}
.topbar__inner { display: flex; align-items: center; gap: 1.75rem; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--gold-400); }
.topbar__item [data-open-label] { color: #fff; font-weight: 700; }
.topbar__item--wide { display: none; }
.topbar__links { display: flex; gap: 1.5rem; margin-left: auto; }
.topbar__links a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: #fff; transition: color .2s; }
.topbar__links a:hover { color: var(--gold-400); }
.topbar__links .icon { width: 15px; height: 15px; color: var(--gold-400); }

@media (min-width: 768px) { .topbar { display: block; } }
@media (min-width: 1100px) { .topbar__item--wide { display: inline-flex; } }

/* ---------- 7. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, .78);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(255, 255, 255, .9);
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(4, 40, 43, .3);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .75rem; flex: none; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--teal-900);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 8px 18px -8px rgba(7, 59, 63, .7);
}
.brand__mark img { width: 29px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.14rem; font-weight: 800; letter-spacing: -.02em; color: var(--teal-950); }
.brand__text span { margin-top: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--teal-600); }
.brand--light .brand__mark { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text span { color: var(--gold-400); }

.nav { display: none; flex: 1; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 .8rem;
  border-radius: var(--r-pill);
  font-size: .925rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-2);
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--teal-950); background: rgba(7, 59, 63, .06); }
.nav__link[aria-current="page"] { color: var(--teal-950); background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 5px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-500);
  transform: translateX(-50%);
}
.label-short { display: none; }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.header-call { display: none; }
.header-book { display: none; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #fff;
  color: var(--teal-950);
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { transform: translateY(-6px); }
.menu-toggle__bars::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: rotate(45deg); background: var(--teal-950); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: rotate(-45deg); background: var(--teal-950); }

@media (min-width: 520px) { .header-book { display: inline-flex; } }
@media (max-width: 767px) { .header-book span { display: none; } .header-book { padding: 0; width: 46px; } }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .nav .label-full { display: none; }
  .nav .label-short { display: inline; }
}
@media (min-width: 1400px) {
  .nav .label-full { display: inline; }
  .nav .label-short { display: none; }
  .header-call { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: calc(var(--menu-top, var(--header-h)) + 16px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .35s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { display: grid; }
.mobile-menu__list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--i) * 40ms + 60ms); }
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  font-size: clamp(1.25rem, 1rem + 1.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--teal-950);
}
.mobile-menu__link .icon { color: var(--teal-400); }
.mobile-menu__link[aria-current="page"] { color: var(--teal-600); }
.mobile-menu__link[aria-current="page"] span::after { content: " •"; color: var(--gold-500); }
.mobile-menu__footer { display: grid; gap: .75rem; margin-top: auto; }
.mobile-menu__hours { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .25rem; font-size: .9rem; color: var(--text-3); }
.mobile-menu__hours .icon { width: 16px; height: 16px; }
html.menu-open { overflow: hidden; }

/* ---------- 8. Hero (home) ---------- */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }

.hero__bg,
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 55% at 88% 12%, rgba(22, 134, 127, .17), transparent 70%),
    radial-gradient(36% 46% at 4% 4%, rgba(245, 190, 0, .17), transparent 70%),
    radial-gradient(60% 50% at 40% 115%, rgba(22, 134, 127, .1), transparent 70%);
}
.hero__bg::after,
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(7, 59, 63, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 30% 30%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at 30% 30%, #000 20%, transparent 72%);
  opacity: .55;
}

.hero__grid { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 1rem .4rem .4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--sh-1);
  font-size: .875rem;
  font-weight: 700;
  color: var(--teal-800);
}
.pill__mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-900); }
.pill__mark img { width: 16px; }

.hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.45rem, 1.35rem + 4.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--teal-950);
  text-wrap: balance;
}
.hero__title em {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: -.04em; right: -.04em; bottom: .1em;
  z-index: -1;
  height: .2em;
  border-radius: var(--r-pill);
  background: var(--gold-300);
  opacity: .75;
}
.hero__lead { margin-top: 1.4rem; max-width: 38rem; }
.hero__lead strong { color: var(--teal-900); }

.hero__badges { display: grid; gap: .75rem; margin-top: 1.75rem; }
.hero__badges li { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--text); }
.hero__ctas { margin-top: 2.1rem; }

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 31rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--line-2);
}
.hero__trust img { width: 60px; height: 60px; filter: drop-shadow(0 6px 12px rgba(160, 110, 0, .3)); }
.hero__trust strong { display: block; font-size: .98rem; color: var(--teal-950); }
.hero__trust span { font-size: .86rem; color: var(--text-3); }

.hero__visual { position: relative; margin-inline: 8px; }
.hero__visual::before {
  content: "";
  position: absolute;
  left: -16px; bottom: -16px;
  z-index: -1;
  width: 62%; height: 58%;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--gold-300), var(--gold-500));
}
.hero__visual::after {
  content: "";
  position: absolute;
  right: -22px; top: -22px;
  z-index: -1;
  width: 120px; height: 120px;
  border: 2px dashed rgba(15, 111, 107, .35);
  border-radius: 50%;
}
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 4.3;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--teal-100);
  box-shadow: var(--sh-3);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 40, 43, 0) 55%, rgba(4, 40, 43, .35));
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 290px;
  padding: .75rem 1rem .75rem .75rem;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--sh-3);
  font-size: .8rem;
  line-height: 1.35;
}
.float-card strong { display: block; font-size: .95rem; color: var(--teal-950); }
.float-card div span { color: var(--text-3); }
.float-card--doctor { left: -12px; top: 7%; }
.float-card--status { right: -8px; top: 47%; padding-left: 1rem; }
.float-card--tech { left: 6%; bottom: -24px; }

@media (max-width: 519px) {
  .float-card { font-size: .75rem; max-width: 230px; }
  .float-card--doctor { left: -4px; top: 4%; }
  .float-card--status { right: -4px; top: auto; bottom: 26%; }
  .float-card--tech { display: none; }
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; }
  .hero__visual { margin: 0 0 0 12px; }
  .float-card--doctor { left: -48px; }
}

/* ---------- 9. Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 1.15rem 0;
  background: var(--teal-950);
  color: var(--on-dark);
}
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; align-items: center; }
.marquee__list li {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1rem + 1.1vw, 1.9rem);
  font-style: italic;
  white-space: nowrap;
}
.marquee__list li::after {
  content: "";
  width: 14px; height: 14px;
  background: var(--gold-500);
  clip-path: polygon(36% 0, 64% 0, 64% 36%, 100% 36%, 100% 64%, 64% 64%, 64% 100%, 36% 100%, 36% 64%, 0 64%, 0 36%, 36% 36%);
}

/* ---------- 10. Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--bg-alt); }

.section-head { display: grid; gap: 1rem; max-width: 48rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { justify-items: center; margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; }
.section-head--split > :last-child:not(.lead):not(.h2) { justify-self: start; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1fr auto; column-gap: 3rem; align-items: end; }
  .section-head--split .eyebrow, .section-head--split .h2, .section-head--split .lead { grid-column: 1; }
  .section-head--split .lead { max-width: 44rem; }
  .section-head--split > :last-child:not(.lead):not(.h2) { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
}

/* ---------- 11. About ---------- */
.about__grid { display: grid; gap: clamp(64px, 7vw, 96px); align-items: center; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: .85fr 1.15fr; } }

.about__media { position: relative; max-width: 520px; margin-inline: auto; width: 100%; padding: 32px 14px 0 0; }

.profile-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 4.9;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-xl);
  background: radial-gradient(120% 90% at 15% 0%, var(--teal-600), var(--teal-950) 72%);
  box-shadow: var(--sh-3);
  color: #fff;
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.profile-card__mark { position: absolute; top: 8%; right: -6%; z-index: -1; width: 72%; opacity: .06; }
.profile-card__initials {
  margin-bottom: auto;
  font-family: var(--font-serif);
  font-size: clamp(6.5rem, 16vw, 10rem);
  font-style: italic;
  line-height: .9;
  color: var(--gold-400);
}
.profile-card__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.profile-card--photo::before { display: none; }
.profile-card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 42%, rgba(4, 40, 43, .55) 62%, rgba(4, 40, 43, .94)); }
.profile-card__name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.profile-card__creds { color: var(--on-dark-2); }
.profile-card__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.profile-card__chips li {
  padding: .4rem .85rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  font-size: .8rem;
  font-weight: 700;
}

.about__inset {
  position: absolute;
  top: 0; right: 0;
  width: 42%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 6px solid var(--bg);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
}
.about__inset img { width: 100%; height: 100%; object-fit: cover; }
.about__media--photo { padding-top: 0; }

.about__subtitle { margin-top: .9rem; font-weight: 700; color: var(--teal-700); }
.about__quote {
  margin-top: 1.75rem;
  padding: .25rem 0 .25rem 1.5rem;
  border-left: 3px solid var(--gold-500);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--teal-900);
}
.prose { max-width: 64ch; margin-top: 1.5rem; color: var(--text-2); }
.prose p + p { margin-top: 1rem; }

.expertise { display: grid; gap: .75rem; margin-top: 1.1rem; }
.expertise li {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem 1rem .8rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color .25s, box-shadow .25s, transform .3s var(--ease-out);
}
.expertise li:hover { border-color: var(--teal-200); box-shadow: var(--sh-2); transform: translateY(-2px); }
@media (min-width: 640px) { .expertise { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .expertise--grid { grid-template-columns: repeat(3, 1fr); } }
.about__ctas { margin-top: 2rem; }

/* ---------- 12. Speciality cards ---------- */
.services { background: linear-gradient(180deg, var(--bg), var(--bg-alt) 45%, var(--bg)); }
.spec-grid { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }

.spec-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-1);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.spec-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.spec-card__head { display: flex; align-items: flex-start; justify-content: space-between; }
.spec-card__icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 20px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.spec-card__icon .icon { width: 28px; height: 28px; }
.spec-card__num { font-family: var(--font-serif); font-size: 2.75rem; font-style: italic; line-height: 1; color: var(--teal-200); }
.spec-card__title { margin-top: 1.5rem; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--teal-950); }
.spec-card__summary { margin-top: .6rem; color: var(--text-3); }
.spec-card__list { display: grid; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.spec-card__list li { display: flex; gap: .8rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.spec-card__list .icon { width: 20px; height: 20px; margin-top: .15rem; color: var(--teal-500); }
.spec-card__list h4 { font-size: 1rem; font-weight: 700; color: var(--teal-950); }
.spec-card__list p { margin-top: .25rem; font-size: .925rem; line-height: 1.55; color: var(--text-3); }
.spec-card .link-arrow { margin-top: auto; padding-top: 1.5rem; }

.spec-card--featured { border-color: transparent; background: var(--teal-900); color: var(--on-dark); box-shadow: var(--sh-3); }
.spec-card--featured .spec-card__icon { background: rgba(245, 190, 0, .14); color: var(--gold-400); }
.spec-card--featured .spec-card__num { color: rgba(245, 190, 0, .4); }
.spec-card--featured .spec-card__title, .spec-card--featured h4 { color: #fff; }
.spec-card--featured .spec-card__summary, .spec-card--featured .spec-card__list p { color: var(--on-dark-2); }
.spec-card--featured .spec-card__list, .spec-card--featured .spec-card__list li { border-color: rgba(255, 255, 255, .12); }
.spec-card--featured .spec-card__list .icon { color: var(--gold-400); }
.spec-card--featured .link-arrow { color: var(--gold-400); }

/* ---------- 13. Facilities bento ---------- */
.bento { display: grid; gap: 1.1rem; }
.bento__item {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--teal-900);
  color: #fff;
}
.bento__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.bento__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 40, 43, 0) 25%, rgba(4, 40, 43, .6) 58%, rgba(4, 40, 43, .94));
}
.bento__item:hover .bento__img { transform: scale(1.05); }
.bento__body { padding: clamp(22px, 2.6vw, 32px); }
.bento__body h3 { margin-top: .85rem; font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.bento__body p { max-width: 42ch; margin-top: .45rem; font-size: .95rem; color: rgba(255, 255, 255, .84); }
/* Layout follows position (admin can rename/reorder facilities); items after the 4th flow into extra rows. */
.bento__item:nth-child(2) { min-height: 460px; }
.bento__item:nth-child(2) .bento__img { object-position: 50% 25%; }

@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(320px, auto));
    grid-auto-rows: minmax(320px, auto);
    grid-template-areas: "a a b" "c d b";
  }
  .bento__item { min-height: 0; }
  .bento__item:nth-child(1) { grid-area: a; }
  .bento__item:nth-child(2) { grid-area: b; }
  .bento__item:nth-child(3) { grid-area: c; }
  .bento__item:nth-child(4) { grid-area: d; }
}

/* ---------- 14. Why choose (dark) ---------- */
.why { isolation: isolate; overflow: hidden; background: var(--teal-950); color: var(--on-dark); }
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(22, 134, 127, .38), transparent 70%),
    radial-gradient(40% 55% at 100% 100%, rgba(245, 190, 0, .14), transparent 70%);
}
.why::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000, transparent 75%);
}
.why__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .why__grid { grid-template-columns: .85fr 1.15fr; gap: 80px; } }
.why__intro { display: grid; gap: 1.25rem; justify-items: start; }
.why .h2 { color: #fff; }
.why .h2 em { color: var(--gold-400); }
.why .lead { color: var(--on-dark-2); }
.why__cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .why__cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-card:nth-child(even) { margin-top: 40px; margin-bottom: -40px; } }
.why-card {
  position: relative;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  transition: transform .4s var(--ease-out), border-color .3s;
}
.why-card:hover { transform: translateY(-5px); border-color: rgba(245, 190, 0, .45); }
.why-card__num { position: absolute; top: 18px; right: 24px; font-family: var(--font-serif); font-size: 2.2rem; font-style: italic; color: rgba(255, 255, 255, .2); }
.why-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(245, 190, 0, .13); color: var(--gold-400); }
.why-card__icon .icon { width: 26px; height: 26px; }
.why-card h3 { margin-top: 1.4rem; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.why-card p { margin-top: .5rem; font-size: .95rem; color: var(--on-dark-2); }

/* ---------- 15. Testimonials ---------- */
.testimonial-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.testimonial {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-1);
}
.testimonial__mark { width: 42px; height: 42px; color: var(--gold-500); }
.testimonial blockquote p {
  margin-top: 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.1rem + .8vw, 1.75rem);
  line-height: 1.32;
  color: var(--teal-950);
}
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: 1.75rem; }
.testimonial figcaption strong { display: block; color: var(--teal-950); }
.testimonial figcaption span span { font-size: .875rem; color: var(--text-3); }
.review-link { margin-top: 1.75rem; text-align: center; }
.review-note { margin-top: 1.5rem; font-size: .85rem; text-align: center; color: var(--text-3); }

/* ---------- 16. Appointment form & contact ---------- */
.appointment { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.appointment__grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .appointment__grid { grid-template-columns: 1.08fr .92fr; } }

.form-card {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-3);
}
.form-card__head { display: flex; gap: 1rem; align-items: flex-start; }
.form-card__head h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: var(--teal-950); }
.form-card__head p { margin-top: .2rem; font-size: .92rem; color: var(--text-3); }
.form-card__head .icon-bubble { width: 50px; height: 50px; }

.form-grid { display: grid; gap: 1.15rem 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-size: .875rem; font-weight: 700; color: var(--teal-950); }
.field legend { margin-bottom: .45rem; }
.req { color: var(--danger); }

.input {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.input::placeholder { color: #869799; }
.input:hover { border-color: rgba(7, 59, 63, .34); }
.input:focus { outline: none; border-color: var(--teal-600); background: #fff; box-shadow: 0 0 0 4px rgba(15, 111, 107, .16); }
.input[aria-invalid="true"] { border-color: var(--danger); background: #fffbfa; }
textarea.input { min-height: 104px; resize: vertical; }
select.input {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5a58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  cursor: pointer;
}
input[type="date"].input { min-height: 52px; }
.field__hint { font-size: .8rem; color: var(--text-3); }
.field__error { display: flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--danger); }
.field__error .icon { width: 16px; height: 16px; }

.choice-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; flex: 1; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 52px;
  padding: 0 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background: var(--bg);
  font-weight: 600;
  transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s;
}
.choice span .icon { width: 18px; height: 18px; color: var(--teal-500); }
.choice input:hover + span { border-color: rgba(7, 59, 63, .34); }
.choice input:checked + span { border-color: var(--teal-700); background: var(--teal-50); color: var(--teal-900); box-shadow: inset 0 0 0 1px var(--teal-700); }
.choice input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.25rem;
  padding: .9rem 1rem;
  border: 1px solid #fecdca;
  border-radius: 14px;
  background: #fef3f2;
  font-size: .92rem;
  font-weight: 600;
  color: var(--danger);
}
.form-alert:focus { outline: none; box-shadow: 0 0 0 3px rgba(180, 35, 24, .2); }

.form__submit { margin-top: 1.5rem; }
.form__submit .icon { transition: transform .25s var(--ease-out); }
.form__submit:hover .icon { transform: translateX(3px); }
.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(4, 40, 43, .25);
  border-top-color: var(--teal-950);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-loading { pointer-events: none; opacity: .9; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .icon { display: none; }

.form-note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: 1rem; font-size: .84rem; text-align: center; color: var(--text-3); }
.form-note .icon { width: 16px; height: 16px; color: var(--teal-500); }
.form-note a { font-weight: 700; color: var(--teal-700); }

.form-success { display: grid; justify-items: center; gap: 1rem; padding: 1.5rem 0; text-align: center; }
.form-success:focus { outline: none; }
.form-success__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #dcfae6; color: var(--success); animation: pop .6s var(--ease-out) both; }
.form-success__icon .icon { width: 36px; height: 36px; stroke-width: 2.5; }
.form-success h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--teal-950); }
.form-success p { max-width: 30rem; color: var(--text-2); }

.contact-panel { display: grid; gap: 1.25rem; }
.info-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 3.2vw, 36px);
  border-radius: var(--r-xl);
  background: var(--teal-950);
  color: var(--on-dark);
}
.info-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 100% 0%, rgba(22, 134, 127, .4), transparent 70%); }
.info-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.info-row:first-child { padding-top: 0; }
.info-row:last-child { padding-bottom: 0; border-bottom: 0; }
.info-row__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: rgba(245, 190, 0, .13); color: var(--gold-400); }
.info-row__icon .icon { width: 21px; height: 21px; }
.info-row__grow { flex: 1; min-width: 0; }
.info-row h3 { margin-bottom: .3rem; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }
.info-row p { font-weight: 600; color: #fff; }
.info-row p + p { margin-top: .2rem; }
.info-row a:not(.link-arrow) { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.info-row a:not(.link-arrow):hover { text-decoration-color: var(--gold-400); }
.info-row .link-arrow { margin-top: .4rem; font-size: .92rem; }
.info-row__muted { font-weight: 500; color: var(--on-dark-2) !important; }

.hours-table { width: 100%; font-size: .93rem; }
.hours-table th, .hours-table td { padding: .35rem 0; vertical-align: top; text-align: left; font-weight: 500; color: var(--on-dark-2); }
.hours-table td { padding-left: 1rem; font-weight: 700; text-align: right; color: #fff; }
.hours-table__session { display: block; font-size: .8rem; color: rgba(234, 244, 243, .55); }
.hours-table th:empty + td { padding-top: 0; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--gold-300); }

.map-card {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--teal-50);
  box-shadow: var(--sh-2);
}
.map-card iframe { width: 100%; height: 100%; border: 0; }
.map-card__cta { position: absolute; left: 14px; bottom: 14px; }

/* ---------- 17. Inner page hero ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.page-hero__grid { display: grid; gap: 48px; align-items: center; }
.page-hero:not(.page-hero--media) .page-hero__content { max-width: 56rem; }
@media (min-width: 1024px) { .page-hero--media .page-hero__grid { grid-template-columns: 1.05fr .95fr; } }

.breadcrumbs ol { display: flex; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--text-3); }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: rgba(7, 59, 63, .3); }
.breadcrumbs a { transition: color .2s; }
.breadcrumbs a:hover { color: var(--teal-700); }
.breadcrumbs [aria-current] { color: var(--teal-700); }

.page-hero__title {
  margin-top: 1.1rem;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.045em;
  color: var(--teal-950);
  text-wrap: balance;
}
.page-hero__lead { max-width: 42rem; margin-top: 1.2rem; }
.page-hero__actions { margin-top: 2rem; }
.page-hero__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.quick-contacts { display: grid; gap: .75rem; }
@media (min-width: 640px) { .quick-contacts { grid-template-columns: 1fr 1fr; max-width: 46rem; } }
.quick-contact > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.quick-contact {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .85);
  box-shadow: var(--sh-1);
  font-weight: 700;
  color: var(--teal-950);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.quick-contact:hover { transform: translateY(-3px); border-color: var(--teal-200); box-shadow: var(--sh-2); }
.quick-contact small { display: block; font-size: .78rem; font-weight: 600; color: var(--text-3); }

.error-page { display: grid; justify-items: center; gap: 1rem; padding-block: clamp(40px, 8vw, 96px); text-align: center; }
.error-page .lead { max-width: 36rem; }
.error-page__code { font-family: var(--font-serif); font-size: clamp(4rem, 3rem + 5vw, 7rem); font-style: italic; line-height: 1; color: var(--teal-600); }

/* ---------- 18. Services page ---------- */
.spec-nav {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 20;
  display: flex;
  gap: .35rem;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 1rem;
  padding: .35rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--sh-2);
  scrollbar-width: none;
}
.spec-nav::-webkit-scrollbar { display: none; }
.spec-nav a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: var(--r-pill);
  font-size: .92rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-2);
  transition: background-color .2s, color .2s;
}
.spec-nav a .icon { width: 18px; height: 18px; }
.spec-nav a:hover { background: var(--teal-50); color: var(--teal-900); }
.spec-nav a.is-active { background: var(--teal-900); color: #fff; }

.spec-block { display: grid; gap: 32px; padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 90px); }
.spec-block:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-block__intro { display: grid; gap: 1rem; justify-items: start; align-self: start; }
@media (min-width: 1024px) {
  .spec-block { grid-template-columns: .82fr 1.18fr; gap: 72px; }
  .spec-block__intro { position: sticky; top: calc(var(--header-h) + 100px); }
}
.service-cards { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .service-cards { grid-template-columns: 1fr 1fr; }
  .service-card:first-child { grid-column: 1 / -1; }
}
.service-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-1);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--teal-200); box-shadow: var(--sh-3); }
.service-card h3 { margin-top: 1.1rem; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; color: var(--teal-950); }
.service-card p { margin-top: .45rem; color: var(--text-3); }
.service-card:first-child { background: linear-gradient(135deg, #fff 40%, var(--teal-50)); }

/* ---------- 19. Facilities page ---------- */
.feature-row { display: grid; gap: 32px; align-items: center; padding-block: clamp(32px, 4vw, 56px); scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 960px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 80px; }
  .feature-row:nth-child(even) .feature-row__media { order: 2; }
}
.feature-row__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
}
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.feature-row__media:hover img { transform: scale(1.04); }
.feature-row__media--endoscopy img { object-position: 50% 32%; }
.feature-row__body { display: grid; gap: 1rem; justify-items: start; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery__item:nth-child(7) { grid-row: span 2; }
}
.gallery__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  background: var(--teal-100);
  cursor: zoom-in;
}
@media (min-width: 900px) { .gallery__item { aspect-ratio: auto; } }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__cap {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .7rem;
  border-radius: 10px;
  background: rgba(4, 40, 43, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  color: #fff;
  transition: opacity .3s, transform .4s var(--ease-out);
}
.gallery__cap .icon { width: 15px; height: 15px; color: var(--gold-400); }
@media (max-width: 639px) {
  .gallery__cap { left: 6px; right: 6px; bottom: 6px; padding: .35rem .55rem; font-size: .72rem; }
  .gallery__cap .icon { display: none; }
}
@media (hover: hover) {
  .gallery__cap { opacity: 0; transform: translateY(8px); }
  .gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }
}

.lightbox {
  width: 100%; max-width: 100%;
  height: 100%; max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.lightbox::backdrop { background: rgba(3, 22, 24, .93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: fade .25s var(--ease); }
.lightbox__figure { display: grid; justify-items: center; gap: 1rem; padding: 72px 16px 32px; }
.lightbox__figure img { width: auto; max-width: min(1200px, 100%); max-height: calc(100dvh - 170px); border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__figure figcaption { font-weight: 600; color: var(--on-dark); }
.lightbox__btn {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; } }

/* ---------- 20. Patient information page ---------- */
.steps { display: grid; gap: 1rem; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-1);
}
.step__num {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal-900);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--gold-400);
}
.step h3 { margin-top: 1.25rem; font-size: 1.15rem; font-weight: 800; color: var(--teal-950); }
.step p { margin-top: .4rem; font-size: .95rem; color: var(--text-3); }

.info-split { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .info-split { grid-template-columns: 1fr 1fr; } }
.card-row { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .card-row { grid-template-columns: repeat(3, 1fr); } }

.panel {
  padding: clamp(24px, 3.2vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-1);
}
.panel > h3 { margin-top: 1.1rem; font-size: 1.25rem; font-weight: 800; color: var(--teal-950); }
.panel > p { margin-top: .5rem; color: var(--text-3); }
.panel > .checklist { margin-top: 1rem; }
.panel__title { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.4rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; color: var(--teal-950); }
.panel--tint { border-color: var(--teal-100); background: linear-gradient(180deg, var(--teal-50), #fff); }
.panel--dark { border-color: transparent; background: var(--teal-950); color: var(--on-dark); }
.panel--dark .panel__title { color: #fff; }

.checklist { display: grid; gap: .85rem; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; color: var(--text-2); }
.panel--dark .checklist li { color: var(--on-dark-2); }

.hours-list__status { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: .92rem; color: var(--on-dark-2); }
.hours-list__status [data-open-label] { font-weight: 800; color: #fff; }
.hours-list dl { display: grid; margin-bottom: 1.5rem; }
.hours-list dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hours-list dt { color: var(--on-dark-2); }
.hours-list dd { font-weight: 700; text-align: right; color: #fff; }

.notice {
  display: flex;
  gap: .9rem;
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid #fedf89;
  border-radius: var(--r-md);
  background: #fffaeb;
  color: #7a4a05;
}
.notice .icon { margin-top: .15rem; color: #b54708; }
.notice a { font-weight: 700; text-decoration: underline; }

.faq { display: grid; gap: .75rem; max-width: 54rem; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color .25s, box-shadow .25s;
}
.faq details[open] { border-color: var(--teal-200); box-shadow: var(--sh-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 1rem 1.25rem 1rem 1.4rem;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--teal-950);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-50); color: var(--teal-800); transition: transform .35s var(--ease-out), background-color .25s; }
.faq__icon .icon { width: 18px; height: 18px; }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--gold-400); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--text-2); }

/* ---------- 21. Footer ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 96px);
  background: var(--teal-950);
  color: var(--on-dark-2);
}
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 40% at 90% 0%, rgba(245, 190, 0, .1), transparent 70%); }

.footer-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 56px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-xl);
  background: linear-gradient(130deg, var(--teal-700), var(--teal-900) 70%);
}
.footer-cta::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -120px;
  z-index: -1;
  width: 320px; height: 320px;
  border: 40px solid rgba(245, 190, 0, .1);
  border-radius: 50%;
}
@media (min-width: 960px) { .footer-cta { grid-template-columns: 1fr auto; } }
.footer-cta__title { margin-top: .75rem; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.footer-cta__title em { color: var(--gold-400); }
.footer-cta__text { margin-top: .75rem; color: var(--on-dark-2); }

.footer-grid { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.35fr .7fr 1fr 1.25fr; } }
.footer-brand p:last-child { max-width: 36ch; margin-top: 1rem; }
.footer-brand__hi { margin-top: 1.1rem; font-size: 1.15rem; font-weight: 700; color: var(--gold-400); }
.footer-title { margin-bottom: 1.1rem; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer-links { display: grid; gap: .7rem; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact { display: grid; gap: .9rem; }
.footer-contact li { display: flex; gap: .75rem; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: .2rem; color: var(--gold-400); }
.footer-contact a:hover { color: #fff; }

.footer-disclaimer {
  display: flex;
  gap: .9rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .04);
  font-size: .86rem;
  line-height: 1.65;
}
.footer-disclaimer .icon { margin-top: .1rem; color: var(--gold-400); }
.footer-disclaimer strong { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: 1.75rem;
  padding-block: 1.5rem calc(1.5rem + var(--action-bar-space));
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem;
}
@media (min-width: 768px) { .footer-bottom { padding-right: 84px; } }

/* ---------- 22. Quick actions ---------- */
.action-bar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: rgba(4, 40, 43, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -12px rgba(4, 40, 43, .55);
  transition: transform .35s var(--ease-out);
}
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 50px;
  border-radius: 14px;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  transition: background-color .2s;
}
.action-bar a:active { background: rgba(255, 255, 255, .1); }
.action-bar .icon { width: 19px; height: 19px; }
.action-bar__wa .icon { color: var(--whatsapp); }
.action-bar a.action-bar__book { background: var(--gold-500); color: var(--teal-950); }
.menu-open .action-bar { transform: translateY(140%); }
@media (min-width: 768px) { .action-bar { display: none; } }

.wa-fab { display: none; }
@media (min-width: 768px) {
  .wa-fab {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .65);
    transition: transform .3s var(--ease-out);
  }
  .wa-fab::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--whatsapp);
    animation: ring 2.6s ease-out infinite;
  }
  .wa-fab:hover { transform: scale(1.07); }
  .wa-fab .icon { width: 30px; height: 30px; }
}

/* ---------- 23. Motion ----------
   Every animation uses transform / opacity / clip-path only, and everything
   is switched off for visitors who ask for reduced motion (see 23.12). */
:root {
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-in-out: cubic-bezier(.77, 0, .18, 1);
}

/* 23.1 Page load — hero & inner-page hero */
.rise { animation: rise .9s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }

.js [data-split]:not(.is-split) { opacity: 0; }
.reveal-all [data-split] { opacity: 1; }
[data-split] .word {
  display: inline-block;
  animation: word-in .9s var(--ease-out) backwards;
  animation-delay: calc(var(--w) * 60ms + 120ms);
}
.hero__title em::after {
  transform-origin: left center;
  animation: draw 1s var(--ease-in-out) backwards;
  animation-delay: calc(var(--words, 8) * 60ms + 450ms);
}

.wipe { animation: wipe 1.3s var(--ease-in-out) .25s backwards; }
.wipe img { animation: settle 2s var(--ease-out) .25s backwards; }

.hero__visual::before { transform-origin: left bottom; animation: grow-in 1.1s var(--ease-in-out) .7s backwards; }
.hero__visual::after { animation: fade 1s 1.2s backwards, spin 50s linear infinite; }

.float-card {
  animation: card-pop .9s var(--ease-spring) backwards, bob 6s ease-in-out infinite alternate;
  animation-delay: calc(1000ms + var(--pop, 0) * 160ms), calc(1900ms + var(--pop, 0) * 700ms);
}

/* Mouse parallax (values set by app.js on .hero, desktop only) */
.hero__bg { translate: calc(var(--mx, 0) * -12px) calc(var(--my, 0) * -12px); }
.hero__frame { translate: calc(var(--mx, 0) * -8px) calc(var(--my, 0) * -8px); }
.hero__visual::before { translate: calc(var(--mx, 0) * -18px) calc(var(--my, 0) * -14px); }
.float-card--doctor { translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * 12px); }
.float-card--status { translate: calc(var(--mx, 0) * 26px) calc(var(--my, 0) * 18px); }
.float-card--tech { translate: calc(var(--mx, 0) * 12px) calc(var(--my, 0) * 22px); }

/* Slow "aurora" drift behind heroes and the dark section */
.hero__bg::before,
.page-hero__bg::before {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(28% 38% at 72% 28%, rgba(22, 134, 127, .13), transparent 70%),
    radial-gradient(24% 34% at 18% 72%, rgba(245, 190, 0, .12), transparent 70%);
  animation: aurora 18s ease-in-out infinite alternate;
}
.why::before { inset: -15%; animation: aurora 20s ease-in-out infinite alternate; }

/* 23.2 Scroll reveals — data-reveal="" | blur | scale | left | right | pop | clip */
.js [data-reveal] { opacity: 0; }
.reveal-all [data-reveal] { opacity: 1; }
.js [data-reveal].is-in { opacity: 1; animation: rise .9s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="blur"].is-in { animation-name: blur-in; animation-duration: 1.1s; }
.js [data-reveal="scale"].is-in { animation-name: scale-in; }
.js [data-reveal="left"].is-in { animation-name: from-left; animation-duration: 1.1s; }
.js [data-reveal="right"].is-in { animation-name: from-right; animation-duration: 1.1s; }
.js [data-reveal="pop"].is-in { animation-name: card-pop; animation-timing-function: var(--ease-spring); }
/* Hidden with opacity (not clip-path) so IntersectionObserver still sees the element */
.js [data-reveal="clip"].is-in { animation: wipe 1.3s var(--ease-in-out) backwards; animation-delay: calc(var(--i, 0) * 120ms); }
.js [data-reveal="clip"].is-in img { animation: settle 1.8s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 120ms); }

.section-head.is-in .eyebrow::before,
.eyebrow.is-in::before { transform-origin: left center; animation: draw .9s var(--ease-in-out) .3s backwards; }

/* 23.3 Scroll-linked image parallax (browsers with scroll-driven animations) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bento__img { inset: -7% 0 auto; height: 114%; }
    .feature-row__media img { position: absolute; inset: -7% 0 auto; height: 114%; }
    .bento__img,
    .feature-row__media img { animation: drift auto linear both; animation-timeline: view(); }
    .js [data-reveal="clip"].is-in .bento__img,
    .js .feature-row__media[data-reveal="clip"].is-in img {
      animation: settle 1.8s var(--ease-out) backwards, drift auto linear both;
      animation-timeline: auto, view();
      animation-delay: calc(var(--i, 0) * 120ms), 0s;
    }
  }
}

/* 23.4 Cursor spotlight on cards (fine pointers) */
.spotlight {
  position: relative;
  isolation: isolate;
  --glow: rgba(22, 134, 127, .11);
  --glow-edge: rgba(22, 134, 127, .55);
}
.spotlight--dark { --glow: rgba(245, 190, 0, .12); --glow-edge: rgba(245, 190, 0, .75); }
.spotlight::before,
.spotlight::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.spotlight::after {
  inset: 0;
  z-index: -1;
  background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 50%), var(--glow), transparent 60%);
}
.spotlight::before {
  inset: -1px;
  padding: 1px;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), var(--glow-edge), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.spotlight:hover::before,
.spotlight:hover::after { opacity: 1; }
@media (hover: none) { .spotlight::before, .spotlight::after { display: none; } }

/* 23.5 3D tilt (doctor card) */
[data-tilt] {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease-out);
}
[data-tilt].is-tilting { transition-duration: .15s; }

/* 23.6 Buttons — shine sweep, magnetic pull, tap ripple */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .25s var(--ease-out), translate .45s var(--ease-out), background-color .2s, border-color .2s, color .2s, box-shadow .25s;
}
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--shine::after { animation: shine 6s ease-in-out 3.2s infinite; }
.wa-fab { transition: transform .3s var(--ease-out), translate .45s var(--ease-out); }

.action-bar a { position: relative; isolation: isolate; overflow: hidden; }
.ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: currentColor;
  opacity: .22;
  translate: -50% -50%;
  transform: scale(0);
  pointer-events: none;
  animation: ripple .65s var(--ease-out) forwards;
}

/* 23.7 Sliding nav highlight */
.nav { position: relative; }
.nav__list { position: relative; z-index: 1; }
.nav__indicator {
  position: absolute;
  top: 50%; left: 0;
  width: 0; height: 42px;
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: var(--sh-1), inset 0 0 0 1px var(--line);
  translate: 0 -50%;
  opacity: 0;
  pointer-events: none;
  transition: translate .5s var(--ease-out), width .5s var(--ease-out), opacity .3s;
}
.nav__indicator.is-visible { opacity: 1; }
.nav__indicator.no-anim { transition: none; }
.nav.has-indicator .nav__link:hover,
.nav.has-indicator .nav__link[aria-current="page"] { background: transparent; box-shadow: none; }

/* 23.8 Scroll progress + back-to-top ring */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.to-top { display: none; }
@media (min-width: 768px) {
  .to-top {
    position: fixed;
    right: 30px; bottom: 100px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--teal-900);
    box-shadow: var(--sh-2);
    opacity: 0;
    translate: 0 14px;
    pointer-events: none;
    transition: opacity .3s, translate .45s var(--ease-out), background-color .2s, color .2s;
  }
  .to-top.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }
  .to-top:hover { background: var(--teal-900); color: #fff; }
  .menu-open .to-top { opacity: 0; pointer-events: none; }
}
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.to-top__ring circle { fill: none; stroke: var(--gold-500); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.to-top__icon { width: 20px; height: 20px; rotate: -90deg; transition: translate .3s var(--ease-out); }
.to-top:hover .to-top__icon { translate: 0 -2px; }

/* 23.9 Micro-interactions */
.brand__mark img { transition: transform .5s var(--ease-spring); }
.brand:hover .brand__mark img { transform: rotate(-8deg) scale(1.08); }

.spec-card__icon, .why-card__icon, .service-card .icon-bubble, .expertise .icon-bubble, .step__num, .quick-contact .icon-bubble {
  transition: transform .5s var(--ease-spring);
}
.spec-card:hover .spec-card__icon,
.why-card:hover .why-card__icon,
.service-card:hover .icon-bubble,
.quick-contact:hover .icon-bubble { transform: rotate(-8deg) scale(1.08); }
.expertise li:hover .icon-bubble { transform: scale(1.12); }
.step:hover .step__num { transform: rotate(8deg) scale(1.1); }

.bento__body { transition: transform .5s var(--ease-out); }
.bento__item:hover .bento__body { transform: translateY(-6px); }

.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* Award medal sheen, masked to the medal's own shape */
.medal { position: relative; display: block; flex: none; }
.medal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%;
  background-position: 150% 0;
  -webkit-mask: var(--medal) center / contain no-repeat;
  mask: var(--medal) center / contain no-repeat;
  animation: sheen 5s ease-in-out 2.4s infinite;
}

/* Booking success: pop + ring + check stroke draws itself */
.form-success__icon { animation: pop .6s var(--ease-spring) both, success-ring 1.4s .5s ease-out; }
.form-success__icon .icon path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: check-draw .55s var(--ease-out) .45s forwards; }

/* FAQ opens and closes smoothly (Chromium); others open instantly */
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height .45s var(--ease-out), content-visibility .45s allow-discrete;
}
.faq details[open]::details-content { height: auto; }
.faq details[open] .faq__answer { animation: rise .5s var(--ease-out) backwards .05s; }

.lightbox__figure img.is-anim { animation: zoom-in .5s var(--ease-out); }

/* 23.10 Smooth page-to-page transitions (cross-document View Transitions) */
@view-transition { navigation: auto; }
.topbar { view-transition-name: topbar; }
.site-header { view-transition-name: site-header; }
.action-bar { view-transition-name: action-bar; }
.wa-fab { view-transition-name: wa-fab; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }

/* 23.11 Keyframes */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes blur-in { from { opacity: 0; transform: translateY(18px); filter: blur(10px); } }
@keyframes scale-in { from { opacity: 0; transform: translateY(26px) scale(.94); } }
@keyframes from-left { from { opacity: 0; transform: translateX(-48px); } }
@keyframes from-right { from { opacity: 0; transform: translateX(48px); } }
@keyframes word-in { from { opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(8px); } }
@keyframes card-pop { from { opacity: 0; transform: translateY(18px) scale(.9); } }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { scale: 1.2; } to { scale: 1; } }
@keyframes drift { from { translate: 0 -5%; } to { translate: 0 5%; } }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes grow-in { from { opacity: 0; transform: scale(.2, .2); } }
@keyframes aurora {
  0% { transform: translate3d(-3%, -2%, 0) scale(1); }
  50% { transform: translate3d(3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.03); }
}
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 194, 107, .5); } 100% { box-shadow: 0 0 0 10px rgba(23, 194, 107, 0); } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes shine { 0%, 72% { transform: translateX(-120%); } 90%, 100% { transform: translateX(120%); } }
@keyframes sheen { 0%, 55% { background-position: 150% 0; } 85%, 100% { background-position: -50% 0; } }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
@keyframes check-draw { to { stroke-dashoffset: 0; } }
@keyframes success-ring { from { box-shadow: 0 0 0 0 rgba(6, 118, 71, .35); } to { box-shadow: 0 0 0 22px rgba(6, 118, 71, 0); } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.94); } }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* 23.12 Reduced motion — everything settles instantly */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal], .js [data-split] { opacity: 1; }
  [data-tilt] { transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; row-gap: .5rem; }
}

@media print {
  .topbar, .site-header, .action-bar, .wa-fab, .to-top, .marquee, .map-card { display: none !important; }
  .js [data-reveal], .js [data-split] { opacity: 1 !important; clip-path: none !important; }
}
