/* ==========================================================================
   DAA Hip Replacement — 2026 Redesign
   Palette: Deep navy · Soft teal · Mint · Warm ivory · Coral accent
   Type: Outfit (headings) + Nunito (body) — soft, rounded, highly legible
   Light theme only.
   ========================================================================== */

:root {
  --navy: #13304F;
  --navy-2: #1B4467;
  --teal: #13807C;
  --teal-2: #1F9C96;
  --teal-3: #47B5AE;
  --mint: #EFF9F8;
  --mint-2: #D9F2EF;
  --ivory: #FBF8F3;
  --sand: #F4EBDF;
  --coral: #F27B66;
  --coral-soft: #FDE7E2;
  --gold: #F5B84B;

  --bg: #FBFAF7;
  --bg2: #F2F8F7;
  --bg3: #E6F4F2;
  --card-bg: #FFFFFF;

  --ink: #17324D;
  --ink2: #4B6177;
  --mute: #6D8193;
  --rule: #E3ECEA;
  --rule2: #B2E4DF;

  --acc: #13807C;
  --acc-hover: #0F6B6B;
  --acc-ink: #FFFFFF;

  --stat-color: #0F6B6B;

  --shadow-xs: 0 1px 2px rgba(19, 48, 79, .05);
  --shadow-sm: 0 6px 18px rgba(19, 48, 79, .06);
  --shadow-md: 0 16px 40px rgba(19, 48, 79, .09);
  --shadow-lg: 0 28px 70px rgba(19, 48, 79, .14);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;

  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgba(31, 156, 150, .45); outline-offset: 2px; border-radius: 8px; }
::selection { background: #CDEFEA; color: var(--navy); }
h1, h2, h3, h4, h5 { font-family: var(--f-display); color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }

.skip { position: absolute; left: -999px; top: 0; background: var(--acc); color: #fff; padding: 10px 16px; font-weight: 700; z-index: 1000; border-radius: 10px; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- Layout ---------- */
.frame { max-width: 1220px; margin-inline: auto; }
.pad { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 768px) { .pad { padding-left: 32px; padding-right: 32px; } }
.sec { position: relative; padding-block: 88px; border-top: 0; }
@media (max-width: 767px) { .sec { padding-block: 60px; } }
.tab-num { font-variant-numeric: tabular-nums; }

/* Soft section backgrounds (Tailwind sky-50 is remapped to mint) */
main > section.sec:nth-of-type(odd) { background: #FFFFFF; }
main > section.sec:nth-of-type(even) {
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(127, 207, 200, .16), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(242, 123, 102, .06), transparent 70%),
    var(--bg2);
}

/* ---------- Typography (softer, smaller, clearer) ---------- */
.display { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.18; }
.h-xl { font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 3.05rem) !important; font-weight: 600 !important; letter-spacing: -.025em; line-height: 1.14 !important; }
.h-lg { font-family: var(--f-display); font-size: clamp(1.6rem, 2.5vw, 2.2rem) !important; font-weight: 600 !important; letter-spacing: -.02em; line-height: 1.2; }
.h-md { font-family: var(--f-display); font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 600; }
.h-sm { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; }
main h2.text-2xl, main h3.text-2xl { font-size: 1.4rem; font-weight: 600; }
main h3.text-xl { font-size: 1.15rem; font-weight: 600; }
.font-extrabold { font-weight: 700 !important; }
main .font-bold { font-weight: 700; }
h1.font-extrabold, h2.font-bold, h3.font-bold { font-weight: 600 !important; }
.text-xs { font-size: .78rem !important; line-height: 1.55 !important; }
.text-sm { font-size: .9rem !important; line-height: 1.7 !important; }
.text-\[11px\], .text-\[10px\] { font-size: .74rem !important; }

.lab {
  font-family: var(--f-display);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 10px;
}
.lab::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--coral), var(--teal-3)); }
.dek { font-size: 1.05rem !important; line-height: 1.75; color: var(--ink2); max-width: 64ch; }
.muted { color: var(--mute); }
.fig { font-family: var(--f-display); font-weight: 600 !important; color: var(--stat-color); line-height: 1; letter-spacing: -.02em; }
.mono { font-family: var(--f-display); }

