/* ==========================================================================
   Wallan Doctors — design system
   Brand: Navy #0B3B6B · Teal #008DA6 · Green #7CC242 · Light Blue #E8F3F8
   Type: Montserrat (variable, self-hosted)
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B3B6B;
  --navy-900: #062646;
  --navy-700: #0F4A82;
  --teal: #008DA6;
  --teal-600: #007A91;
  --green: #7CC242;
  --green-700: #3F8A1E;        /* accessible green for text on white */
  --sky: #E8F3F8;
  --sky-2: #F3F9FC;
  --ink: #12304F;
  --muted: #4A6178;
  --line: rgba(11, 59, 107, .10);
  --card: rgba(255, 255, 255, .78);
  --white: #fff;
  --grad-brand: linear-gradient(115deg, var(--navy) 0%, var(--teal) 55%, var(--green) 100%);
  --grad-text: linear-gradient(100deg, var(--teal) 0%, var(--green-700) 70%);
  --shadow-sm: 0 2px 6px rgba(11, 59, 107, .06), 0 1px 2px rgba(11, 59, 107, .05);
  --shadow-md: 0 14px 34px -14px rgba(11, 59, 107, .22), 0 2px 6px rgba(11, 59, 107, .05);
  --shadow-lg: 0 30px 70px -28px rgba(11, 59, 107, .40);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--navy); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
