/* =========================================================
   Variation A · Pulse
   Inspired by refs 001 + 002: giant overlapping type, a floating
   "x-ray" object, animated heartbeat lines, dark editorial rows.
   ========================================================= */
:root {
  --bg: #F5F4F1;
  --text: #0E0E10;
  --muted: #5F5F66;
  --line: #E2DED8;
  --red: #D7262E;
  --red-dark: #B21C23;
  --dark: #0B0B0D;
  --dot: #CFC8BF;
  --font-head: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-btn: "Inter Tight", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Header ---------- */
.site-header { background: transparent; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(245, 244, 241, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav a:not(.btn) { padding: 10px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: #2A2A2E; transition: background-color .2s ease; }
.nav a:not(.btn):hover { background: rgba(14, 14, 16, .06); }
.nav .nav-call { margin-left: 12px; min-height: 46px; }

/* ---------- Side dots (ref 001) ---------- */
.side-dots { position: fixed; right: 28px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 14px; mix-blend-mode: difference; }
.side-dots a { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; transition: transform .25s ease, background-color .25s ease; }
.side-dots a.is-active { background: #fff; transform: scale(1.25); }
.side-dots a::after {
  content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  padding: 4px 10px; border-radius: 999px; background: #fff; color: #000;
  font: 500 .8rem/1.4 var(--font-body); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.side-dots a:hover::after, .side-dots a:focus-visible::after { opacity: 1; }

/* ---------- Hero (ref 002) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding: 24px 0 56px;
  margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 24px);
  background: radial-gradient(1100px 620px at 55% 58%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%), var(--bg);
}
/* Heartbeat line runs along the bottom of the Home section, clear of the headline */
.hero-ekg { position: absolute; left: 0; bottom: clamp(8px, 3vh, 40px); width: 100%; height: clamp(110px, 16vh, 170px); pointer-events: none; }
.ekg-base { fill: none; stroke: var(--red); stroke-opacity: .16; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ekg-glow {
  fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 90 910; animation: ekg 5.5s linear infinite; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(215, 38, 46, .55));
}
@keyframes ekg { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }

/* Two tidy columns: rotating headline + button on the left, route map on the right. */
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.75rem, 6.4vw, 6rem); font-weight: 600; letter-spacing: -0.05em; line-height: .95; }
.hero-copy .btn { margin-top: clamp(28px, 3.2vw, 44px); }

/* Rotating headline: every phrase sits in the same grid cell, so the block is always the height of the
   tallest phrase and the button never moves. Only the .is-active phrase is visible. */
.hero-title { display: grid; }
.phrase { grid-area: 1 / 1; display: block; }
.p-big, .p-big > span, .p-small { display: block; }
.p-small { margin-top: .6em; font-size: clamp(1.3rem, 2.3vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.2; color: var(--red); }
.phrase:not(.is-active) { pointer-events: none; user-select: none; }
/* Slow cross-fade: the old phrase drifts up and fades out, then the new one rises in (red line a beat later). */
.phrase > span {
  opacity: 0; transform: translateY(.16em); filter: blur(6px);
  transition: opacity .8s ease, transform .9s ease, filter .8s ease;
}
.phrase.is-leaving > span { transform: translateY(-.12em); }
.phrase.is-active > span {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 1.4s cubic-bezier(.2, .7, .2, 1) .7s, transform 1.4s cubic-bezier(.2, .7, .2, 1) .7s, filter 1.2s ease .7s;
}
.phrase.is-active > .p-small { transition-delay: 1s; }

.hero-object { position: relative; z-index: 1; width: 100%; pointer-events: none; }
.hero-object svg { display: block; width: 100%; height: auto; }

/* Line-art scenes: one per headline, shown/hidden by main.js at the same moment as the headline, with the
   same fade timing. Inside the active scene, lines draw on, details pop and fills fade in, each after --d. */
.scene { opacity: 0; transition: opacity .8s ease; }
.scene.is-active { opacity: 1; transition: opacity 1.4s cubic-bezier(.2, .7, .2, 1) .7s; }

.scene .ln { fill: none; stroke: #0E0E10; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene .ln.faint { stroke-opacity: .3; }
.scene .rd { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.scene .glow { filter: drop-shadow(0 0 5px rgba(215, 38, 46, .45)); }
.scene .dots { stroke-dasharray: 1 9; }
.scene .tint { fill: rgba(215, 38, 46, .1); }
.scene .dot { fill: #0E0E10; stroke: #fff; stroke-width: 3; }
.scene .tile { fill: #fff; stroke: var(--red); stroke-width: 2; }
.scene .cross { fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; }
.scene .hub { fill: #0E0E10; }
.scene .hub-red, .scene .lite { fill: var(--red); }
.scene .clock { fill: #fff; stroke: var(--red); stroke-width: 2; }
.scene .hands { fill: none; stroke: #0E0E10; stroke-width: 2.5; stroke-linecap: round; }
.scene .moon { fill: rgba(215, 38, 46, .1); stroke: var(--red); stroke-width: 2; }
.scene .stars circle { fill: #0E0E10; opacity: .35; }
.scene .ring { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
/* the stretcher is drawn at a larger size and scaled down, so its lines are thicker to match */
.scene .big .ln { stroke-width: 3.2; }
.scene .big .rd { stroke-width: 4.6; }

.scene .draw { stroke-dasharray: 100; stroke-dashoffset: 100; }
.scene .pop { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.scene .late { opacity: 0; }
.scene.is-active .draw { animation: draw-on var(--t, 1.8s) cubic-bezier(.45, 0, .25, 1) calc(.7s + var(--d, 0s)) forwards; }
.scene.is-active .pop { animation: pop-in .55s cubic-bezier(.3, 1.5, .5, 1) calc(.7s + var(--d, 0s)) forwards; }
.scene.is-active .late { animation: fade-in .9s ease calc(.7s + var(--d, 0s)) forwards; }
.scene.is-active .ring { animation: ring-out 1.5s ease-out calc(.7s + var(--d, 0s)) forwards; }
/* while a scene fades out it keeps its finished drawing */
.scene.is-leaving .draw { stroke-dashoffset: 0; }
.scene.is-leaving .pop { transform: none; }
.scene.is-leaving .late { opacity: 1; }
@keyframes draw-on { to { stroke-dashoffset: 0; } }
@keyframes pop-in { to { transform: scale(1); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes ring-out { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }

/* Reduced motion: headline stays on the first phrase (main.js doesn't rotate) and its drawing shows finished. */
@media (prefers-reduced-motion: reduce) {
  .phrase > span, .phrase.is-active > span { transition: none; filter: none; transform: none; }
  .scene, .scene.is-active { transition: none; }
  .scene *, .scene.is-active * { animation: none !important; }
  .scene .draw { stroke-dashoffset: 0; }
  .scene .pop { transform: none; }
  .scene .late { opacity: 1; }
}


/* ---------- Trusted Health Partners banner ---------- */
/* Names scroll right-to-left, the opposite direction to the heartbeat pulse above. */
.partners { position: relative; padding: clamp(40px, 5vw, 64px) 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.partners-title { margin-bottom: clamp(22px, 3vw, 36px); text-align: center; font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 600; letter-spacing: -0.035em; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
/* Each logo has a size balance value (--m in the HTML): wide logos a little shorter, boxy ones a little taller,
   so every logo carries about the same visual weight. */
.partners { --logo-h: clamp(42px, 4.2vw, 60px); }
.marquee-group li { display: flex; align-items: center; justify-content: center; height: calc(var(--logo-h) * 1.3); padding-right: clamp(44px, 5vw, 84px); }
.marquee-group img { display: block; width: auto; height: calc(var(--logo-h) * var(--m, 1)); max-width: none; }
.marquee-group .logo-tile { border-radius: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; animation: none; justify-content: center; }
  .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 14px; padding: 0 var(--gutter); }
  .marquee-group[aria-hidden="true"] { display: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; overflow: hidden; padding: clamp(84px, 11vw, 144px) 0; background: #fff; }
.section > .container { position: relative; z-index: 1; }
.tint { background: var(--bg); }
.dark { background: var(--dark); color: #fff; }
.dark h2, .dark h3 { color: #fff; }

.section-head { max-width: 780px; margin: 0 auto clamp(48px, 6vw, 76px); text-align: center; }
.section-head h2 { font-size: clamp(2.3rem, 5vw, 4.25rem); font-weight: 600; letter-spacing: -0.05em; }
.section-head p { margin-top: 18px; font-size: 1.15rem; color: var(--muted); }
.dark .section-head p { color: #A5A5AD; }
.section-head .btn { margin-top: 32px; }
.section-head.left { text-align: left; margin-left: 0; }

/* ---------- How it works (ref 001) ---------- */
.bg-cross {
  position: absolute; right: -80px; top: 50%; width: min(600px, 58vw); aspect-ratio: 1;
  transform: translateY(-50%); perspective: 1200px; opacity: .5; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 72%); mask-image: radial-gradient(circle, #000 35%, transparent 72%);
}
.bg-cross svg { width: 100%; height: 100%; animation: spin3d 28s linear infinite; }
@keyframes spin3d { from { transform: rotateX(14deg) rotateY(0deg); } to { transform: rotateX(14deg) rotateY(360deg); } }

.rows { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.row { display: grid; grid-template-columns: 160px 1fr 1.1fr; gap: 32px; align-items: baseline; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.row-num { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--red); }
.row h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.035em; }
.row p { max-width: 42ch; font-size: 1.1rem; color: #B4B4BC; }
.row { align-items: center; }
.row h3 { display: flex; align-items: center; gap: 18px; }
.row-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); }
.row-icon .icon { width: 24px; height: 24px; color: #FF5A61; }
.row-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.row-chips li { padding: 6px 12px 6px 28px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: .88rem; color: #D4D4DA; position: relative; }
.row-chips li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--red); }
.how-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 56px; padding: 28px 32px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 28px; background: rgba(255, 255, 255, .03); }
.how-cta > p { font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.how-cta .book-actions { margin-top: 0; }
#how .bg-cross { opacity: .32; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-grid .section-head { margin-bottom: 36px; }
.values { border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.values .icon { width: 48px; height: 48px; padding: 12px; border-radius: 50%; border: 1px solid var(--line); color: var(--red); }
.values h3 { margin-bottom: 2px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.values p { color: var(--muted); font-size: .98rem; }

.map-card { padding: 28px 28px 22px; border: 1px solid var(--line); border-radius: 32px; background: var(--bg); }
.map-card svg { width: 100%; height: auto; }
.map-card figcaption { margin-top: 8px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.map-lake-fill { fill: #EAE5DE; }
.map-shore { fill: none; stroke: #CFC7BD; stroke-width: 2; }
/* Map base: greys only, so the red routes and black city dots stay the focus */
.map-depth path { fill: none; stroke: #DDD6CC; stroke-width: 1; }
.map-depth path:nth-child(2) { opacity: .7; }
.map-depth path:nth-child(3) { opacity: .45; }
.map-island { fill: var(--bg); stroke: #CFC7BD; stroke-width: 1; }
.map-city { fill: rgba(14, 14, 16, .035); stroke: #B9B1A7; stroke-width: 1; stroke-dasharray: 4 3; }
.map-rivers path { fill: none; stroke: #D2CBC1; stroke-width: 1.6; stroke-linecap: round; }
.map-minor path { fill: none; stroke: #DCD6CE; stroke-width: 1.2; }
.map-roads path { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; paint-order: stroke; filter: drop-shadow(0 0 .6px #A79F95) drop-shadow(0 0 .4px #A79F95); }
.map-roads .hwy-major { stroke-width: 5.5; }
.map-shields rect { fill: #fff; stroke: #C9C1B7; stroke-width: 1; }
.map-shields text { font: 700 7.5px var(--font-body); fill: #8C847A; text-anchor: middle; letter-spacing: .02em; }
.map-north path { fill: #B9B1A7; }
.map-north text { font: 700 9px var(--font-body); fill: #8C847A; text-anchor: middle; }
/* soft halo so city names stay crisp over roads and rivers */
.map-labels text, .map-hub, .map-lake { paint-order: stroke; stroke: var(--bg); stroke-width: 3.5px; stroke-linejoin: round; }
.map-lake { stroke: #EAE5DE; }
.map-spokes path { fill: none; stroke: var(--red); stroke-width: 1.4; stroke-dasharray: 3 6; opacity: .75; animation: dashmove 2.5s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -18; } }
.map-dots circle { fill: #0E0E10; }
.map-labels text { font: 500 13px var(--font-body); fill: #2A2A2E; }
.map-hub { font: 700 15px var(--font-head); fill: #0E0E10; }
.map-lake { font: italic 13px var(--font-body); fill: #9C948B; }
.map-pulse { fill: var(--red); transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .35; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- Services ---------- */
.band-ekg { position: absolute; left: 0; top: 70px; width: 100%; height: 220px; pointer-events: none; }
.feature-carousel { position: relative; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 4.5vw, 56px) clamp(28px, 6vw, 76px); }
.feature-num { display: block; margin-bottom: 14px; font-family: var(--font-head); font-size: 2.75rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--red); }
.feature h3 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -0.045em; }
.feature-lead { margin: 14px 0 26px; max-width: 38ch; font-size: 1.15rem; color: var(--muted); }
.checks .icon { background: #FCEDED; color: var(--red); }
.carousel-btn { background: #fff; border: 1px solid var(--text); color: var(--text); }
.carousel-btn:hover { background: var(--text); color: #fff; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 72px; }
.service { padding-top: 28px; border-top: 1px solid var(--text); }
.service .icon { width: 32px; height: 32px; margin-bottom: 18px; color: var(--red); }
.service h3 { margin-bottom: 8px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.service p { color: var(--muted); font-size: .98rem; }

.cta-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 56px; padding: 18px 18px 18px 32px; border-radius: 999px;
  background: var(--red); color: #fff; text-decoration: none; font-size: 1.1rem; transition: background-color .2s ease;
}
.cta-bar strong { margin-right: 6px; font-family: var(--font-head); font-weight: 700; }
.cta-bar .icon { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: #fff; color: var(--red); stroke-width: 2.2; transition: transform .25s ease; }
.cta-bar:hover { background: var(--red-dark); }
.cta-bar:hover .icon { transform: translateX(4px); }

.serve { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; margin-top: 24px; padding: clamp(28px, 4vw, 44px); border-radius: 32px; background: var(--dark); color: #fff; }
.serve h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.035em; }
.serve p { margin-top: 8px; color: #A5A5AD; }
.serve-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.serve-list li { display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; font-weight: 600; line-height: 1.35; }
.serve-list .icon { width: 28px; height: 28px; color: #FF5A61; }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 36px 32px; border: 1px solid var(--line); border-radius: 32px; background: var(--bg); }
.review-stars { display: flex; gap: 3px; margin-bottom: -12px; }
.review blockquote { flex: 1; }
.review-stars .icon { width: 18px; height: 18px; fill: #F2B01E; stroke: #F2B01E; }
.review blockquote { margin: 0; font-family: var(--font-head); font-size: 1.4rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; }
.review blockquote::before { content: "\201C"; display: block; margin-bottom: 6px; font-size: 3.5rem; line-height: .8; color: var(--red); }
.review figcaption { color: var(--muted); font-size: .95rem; }
.review figcaption strong { display: block; color: var(--text); font-weight: 600; }

/* ---------- Book / Contact ---------- */
#book .band-ekg { top: auto; bottom: 40px; opacity: .8; }
.book-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; align-items: start; }
.contact-card { padding: 36px 32px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 32px; background: rgba(255, 255, 255, .03); }
.contact-card h3 { margin-bottom: 24px; font-size: 1.5rem; font-weight: 600; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #FF5A61; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: #FF8A8F; }
.contact-note { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: #A5A5AD; font-size: .95rem; }
.book-form { padding: 36px 32px; border-radius: 32px; background: #fff; color: var(--text); }
.book-form h3 { margin-bottom: 4px; font-size: 1.5rem; font-weight: 600; color: var(--text); }
.book-form label { color: #2A2A2E; }
.book-form input, .book-form select, .book-form textarea { background: var(--bg); border: 1px solid var(--line); }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; background: #fff; border-color: var(--text); }
.form-status { color: var(--muted); }
.form-note { margin-top: -10px; color: var(--muted); font-size: .95rem; }
.form-status a { color: var(--red); font-weight: 600; }
.form-fine { margin-top: -6px; color: var(--muted); font-size: .85rem; }
.form-fine a { color: var(--text); }
.book-form textarea::placeholder { color: #9A9AA2; }
.book-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.section-head .book-actions .btn { margin-top: 0; }
.dark .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.dark .btn-outline:hover { background: #fff; color: var(--text); border-color: #fff; }

/* ---------- Credentials strip (About) ---------- */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 88px); border: 1px solid var(--line); border-radius: 28px; background: var(--bg); }
.creds li { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; }
.creds li + li { border-left: 1px solid var(--line); }
.creds .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--red); }
.creds h3 { margin-bottom: 4px; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.creds p { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ---------- For hospitals & care homes ---------- */
.facility-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.facility-grid .section-head { margin-bottom: 0; }
.facility-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facility-list li { padding: 28px 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg); }
.facility-list .icon { width: 30px; height: 30px; margin-bottom: 18px; color: var(--red); }
.facility-list h3 { margin-bottom: 6px; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.facility-list p { color: var(--muted); font-size: .96rem; }

/* ---------- Gallery preview ---------- */
.teaser .section-head { max-width: 980px; }
.teaser-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.teaser-grid a { display: block; overflow: hidden; border-radius: 24px; background: #1A1A1E; }
.teaser-grid .teaser-main { grid-row: 1 / 3; }
.teaser-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.teaser-grid a:hover img { transform: scale(1.03); }
.teaser-cta { margin-top: 36px; text-align: center; }

/* ---------- Google rating link (Reviews) ---------- */
.g-rating {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: .98rem; color: var(--muted); text-decoration: none; transition: border-color .2s ease;
}
.g-rating strong { color: var(--text); font-family: var(--font-head); font-size: 1.05rem; }
.g-rating .icon { width: 18px; height: 18px; fill: #F2B01E; stroke: #F2B01E; }
.g-rating .arrow { fill: none; stroke: currentColor; width: 16px; height: 16px; }
.g-rating:hover { border-color: var(--text); color: var(--text); }

/* ---------- Pricing & payment ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.pricing-grid .section-head { margin-bottom: 0; }
.pay-list { border-top: 1px solid var(--line); }
.pay-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pay-list .icon { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--red); }
.pay-list h3 { margin-bottom: 2px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.pay-list p { color: var(--muted); font-size: .98rem; }

/* ---------- FAQ + areas ---------- */
.faq-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.faq { border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  border: 1px solid var(--line);
  background: linear-gradient(var(--red), var(--red)) center / 12px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 12px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 62ch; padding: 0 48px 24px 0; color: var(--muted); }
.areas { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px 28px; border-radius: 28px; background: var(--dark); color: #fff; }
.areas h3 { margin-bottom: 20px; color: #fff; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; }
.areas dl { display: grid; gap: 16px; margin: 0; }
.areas dt { margin-bottom: 2px; color: #FF5A61; font-weight: 600; font-size: .95rem; }
.areas dd { margin: 0; color: #D4D4DA; font-size: .98rem; line-height: 1.5; }
.areas > p { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: #A5A5AD; font-size: .95rem; }

/* ---------- Gallery page ---------- */
.nav a[aria-current="page"]:not(.btn) { background: rgba(14, 14, 16, .06); }
.page-head { margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(36px, 5vw, 56px); text-align: center; }
.page-head h1 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: .95; }
.page-head p { max-width: 560px; margin: 20px auto 0; font-size: 1.15rem; color: var(--muted); }
.gallery-section { padding-bottom: clamp(72px, 9vw, 120px); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery-grid .g-wide { grid-column: 1 / -1; }
.gallery-grid a { position: relative; display: block; overflow: hidden; border-radius: 28px; background: #E9E5DF; }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery-grid .g-wide img { aspect-ratio: 16 / 8; }
.gallery-grid a:hover img { transform: scale(1.025); }
.g-zoom { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--text); opacity: 0; transition: opacity .25s ease; }
.g-zoom .icon { width: 20px; height: 20px; }
.gallery-grid a:hover .g-zoom, .gallery-grid a:focus-visible .g-zoom { opacity: 1; }
.gallery-grid figcaption { margin-top: 12px; padding: 0 6px; color: var(--muted); font-size: .98rem; }
.gallery-cta .section-head { margin-bottom: 0; }

/* ---------- Service & city pages ---------- */
.page-head .book-actions { margin-top: 32px; }
.page-head .btn-outline { color: var(--text); }
.page-head .btn-outline:hover { background: var(--text); color: #fff; border-color: var(--text); }
.sub-head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.sub-head h2, .svc-copy h2, .city-copy h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; letter-spacing: -0.045em; }
.sub-head p { margin-top: 14px; font-size: 1.1rem; color: var(--muted); }
.svc-grid, .city-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.svc-copy h2, .city-copy h2 { margin-bottom: 24px; }
.svc-copy .checks li { align-items: flex-start; }
.svc-copy .checks .icon { margin-top: 1px; }
.city-copy > p { margin-bottom: 28px; font-size: 1.1rem; color: var(--muted); }
.svc-art svg { width: 100%; height: auto; }
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.city-copy .link-cards { grid-template-columns: 1fr 1fr; }
.link-cards a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-weight: 600; line-height: 1.3; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.link-cards a:hover { border-color: var(--text); transform: translateY(-1px); }
.link-cards .icon { width: 26px; height: 26px; color: var(--red); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; text-decoration: none; transition: border-color .2s ease; }
.chips a:hover { border-color: var(--text); }
.quote-band { max-width: 860px; margin: 0 auto; text-align: center; }
.quote-band .review-stars { justify-content: center; margin-bottom: 18px; }
.quote-band blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.quote-band figcaption { margin-top: 18px; color: var(--muted); }
.quote-band figcaption strong { color: var(--text); }
.local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.local-card { padding: 30px 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.local-card h3 { margin-bottom: 16px; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.local-card ul { display: grid; gap: 10px; }
.local-card li { position: relative; padding-left: 20px; }
.local-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.local-note { margin-top: 24px; text-align: center; color: var(--muted); }
.areas dd a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.areas dd a:hover { text-decoration-color: #fff; }
.map-dots .map-here { fill: var(--red); stroke: #fff; stroke-width: 3; }
.map-labels .map-here-label { font-weight: 700; fill: #0E0E10; }
.feature-more { display: inline-block; margin-left: 18px; font-weight: 600; text-underline-offset: 4px; }
.service h3 a { text-decoration: none; }
.service h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.who-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 980px; margin: 0 auto; }
.who-list li { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-weight: 500; line-height: 1.4; }
.who-list .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #FCEDED; color: var(--red); stroke-width: 2.6; }
.footer-grid.footer-grid-5 { grid-template-columns: 1.3fr .8fr 1fr .8fr 1.2fr; }
.footer-nav h3 { margin-bottom: 4px; color: #fff; font-family: var(--font-body); font-size: .95rem; font-weight: 600; letter-spacing: 0; }

/* ---------- Thank-you page ---------- */
.thanks-badge { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: #FCEDED; color: var(--red); }
.thanks-badge .icon { width: 30px; height: 30px; stroke-width: 2.6; }
.thanks-card { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.thanks-card h2 { margin-bottom: 10px; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; }
.thanks-card > div > p { color: var(--muted); }
#thanks-resend { margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
#thanks-resend .book-actions { justify-content: flex-start; margin-top: 18px; }
.thanks-card .btn-outline { color: var(--text); }
.thanks-steps { display: grid; gap: 18px; margin-top: 18px; }
.thanks-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.thanks-steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: #fff; font-family: var(--font-head); font-weight: 600; }
.thanks-steps h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; }
.thanks-steps p { color: var(--muted); }
.thanks-call { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.thanks-call a, .thanks-home a { color: var(--red); font-weight: 600; }
.thanks-home { margin-top: 12px; }

/* ---------- 404 page ---------- */
.nf-call { margin-left: auto; }
.nf-head { min-height: calc(100svh - 130px); padding-bottom: clamp(72px, 9vw, 120px); }
.page-head .nf-code { margin: 0; font-family: var(--font-head); font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; letter-spacing: -0.06em; line-height: .9; color: var(--red); }
.nf-head h1 { margin-top: 12px; }
.nf-links { margin-top: 40px; }
.nf-footer { padding-top: 8px; }

/* ---------- Form error and loading states ---------- */
.book-form [aria-invalid="true"] { border-color: var(--red); background: #FFF6F6; }
.field-error { margin-top: -2px; color: var(--red); font-size: .85rem; font-weight: 600; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::before { content: ""; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: btn-spin .7s linear infinite; }
.btn.is-loading .icon { display: none; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
/* soft placeholder while photos load */
.teaser-grid img, .gallery-grid img { background: #2A2A2E; }

/* ---------- Cookie banner (only shown once Google Analytics is switched on in main.js) ---------- */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 420px; padding: 22px 22px 18px;
  border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--text);
  box-shadow: 0 24px 60px -20px rgba(14, 14, 16, .35);
}
.cookie-banner p { font-size: .94rem; line-height: 1.5; color: #2E2E34; }
.cookie-banner p a { color: var(--red); }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie-actions .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.cookie-actions .btn-outline { color: var(--text); }
.cookie-settings { background: none; border: 0; padding: 0; margin-left: 14px; font: inherit; color: inherit; cursor: pointer; }
.cookie-settings:hover { color: #fff; }

/* ---------- Privacy policy page ---------- */
.legal-section { padding-bottom: clamp(72px, 9vw, 120px); }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.legal-date { margin-bottom: 20px; color: var(--muted); font-size: .92rem; }
.legal h2 { margin: 36px 0 12px; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.025em; }
.legal p { margin-bottom: 12px; color: #2E2E34; }
.legal ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; color: #2E2E34; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--red); }
.legal a { color: var(--red); }
.footer-link { margin-left: 14px; text-decoration: none; }
.footer-link:hover { color: #fff; }

.lightbox { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 20px; background: #000; overflow: hidden; }
.lightbox::backdrop { background: rgba(6, 6, 7, .86); }
.lightbox img { display: block; width: 100%; height: auto; max-height: 92vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--text); cursor: pointer; }

/* ---------- Mobile text button (next to the call bar) ---------- */
.mobile-text { display: none; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 28px; background: #060607; color: #A5A5AD; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { height: 62px; width: auto; margin-bottom: 18px; }
.footer-nav { display: grid; gap: 10px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover, .footer-phone:hover { color: #fff; }
.footer-phone { display: inline-block; margin-bottom: 4px; font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; letter-spacing: -0.03em; color: #fff; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; font-size: .9rem; }
.footer-contact .footer-phone { display: block; }
.footer-contact p { margin-top: 6px; }
.footer-contact p a { text-decoration: none; }
.footer-contact p a:hover { color: #fff; }
.contact-list .or { color: #A5A5AD; font-weight: 400; }
.footer-legal { margin-top: 14px; color: #6B6B73; font-size: .78rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .side-dots { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .serve { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(14, 14, 16, .3); }
  .nav a:not(.btn) { border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .nav-call { margin-left: 0; }

  .hero { min-height: auto; padding-bottom: 48px; }

  .row { grid-template-columns: 100px 1fr; }
  .row p, .row-body { grid-column: 2; }

  .about-grid { grid-template-columns: 1fr; }
  .about-grid .section-head.left { text-align: center; margin-left: auto; }

  .feature { text-align: center; }
  .feature-lead { margin-left: auto; margin-right: auto; }
  .checks { justify-content: center; text-align: left; }

  .reviews { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .creds { grid-template-columns: 1fr 1fr; }
  .creds li:nth-child(3) { border-left: 0; }
  .creds li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facility-grid, .pricing-grid { grid-template-columns: 1fr; }
  .facility-grid .section-head.left, .pricing-grid .section-head.left { text-align: center; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .areas { position: static; }
  .svc-grid, .city-grid { grid-template-columns: 1fr; }
  .svc-art { max-width: 460px; width: 100%; margin: 0 auto; order: -1; }
  .link-cards { grid-template-columns: 1fr 1fr; }
  .local-grid { grid-template-columns: 1fr; }
  .footer-grid.footer-grid-5 { grid-template-columns: 1fr 1fr; }
  .book-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .site-footer { padding-bottom: 104px; }
  .mobile-call { right: 80px; }
  .mobile-text {
    display: grid; place-items: center; position: fixed; right: 12px; bottom: 12px; z-index: 60;
    width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--red);
    border: 1px solid var(--line); box-shadow: 0 12px 28px -10px rgba(14, 14, 16, .35);
  }
  .mobile-text .icon { width: 24px; height: 24px; stroke-width: 2; }
  .cookie-banner { left: 12px; right: 12px; bottom: 80px; max-width: none; }
  .nf-call { display: none; }
  .teaser-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .teaser-grid .teaser-main { grid-row: auto; grid-column: 1 / -1; }
  .hero { padding-bottom: 130px; }
  .hero-ekg { height: 100px; bottom: 12px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-title { font-size: 12.5vw; }
  .hero-object { max-width: 340px; margin: 0 auto; }
  .bg-cross { right: -40%; width: 110vw; opacity: .28; }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .p-small { font-size: 1.4rem; }
  .services { grid-template-columns: 1fr; gap: 24px; }
  .serve-list { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .row p, .row-body { grid-column: auto; }
  .row-icon { width: 46px; height: 46px; }
  .how-cta { padding: 24px 20px; justify-content: center; text-align: center; }
  .map-card { padding: 16px 12px; border-radius: 24px; }
  .map-labels text, .map-lake { font-size: 17px; }
  .map-hub { font-size: 19px; }
  .feature { padding: 24px 20px 28px; }
  .cta-bar { border-radius: 24px; padding: 18px 18px 18px 22px; font-size: 1rem; }
  .contact-card, .book-form { padding: 28px 20px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-grid a { border-radius: 20px; }
  .gallery-grid .g-wide img { aspect-ratio: 3 / 2; }
  .g-zoom { opacity: 1; width: 38px; height: 38px; }
  .creds { grid-template-columns: 1fr; }
  .creds li + li { border-left: 0; border-top: 1px solid var(--line); }
  .facility-list { grid-template-columns: 1fr; }
  .faq summary { font-size: 1.08rem; }
  .faq details p { padding-right: 0; }
  .teaser-grid { gap: 10px; }
  .teaser-grid a { border-radius: 18px; }
  .book-actions .btn { width: 100%; }
  .link-cards, .city-copy .link-cards, .who-list { grid-template-columns: 1fr; }
  .feature-more { display: block; margin: 16px 0 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