/* Gradient accent text */
.grad-text {
  background: linear-gradient(100deg, var(--teal) 0%, var(--teal-2) 45%, var(--coral) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font: 600 12px/1.5 var(--f-display); letter-spacing: .02em;
  background: var(--mint-2); color: var(--acc-hover); border: 1px solid var(--rule2);
}
.badge-solid { background: linear-gradient(135deg, var(--teal-2), var(--navy-2)); color: #fff; border: 0; }
.badge-cyan { background: var(--coral-soft); color: #B4472F; border: 1px solid #F8CFC5; }

.chip {
  font: 600 13px/1 var(--f-display);
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--rule); background: #fff; color: var(--ink2);
  cursor: pointer; transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--teal-3); color: var(--teal); transform: translateY(-1px); }
.chip[aria-pressed="true"], .chip.active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 8px 20px rgba(19, 48, 79, .2); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px;
  border-radius: 999px; border: 1.5px solid var(--teal);
  background: transparent; color: var(--teal);
  font: 600 14px/1.2 var(--f-display); letter-spacing: .01em;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--teal); color: #fff; box-shadow: 0 12px 26px rgba(19, 128, 124, .22); }
.btn-acc, main .btn-acc.bg-sky-700 {
  background: linear-gradient(135deg, #1FA59E 0%, #13807C 45%, #1B4467 100%) !important;
  background-size: 160% 160% !important;
  border-color: transparent !important; color: #fff !important;
  box-shadow: 0 10px 24px rgba(19, 128, 124, .25);
}
.btn-acc:hover { background-position: 100% 50% !important; box-shadow: 0 16px 34px rgba(19, 70, 100, .3); }
.btn-acc::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-acc:hover::after { transform: translateX(120%); }
.btn-secondary { background: #fff !important; border: 1.5px solid var(--rule2) !important; color: var(--acc-hover) !important; }
.btn-secondary:hover { background: var(--mint) !important; border-color: var(--teal-3) !important; color: var(--navy) !important; box-shadow: var(--shadow-sm); }
.btn-coral { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn-coral:hover { background: #E4644E; border-color: #E4644E; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 13px; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 15px; }
.btn.w-full { width: 100%; }

.lnk { font-weight: 700; color: var(--acc); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.lnk:hover { color: var(--coral); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--teal-3), var(--coral)); transition: width .1s linear; }

/* ==========================================================================
   HEADER — announcement ticker + floating glass navigation pill
   ========================================================================== */
.announce { background: linear-gradient(90deg, var(--navy) 0%, #164B5E 55%, var(--teal) 100%); color: #E9F7F5; font: 500 12.5px/1 var(--f-display); }
.announce .frame { display: flex; align-items: center; gap: 18px; height: 40px; }
.announce a { color: #fff; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.announce a:hover { color: #FFD7CE; }
.announce .lucide { width: 15px; height: 15px; }
.ticker { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: inline-flex; gap: 42px; white-space: nowrap; animation: ticker 38s linear infinite; padding-left: 20px; }
.ticker-track span { display: inline-flex; align-items: center; gap: 8px; opacity: .92; }
.ticker-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
@keyframes ticker { to { transform: translateX(-50%); } }
.announce-side { display: flex; align-items: center; gap: 16px; }
.announce-pill { background: rgba(255, 255, 255, .14); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 767px) { .ticker { display: none; } .announce .frame { justify-content: space-between; } }

.hdr { position: sticky; top: 0; z-index: 80; padding-top: 12px; pointer-events: none; transition: padding .35s var(--ease); }
.hdr-bar {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 70px; padding: 8px 10px 8px 18px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(19, 48, 79, .08), inset 0 0 0 1px rgba(19, 128, 124, .06);
  transition: min-height .35s var(--ease), border-radius .35s var(--ease), box-shadow .35s;
}
.hdr.is-scrolled { padding-top: 8px; }
.hdr.is-scrolled .hdr-bar { min-height: 60px; box-shadow: 0 14px 40px rgba(19, 48, 79, .13); }

.brand { display: flex; align-items: center; gap: 12px; line-height: 1.15; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; filter: drop-shadow(0 6px 12px rgba(19, 128, 124, .28)); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.05); }
.brand b { display: block; font: 600 1.12rem/1.1 var(--f-display); letter-spacing: -.01em; color: var(--navy); }
.brand span { display: block; font: 500 10.5px/1.3 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2px; }
.navbtn {
  font: 500 14.5px/1 var(--f-display); color: var(--ink);
  padding: 11px 15px; border: 0; border-radius: 999px; background: transparent;
  cursor: pointer; display: inline-flex; gap: 6px; align-items: center;
  transition: background .25s, color .25s;
}
.navbtn .lucide { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.navbtn:hover, .navbtn[aria-expanded="true"], .navbtn.active { background: var(--mint); color: var(--teal); }
.navbtn[aria-expanded="true"] .lucide { transform: rotate(180deg); }
.navbtn.active { box-shadow: inset 0 0 0 1px var(--rule2); }

.hdr-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; display: inline-grid; place-items: center; color: var(--navy); cursor: pointer; transition: all .25s var(--ease); }
.icon-btn:hover { border-color: var(--teal-3); color: var(--teal); transform: translateY(-1px); }

/* Mega menu */
.mega {
  pointer-events: auto;
  position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--rule); border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 26px;
  animation: megaIn .35s var(--ease);
  overflow: hidden;
}
.mega::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--teal-3), var(--coral)); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-10px) scale(.985); } to { opacity: 1; transform: none; } }
.mega-grid { display: grid; gap: 14px; }
.mega-col { padding: 18px; border-radius: 18px; transition: background .25s; }
.mega-col:hover { background: var(--mint); }
.mega-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint-2), #fff); color: var(--teal); border: 1px solid var(--rule2); margin-bottom: 12px; }
.mega a.mt { font: 600 1.05rem/1.25 var(--f-display); color: var(--navy); display: block; margin-bottom: 4px; }
.mega a.mt:hover { color: var(--teal); }
.mega p { font-size: 13px; line-height: 1.6; color: var(--mute); margin: 0; }
.mega ul { list-style: none; margin: 12px 0 0; padding: 0; }
.mega li a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13.5px; color: var(--ink2); transition: color .2s, transform .2s; }
.mega li a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-3); flex-shrink: 0; }
.mega li a:hover { color: var(--teal); transform: translateX(4px); }