::selection { background: var(--green); color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.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: absolute; left: 12px; top: -60px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.green-text { color: var(--green-700); }

/* ---------- Eyebrows / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .5em 1.05em; border-radius: 999px;
  background: var(--teal); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 8px 22px -10px rgba(0, 141, 166, .7);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(124, 194, 66, .8); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(124,194,66,.75);} 70% { box-shadow: 0 0 0 10px rgba(124,194,66,0);} 100% { box-shadow: 0 0 0 0 rgba(124,194,66,0);} }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: .9rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { display: inline-flex; align-items: center; gap: .6em; }
.section-head h2::before, .section-head h2::after { content: ""; width: clamp(24px, 5vw, 64px); height: 2px; background: var(--green); border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: 1em 1.6em; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1;
  overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), color .25s;
  box-shadow: 0 12px 26px -12px rgba(11, 59, 107, .55);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-brand); opacity: 0; transition: opacity .35s var(--ease-out);
}
.btn:hover { color: var(--fg); box-shadow: 0 18px 34px -12px rgba(11, 59, 107, .6); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(.97); }
.btn svg { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--teal); box-shadow: none; }
.btn--ghost::before { background: var(--sky); }
.btn--ghost:hover { color: var(--navy); }
.btn--green { --bg: var(--green); --fg: var(--navy); box-shadow: 0 12px 26px -12px rgba(124, 194, 66, .9); }
.btn--green::before { background: linear-gradient(115deg, #8fd152, var(--green) 60%, #65b02e); }
.btn--white { --bg: #fff; --fg: var(--navy); }
.btn--white::before { background: var(--sky); }
.btn--sm { padding: .8em 1.25em; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s var(--ease-out), transform .45s var(--ease-out);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11, 59, 107, .3); --header-h: 70px; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1320px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 58px; width: auto; transition: height .35s var(--ease-out); }
.is-scrolled .brand img { height: 48px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .has-menu > button {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; background: none; color: var(--navy);
  font-weight: 600; font-size: .95rem; border-radius: 10px;
}
.nav > a::after, .nav .has-menu > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav .has-menu:hover > button::after, .nav .has-menu > button[aria-current="page"]::after { transform: scaleX(1); }
.nav .has-menu { position: relative; }
.nav .has-menu > button svg { width: 14px; height: 14px; transition: transform .3s; }
.nav .has-menu:hover > button svg, .nav .has-menu.open > button svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(760px, 92vw);
  transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease-out), visibility .25s;
}
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-menu:hover .mega, .has-menu.open .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--navy); font-weight: 600; font-size: .9rem; line-height: 1.3; transition: background .2s; }
.mega a:hover { background: var(--sky); }
.mega a .ico { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--teal); transition: background .25s, color .25s; }
.mega a:hover .ico { background: var(--navy); color: var(--green); }
.mega a .ico svg { width: 20px; height: 20px; }
.mega .mega-all { grid-column: 1 / -1; justify-content: center; background: var(--sky-2); margin-top: 6px; color: var(--teal-600); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 17px; } .menu-toggle span:nth-child(2) { top: 23px; } .menu-toggle span:nth-child(3) { top: 29px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: linear-gradient(160deg, var(--navy-900), var(--navy) 55%, #0b5579);
  color: #fff; padding: calc(var(--header-h) + 20px) var(--gutter) 40px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path .7s var(--ease-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .site-header .brand img { filter: brightness(0) invert(1); }
.mobile-menu nav > a, .mobile-menu details summary { display: block; font-size: 1.6rem; font-weight: 700; color: #fff; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); list-style: none; cursor: pointer; }
.mobile-menu details summary::-webkit-details-marker { display: none; }
.mobile-menu details summary::after { content: "+"; float: right; color: var(--green); }
.mobile-menu details[open] summary::after { content: "–"; }
.mobile-menu details div { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 10px 0 16px; }
.mobile-menu details div a { color: rgba(255,255,255,.85); font-size: 1rem; padding: 6px 0; }
.mobile-menu .btn { margin-top: 28px; }
.mobile-menu nav > * { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease-out); }
.menu-open .mobile-menu nav > * { opacity: 1; transform: none; }
.menu-open .mobile-menu nav > *:nth-child(1) { transition-delay: .15s; } .menu-open .mobile-menu nav > *:nth-child(2) { transition-delay: .2s; } .menu-open .mobile-menu nav > *:nth-child(3) { transition-delay: .25s; } .menu-open .mobile-menu nav > *:nth-child(4) { transition-delay: .3s; } .menu-open .mobile-menu nav > *:nth-child(5) { transition-delay: .35s; } .menu-open .mobile-menu nav > *:nth-child(6) { transition-delay: .4s; } .menu-open .mobile-menu nav > *:nth-child(7) { transition-delay: .45s; } .menu-open .mobile-menu nav > *:nth-child(8) { transition-delay: .5s; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; background: var(--grad-brand); transform-origin: left; transform: scaleX(0); }

/* ---------- Hero (home + inner) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(120px, 14vw, 190px);
  background: radial-gradient(1200px 600px at 10% 0%, #fff 0%, var(--sky) 60%, #dcedf5 100%);
}
.hero-bg-ecg { position: absolute; left: 0; right: 0; top: 46%; z-index: -1; opacity: .16; pointer-events: none; }
.hero-bg-ecg path { fill: none; stroke: var(--teal); stroke-width: 2; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -2; pointer-events: none; }
.hero-orb.o1 { width: 420px; height: 420px; background: rgba(124, 194, 66, .22); left: -120px; bottom: 40px; }
.hero-orb.o2 { width: 520px; height: 520px; background: rgba(0, 141, 166, .16); right: 10%; top: -160px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy .pill { margin-bottom: 1.4rem; }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero .lead { max-width: 520px; margin-bottom: 2rem; }
.hero .lead strong { color: var(--navy); }
.hero-media { position: relative; }
.hero-photo {
  position: relative; border-radius: 38% 62% 46% 54% / 44% 38% 62% 56%;
  overflow: hidden; aspect-ratio: 1.08; box-shadow: var(--shadow-lg);
  animation: blob 14s ease-in-out infinite alternate;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; transform: scale(1.08); }
@keyframes blob {
  0% { border-radius: 38% 62% 46% 54% / 44% 38% 62% 56%; }
  50% { border-radius: 54% 46% 58% 42% / 52% 56% 44% 48%; }
  100% { border-radius: 44% 56% 40% 60% / 60% 44% 56% 40%; }
}
.hero-ring { position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed rgba(0, 141, 166, .3); animation: spin 60s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-md);
  font-size: .85rem; line-height: 1.3; color: var(--muted); z-index: 2;
}
.float-card strong { display: block; color: var(--navy); font-size: .95rem; }
.float-card .ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; flex-shrink: 0; }
.float-card .ico svg { width: 22px; height: 22px; }
.float-card.fc1 { left: -28px; bottom: 16%; }
.float-card.fc2 { right: -8px; top: 8%; }
.float-card.fc3 { right: 6%; bottom: -14px; }
.float-card .ecg-mini { width: 74px; height: 26px; }
.float-card .ecg-mini path { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; stroke-dashoffset: 120; animation: ecgdraw 2.4s ease-in-out infinite; }
@keyframes ecgdraw { 0% { stroke-dashoffset: 120; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -120; } }

/* Brand waves */
.waves { position: absolute; left: 0; right: 0; bottom: -2px; height: clamp(90px, 12vw, 170px); z-index: 1; pointer-events: none; }
.waves svg { width: 100%; height: 100%; }
.waves .w-green { fill: url(#wg-green); }
.waves .w-teal { fill: url(#wg-teal); }
.waves .w-white { fill: #fff; }

/* Inner page hero visual: medallion */
.hero--inner { padding-bottom: clamp(110px, 12vw, 170px); }
.hero--inner h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--teal-600); font-weight: 600; }
.crumbs span[aria-hidden] { opacity: .5; }
.medallion { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin: 0 auto; }
.medallion .m-core {
  position: absolute; inset: 18%; border-radius: 50%;
  background: var(--grad-brand); box-shadow: 0 40px 80px -30px rgba(11, 59, 107, .6), inset 0 -20px 50px rgba(0,0,0,.18), inset 0 20px 40px rgba(255,255,255,.18);
  display: grid; place-items: center; color: #fff;
}
.medallion .m-core svg { width: 42%; height: 42%; stroke-width: 1.3; }
.medallion .m-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1.5px dashed rgba(0, 141, 166, .35); animation: spin 50s linear infinite; }
.medallion .m-ring.r2 { inset: -2%; border-style: solid; border-color: rgba(124, 194, 66, .25); animation-duration: 80s; animation-direction: reverse; }
.medallion .m-pulse { position: absolute; inset: 18%; border-radius: 50%; border: 2px solid rgba(0, 141, 166, .5); animation: pulse 3s var(--ease-out) infinite; }
.medallion .m-pulse.p2 { animation-delay: 1.5s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.medallion .chip {
  position: absolute; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.92);
  border: 1px solid #fff; box-shadow: var(--shadow-md); color: var(--navy); font-weight: 700; font-size: .8rem; white-space: nowrap;
  display: flex; align-items: center; gap: 8px; backdrop-filter: blur(8px);
}
.medallion .chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.medallion .chip:nth-of-type(1) { top: 4%; left: 2%; }
.medallion .chip:nth-of-type(2) { top: 18%; right: -6%; }
.medallion .chip:nth-of-type(3) { bottom: 22%; left: -8%; }
.medallion .chip:nth-of-type(4) { bottom: 4%; right: 4%; }

/* ---------- Feature strip ---------- */
.features { position: relative; z-index: 3; margin-top: clamp(-90px, -7vw, -60px); }
.features-card {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.feature { display: flex; gap: 18px; padding: clamp(20px, 2.6vw, 32px); position: relative; }
.feature + .feature::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.feature .ico { width: 58px; height: 58px; flex-shrink: 0; color: var(--teal); }
.feature .ico svg { width: 100%; height: 100%; stroke-width: 1.4; }
.feature h3 { font-size: 1.05rem; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--sky { background: linear-gradient(180deg, #fff 0%, var(--sky-2) 30%, var(--sky-2) 70%, #fff 100%); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 22px 22px; border-radius: var(--r-md);
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(0,141,166,.18), rgba(124,194,66,.18)) border-box;
  border: 1px solid transparent; box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  overflow: hidden; isolation: isolate; transform-style: preserve-3d;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(124, 194, 66, .16), transparent 60%);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: var(--ink); }
.svc-card:hover::before { opacity: 1; }
.svc-card .ico {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky); color: var(--teal);
  transition: background .4s, color .4s, transform .5s var(--ease-spring);
}
.svc-card .ico svg { width: 32px; height: 32px; stroke-width: 1.5; }
.svc-card:hover .ico { background: var(--navy); color: var(--green); transform: rotate(-8deg) scale(1.06); }
.svc-card h3 { font-size: 1.04rem; margin-bottom: .25em; }
.svc-card p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.svc-card .arrow { margin-left: auto; width: 22px; height: 22px; color: var(--green-700); flex-shrink: 0; transition: transform .35s var(--ease-out); }
.svc-card:hover .arrow { transform: translateX(4px); }

/* draw-on icons */
.draw path, .draw circle, .draw rect, .draw line, .draw polyline { stroke-dasharray: var(--len, 200); stroke-dashoffset: 0; }

/* Marquee */
.marquee { overflow: hidden; padding: 22px 0; background: var(--navy); color: #fff; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -.01em; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.75); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About split */
.about { position: relative; background: linear-gradient(90deg, transparent 50%, var(--sky-2) 50%); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; min-height: 520px; }
.about-media { position: relative; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .about-logo { position: absolute; top: 15%; left: 50%; width: 32%; transform: translateX(-50%); filter: drop-shadow(0 6px 10px rgba(0,0,0,.12)); }
.about-media .curve { position: absolute; right: -1px; top: 0; height: 100%; width: 22%; }
.about-copy { padding: clamp(36px, 5vw, 72px) clamp(20px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: center; font-weight: 600; color: var(--navy); }
.ticks .ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--green-700); box-shadow: var(--shadow-sm); }
.ticks .ico svg { width: 22px; height: 22px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 28px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* Countdown */
.countdown { display: flex; gap: 10px; margin-top: 1.6rem; }
.countdown div { min-width: 74px; padding: 12px 10px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); text-align: center; }
.countdown b { display: block; font-size: 1.8rem; line-height: 1; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-900), var(--navy) 60%, #0d5a86); color: #fff; padding: clamp(44px, 6vw, 70px) 0 clamp(70px, 8vw, 100px); isolation: isolate; }
.cta-band .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.cta-band .env { width: 74px; height: 74px; color: #fff; position: relative; }
.cta-band .env svg { width: 100%; height: 100%; stroke-width: 1.4; }
.cta-band .env::after { content: ""; position: absolute; right: -24px; top: 8%; bottom: 8%; width: 1px; background: rgba(255,255,255,.25); }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.cta-band .waves { height: 70px; }
.cta-band .glow { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(124,194,66,.28), transparent 65%); right: -120px; top: -200px; z-index: -1; }

/* FAQ */
.faq-wrap { position: relative; overflow: hidden; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 16px; background: var(--sky-2); border: 1px solid var(--line); overflow: hidden; transition: background .3s, box-shadow .3s; }
.faq-item.open { background: #fff; box-shadow: var(--shadow-md); }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border: 0; background: none; text-align: left; font-weight: 700; color: var(--navy); font-size: 1rem; }
.faq-item button .pm { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--green-700); transition: transform .4s var(--ease-out), background .3s; box-shadow: var(--shadow-sm); }
.faq-item.open button .pm { transform: rotate(45deg); background: var(--green); color: var(--navy); }
.faq-item .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item .faq-a > div { overflow: hidden; }
.faq-item .faq-a p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.landscape { position: absolute; right: 0; bottom: 0; width: min(46vw, 620px); height: 300px; pointer-events: none; z-index: -1; opacity: .9; }

/* ---------- Service page blocks ---------- */
.answer-card {
  position: relative; z-index: 3; margin-top: clamp(-80px, -6vw, -56px);
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg);
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border: 1px solid #fff; box-shadow: var(--shadow-lg);
}
.answer-card .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; }
.answer-card .ico svg { width: 28px; height: 28px; }
.answer-card h2 { font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; color: var(--teal-600); margin-bottom: .4em; }
.answer-card p { margin: 0; font-size: 1.08rem; color: var(--ink); }
.prose { max-width: 760px; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: var(--r-md); background: var(--sky-2); border: 1px solid var(--line); }
.toc h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 1em; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 12px; align-items: baseline; padding: 8px 10px; border-radius: 10px; color: var(--navy); font-weight: 600; font-size: .93rem; transition: background .2s, padding .3s var(--ease-out); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-size: .75rem; color: var(--teal); font-weight: 800; }
.toc a:hover, .toc a.active { background: #fff; padding-left: 16px; }
.sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sub-card { position: relative; padding: 28px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 24px); }
.sub-card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.sub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sub-card:hover::after, .sub-card:target::after { transform: scaleX(1); }
.sub-card .num { font-size: .8rem; font-weight: 800; color: var(--teal); letter-spacing: .1em; }
.sub-card h3 { margin: .35em 0 .5em; }
.sub-card p { color: var(--muted); font-size: .96rem; }
.sub-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sub-card li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink); }
.sub-card li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3B6B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.who-card { padding: clamp(26px, 3vw, 38px); border-radius: var(--r-lg); background: linear-gradient(150deg, var(--navy-900), var(--navy) 60%, #0d5a86); color: #fff; position: relative; overflow: hidden; }
.who-card h2 { color: #fff; font-size: 1.6rem; }
.who-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.who-card li { display: flex; gap: 12px; color: rgba(255,255,255,.9); }
.who-card li::before { content: ""; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--green); background: radial-gradient(circle, var(--green) 35%, transparent 40%); }
.who-card .ecg-bg { position: absolute; right: -40px; bottom: 20px; width: 340px; opacity: .14; }
.who-card .ecg-bg path { fill: none; stroke: #fff; stroke-width: 2; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--green)); transform-origin: left; transform: scaleX(var(--p, 1)); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .n { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--teal); color: var(--navy); font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 8px #fff, var(--shadow-md); position: relative; z-index: 1; }
.step h3 { font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 16px; background: #FFF7EC; border: 1px solid #F6D9AE; color: #6B4A12; font-size: .93rem; }
.notice svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: #C47A12; }
.notice p { margin: 0; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Generic content cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--sky); color: var(--teal); margin-bottom: 18px; }
.card .ico svg { width: 28px; height: 28px; stroke-width: 1.5; }
.card p { color: var(--muted); margin: 0; }
.card p + p { margin-top: .8em; }

/* Forms */
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .85rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #D5E3EC; background: var(--sky-2);
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(0,141,166,.14); }
.check-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check-row label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid #D5E3EC; background: var(--sky-2); font-weight: 600; font-size: .85rem; color: var(--navy); cursor: pointer; transition: all .2s; }
.check-row input { accent-color: var(--teal); }
.check-row label:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.consent { font-size: .82rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; }
.form-msg { display: none; padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.form-msg.ok { display: block; background: #EEF8E6; color: #2F6B13; }
.form-msg.err { display: block; background: #FDECEC; color: #8A1F1F; }

/* Footer */
.site-footer { position: relative; background: var(--navy-900); color: rgba(255,255,255,.78); padding: clamp(56px, 7vw, 90px) 0 0; overflow: hidden; isolation: isolate; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.1fr .8fr .8fr 1fr; gap: clamp(24px, 4vw, 48px); padding-bottom: 48px; }
.site-footer img.flogo { width: 170px; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .02em; margin-bottom: 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.78); font-size: .92rem; }
.site-footer a:hover { color: var(--green); }
.site-footer .meta-row { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: #fff; font-weight: 600; }
.site-footer .meta-row svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }
.site-footer .meta-row.big { font-size: 1.15rem; color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom a { font-size: .82rem; color: rgba(255,255,255,.6); }
.footer-ack { font-size: .85rem; color: rgba(255,255,255,.62); max-width: 760px; padding: 0 0 26px; }
.emergency { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: .8rem; font-weight: 600; margin-top: 10px; }
.footer-swoosh { position: absolute; right: -5%; bottom: 0; width: 60%; height: 140px; z-index: -1; opacity: .9; }

/* Reveal defaults (JS adds .js) */
.js [data-reveal] { opacity: 0; }
.js [data-split] .line > span { transform: translateY(110%); }

/* Cursor glow */
.cursor-dot { position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--green); pointer-events: none; z-index: 1000; transform: translate(-50%, -50%); mix-blend-mode: multiply; transition: width .25s, height .25s, background .25s; display: none; }
.cursor-dot.big { width: 54px; height: 54px; background: rgba(124,194,66,.25); }
@media (hover: hover) and (pointer: fine) { .cursor-dot { display: block; } }

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: #fff; }
.preloader svg { width: 220px; height: 70px; }
.preloader path { fill: none; stroke: url(#pl-grad); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: pl 1.1s var(--ease-out) forwards; }
@keyframes pl { to { stroke-dashoffset: 0; } }
.preloader.done { opacity: 0; visibility: hidden; transition: opacity .5s .1s, visibility .5s .1s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card.fc1 { left: 0; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
  .hero-grid, .two-col, .faq-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin: 10px auto 0; width: 100%; }
  .features-card { grid-template-columns: 1fr; }
  .feature + .feature::before { left: 22px; right: 22px; top: 0; bottom: auto; width: auto; height: 1px; }
  .about { background: var(--sky-2); }
  .about-media { min-height: 320px; }
  .about-media .curve { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-band .wrap { grid-template-columns: 1fr; text-align: left; }
  .cta-band .env::after { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
  .cards-3, .related { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
  .landscape { opacity: .35; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .svc-grid, .sub-grid, .cards-3, .cards-2, .related, .form-grid { grid-template-columns: 1fr; }
  .float-card { font-size: .78rem; padding: 9px 12px 9px 9px; }
  .float-card .ico { width: 34px; height: 34px; }
  .float-card.fc2 { right: 0; top: 2%; }
  .float-card.fc3 { display: none; }
  .medallion .chip { font-size: .72rem; padding: 7px 11px; }
  .medallion .chip:nth-of-type(2) { right: 0; }
  .medallion .chip:nth-of-type(3) { left: 0; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-grid > :first-child, .site-footer .footer-grid > :last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .answer-card { grid-template-columns: 1fr; }
  .countdown div { min-width: 0; flex: 1; }
  .section-head h2::before, .section-head h2::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; }
  .js [data-split] .line > span { transform: none; }
  .marquee-track { animation: none; }
}

/* --- fixes after first visual pass --- */
[data-split] .line { display: block; overflow: hidden; padding-bottom: .06em; }
[data-split] .line > span { display: inline-block; }
.emergency svg { width: 16px; height: 16px; flex-shrink: 0; }
.about-media img { object-position: 50% 0%; transform-origin: 50% 0%; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
@media (min-width: 901px) { .hero-grid { grid-template-columns: 1.1fr 1fr; } }
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 2.8rem); }
  .hero--inner h1 { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
  .pill { font-size: .7rem; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .hero-media { max-width: 360px; }
  .medallion { width: min(320px, 86%); }
}
html, body { overflow-x: clip; }
.hero, .section, .about, .cta-band, .site-footer, .faq-wrap { max-width: 100vw; }
.field input[type="checkbox"] { width: 18px; height: 18px; padding: 0; flex-shrink: 0; border-radius: 4px; box-shadow: none; }
.check-row label { line-height: 1.2; }
.img-note { position: absolute; left: 8%; bottom: 2%; z-index: 3; font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 999px; }

/* ===================== Areas map (adapted from the Wallan marketing-plan map) ===================== */
.map-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.map-stage { position: relative; min-height: 600px; background: #eceff4; }
.wd-map { position: absolute; inset: 0; z-index: 1; }
.map-reset { position: absolute; left: 16px; top: 16px; z-index: 500; }
.leaflet-container { font-family: "Montserrat", system-ui, sans-serif; background: #eceff4; }
.leaflet-tile { filter: saturate(.85) brightness(1.03); }
.leaflet-control-zoom { border: 0 !important; box-shadow: 0 0 0 1px var(--line), 0 10px 26px -12px rgba(6,38,70,.35) !important; border-radius: 14px !important; overflow: hidden; }
.leaflet-control-zoom a { width: 38px !important; height: 38px !important; line-height: 38px !important; color: var(--navy) !important; border-color: var(--line) !important; }
.leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,.8) !important; border-radius: 8px 0 0 0; }
.sub-mk { position: relative; width: 0; height: 0; cursor: pointer; }
.sub-mk__pulse, .sub-mk__pulse2 { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%;
  background: radial-gradient(circle, rgba(0,141,166,.34) 0%, rgba(0,141,166,.14) 55%, rgba(0,141,166,0) 72%); box-shadow: inset 0 0 0 1.5px rgba(0,141,166,.42); transform: scale(.35); opacity: 0; }
.map-live .sub-mk__pulse { animation: mpulse 3.2s var(--ease-out) infinite; animation-delay: var(--dl, 0s); }
.map-live .sub-mk__pulse2 { animation: mpulse 3.2s var(--ease-out) infinite; animation-delay: calc(var(--dl, 0s) + 1.6s); }
@keyframes mpulse { 0% { transform: scale(.3); opacity: .95; } 100% { transform: scale(1); opacity: 0; } }
.sub-mk__core { position: absolute; left: 50%; top: 50%; width: var(--c); height: var(--c); margin: calc(var(--c) / -2) 0 0 calc(var(--c) / -2); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a6dc72, #008DA6 72%); box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(11,59,107,.55); transition: transform .2s var(--ease-out); }
.sub-mk.is-sel .sub-mk__core { transform: scale(1.2); background: radial-gradient(circle at 35% 30%, #39b6cc, #0B3B6B 75%); }
.sub-mk__label { position: absolute; left: 50%; top: calc(var(--c) / 2 + 8px); transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(11,59,107,.1), 0 6px 14px -8px rgba(6,38,70,.4); font-size: 11.5px; line-height: 1.25; font-weight: 700; color: var(--navy); transition: background-color .2s, color .2s; }
.sub-mk.is-sel .sub-mk__label { background: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) { .sub-mk:hover .sub-mk__core { transform: scale(1.15); } }
.wd-pin { position: relative; width: 64px; height: 78px; }
.wd-pin__body { position: absolute; inset: 0; transform-origin: 50% 100%; filter: drop-shadow(0 12px 14px rgba(6,38,70,.35)); opacity: 0; transform: translateY(-46px) scale(.96); }
.wd-pin__body svg { width: 64px; height: 78px; }
.wd-pin__logo { position: absolute; left: 11px; top: 10px; width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.leaflet-container .wd-pin__logo img { width: 32px !important; height: auto !important; }
.wd-pin__ripple { position: absolute; left: 50%; bottom: -8px; width: 70px; height: 24px; margin-left: -35px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; transform: scale(.3); }
.wd-pin__shadow { position: absolute; left: 50%; bottom: -5px; width: 26px; height: 8px; margin-left: -13px; border-radius: 50%; background: rgba(6,38,70,.3); filter: blur(2px); opacity: 0; transform: scale(.4); }
.wd-pin__tag { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px); opacity: 0; white-space: nowrap; padding: 8px 12px; border-radius: 12px; background: var(--navy-900); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }
.wd-pin__tag small { display: block; font-weight: 600; color: var(--green); font-size: 10.5px; }
.wd-pin__tag::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--navy-900); }
.wd-pin.is-dropped .wd-pin__body { opacity: 1; transform: none; transition: transform 620ms cubic-bezier(.34,1.56,.64,1), opacity 180ms linear; }
.wd-pin.is-dropped .wd-pin__shadow { opacity: 1; transform: none; transition: transform 620ms var(--ease-out), opacity 300ms linear; }
.wd-pin.is-dropped .wd-pin__tag { opacity: 1; transform: translate(-50%, 0); transition: transform 400ms var(--ease-out) 520ms, opacity 300ms linear 520ms; }
.map-live .wd-pin.is-dropped .wd-pin__ripple { animation: mripple 2.6s var(--ease-out) 700ms infinite; }
@keyframes mripple { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.5); } }
.radius-label { background: transparent; border: 0; box-shadow: none; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--navy); opacity: .6; }
.map-panel { display: flex; flex-direction: column; border-left: 1px solid var(--line); min-width: 0; }
.mp-sel { padding: 26px 24px 22px; background: linear-gradient(180deg, var(--sky-2), #fff); border-bottom: 1px solid var(--line); min-height: 210px; }
.mp-sel__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mp-sel__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.024em; color: var(--navy); line-height: 1.1; }
.mp-sel__km { font-size: .8rem; font-weight: 700; color: var(--teal-600); white-space: nowrap; }
.mp-sel__text { margin: 12px 0 16px; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.mp-sel__cta { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-list { list-style: none; margin: 0; padding: 8px; overflow: auto; max-height: 380px; flex: 1; }
.mp-list button { width: 100%; display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; text-align: left; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 12px; background: transparent; font-size: .88rem; color: var(--ink); transition: background-color .16s, transform .16s; }
.mp-list button:active { transform: scale(.98); }
.mp-list button[aria-pressed="true"] { background: var(--sky); color: var(--navy); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .mp-list button:hover { background: var(--sky-2); } }
.mp-list .rk { font-size: .72rem; color: #8a98a3; font-weight: 700; }
.mp-list .v { font-weight: 700; color: var(--teal-600); font-size: .8rem; }
.map-foot { margin-top: 14px; font-size: .78rem; color: var(--muted); }
@media (max-width: 1020px) { .map-shell { grid-template-columns: 1fr; } .map-panel { border-left: 0; border-top: 1px solid var(--line); } .map-stage { min-height: 500px; } .mp-list { max-height: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .map-stage { min-height: 420px; } .mp-list { grid-template-columns: 1fr; } }

/* ===================== Bulk billing badge ===================== */
.bb-badge { display: block; width: 150px; aspect-ratio: 1; filter: drop-shadow(0 18px 26px rgba(11,59,107,.32)); }
.bb-badge svg { width: 100%; height: 100%; overflow: visible; }
.bb-badge .bb-ring { transform-origin: 100px 100px; transform-box: view-box; animation: spin 28s linear infinite; }
.hero-media .bb-badge.hero-bb { position: absolute; left: -26px; top: -16px; z-index: 4; width: 148px; }
.bb-inline { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid rgba(124,194,66,.45); color: var(--navy); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-sm); }
.bb-inline:hover { color: var(--navy); background: #fff; }
.bb-inline .tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--navy); }
.bb-inline .tick svg { width: 17px; height: 17px; }
.bb-inline small { font-weight: 600; color: var(--muted); font-size: .78rem; }
.features-card.four { grid-template-columns: repeat(4, 1fr); }
.feature.bb .ico { color: var(--green-700); }
.site-footer .bb-badge { width: 120px; margin: 4px 0 18px; filter: none; }
.fees-badge { width: min(360px, 82%); margin: 0 auto; }
.bb-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 10px; }
.bb-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.bb-list li::before { content: ""; width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3B6B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.bb-list.cost li::before { background: #FFF1DD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C47A12' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center/13px no-repeat; }
@media (max-width: 1100px) { .features-card.four { grid-template-columns: repeat(2, 1fr); } .features-card.four .feature:nth-child(3)::before { display: none; } }
@media (max-width: 900px) { .features-card.four { grid-template-columns: 1fr; } .features-card.four .feature:nth-child(3)::before { display: block; } }
@media (max-width: 640px) { .hero-media .bb-badge.hero-bb { width: 104px; left: -6px; top: -10px; } }
.sub-mk.is-minor .sub-mk__label { display: none; }
@media (hover: hover) and (pointer: fine) { .sub-mk.is-minor:hover .sub-mk__label { display: block; } }
.fees-badge .bb-badge { width: 100%; }
.mega .mega-all { padding: 12px; font-size: .88rem; gap: 8px; }
.mega .mega-all svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s var(--ease-out); }
.mega .mega-all:hover svg { transform: translateX(3px); }
.nav .has-menu > button svg { flex-shrink: 0; }

/* ===================== Suburb pages + areas hub ===================== */
.route-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.route-stage { position: relative; min-height: 460px; background: #eceff4; }
.wd-route { position: absolute; inset: 0; z-index: 1; }
.route-panel { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-left: 1px solid var(--line); background: linear-gradient(180deg, var(--sky-2), #fff); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fact b { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { font-size: .76rem; color: var(--muted); font-weight: 600; line-height: 1.3; display: block; margin-top: 4px; }
.route-via { display: flex; gap: 10px; margin: 0; font-size: .9rem; color: var(--ink); }
.route-via svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--green-700); }
.route-panel .btn { align-self: flex-start; }
.stat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.stat-list li { display: grid; gap: 2px; }
.stat-list li::before { display: none; }
.stat-list b { font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.stat-list span { color: rgba(255,255,255,.88); font-size: .92rem; }
.stat-list small { color: rgba(255,255,255,.6); font-size: .74rem; }
.stat-list small a { color: var(--green); }
.near-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .8rem; }
.near-links a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .85rem; transition: background .2s, color .2s; }
.near-links a:hover { background: var(--navy); color: #fff; }
.lga-h { display: flex; align-items: baseline; gap: 12px; margin: 2.2rem 0 1rem; font-size: 1.2rem; }
.lga-h small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.area-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .35s var(--ease-out), box-shadow .35s; }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--ink); }
.area-card .ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--teal); transition: background .3s, color .3s; }
.area-card:hover .ico { background: var(--navy); color: var(--green); }
.area-card .ico svg { width: 22px; height: 22px; }
.area-card b { display: block; color: var(--navy); font-size: 1rem; }
.area-card small { display: block; color: var(--teal-600); font-weight: 700; font-size: .76rem; margin: 2px 0 6px; }
.area-card em { display: block; font-style: normal; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.area-card .arrow { width: 20px; height: 20px; margin-left: auto; flex-shrink: 0; color: var(--green-700); align-self: center; transition: transform .3s var(--ease-out); }
.area-card:hover .arrow { transform: translateX(4px); }
@media (max-width: 1020px) { .route-shell { grid-template-columns: 1fr; } .route-panel { border-left: 0; border-top: 1px solid var(--line); } .route-stage { min-height: 380px; } .area-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .area-grid { grid-template-columns: 1fr; } .route-stage { min-height: 320px; } }
.section-head h2[data-split] { display: block; }
.section-head h2[data-split]::before, .section-head h2[data-split]::after { display: none; }
