/* =====================================================================
   Ringwood Specialist Group — Design System
   Palette: deep navy + teal accent on white (from brand logo)
   Aesthetic: refined "shadcn/ui" — hairline borders, flat surfaces,
   tight consistent radii, mono micro-labels, calm whitespace, subtle motion
   ===================================================================== */

:root {
  /* Brand */
  --navy-900: #0a2342;
  --navy-800: #0e2e57;
  --navy-700: #143a6b;
  --navy-600: #1c4d8a;
  --blue-500: #2667b8;
  --blue-400: #3d82d6;
  --teal-600: #1f8a8a;
  --teal-500: #28a8a8;
  --teal-400: #3dc2c2;
  --teal-50:  #e7f6f6;
  --sky-50:   #eef5fc;

  /* Neutrals */
  --ink:      #0f2238;
  --slate-700:#33445a;
  --slate-600:#475569;
  --slate-500:#5b6b80;
  --slate-400:#8595a8;
  --line:     #e6eaf0;
  --bg:       #ffffff;
  --bg-soft:  #f7f9fc;
  --bg-tint:  #eef3f9;
  --white:    #ffffff;

  /* shadcn-style semantic token layer */
  --background: #ffffff;
  --foreground: #0f2238;
  --card: #ffffff;
  --card-foreground: #0f2238;
  --muted: #f4f7fa;
  --muted-foreground: #5b6b80;
  --border: #e6eaf0;
  --border-strong: #d6deea;
  --input: #e2e8f0;
  --ring: #28a8a8;
  --ring-shadow: 0 0 0 2px rgba(40,168,168,.45);
  --primary: #0e2e57;
  --primary-hover: #143a6b;
  --primary-foreground: #ffffff;
  --accent: #1f8a8a;
  --accent-hover: #1a7777;
  --accent-foreground: #ffffff;

  /* Effects — flat, hairline-led */
  --shadow-sm: 0 1px 2px rgba(13,34,58,.05);
  --shadow-md: 0 4px 14px rgba(13,34,58,.07), 0 1px 3px rgba(13,34,58,.04);
  --shadow-lg: 0 16px 40px rgba(13,34,58,.12);

  /* Radius — tight, consistent shadcn scale */
  --radius:    10px;  /* cards, inputs, buttons-large surfaces */
  --radius-sm: 6px;   /* small elements, accordions */
  --radius-lg: 14px;  /* large surfaces, media frames, bento */
  --radius-btn: 8px;  /* buttons */

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --maxw: 1180px;
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* clip beats hidden: no scroll container is created, so sideways swipes have nowhere to go */
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
img,svg { display: block; max-width: 100%; }
a { color: var(--blue-500); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--navy-700); }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--navy-800); line-height: 1.14; font-weight: 800; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.12rem, 2vw, 1.35rem); }
p  { color: var(--slate-700); }
ul { padding-left: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--tint { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.center { text-align: center; }
.grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width:760px){ .cols-2{grid-template-columns:repeat(2,minmax(0,1fr));} .cols-3{grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (min-width:980px){ .cols-4{grid-template-columns:repeat(4,minmax(0,1fr));} }

/* ---------- Eyebrow → refined badge label ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-50); border: 1px solid #cdeaea;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 18px;
}
.center .eyebrow { }
.eyebrow.dotted::after { content:""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-400); }
.section-head { max-width: 680px; margin: 0 auto 48px; }
.center.section-head { text-align: center; }
.lead { font-size: 1.1rem; color: var(--muted-foreground); text-wrap: pretty; }

/* ---------- Generic badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--slate-600); background: var(--muted);
  border: 1px solid var(--border); padding: 4px 11px; border-radius: 999px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .94rem;
  padding: 11px 20px; border-radius: var(--radius-btn); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap; line-height: 1.1;
}
.btn:focus-visible { outline: none; box-shadow: var(--ring-shadow); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { color:#fff; background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-teal { background: var(--accent); color:#fff; box-shadow: var(--shadow-sm); }
.btn-teal:hover { color:#fff; background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background:#fff; color: var(--navy-700); border-color: var(--border-strong); box-shadow: none; }
.btn-outline:hover { color: var(--navy-800); border-color: var(--teal-500); background: var(--muted); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.06); color:#fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background:#fff; color: var(--navy-800); border-color:#fff; transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(13,34,58,.04), 0 8px 24px rgba(13,34,58,.06); border-color: var(--border); }
.topbar { background: var(--navy-900); color: #cfe0f3; font-size: .8rem; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; justify-content: flex-end; height: 38px; flex-wrap: wrap; }
.topbar a { color: #cfe0f3; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { margin-right: auto; display: inline-flex; align-items: center; gap: 7px; color:#9fc2e8; }
.topbar svg { width: 15px; height: 15px; }
@media (max-width: 759px){
  .topbar a[href^="mailto"] { display: none; }
  .topbar .wrap { justify-content: space-between; }
}
@media (max-width: 479px){
  .topbar a { display: none; }
  .topbar .wrap { justify-content: center; }
}

.nav { display: flex; align-items: center; flex-wrap: nowrap; justify-content: space-between; height: var(--nav-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
.brand b { font-family: var(--font-display); color: var(--navy-800); font-size: 1rem; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; }
.brand span { display:block; font-size: .58rem; letter-spacing: .18em; color: var(--teal-600); font-weight: 700; font-family: var(--font-mono); text-transform: uppercase; }
.nav-links {
  display: none; align-items: center; flex-wrap: nowrap; gap: 2px;
  list-style: none; margin: 0 auto;
}
.nav-links a {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: var(--slate-600); padding: 7px 11px; border-radius: var(--radius-sm); position: relative; white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--navy-800); background: var(--muted); }
.nav-links a.active { color: var(--navy-800); background: var(--muted); }
.nav-links a.active::after { content:""; position:absolute; left:11px; right:11px; bottom:3px; height:2px; background: var(--teal-500); border-radius:2px; }
.nav-cta { display: none; align-items: center; gap: 9px; flex: 0 0 auto; }
.nav-cta .btn { padding: 9px 16px; font-size: .88rem; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer;
  padding: 10px; border-radius: var(--radius-sm);
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy-800); border-radius: 3px; transition: .3s; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 200;
  background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1); padding: 22px 22px; display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto; border-left: 1px solid var(--border);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--font-display); font-weight: 600; color: var(--navy-800); padding: 13px 12px; border-radius: var(--radius-sm); border-bottom: 1px solid var(--border); }
.mobile-nav a:hover { background: var(--muted); }
.mobile-nav .btn { margin-top: 14px; }
.mobile-close { align-self: flex-end; background:none; border:0; font-size: 1.6rem; cursor:pointer; color: var(--slate-500); line-height:1; padding:4px 8px; }
.scrim { position: fixed; inset:0; background: rgba(10,35,66,.45); opacity:0; visibility:hidden; transition:.3s; z-index:150; }
.scrim.open { opacity:1; visibility:visible; }

@media (min-width: 1000px){
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1180px){
  .brand b { font-size: 1.04rem; }
  .brand img { height: 46px; }
  .nav-links a { font-size: .92rem; padding: 8px 13px; }
  .nav-links { gap: 4px; }
  .nav-cta .btn { padding: 10px 18px; font-size: .9rem; }
}

/* ---------- Background motifs (shadcn-style grid / dots / glow) ---------- */
.bg-grid, .bg-dots { position: relative; }
.bg-grid::before, .bg-dots::before {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
}
.bg-grid::before {
  background-image:
    linear-gradient(to right, rgba(20,58,107,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,58,107,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(110% 90% at 50% -10%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(110% 90% at 50% -10%, #000 0%, transparent 70%);
}
.bg-dots::before {
  background-image: radial-gradient(rgba(31,138,138,.18) 1.1px, transparent 1.1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(100% 80% at 80% 10%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(100% 80% at 80% 10%, #000 0%, transparent 65%);
}
.bg-grid > .wrap, .bg-dots > .wrap { position: relative; z-index: 1; }

/* ---------- Hero (light, reference layout) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #eef4f9 0%, #f7fafc 46%, #eaf3f8 100%); }
.hero::after {
  content:""; position:absolute; width: 620px; height: 620px; right: -160px; top: -240px; border-radius:50%;
  background: radial-gradient(circle, rgba(61,194,194,.14), transparent 62%); pointer-events:none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: 44px; align-items: center; padding: clamp(46px,6.5vw,78px) 0 clamp(96px,12vw,132px); }
@media (min-width: 940px){ .hero-grid { grid-template-columns: .95fr 1.05fr; gap: 56px; } }
.hero-kicker {
  display:block; font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 20px;
}
.hero h1 { font-family: var(--font-serif); font-weight: 700; color: var(--navy-800); font-size: clamp(2.5rem, 5.4vw, 4.1rem); letter-spacing: -.015em; line-height: 1.08; }
.hero-rule { width: 68px; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--teal-500), rgba(61,194,194,.15)); margin: 24px 0 0; }
.hero p.sub { color: var(--slate-600); font-size: 1.14rem; max-width: 470px; margin: 22px 0 32px; text-wrap: pretty; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.btn-caps { text-transform: uppercase; letter-spacing: .05em; font-size: .86rem; }
.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(13,34,58,.16); border: 1px solid var(--border);
}
.hero-photo img { width: 100%; height: clamp(320px, 34vw, 440px); object-fit: cover; display: block; }
/* soft wave into the feature band */
.hero-wave { position:absolute; left:0; right:0; bottom:-1px; z-index:1; pointer-events:none; }
.hero-wave svg { display:block; width:100%; height: clamp(48px, 8vw, 96px); }

/* ---------- Feature strip (white card row on the wave) ---------- */
.feature-strip { background: linear-gradient(180deg, #d9e9f3 0%, #f3f8fb 52%, #ffffff 100%); padding-bottom: clamp(44px, 6vw, 72px); }
.fs-card {
  position: relative; z-index: 3; margin-top: calc(-1 * clamp(44px, 6vw, 72px));
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 20px 55px rgba(13,34,58,.12);
  padding: clamp(24px, 3.4vw, 34px) clamp(22px, 3vw, 36px);
  display: grid; gap: 26px;
}
@media (min-width: 660px){ .fs-card { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px){ .fs-card { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; } }
.fs-item { display: flex; gap: 15px; align-items: flex-start; }
.fs-item .ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--navy-800); }
.fs-item:nth-child(even) .ic { background: var(--teal-600); }
.fs-item .ic svg { width: 22px; height: 22px; }
.fs-item b { display:block; font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--navy-800); margin-bottom: 4px; }
.fs-item p { font-size: .88rem; color: var(--slate-500); line-height: 1.5; }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border:1px solid var(--border); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height:100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card .ic {
  width:46px; height:46px; border-radius:10px; display:grid; place-items:center; margin-bottom:16px;
  background: var(--teal-50); color: var(--teal-600); border: 1px solid #d3ecec;
}
.card .ic svg { width:23px; height:23px; }
.card h3 { margin-bottom:8px; }
.card p { font-size:.96rem; }
.card .more { display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-family:var(--font-display); font-weight:700; font-size:.9rem; color:var(--teal-600); }
.card .more svg { width:16px; height:16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }
a.card { color: inherit; }

/* feature list */
.feature-list { list-style:none; display:grid; gap:13px; }
.feature-list li { display:flex; gap:12px; align-items:flex-start; color:var(--slate-700); }
.feature-list .tick { flex:0 0 22px; width:22px; height:22px; border-radius:6px; background:var(--teal-50); color:var(--teal-600); display:grid; place-items:center; margin-top:2px; border:1px solid #d3ecec; }
.feature-list .tick svg { width:13px; height:13px; }

/* ---------- Bento grid (signature shadcn composition) ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px){
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(188px, auto); }
}
.bento-tile {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bento-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
@media (min-width: 720px){
  .span-2 { grid-column: span 2; }
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
  .span-6 { grid-column: 1 / -1; }
  .row-2 { grid-row: span 2; }
}
.bento-tile h3 { margin-bottom: 8px; }
.bento-tile p { font-size: .95rem; }
.bento-tile .ic {
  width:44px; height:44px; border-radius:10px; display:grid; place-items:center; margin-bottom:16px;
  background: var(--teal-50); color: var(--teal-600); border:1px solid #d3ecec;
}
.bento-tile .ic svg { width:22px; height:22px; }
/* image tile */
.bento-tile--img { padding: 0; min-height: 230px; }
.bento-tile--img img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
@media (min-width: 720px){ .bento-tile--img, .bento-tile--img img { min-height: 0; } }
.bento-tile--img.tile-cap::after {
  content: attr(data-cap); position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(10,35,66,.55); border: 1px solid rgba(255,255,255,.18);
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
/* dark tile */
.bento-tile--dark { background: radial-gradient(120% 130% at 85% 0%, #14407c 0%, #0a2342 62%); border-color: rgba(255,255,255,.1); color: #fff; }
.bento-tile--dark h3 { color: #fff; }
.bento-tile--dark p { color: #c2d6ef; }
.bento-tile--dark .ic { background: rgba(61,194,194,.16); color: var(--teal-400); border-color: rgba(61,194,194,.22); }
/* teal tile */
.bento-tile--teal { background: linear-gradient(150deg, var(--teal-500), var(--teal-600)); border-color: rgba(255,255,255,.18); color: #fff; }
.bento-tile--teal h3 { color: #fff; }
.bento-tile--teal p { color: rgba(255,255,255,.9); }
.bento-tile .bento-stat { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem,4vw,2.8rem); line-height: 1; letter-spacing: -.03em; }
.bento-tile--dark .bento-stat, .bento-tile--teal .bento-stat { color: #fff; }
.bento-tile .bento-label { margin-top: 8px; font-size: .85rem; color: var(--muted-foreground); }
.bento-tile--dark .bento-label { color: #9fc2e8; }
.bento-tile--teal .bento-label { color: rgba(255,255,255,.9); }
.bento-tile .spacer { flex: 1; }
.bento-tile .more { display:inline-flex; align-items:center; gap:6px; font-family:var(--font-display); font-weight:700; font-size:.9rem; }
.bento-tile--teal .more, .bento-tile--teal a { color:#fff; }
.bento-tile .more svg { width:16px; height:16px; }
/* full-width banner tile */
.bento-banner { flex-direction: column; gap: 18px; justify-content: center; }
@media (min-width: 720px){
  .bento-banner { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
  .bento-banner > div { max-width: 60ch; }
}
.bento-banner-btn { flex: 0 0 auto; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); color:#fff; }
.bento-banner-btn:hover { background:#fff; color: var(--teal-600); border-color:#fff; }
/* center-aligned stat tile content */
.bento-tile--dark .bento-stat { color:#fff; }

/* ---------- Doctor cards ---------- */
.doc-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.doc-photo { position:relative; aspect-ratio: 4/4.4; overflow:hidden; background:var(--bg-tint); }
.doc-photo img { width:100%; height:100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.doc-card:hover .doc-photo img { transform: scale(1.04); }
.doc-photo .tag { position:absolute; left:12px; bottom:12px; background:rgba(255,255,255,.95); color:var(--teal-600); font-weight:600; font-size:.68rem; font-family:var(--font-mono); letter-spacing:.05em; text-transform:uppercase; padding:5px 11px; border-radius:999px; backdrop-filter:blur(4px); border:1px solid rgba(255,255,255,.6); }
.doc-body { padding: 20px 22px 24px; }
.doc-body h3 { font-size:1.16rem; margin-bottom:3px; }
.doc-role { color:var(--teal-600); font-weight:700; font-size:.84rem; font-family:var(--font-display); }
.doc-body p { font-size:.9rem; margin-top:11px; color:var(--slate-500); }
.doc-langs { margin-top:13px; font-size:.8rem; color:var(--slate-400); display:flex; align-items:center; gap:7px; }

/* ---------- Stats band ---------- */
.stats { display:grid; gap:24px; grid-template-columns:repeat(2,1fr); }
@media(min-width:760px){ .stats{ grid-template-columns:repeat(4,1fr);} }
.stat { text-align:center; }
.stat b { display:block; font-family:var(--font-display); font-size:clamp(2rem,4vw,2.7rem); color:var(--navy-800); letter-spacing:-.03em; }
.stat span { color:var(--slate-500); font-size:.88rem; font-weight:600; }

/* ---------- Split / about ---------- */
.split { display:grid; gap:44px; align-items:center; grid-template-columns: minmax(0, 1fr); }
@media(min-width:900px){ .split{ grid-template-columns:repeat(2,minmax(0,1fr)); } .split.rev > :first-child{ order:2; } }
.media-frame { position:relative; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.media-frame img { width:100%; height:100%; object-fit:cover; }
.media-badge {
  position:absolute; left:18px; bottom:18px; background:#fff; border-radius:var(--radius); padding:14px 18px;
  box-shadow: var(--shadow-md); display:flex; align-items:center; gap:13px; border:1px solid var(--border);
}
.media-badge .n { font-family:var(--font-display); font-size:1.4rem; font-weight:800; color:var(--navy-800); line-height:1.05; letter-spacing:-.02em; }
.media-badge small { color:var(--slate-500); font-size:.78rem; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { max-width: 820px; margin-inline:auto; display:grid; gap:10px; }
.acc-item { border:1px solid var(--border); border-radius: var(--radius); background:#fff; overflow:hidden; transition: box-shadow .25s, border-color .25s; }
.acc-item.open { box-shadow: var(--shadow-sm); border-color:var(--border-strong); }
.acc-q { width:100%; text-align:left; background:none; border:0; cursor:pointer; padding:18px 20px; font-family:var(--font-display); font-weight:700; font-size:1rem; color:var(--navy-800); display:flex; justify-content:space-between; gap:16px; align-items:center; }
.acc-q:focus-visible { outline: none; box-shadow: inset var(--ring-shadow); border-radius: var(--radius); }
.acc-q .chev { flex:0 0 auto; width:26px; height:26px; border-radius:7px; background:var(--muted); color:var(--teal-600); display:grid; place-items:center; transition: transform .3s, background .3s, color .3s; border:1px solid var(--border); }
.acc-item.open .acc-q .chev { transform: rotate(180deg); background: var(--teal-500); color:#fff; border-color: var(--teal-500); }
.acc-a { max-height:0; overflow:hidden; transition: max-height .35s ease; }
.acc-a .inner { padding: 0 20px 18px; color:var(--slate-600); font-size:.96rem; }

/* ---------- Forms ---------- */
.form-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px,4vw,40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field.row { display:grid; gap:18px; grid-template-columns:minmax(0,1fr); }
@media(min-width:620px){ .field.row.two{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
label { display:block; font-family:var(--font-display); font-weight:600; font-size:.88rem; color:var(--navy-800); margin-bottom:7px; }
label .req { color:#d64545; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width:100%; font-family:var(--font); font-size:.96rem; color:var(--ink);
  padding:11px 13px; border:1px solid var(--input); border-radius:var(--radius-btn); background:#fff; transition:border-color .18s, box-shadow .18s; appearance:none;
}
select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6b80' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:40px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline:none; border-color: var(--teal-500); box-shadow: var(--ring-shadow); background:#fff; }
input::placeholder, textarea::placeholder { color: var(--slate-400); }
.hint { font-size:.8rem; color:var(--slate-400); margin-top:6px; }
.form-note { font-size:.8rem; color:var(--slate-400); margin-top:6px; }
.consent { display:flex; gap:11px; align-items:flex-start; font-size:.88rem; color:var(--slate-600); }
.consent input { width:18px; height:18px; flex:0 0 auto; margin-top:2px; padding:0; appearance:auto; -webkit-appearance:checkbox; accent-color: var(--teal-600); cursor:pointer; }
.form-status { margin-top:18px; padding:13px 15px; border-radius:var(--radius-btn); font-size:.92rem; font-weight:600; display:none; }
.form-status.show { display:block; }
.form-status.success { background:#e7f7ee; color:#1c7a47; border:1px solid #b9e6cd; }
.form-status.error { background:#fdeaea; color:#b03434; border:1px solid #f4c5c5; }
.form-status.loading { background:var(--muted); color:var(--navy-700); border:1px solid var(--border-strong); }

/* ---------- Booking / registration form sections ---------- */
.bk-letterhead { text-align: center; border-bottom: 2px solid var(--navy-800); padding-bottom: 22px; margin-bottom: 28px; }
.bk-letterhead img { height: 64px; width: auto; margin: 0 auto 12px; }
.bk-letterhead h2 { font-size: 1.45rem; letter-spacing: .02em; }
.bk-letterhead .bk-sub { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; color: var(--teal-600); font-weight: 600; margin-top: 4px; }
.bk-letterhead .bk-meta { margin-top: 10px; font-size: .86rem; color: var(--slate-500); line-height: 1.6; }
.bk-section { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 28px; }
.bk-section > h3 {
  font-family: var(--font-display); font-size: .84rem; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--navy-800); margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.bk-section > h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal-500); }
.bk-section .bk-note { font-size: .84rem; color: var(--slate-400); margin-bottom: 14px; }
.check-grid { display: grid; gap: 10px 18px; margin-top: 12px; }
@media (min-width: 620px){ .check-grid { grid-template-columns: 1fr 1fr; } }
.opt { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; font-weight: 500; color: var(--slate-700); cursor: pointer; margin-bottom: 0; font-family: var(--font); }
.opt input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; padding: 0; appearance: auto; -webkit-appearance: auto; accent-color: var(--teal-600); cursor: pointer; }
.opt-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; }
.bk-inline-label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--navy-800); margin-bottom: 7px; }

/* ---------- Contact info tiles ---------- */
.info-tile { display:flex; gap:15px; align-items:flex-start; padding:20px; border:1px solid var(--border); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s, border-color .25s; }
.info-tile:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); border-color: var(--border-strong); }
.info-tile .ic { flex:0 0 auto; width:44px; height:44px; border-radius:10px; background:var(--teal-50); color:var(--teal-600); display:grid; place-items:center; border:1px solid #d3ecec; }
.info-tile h4 { font-family:var(--font-display); color:var(--navy-800); font-size:.98rem; margin-bottom:3px; }
.info-tile a, .info-tile p { font-size:.92rem; color:var(--slate-600); overflow-wrap: anywhere; }
.info-tile > div { min-width: 0; }
a.info-tile { color: inherit; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position:relative; background: radial-gradient(125% 130% at 88% -10%, #14407c 0%, #0a2342 62%); color:#fff; overflow:hidden; padding: clamp(56px,8vw,92px) 0 clamp(48px,6vw,68px); }
.page-hero::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(110% 100% at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(110% 100% at 50% 0%, #000 0%, transparent 72%);
}
.page-hero::after { content:""; position:absolute; right:-150px; top:-130px; width:440px; height:440px; border-radius:50%; background:radial-gradient(circle, rgba(61,194,194,.28), transparent 62%); pointer-events:none; }
.page-hero .wrap { position:relative; z-index:2; max-width:820px; }
.page-hero h1 { color:#fff; }
.page-hero p { color:#c2d6ef; font-size:1.1rem; margin-top:16px; max-width:640px; text-wrap: pretty; }
.crumbs { font-size:.78rem; color:#9fc2e8; margin-bottom:18px; display:flex; gap:8px; align-items:center; font-family: var(--font-mono); letter-spacing:.02em; }
.crumbs a { color:#9fc2e8; } .crumbs a:hover { color:#fff; }
.crumbs span { opacity:.5; }

/* ---------- CTA band ---------- */
.cta-band { position:relative; overflow:hidden; background: radial-gradient(130% 150% at 50% -20%, #14407c 0%, #0a2342 60%); color:#fff; border-radius: var(--radius-lg); padding: clamp(40px,6vw,64px); text-align:center; border:1px solid rgba(255,255,255,.1); }
.cta-band::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(90% 120% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(90% 120% at 50% 0%, #000 0%, transparent 70%);
}
.cta-band::after { content:""; position:absolute; left:50%; top:-120px; transform:translateX(-50%); width:520px; height:320px; background: radial-gradient(circle, rgba(61,194,194,.28), transparent 60%); pointer-events:none; }
.cta-band > * { position:relative; z-index:2; }
.cta-band h2 { color:#fff; }
.cta-band p { color:#d3e3f7; max-width:560px; margin:14px auto 26px; text-wrap: pretty; }
.cta-actions { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }

/* ---------- Pills / chips ---------- */
.chips { display:flex; flex-wrap:wrap; gap:9px; }
.chip { background:#fff; color:var(--navy-700); border:1px solid var(--border-strong); padding:7px 14px; border-radius:999px; font-size:.84rem; font-weight:600; font-family:var(--font-display); transition: border-color .18s, background .18s, color .18s; }
a.chip:hover { border-color:var(--teal-500); color:var(--teal-600); background: var(--teal-50); }

/* ---------- Acknowledgement band ---------- */
.ack-band { background: #071a31; border-top: 1px solid rgba(255,255,255,.06); padding: clamp(30px,4vw,42px) 0; }
.ack-grid { display: grid; gap: 30px; }
@media (min-width: 880px){ .ack-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.ack-item .ack-flags { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.ack-flags svg { display: block; height: 21px; width: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.ack-flags .ack-inf { box-shadow: none; border-radius: 0; height: 19px; }
.ack-item p { color: #9db8d9; font-size: .88rem; line-height: 1.7; max-width: 54ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color:#aac4e2; padding: 60px 0 26px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-grid { display:grid; gap:38px; grid-template-columns:minmax(0,1fr); }
@media(min-width:760px){ .foot-grid{ grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr); } }
.site-footer h5 { font-family:var(--font-mono); color:#fff; font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; font-weight:600; }
.site-footer a { color:#aac4e2; font-size:.92rem; }
.site-footer a:hover { color:#fff; }
.foot-brand .foot-logo-chip { display: inline-flex; margin-bottom: 18px; }
.foot-brand .foot-logo-chip img { height: 54px; width: auto; }
.foot-brand p { color:#86a6cc; font-size:.9rem; max-width:300px; }
.foot-list { list-style:none; display:grid; gap:11px; }
.foot-contact li { display:flex; gap:11px; align-items:flex-start; font-size:.9rem; color:#aac4e2; margin-bottom:11px; min-width:0; overflow-wrap:anywhere; }
.foot-contact svg { width:17px; height:17px; flex:0 0 auto; margin-top:3px; color:var(--teal-400); }
.socials { display:flex; gap:9px; margin-top:6px; }
.socials a { width:36px; height:36px; border-radius:8px; background:rgba(255,255,255,.07); display:grid; place-items:center; border:1px solid rgba(255,255,255,.08); transition: background .18s, border-color .18s; }
.socials a:hover { background:var(--teal-500); border-color:var(--teal-500); }
.socials svg { width:17px; height:17px; }
.foot-bottom { border-top:1px solid rgba(255,255,255,.08); margin-top:44px; padding-top:24px; display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; font-size:.82rem; color:#7d9cc2; }
.foot-bottom a { font-size:.82rem; }
.foot-powered {
  text-align: center; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06); font-size: .78rem; color: #6f8eb4; letter-spacing: .02em;
}
.foot-powered a { color: #9fc2e8; font-weight: 600; font-size: .78rem; }
.foot-powered a:hover { color: #fff; }

/* ---------- Disclaimer ---------- */
.disclaimer { background:var(--muted); border:1px solid var(--border); border-radius:var(--radius); padding:16px 18px; font-size:.85rem; color:var(--slate-500); }

/* ---------- Click-to-call float (mobile) ---------- */
.call-fab { position:fixed; right:18px; bottom:18px; z-index:90; display:flex; align-items:center; gap:9px; background:var(--teal-500); color:#fff; padding:12px 17px; border-radius:999px; box-shadow:var(--shadow-lg); font-family:var(--font-display); font-weight:700; font-size:.9rem; border:1px solid rgba(255,255,255,.2); }
.call-fab:hover { color:#fff; background: var(--teal-600); transform: translateY(-2px); }
.call-fab svg { width:18px; height:18px; }
@media(min-width:1000px){ .call-fab{ display:none; } }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity:0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
[data-reveal].in { opacity:1; transform:none; }
[data-reveal][data-delay="1"]{ transition-delay:.08s; }
[data-reveal][data-delay="2"]{ transition-delay:.16s; }
[data-reveal][data-delay="3"]{ transition-delay:.24s; }
[data-reveal][data-delay="4"]{ transition-delay:.32s; }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1 !important; transform:none !important; }
  html{ scroll-behavior:auto; }
  .btn:hover, .card:hover, .bento-tile:hover, .info-tile:hover, .doc-card:hover { transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mt-1{margin-top:14px}.mt-2{margin-top:24px}.mt-3{margin-top:36px}
.mb-2{margin-bottom:24px}
.muted{color:var(--slate-500)}
.maxw-prose{max-width:68ch}
.prose p{margin-bottom:16px}
.prose h2{margin:34px 0 14px}.prose h3{margin:26px 0 10px}
.prose ul{padding-left:0; list-style:none; display:grid; gap:10px; margin-bottom:18px}
.prose ul li{display:flex; gap:11px; align-items:flex-start; color:var(--slate-700)}
.prose ul li::before{content:""; flex:0 0 auto; width:7px; height:7px; margin-top:9px; border-radius:50%; background:var(--teal-500)}
.divider{height:1px;background:var(--border);border:0;margin:0}

/* =====================================================================
   ELEVATED COMPONENTS — brand motifs, varied rhythm
   ===================================================================== */

/* ECG-line divider — echoes the heartbeat line in the logo */
.ecg-divider { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto; max-width: 320px; color: var(--teal-400); opacity: .85; }
.ecg-divider svg { width: 100%; height: 22px; }
.ecg-divider.on-dark { color: rgba(61,194,194,.6); }

/* Section background with faint molecule-node dot field */
.section--nodes { position: relative; }
.section--nodes::before {
  content:""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(rgba(31,138,138,.32) 1.2px, transparent 1.2px);
  background-size: 28px 28px; mask-image: radial-gradient(120% 80% at 90% 10%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(120% 80% at 90% 10%, #000 0%, transparent 60%);
}
.section--nodes > .wrap { position: relative; z-index: 1; }

/* Landscape media frames for stock photography (no face-slicing) */
.media-frame.frame-wide img { aspect-ratio: 16/10; }
.media-frame.frame-photo img { aspect-ratio: 4/3; }
.media-frame.frame-tall img { aspect-ratio: 4/4.6; }

/* Overlapping image + floating card composition */
.overlap { position: relative; }
.overlap .media-frame { position: relative; z-index: 1; }
.overlap-card {
  position: relative; z-index: 2; margin: -56px 22px 0; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px){
  .overlap-card { margin: -64px 0 0 -56px; max-width: 460px; }
}
.overlap-card .eyebrow { margin-bottom: 10px; }

/* Numbered "how it works" flow — order is real information here */
.flow { display: grid; gap: 22px; counter-reset: flow; }
@media (min-width: 760px){ .flow { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.flow-step {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px 24px; box-shadow: var(--shadow-sm);
}
.flow-step::before {
  counter-increment: flow; content: counter(flow, decimal-leading-zero);
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem; color: var(--teal-600);
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  background: var(--teal-50); border: 1px solid #d3ecec; margin-bottom: 16px;
}
.flow-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.flow-step p { font-size: .94rem; }
@media (min-width: 760px){
  .flow-step:not(:last-child)::after {
    content:""; position: absolute; top: 49px; right: -11px; width: 22px; height: 2px;
    background: linear-gradient(90deg, var(--teal-400), transparent); z-index: 1;
  }
}

/* Stat strip with brand motif — a confident dark band */
.stat-strip {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(125% 150% at 85% 0%, #14407c 0%, #0a2342 62%); color: #fff;
  padding: clamp(34px,5vw,48px) clamp(26px,4vw,44px); border: 1px solid rgba(255,255,255,.1);
}
.stat-strip::before {
  content:""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(80% 120% at 100% 0%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(80% 120% at 100% 0%, #000 0%, transparent 60%);
}
.stat-strip::after {
  content:""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image: radial-gradient(rgba(61,194,194,.6) 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 120% at 100% 100%, #000 0%, transparent 55%);
  -webkit-mask-image: radial-gradient(80% 120% at 100% 100%, #000 0%, transparent 55%);
}
.stat-strip .stats { position: relative; z-index: 1; }
.stat-strip .stat b { color: #fff; }
.stat-strip .stat span { color: #9fc2e8; }
.stat-strip .stat b span { color: #fff; }

/* Inline section image accent */
.img-accent { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.img-accent img { width: 100%; object-fit: cover; }