/* Mobile drawer */
.drawer-veil { position: fixed; inset: 0; z-index: 94; background: rgba(19, 48, 79, .45); backdrop-filter: blur(4px); animation: fade .3s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(420px, 92vw);
  background: #fff; display: flex; flex-direction: column; overflow-y: auto;
  padding: 22px; border-radius: 26px 0 0 26px; box-shadow: var(--shadow-lg);
  animation: slideIn .4s var(--ease);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } }
.dlink { display: flex; align-items: center; justify-content: space-between; font: 600 1.05rem/1.3 var(--f-display); color: var(--navy); padding: 13px 4px; border-bottom: 1px solid var(--rule); }
.dlink:hover { color: var(--teal); }
.drawer-sub a { display: block; padding: 7px 0 7px 14px; font-size: 14px; color: var(--ink2); border-left: 2px solid var(--mint-2); }
.drawer-sub a:hover { border-color: var(--teal-3); color: var(--teal); }

/* ==========================================================================
   HERO (first section of every page)
   ========================================================================== */
main > section:first-child {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: -94px; padding-top: 150px !important;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(127, 207, 200, .35), transparent 65%),
    radial-gradient(700px 400px at 5% 90%, rgba(242, 123, 102, .12), transparent 70%),
    linear-gradient(180deg, #F4FBFA 0%, var(--ivory) 100%) !important;
  border-bottom: 0 !important;
}
main > section:first-child::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(19, 128, 124, .14) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; animation: drift 14s ease-in-out infinite; }
.blob.b1 { width: 340px; height: 340px; right: -90px; top: 90px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9), rgba(127, 207, 200, .55) 40%, rgba(31, 156, 150, .15) 75%); }
.blob.b2 { width: 180px; height: 180px; left: -60px; bottom: 30px; background: radial-gradient(circle at 30% 30%, #fff, rgba(242, 123, 102, .3) 60%, transparent 75%); animation-delay: -6s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-18px, -24px); } }

/* Wave divider under heroes */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; z-index: 0; pointer-events: none; }
.hero-wave path { fill: #fff; }

/* Inner hero layout with 3D visual */
.hero-split { display: grid; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 1024px) { .hero-split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.hero-visual { position: relative; height: 380px; }
@media (max-width: 1023px) { .hero-visual { height: 260px; } }
.hero-visual .stage-ring { position: absolute; inset: 8% 10%; border-radius: 50%; border: 1px dashed rgba(19, 128, 124, .25); animation: spin 40s linear infinite; }
.hero-visual .stage-ring.r2 { inset: 20% 22%; border-style: solid; border-color: rgba(242, 123, 102, .18); animation-duration: 28s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual .stage-disc { position: absolute; left: 18%; right: 18%; bottom: 6%; height: 34px; border-radius: 50%; background: radial-gradient(ellipse, rgba(19, 48, 79, .22), transparent 70%); filter: blur(6px); }
.hero-tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); box-shadow: var(--shadow-md); font: 600 12.5px/1.2 var(--f-display); color: var(--navy); animation: bob 6s ease-in-out infinite; }
.hero-tag .dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--mint-2); color: var(--teal); }
.hero-tag .dot .lucide { width: 14px; height: 14px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Three.js canvas host */
.hip3d { position: absolute; inset: 0; z-index: 2; cursor: grab; touch-action: pan-y; }
.hip3d:active { cursor: grabbing; }
.hip3d canvas { display: block; width: 100% !important; height: 100% !important; }
.hip3d-label { position: absolute; z-index: 4; pointer-events: none; transform: translate(-50%, -50%); padding: 6px 11px; border-radius: 999px; background: rgba(19, 48, 79, .88); color: #fff; font: 600 11.5px/1 var(--f-display); white-space: nowrap; opacity: 0; transition: opacity .4s; box-shadow: 0 6px 16px rgba(19, 48, 79, .25); }
.hip3d-label::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); z-index: -1; }
.hip3d.exploded .hip3d-label { opacity: 1; }

/* ==========================================================================
   HOME HERO
   ========================================================================== */
.home-hero { padding-bottom: 110px !important; }
.home-hero .hero-visual { height: 560px; }
@media (max-width: 1023px) { .home-hero .hero-visual { height: 400px; } }
.hero-glass { position: absolute; inset: 4% 2% 6% 2%; border-radius: 36px; background: linear-gradient(160deg, rgba(255, 255, 255, .75), rgba(217, 242, 239, .45)); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-lg), inset 0 1px 0 #fff; overflow: hidden; }
.hero-glass::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(127, 207, 200, .45), transparent 65%); }
.explode-btn { position: absolute; z-index: 5; left: 50%; bottom: 7%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer; background: var(--navy); color: #fff; font: 600 13px/1 var(--f-display); box-shadow: 0 10px 24px rgba(19, 48, 79, .3); transition: transform .3s var(--ease), background .3s; }
.explode-btn:hover { background: var(--teal); transform: translateX(-50%) translateY(-2px); }
.drag-hint { position: absolute; z-index: 5; right: 7%; top: 8%; font: 600 11px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .8); padding: 7px 11px; border-radius: 999px; }
.stat-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .stat-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: rgba(255, 255, 255, .8); border: 1px solid #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.stat:hover { transform: translateY(-4px); }
.stat .fig { font-size: 1.6rem !important; background: linear-gradient(120deg, var(--teal), var(--navy-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Anatomy band (image + comparison card) */
.anatomy-band { position: relative; z-index: 3; margin-top: -70px; }
.photo-card { position: relative; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); background: #CFC6BA; min-height: 420px; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.photo-card:hover img { transform: scale(1.04); }
.photo-card .ph-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); display: flex; align-items: center; gap: 12px; }
.photo-card .ph-cap b { font: 600 14px/1.3 var(--f-display); color: var(--navy); display: block; }
.photo-card .ph-cap span { font-size: 12.5px; color: var(--mute); }
.ph-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-2), var(--navy-2)); color: #fff; flex-shrink: 0; }

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  position: relative;
  background: var(--card-bg) !important;
  border: 1px solid var(--rule) !important;
  border-radius: var(--r-lg) !important;
  padding: 28px;
  box-shadow: var(--shadow-sm) !important;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  transform-style: preserve-3d;
}
.card:hover { box-shadow: var(--shadow-md) !important; border-color: var(--rule2) !important; }
.card-highlight {
  background: linear-gradient(160deg, #FFFFFF 0%, #F1FAF8 100%) !important;
  border: 1px solid var(--rule2) !important;
}
.card-highlight::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--teal-3), var(--coral)); }
.card-accent { background: linear-gradient(150deg, #FFFFFF 0%, #EFF9F8 60%, #FFF5F1 100%) !important; }
main .bg-gradient-to-br.from-sky-500.to-sky-700 { background: linear-gradient(140deg, #1F9C96 0%, #13807C 40%, #1B4467 100%) !important; border: 0 !important; color: #fff; }
main .bg-gradient-to-br.from-sky-500.to-sky-700 h3, main .bg-gradient-to-br.from-sky-500.to-sky-700 .text-sky-100 { color: #fff !important; }
main .bg-gradient-to-br.from-sky-500.to-sky-700 .btn { background: #fff !important; color: var(--navy) !important; }

/* Icon tiles in cards get a soft 3D bevel */
main .w-12.h-12.rounded-xl { background: linear-gradient(145deg, #FFFFFF, var(--mint-2)) !important; box-shadow: 0 8px 18px rgba(19, 128, 124, .15), inset 0 1px 0 #fff; border-color: var(--rule2) !important; transition: transform .5s var(--ease); }
main .card:hover .w-12.h-12.rounded-xl { transform: translateZ(30px) rotate(-6deg); }

/* Avatar initials */
main .rounded-full.bg-sky-200, main .rounded-full.bg-sky-700 { background: linear-gradient(135deg, var(--teal-2), var(--navy-2)) !important; color: #fff !important; box-shadow: 0 6px 14px rgba(19, 128, 124, .25); }

/* ---------- Tables ---------- */
.med-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.med-table th { background: var(--navy) !important; color: #fff !important; font: 600 12.5px/1.4 var(--f-display); letter-spacing: .06em; text-transform: uppercase; padding: 16px 18px; text-align: left; border: 0; }
.med-table th.bg-sky-100 { background: linear-gradient(135deg, var(--teal-2), var(--teal)) !important; }
.med-table td { padding: 15px 18px; border-bottom: 1px solid var(--rule); color: var(--ink2); font-size: 14px; vertical-align: top; }
.med-table tr:last-child td { border-bottom: 0; }
.med-table tbody tr { transition: background .2s; }
.med-table tbody tr:hover td { background: #F7FBFB; }
.med-table td.bg-sky-50 { background: #F0FAF8 !important; color: var(--acc-hover) !important; }
.overflow-x-auto { border-radius: 20px; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-shell { position: relative; border-radius: 30px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--rule); overflow: hidden; }
.form-head { position: relative; padding: 26px 28px 22px; color: #fff; background: linear-gradient(130deg, var(--navy) 0%, #175161 55%, var(--teal) 100%); overflow: hidden; }
.form-head::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); }
.form-head h2, .form-head h3 { color: #fff !important; margin: 0; }
.form-head p { color: rgba(255, 255, 255, .82) !important; margin: 6px 0 0; }
.steps { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .14); font: 600 12px/1 var(--f-display); }
.steps span i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--teal); font-size: 11px; }
.form-body { padding: 28px; }
@media (max-width: 640px) { .form-body, .form-head { padding: 22px 18px; } }

.field { margin-bottom: 0; }
.field > label, .field legend, .field > .flabel { display: block; font: 600 13px/1.3 var(--f-display); color: var(--navy); margin-bottom: 8px; }
.ctl { position: relative; }
.ctl > .lucide { position: absolute; left: 15px; top: 15px; width: 18px; height: 18px; color: var(--teal-3); pointer-events: none; transition: color .25s; }
.ctl:focus-within > .lucide { color: var(--teal); }
.input, main input[type="text"], main input[type="tel"], main input[type="email"], main select, main textarea {
  width: 100%; min-height: 50px; padding: 13px 16px;
  border: 1.5px solid #DCE8E6 !important; border-radius: 14px !important;
  background: #F8FBFB; color: var(--ink);
  font: 500 14.5px/1.4 var(--f-body);
  transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.ctl > .input { padding-left: 44px; }
.input:hover { border-color: #C3DDD9 !important; background: #fff; }
.input:focus, main input:focus, main select:focus, main textarea:focus { outline: none !important; border-color: var(--teal-2) !important; background: #fff; box-shadow: 0 0 0 4px rgba(31, 156, 150, .14); }
.input::placeholder { color: #9AABB9; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2313807C' 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 14px center; padding-right: 42px; cursor: pointer; }
textarea.input { min-height: 120px; resize: vertical; }
.ctl.is-ta > .lucide { top: 16px; }

/* Symptom checkboxes → pill toggles */
.chk { position: relative; display: flex !important; align-items: center; gap: 10px; padding: 11px 14px !important; border-radius: 14px !important; border: 1.5px solid #DCE8E6 !important; background: #F8FBFB !important; cursor: pointer; font-weight: 600; color: var(--ink2); transition: all .25s var(--ease); }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk::before { content: ""; width: 20px; height: 20px; border-radius: 7px; border: 1.5px solid #B9CFCC; background: #fff center/14px no-repeat; flex-shrink: 0; transition: all .25s; }
.chk:hover { border-color: var(--teal-3) !important; }
.chk:has(input:checked) { border-color: var(--teal-2) !important; background: #EAF7F5 !important; color: var(--navy); }
.chk:has(input:checked)::before { background-color: var(--teal-2); border-color: var(--teal-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Upload dropzone */
.dropzone { position: relative; border-radius: 20px !important; border: 2px dashed var(--rule2) !important; background: linear-gradient(160deg, #F4FBFA, #FFF8F5) !important; padding: 26px 18px !important; text-align: center; transition: all .3s var(--ease); }
.dropzone.drag { border-color: var(--teal-2) !important; background: #E6F6F3 !important; transform: scale(1.01); }
.dropzone > .lucide:first-child { width: 46px !important; height: 46px !important; padding: 11px; border-radius: 16px; background: #fff; color: var(--teal) !important; box-shadow: var(--shadow-sm); animation: bob 4s ease-in-out infinite; display: block; margin: 0 auto 10px; }
.file-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.file-list span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--rule2); font-size: 12px; font-weight: 700; color: var(--teal); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--mute); }
.secure-note .lucide { width: 15px; height: 15px; color: var(--teal); }

/* ==========================================================================
   FAQ — animated accordion
   ========================================================================== */
.faq { display: grid; gap: 14px; }
.faq-item { border-radius: 20px; background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-xs); transition: box-shadow .4s var(--ease), border-color .4s, transform .4s var(--ease); overflow: hidden; }
.faq-item:hover { border-color: var(--rule2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--teal-3); box-shadow: 0 18px 40px rgba(19, 128, 124, .12); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-align: left; border: 0; background: transparent; cursor: pointer; font: 600 15.5px/1.4 var(--f-display); color: var(--navy); }
.faq-num { width: 36px; height: 36px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font: 600 13px/1 var(--f-display); background: var(--mint); color: var(--teal); transition: all .4s var(--ease); }
.faq-item.open .faq-num { background: linear-gradient(135deg, var(--teal-2), var(--navy-2)); color: #fff; transform: rotate(-8deg); }
.faq-q .faq-t { flex: 1; }
.faq-plus { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--rule2); transition: all .4s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--teal); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-plus { background: var(--coral); border-color: var(--coral); transform: rotate(180deg); }
.faq-item.open .faq-plus::before, .faq-item.open .faq-plus::after { background: #fff; }
.faq-item.open .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 20px 20px 72px; color: var(--ink2); font-size: 14.5px; line-height: 1.75; opacity: 0; transform: translateY(-6px); transition: opacity .4s .05s, transform .4s var(--ease); }
.faq-item.open .faq-a p { opacity: 1; transform: none; }
@media (max-width: 640px) { .faq-a p { padding-left: 20px; } }
.faq-side { position: sticky; top: 120px; border-radius: 28px; padding: 30px; color: #fff; background: linear-gradient(150deg, var(--navy) 0%, #1A5263 60%, var(--teal) 100%); overflow: hidden; }
.faq-side h2 { color: #fff !important; }
.faq-side p { color: rgba(255, 255, 255, .8); }
.faq-side .orb { position: absolute; right: -50px; bottom: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .8), rgba(127, 207, 200, .5) 30%, rgba(19, 128, 124, .2) 65%, transparent 72%); animation: drift 10s ease-in-out infinite; }

/* ==========================================================================
   VIDEO TESTIMONIALS
   ========================================================================== */
.vgrid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.vcard { position: relative; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .5s var(--ease), box-shadow .5s var(--ease); text-align: left; padding: 0; font: inherit; color: inherit; display: block; width: 100%; }
.vcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vthumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(150deg, #D9F2EF, #F4EBDF); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vcard:hover .vthumb img { transform: scale(1.07); }
.vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 48, 79, 0) 62%, rgba(19, 48, 79, .55) 100%); }
.vplay { position: absolute; z-index: 2; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--coral); box-shadow: 0 10px 30px rgba(19, 48, 79, .3); transition: transform .4s var(--ease); }
.vplay::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: ripple 2.2s ease-out infinite; }
@keyframes ripple { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.vplay .lucide { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.vcard:hover .vplay { transform: scale(1.12); }
.vdur { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 8px; background: rgba(0, 0, 0, .55); color: #fff; font: 600 11.5px/1.2 var(--f-display); }
.vtag { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--teal); font: 600 11.5px/1.2 var(--f-display); }
.vbody { padding: 16px 18px 18px; }
.vbody b { display: block; font: 600 15px/1.35 var(--f-display); color: var(--navy); }
.vbody span { display: block; margin-top: 4px; font-size: 13px; color: var(--mute); }
.vnum { position: absolute; z-index: 2; left: 14px; bottom: 10px; color: #fff; font: 600 30px/1 var(--f-display); opacity: .9; text-shadow: 0 4px 14px rgba(0, 0, 0, .3); }

.vmodal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(12, 30, 48, .82); backdrop-filter: blur(8px); animation: fade .3s; }
.vmodal-box { width: min(920px, 100%); border-radius: 24px; overflow: hidden; background: #0B1B2B; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.vmodal-frame { position: relative; aspect-ratio: 16 / 9; background: #0B1B2B; }
.vmodal-frame iframe, .vmodal-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #CFE6E3; }
.vmodal-empty b { display: block; color: #fff; font: 600 18px/1.4 var(--f-display); margin-bottom: 6px; }
.vmodal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; color: #fff; }
.vmodal-bar b { font: 600 15px/1.3 var(--f-display); }
.vmodal-bar span { font-size: 12.5px; color: #9FC4C0; display: block; }
.vclose { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.vclose:hover { background: var(--coral); }

/* ==========================================================================
   FLOATING ACTIONS — WhatsApp + back to top
   ========================================================================== */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: flex; align-items: center; gap: 10px; }
.wa-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #2FE07A, #1EBE5D); color: #fff; box-shadow: 0 12px 28px rgba(30, 190, 93, .45); transition: transform .35s var(--ease); }
.wa-btn:hover { transform: scale(1.08) rotate(-6deg); }
.wa-btn svg { width: 32px; height: 32px; }
.wa-btn::before, .wa-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2.4s ease-out infinite; }
.wa-btn::after { animation-delay: 1.2s; }
@keyframes waPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-badge { position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); color: #fff; font: 700 10px/18px var(--f-display); text-align: center; border: 2px solid #fff; }
.wa-tip { background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-md); font: 600 13px/1.3 var(--f-display); white-space: nowrap; opacity: 0; transform: translateX(10px); transition: all .35s var(--ease); pointer-events: none; }
.wa-tip small { display: block; font: 500 11.5px/1.3 var(--f-body); color: var(--mute); }
.wa-float:hover .wa-tip, .wa-float.peek .wa-tip { opacity: 1; transform: none; }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 119; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; color: var(--teal); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(10px); pointer-events: none; transition: all .35s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--teal); color: #fff; }
@media (max-width: 640px) { .wa-float { right: 16px; bottom: 16px; } .wa-tip { display: none; } .to-top { right: 24px; bottom: 88px; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ft { position: relative; margin-top: 40px; }
.ft-cta { position: relative; z-index: 2; margin-bottom: -90px; }
.ft-cta-card { position: relative; overflow: hidden; border-radius: 32px; padding: 40px; display: grid; gap: 28px; align-items: center; color: #fff; background: linear-gradient(120deg, #F27B66 0%, #E8806B 25%, #1F9C96 75%, #13807C 100%); box-shadow: 0 30px 70px rgba(19, 48, 79, .25); }
@media (min-width: 900px) { .ft-cta-card { grid-template-columns: 1.4fr 1fr; padding: 48px 56px; } }
.ft-cta-card h2 { color: #fff; font: 600 clamp(1.5rem, 2.6vw, 2.1rem)/1.2 var(--f-display); margin: 0 0 10px; }
.ft-cta-card p { color: rgba(255, 255, 255, .9); margin: 0; max-width: 52ch; }
.ft-cta-card .btn { background: #fff; color: var(--navy); border-color: #fff; }
.ft-cta-card .btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.ft-cta-card .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.ft-cta-card .btn.ghost:hover { background: rgba(255, 255, 255, .15); }
.ft-cta-art { position: relative; height: 200px; }
.ft-cta-art .bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .25) 45%, rgba(255, 255, 255, .05) 70%); box-shadow: inset -10px -14px 30px rgba(19, 48, 79, .18); animation: drift 9s ease-in-out infinite; }
.ft-cta-art img { position: absolute; right: 0; top: 50%; transform: translateY(-50%) rotate(8deg); width: 170px; height: 230px; object-fit: cover; border-radius: 24px; border: 5px solid rgba(255, 255, 255, .85); box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
@media (max-width: 899px) { .ft-cta-art { display: none; } }

.ft-main { position: relative; overflow: hidden; padding: 150px 0 0; color: #CFE3E6; background: radial-gradient(800px 400px at 90% 0%, rgba(31, 156, 150, .35), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(242, 123, 102, .12), transparent 70%), #0F2740; }
.ft-main::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.4px); background-size: 24px 24px; pointer-events: none; }
.ft-grid { position: relative; display: grid; gap: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 46px; }
@media (min-width: 900px) { .ft-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.ft-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .ft-brand { grid-column: auto; } }
.ft .brand b { color: #fff; }
.ft .brand span { color: #7FCFC8; }
.ft p { color: #A9C1C8; font-size: 14px; }
.ft h4 { font: 600 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 6px 0 18px; display: flex; align-items: center; gap: 10px; }
.ft h4::before { content: ""; width: 18px; height: 2px; background: var(--coral); border-radius: 2px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft ul a { font-size: 14px; color: #B8CDD3; display: inline-flex; align-items: center; gap: 8px; transition: color .25s, transform .25s var(--ease); }
.ft ul a:hover { color: #fff; transform: translateX(4px); }
.ft ul a.hl { color: #7FE0D7; font-weight: 700; }
.ft-contact { display: grid; gap: 10px; margin-top: 18px; }
.ft-contact a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font: 600 14px/1.2 var(--f-display); padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); width: fit-content; transition: background .25s; }
.ft-contact a:hover { background: rgba(255, 255, 255, .12); }
.ft-contact .ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-2), var(--teal)); }
.ft-contact .ci.wa { background: #25D366; }
.ft-contact .lucide { width: 17px; height: 17px; }
.ft-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 12.5px; color: #8EA8B0; }
.ft-bottom a { color: #7FE0D7; font-weight: 700; }
.ft-big { position: relative; font: 700 clamp(3rem, 11vw, 9rem)/.8 var(--f-display); letter-spacing: -.04em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(127, 207, 200, .18); user-select: none; padding-top: 10px; white-space: nowrap; overflow: hidden; }

/* ---------- Search modal ---------- */
.layer { position: fixed; inset: 0; z-index: 160; background: rgba(12, 30, 48, .55); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; animation: fade .25s; }
.modal-box { width: 100%; max-width: 640px; max-height: 76vh; display: flex; flex-direction: column; background: #fff; border-radius: 24px; border: 1px solid var(--rule); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .35s var(--ease); }
.layer-scroll { flex: 1; overflow-y: auto; padding: 18px; }
.layer-scroll a:hover { border-color: var(--teal-3) !important; }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* Icons */
.lucide { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; vertical-align: middle; }
.lucide-lg { width: 24px; height: 24px; }
.lucide-xl { width: 32px; height: 32px; color: var(--acc); }

/* Section heading helper */
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lab { justify-content: center; }

/* Tailwind colour safety for gray boxes used in comparison */
main .bg-gray-50 { background: #F7F7F5 !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Responsive utility guards (component display vs Tailwind utilities) ---------- */
.btn.hidden, .nav.hidden { display: none; }
@media (min-width: 640px) { .btn.sm\:inline-flex { display: inline-flex; } }
@media (min-width: 1024px) { .nav.lg\:flex { display: flex; } .icon-btn.lg\:hidden { display: none; } }

/* Hero entrance animation */
main > section:first-child .hero-split > :first-child > * { animation: heroIn .9s var(--ease) both; }
main > section:first-child .hero-split > :first-child > *:nth-child(2) { animation-delay: .08s; }
main > section:first-child .hero-split > :first-child > *:nth-child(3) { animation-delay: .16s; }
main > section:first-child .hero-split > :first-child > *:nth-child(4) { animation-delay: .24s; }
main > section:first-child .hero-split > :first-child > *:nth-child(5) { animation-delay: .32s; }
main > section:first-child .hero-visual { animation: heroIn 1.1s .2s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.blob.b2 { width: 130px; height: 130px; opacity: .7; }
.ft .ft-cta-card p { color: rgba(255, 255, 255, .94); font-size: 15px; }
.ft-cta-card { background: linear-gradient(120deg, #E0644F 0%, #E27560 22%, #178C88 70%, #0F6B6B 100%); }
.vgrid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (min-width: 1024px) { .home-hero .hero-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
@media (max-width: 640px) {
  .brand span { display: none; }
  .brand b { font-size: 1rem; }
  .brand-mark { width: 38px; height: 38px; }
  .hdr-bar { min-height: 62px; padding: 8px 8px 8px 12px; border-radius: 18px; }
  main > section:first-child { padding-top: 120px !important; }
  .hero-tag { font-size: 11.5px; padding: 7px 10px; }
  .home-hero .hero-tag:nth-of-type(3) { display: none; }
  .anatomy-band { margin-top: -50px; }
  .photo-card { min-height: 360px; }
  .ft-cta-card { padding: 30px 22px; }
  .stat .fig { font-size: 1.35rem !important; }
}
@media (max-width: 1023px) { .faq-side { position: relative; top: 0; } .faq-side img { display: none !important; } }
.hero-visual:has(.hip3d.exploded) .hero-tag, .hero-visual:has(.hip3d.exploded) .drag-hint { opacity: 0; transform: scale(.9); transition: opacity .4s, transform .4s; }
