/* =============================================================
   Denvet Prax — cabinet veterinar Cluj-Napoca
   Brand: #006c84 petrol teal (logo) · Secondary: #84a8c0 slate blue (logo)
   Accent: #e07856 warm coral · Surface: #f4efe6 cream · Dark: #062d36 deep teal
   Type: Newsreader (display) · Hanken Grotesk (body) · Spline Sans Mono (labels)
   ============================================================= */

:root {
  --brand: #006c84;
  --brand-deep: #024f60;
  --brand-soft: #84a8c0;
  --brand-mist: #e4eef0;
  --accent: #e07856;
  --accent-deep: #c25b3c;
  --accent-soft: #f5d9cf;
  --surface: #f4efe6;
  --surface-warm: #ece3d4;
  --surface-card: #ffffff;
  --surface-off: #f9f5ee;
  --ink: #101820;
  --ink-soft: #34434f;
  --ink-mute: #687886;
  --line: rgba(16, 24, 32, 0.08);
  --line-strong: rgba(16, 24, 32, 0.14);
  --line-light: rgba(255, 255, 255, 0.12);
  --dark: #062d36;
  --dark-soft: #0a3a45;
  --dark-card: #0f4754;
  --danger: #d94e4e;
  --success: #5cb57b;

  --maxw: 1360px;
  --gutter: clamp(18px, 2vw, 32px);

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-nav: "Spline Sans", "Hanken Grotesk", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Soft & rounded warmth — generous pillowy radii */
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 40px;
  --radius-xl: 60px;
  --radius-pill: 999px;

  /* Pastel color-block section bands */
  --band-teal: #dcebec;
  --band-coral: #fbe5dc;
  --band-cream: #f6f1e8;

  --shadow-sm: 0 1px 2px rgba(16, 24, 32, 0.04), 0 4px 12px -4px rgba(16, 24, 32, 0.08);
  --shadow-md: 0 4px 14px -4px rgba(16, 24, 32, 0.1), 0 18px 50px -24px rgba(0, 108, 132, 0.22);
  --shadow-lg: 0 30px 80px -24px rgba(0, 108, 132, 0.35), 0 8px 20px -6px rgba(16, 24, 32, 0.12);
  --shadow-glow: 0 20px 60px -10px rgba(224, 120, 86, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--brand); color: #fff; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
body.drawer-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }

/* Image protection — discourage drag/save (deterrent) */
img, video {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Ownership watermark — tiny corner badge on photos */
.gphoto::after,
.svc-card-media::after,
.doctor-portrait::after,
.image-frame::after,
.echo-card::after {
  content: "Proprietate privată";
  position: absolute;
  right: 8px;
  bottom: 7px;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.46rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  user-select: none;
}
/* Echo cards have an in-flow caption at the bottom — badge goes top-right over the image */
.echo-card::after { bottom: auto; top: 8px; }

em {
  font-style: normal;
  font-family: inherit;
  color: var(--brand);
  font-weight: 600;
}

/* ============================================================= LAYOUT PRIMITIVES */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.col-span-5 { grid-column: span 5; }
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }
.col-offset-1 { grid-column-start: 7; grid-column-end: span 6; }
.col-padded { padding: clamp(20px, 3vw, 48px) 0; }

@media (max-width: 900px) {
  .grid-12 { grid-template-columns: 1fr; gap: 40px; }
  .col-span-5, .col-span-6, .col-span-7 { grid-column: span 1; }
  .col-offset-1 { grid-column: 1 / -1; }
  .col-padded { padding: 0; }
}

/* ============================================================= TYPOGRAPHY UTILITIES */
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.mono-label-small { font-size: 0.6rem; opacity: 0.7; }
.mono-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* Soft friendly chip — warm rounded tag (no editorial numbers) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--brand-deep);
  background: var(--surface-card);
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px -8px rgba(0, 108, 132, 0.3);
}
.eyebrow::before { flex: none; }
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow-light {
  color: #fff;
  background: rgba(255,255,255,0.16);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

/* Soft friendly chip — section label (the 01/02 mono numbers are dropped) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--brand-deep);
  background: var(--surface-card);
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: clamp(18px, 2vw, 26px);
  width: fit-content;
  box-shadow: 0 6px 18px -8px rgba(0, 108, 132, 0.3);
}
.section-label::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
/* Editorial 01/02 numbers removed in the soft world */
.section-label .mono-num { display: none; }
.section-label-light {
  color: #fff;
  background: rgba(255,255,255,0.16);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, min(4.6vw, 7.6dvh), 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: clamp(0.9rem, 2dvh, 1.6rem);
  font-variation-settings: "opsz" 40;
}
.section-heading-xl {
  font-size: clamp(2.2rem, min(5.6vw, 9dvh), 5rem);
  max-width: 22ch;
}
.section-heading-light { color: #fff; }
.section-heading-light em { color: var(--accent); }

.section-body {
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 54ch;
  font-weight: 400;
}
.section-body-lead {
  font-size: clamp(1.08rem, 1.3vw, 1.3rem);
  color: var(--ink-soft);
}
.section-body-light { color: rgba(255,255,255,0.86); }
.section-body + .section-body { margin-top: 1rem; }
.section-body strong { color: var(--ink); font-weight: 600; }
.section-body-light strong { color: #fff; }

.section-head { max-width: 56ch; }
.section-head-wide { max-width: 860px; margin-bottom: clamp(2rem, 5dvh, 4rem); }

.prose > * + * { margin-top: 1rem; }

/* Drop cap on first paragraph */
/* Drop-cap neutralised for the modern sans direction — first paragraph reads as normal body */
.drop-cap::first-letter {
  font-style: normal;
  color: inherit;
  float: none;
  font-size: inherit;
  font-weight: inherit;
}

/* Pull quote */
.pull-quote {
  margin: clamp(36px, 5vw, 56px) 0;
  padding: clamp(22px, 2.5vw, 34px) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
  max-width: 48ch;
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 300;
}
.pull-quote-mark {
  position: absolute;
  left: -0.05em;
  top: -0.1em;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--brand);
  opacity: 0.18;
  line-height: 1;
  pointer-events: none;
  font-style: italic;
}
.pull-quote-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.pull-quote-caption > span:first-child {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
}

/* Pill list */
.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(22px, 2.5vw, 32px);
}
.pill-list li {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--surface-card);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.pill-list li:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

/* Numeral (oversized) */
.numeral {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(5rem, 11vw, 12rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  font-variation-settings: "opsz" 96;
}

/* Flourish */
.flourish {
  width: 52px; height: 52px;
  color: var(--brand);
  opacity: 0.6;
}
.flourish-paw {
  position: absolute;
  right: -8px;
  top: -26px;
  color: var(--accent);
  opacity: 0.4;
  width: 64px; height: 64px;
  transform: rotate(-12deg);
  pointer-events: none;
}

/* ============================================================= LOADER */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--brand-deep);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.8rem;
  transition: opacity 0.35s var(--ease-out);
}
.loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo { width: 120px; filter: brightness(0) invert(1); opacity: 0.96; }
.loader-bar-wrap {
  width: min(320px, 60vw); height: 2px;
  background: rgba(255,255,255,0.14); overflow: hidden; border-radius: 2px;
}
.loader-bar { width: 0%; height: 100%; background: #fff; transition: width 0.18s linear; }
.loader-percent {
  font-family: var(--font-display);
  font-size: 0.9rem; letter-spacing: 0.18em;
  opacity: 0.82; font-variant-numeric: tabular-nums;
}
.loader-note {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.26em;
  text-transform: uppercase; opacity: 0.55;
}

/* ============================================================= READING PROGRESS */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 150;
  transition: opacity 0.35s;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(224, 120, 86, 0.6);
}

/* ============================================================= HEADER */
.site-header {
  position: fixed;
  top: clamp(12px, 1.4vw, 18px);
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 clamp(14px, 2.4vw, 24px);
  pointer-events: none;
  transition: top 0.3s var(--ease-out);
}

.nav {
  pointer-events: auto;
  width: 100%;
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
  padding: 0.55rem 0.7rem 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 18px 50px -18px rgba(0, 108, 132, 0.35),
    0 4px 14px -4px rgba(16, 24, 32, 0.15);
  transition: background 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.site-header.on-dark .nav {
  background: rgba(6, 45, 54, 0.55);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 18px 50px -18px rgba(0, 0, 0, 0.5);
}

.nav-logo { display: flex; align-items: center; gap: 0.55rem; }
.nav-logo img {
  height: 36px; width: 36px;
  object-fit: contain;
  transition: filter 0.3s, transform 0.4s var(--ease-spring);
}
.nav-logo:hover img { transform: rotate(-6deg) scale(1.06); }
.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.nav-wordmark-name {
  font-family: var(--font-nav);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: inherit;
  white-space: nowrap;
}
.nav-wordmark-sub {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  white-space: nowrap;
}
.site-header.on-dark .nav-wordmark-sub { color: var(--accent-soft); }
@media (max-width: 560px) {
  .nav-wordmark { display: none; }
}
.site-header.on-dark .nav-logo img { filter: brightness(0) invert(1); opacity: 0.96; }

.nav-links {
  list-style: none;
  display: flex;
  gap: clamp(2px, 0.6vw, 8px);
  align-items: center;
  font-family: var(--font-nav);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  flex: 1;
  justify-content: center;
}
/* Pill-style links with a dot indicator on the active section */
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  color: inherit;
  transition: color 0.25s, background 0.25s;
}
.nav-links a::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s, transform 0.3s var(--ease-spring);
}
.nav-links a:hover { background: rgba(0, 108, 132, 0.09); color: var(--brand); }
.site-header.on-dark .nav-links a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nav-links a.is-active { color: var(--brand); background: rgba(0, 108, 132, 0.1); }
.nav-links a.is-active::before { opacity: 1; transform: scale(1); }
.site-header.on-dark .nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, 0.14); }

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-nav);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  padding: 0.5rem 0.85rem;
  background: rgba(92, 181, 123, 0.12);
  border: 1px solid rgba(92, 181, 123, 0.28);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.nav-status.is-closed {
  background: rgba(224, 120, 86, 0.12);
  border-color: rgba(224, 120, 86, 0.3);
  color: var(--accent-deep);
}
.site-header.on-dark .nav-status { color: #eafaf0; }
.site-header.on-dark .nav-status.is-closed { color: var(--accent-soft); }
.nav-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(92, 181, 123, 0.22);
  animation: pulseDot 2.4s ease-in-out infinite;
  flex: none;
}
.nav-status.is-closed .nav-status-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 120, 86, 0.2);
  animation: none;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(92, 181, 123, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(92, 181, 123, 0.02); }
}

.nav-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.05rem;
  font-family: var(--font-mono);
  line-height: 1.18;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-right: 0.7rem;
  margin-right: 0.1rem;
  border-right: 1px solid var(--line-strong);
}
.nav-legal-name {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.nav-legal-ids {
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  opacity: 0.72;
  font-variant-numeric: tabular-nums;
}
.site-header.on-dark .nav-legal {
  color: rgba(255,255,255,0.7);
  border-right-color: rgba(255,255,255,0.18);
}
.site-header.on-dark .nav-legal-name { color: rgba(255,255,255,0.95); }
.site-header.on-dark .nav-legal-ids { color: rgba(255,255,255,0.72); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem 0.6rem 0.9rem;
  background: var(--brand);
  color: #fff !important;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(0, 108, 132, 0.32);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 108, 132, 0.42);
}
.nav-cta-icon { font-size: 0.9rem; }

.nav-burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0, 108, 132, 0.08);
  position: relative;
  flex-shrink: 0;
}
.nav-burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -4px);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-burger span:last-child { transform: translate(-50%, 4px); }
.nav-burger.open span:first-child { transform: translate(-50%, 0) rotate(45deg); }
.nav-burger.open span:last-child { transform: translate(-50%, 0) rotate(-45deg); }
.site-header.on-dark .nav-burger { background: rgba(255,255,255,0.1); }
.site-header.on-dark .nav-burger span { background: #fff; }

@media (max-width: 960px) {
  .nav-links, .nav-status { display: none; }
  .nav-burger { display: block; }
  .nav-cta-label { display: none; }
  .nav-cta { padding: 0.6rem 0.9rem; }
  .nav-cta-icon { font-size: 1rem; }
  .nav-legal-name { display: none; }
  .nav-legal {
    padding-right: 0.55rem;
    margin-right: 0;
  }
  .nav-legal-ids { font-size: 0.55rem; letter-spacing: 0.03em; }
}
@media (max-width: 420px) {
  .nav-legal { padding-right: 0.4rem; }
  .nav-legal-ids { font-size: 0.5rem; }
}

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 0;
  z-index: 95;
  background: rgba(6, 45, 54, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.nav-drawer.open {
  opacity: 1;
  visibility: visible;
}
.drawer-inner {
  position: absolute;
  top: 0; right: 0;
  width: min(420px, 90vw);
  height: 100%;
  background: var(--surface);
  padding: clamp(80px, 10vh, 110px) clamp(28px, 5vw, 44px) 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  overflow-y: auto;
}
.nav-drawer.open .drawer-inner { transform: translateX(0); }

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}
.drawer-links li { border-bottom: 1px solid var(--line); }
.drawer-links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.25s, transform 0.3s var(--ease-out);
}
.drawer-links a:hover {
  color: var(--brand);
  transform: translateX(6px);
}
.drawer-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand);
  letter-spacing: 0.12em;
  flex-shrink: 0;
  width: 2.2rem;
}
.drawer-foot {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}
.drawer-mail { color: var(--brand); font-weight: 500; }
.drawer-addr {
  font-size: 0.8rem;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
}

/* ============================================================= BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s, background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  will-change: transform;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(0, 108, 132, 0.5);
}
.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(0, 108, 132, 0.55);
}
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}
.btn-light.btn-ghost {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-light.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.btn-large {
  padding: 1.1rem 1.8rem;
  font-size: 1rem;
}
.btn-urgente {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 14px 40px -10px rgba(224, 120, 86, 0.6);
}
.btn-urgente:hover {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 18px 50px -10px rgba(224, 120, 86, 0.7);
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
  font-family: var(--font-display);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 rgba(217, 78, 78, 0.6);
  animation: pulseBig 1.8s ease-out infinite;
}
@keyframes pulseBig {
  0% { box-shadow: 0 0 0 0 rgba(217, 78, 78, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(217, 78, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 78, 78, 0); }
}

/* ============================================================= IMAGE FRAMES */
.image-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.image-frame-tall { aspect-ratio: 4 / 5; }
.image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.image-frame:hover img { transform: scale(1.03); }
.image-caption {
  position: absolute;
  left: 14px; bottom: 14px;
  color: #fff;
  background: rgba(6, 45, 54, 0.7);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  opacity: 0.95;
}

.image-badge {
  position: absolute;
  left: clamp(-12px, -1vw, -20px); bottom: clamp(-16px, -2vw, -24px);
  background: var(--surface-card);
  padding: 16px 22px 14px;
  border-radius: 4px;
  box-shadow: 0 18px 44px -14px rgba(16, 24, 32, 0.28);
  display: flex; flex-direction: column;
  line-height: 1.15;
  gap: 2px;
}
.image-badge-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--brand);
}
.image-badge-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
@media (max-width: 640px) {
  .image-badge {
    left: auto; right: 10px;
    bottom: 10px;
    padding: 6px 10px 5px;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    border-radius: 3px;
  }
  .image-badge-num { font-size: 0.85rem; line-height: 1; }
  .image-badge-num br { display: none; }
  .image-badge-label { display: none; }
  .image-caption { font-size: 0.5rem; padding: 4px 8px; letter-spacing: 0.14em; max-width: 58%; }
  .flourish-paw { display: none; }
}

/* ============================================================= SECTION BASE */
.section {
  position: relative;
  padding: clamp(3.5rem, 8dvh, 6rem) 0;
  overflow: hidden;
}

/* ============================================================= HERO */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  color: #fff;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}
/* On short viewports, let hero grow taller than viewport so the nav never covers the eyebrow/heading */
@media (max-height: 760px), (max-width: 720px) {
  .hero {
    height: auto;
    min-height: 100dvh;
    max-height: none;
  }
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  will-change: transform;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
  transform: scale(1.04);
}
.hero-video.loaded { opacity: 1; }
.hero-bg-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(1.06) contrast(1.05);
  transition: opacity 1s var(--ease-out);
  animation: heroKenBurns 22s linear infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
.hero-video.loaded + .hero-bg-fallback { opacity: 0; }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    /* Diagonal forest-dark wash — heavier bottom-left where heading sits, lighter top-right where the image breathes */
    linear-gradient(155deg, rgba(6, 45, 54, 0.62) 0%, rgba(6, 45, 54, 0.18) 35%, rgba(6, 45, 54, 0.32) 65%, rgba(6, 45, 54, 0.94) 100%),
    /* Pine glow blooming up under the headline */
    radial-gradient(ellipse 55% 60% at 24% 82%, rgba(0, 108, 132, 0.58) 0%, transparent 65%),
    /* Honey amber halo top-right for warmth */
    radial-gradient(ellipse 50% 50% at 82% 14%, rgba(224, 120, 86, 0.22) 0%, transparent 60%),
    /* Soft sage mid-light to keep the photo readable in the middle band */
    radial-gradient(ellipse 80% 60% at 58% 48%, rgba(74, 140, 100, 0.12) 0%, transparent 70%),
    /* Vignette to push focus inward */
    radial-gradient(ellipse 110% 90% at 50% 50%, transparent 50%, rgba(6, 45, 54, 0.35) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  /* Top padding clears the fixed nav (top:12-18px + ~60px nav height + 20px breathing room) */
  padding: clamp(7rem, 14dvh, 10rem) clamp(20px, 4vw, 48px) clamp(3rem, 6dvh, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  min-height: 0;
}

.hero-corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(255,255,255,0.7);
  z-index: 3;
}
.hero-corner .mono-label { color: inherit; }
.hero-corner-tl { top: clamp(110px, 13vh, 140px); left: clamp(20px, 4vw, 48px); }
.hero-corner-tr { top: clamp(110px, 13vh, 140px); right: clamp(20px, 4vw, 48px); text-align: right; align-items: flex-end; }

@media (max-width: 720px) {
  .hero-corner-tl { top: 104px; }
  .hero-corner-tr { display: none; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  max-width: 960px;
}
.hero-content .eyebrow {
  color: rgba(255,255,255,0.86);
  margin-bottom: clamp(22px, 3vw, 34px);
}
.hero-content .eyebrow::after { background: rgba(255,255,255,0.6); }

.hero-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, min(8.4vw, 12dvh), 8.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: clamp(0.9rem, 2.4dvh, 1.8rem);
  font-variation-settings: "opsz" 96;
}
.hero-line { display: block; overflow: hidden; padding-bottom: 0.14em; }
.hero-word {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}
.hero-word.italic {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.hero-word-green {
  color: #5fc08a;
  /* Soft green glow lifts the emerald off the dark hero overlay and keeps it legible */
  text-shadow: 0 0 34px rgba(95, 192, 138, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-tagline {
  max-width: 52ch;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  margin-bottom: clamp(1.2rem, 3dvh, 2.2rem);
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(1.6rem, 4dvh, 3rem);
  opacity: 0;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding-top: clamp(0.9rem, 2dvh, 1.4rem);
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 0.86rem;
  flex-wrap: wrap;
  opacity: 0;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-meta-value { color: #fff; font-weight: 500; }
.hero-meta-sep { width: 1px; height: 26px; background: rgba(255,255,255,0.18); }

@media (max-width: 640px) {
  .hero-meta-sep { display: none; }
  .hero-meta { gap: 16px; }
}

.hero-scroll {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(30px, 5vh, 50px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 3;
}
.hero-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0));
  animation: scrollPulse 2.4s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.4); opacity: 1; }
}
@media (max-width: 720px) { .hero-scroll { display: none; } }

/* ============================================================= ABOUT */
.section-about {
  background: var(--surface);
}

/* Combined Despre & Echipă */
.about-v2 { display: flex; flex-direction: column; gap: clamp(34px, 5vw, 56px); }
.about-head { max-width: 60rem; }
.about-heading {
  margin-top: 18px;
  max-width: 20ch;
}
.about-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.about-prose { display: flex; flex-direction: column; gap: 1.1rem; }
.about-prose .section-body-lead {
  font-size: clamp(1.12rem, 1.5vw, 1.38rem);
  color: var(--ink);
  line-height: 1.5;
}
/* Facts as a soft rounded card */
.about-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: clamp(22px, 2.6vw, 30px) clamp(24px, 2.8vw, 32px);
  background: var(--surface-card);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -28px rgba(0, 108, 132, 0.4);
}
.about-fact { display: flex; flex-direction: column; gap: 5px; padding: 14px 0; }
.about-fact + .about-fact { border-top: 1px solid var(--line); }
.about-fact dt { color: var(--brand); }
.about-fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
@media (max-width: 820px) {
  .about-body { grid-template-columns: 1fr; gap: 28px; }
}

/* Stunning doctor card (echipa) */
.doctor-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
  box-shadow: 0 50px 110px -44px rgba(0, 108, 132, 0.6);
}
.doctor-mark {
  position: absolute;
  top: clamp(-18px, -1.4vw, -6px);
  right: clamp(10px, 2vw, 34px);
  width: clamp(150px, 17vw, 230px);
  height: auto;
  color: #fff;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}
.doctor-portrait {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}
.doctor-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  min-height: 420px;
  filter: saturate(1.06) contrast(1.03);
  transition: transform 1.2s var(--ease-out);
}
.doctor-card:hover .doctor-portrait img { transform: scale(1.04); }
.doctor-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.55rem 0.95rem;
  background: rgba(6, 45, 54, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: var(--font-nav);
  font-size: 0.74rem;
  font-weight: 500;
}
.doctor-tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(92,181,123,0.25);
}
.doctor-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1.2vw, 16px);
  padding: clamp(30px, 4vw, 60px);
  color: #fff;
}
.doctor-eyebrow { color: var(--accent-soft); }
.doctor-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.doctor-headline em { color: var(--accent-soft); font-weight: 700; }
.doctor-lead {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 40ch;
}
.doctor-ecg {
  width: clamp(180px, 22vw, 250px);
  height: 28px;
  color: var(--accent);
  opacity: 0.9;
  margin: clamp(6px, 1vw, 12px) 0 2px;
}
.doctor-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.doctor-name em { color: var(--accent-soft); }
.doctor-specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 2px 0 6px;
}
.doctor-specs li {
  font-family: var(--font-nav);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #eafaf0;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
}
.doctor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(6px, 1vw, 12px);
}
@media (max-width: 820px) {
  .doctor-card { grid-template-columns: 1fr; }
  .doctor-portrait img { min-height: 340px; aspect-ratio: 4/3; }
  .doctor-mark { top: auto; bottom: 14px; width: 130px; }
}

/* Reusable WhatsApp button (green, with icon) */
.btn-whatsapp {
  background: #25d366;
  color: #073b22 !important;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp svg { color: #073b22; }
.btn-whatsapp:hover {
  background: #1fc35c;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(37, 211, 102, 0.6);
}

/* ============================================================= MARQUEE */
.marquee {
  padding: clamp(30px, 4vw, 50px) 0;
  overflow: hidden;
  position: relative;
  display: block;
}
.marquee-brand {
  background: var(--brand);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  white-space: nowrap;
  will-change: transform;
  font-variation-settings: "opsz" 72;
}
.marquee-track > span {
  padding-right: 0;
  display: inline-block;
}
.marquee-sep {
  color: var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.65em;
  padding: 0 0.4em;
  vertical-align: middle;
  opacity: 0.85;
}

/* ============================================================= TEAM */
.section-team {
  background: var(--band-teal);
  padding: clamp(3.5rem, 8dvh, 6rem) 0 clamp(4rem, 9dvh, 7rem);
}
.section-team::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
  opacity: 0.7;
  pointer-events: none;
}

/* Feature card — editorial split layout */
.team-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
.team-feature::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent);
  opacity: 0.55;
  pointer-events: none;
  transform: translateX(-0.5px);
}

/* Portrait column */
.team-portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}
.team-portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-warm);
  box-shadow:
    0 1px 2px rgba(16, 24, 32, 0.06),
    0 32px 80px -28px rgba(0, 108, 132, 0.42),
    0 12px 30px -10px rgba(16, 24, 32, 0.14);
  isolation: isolate;
}
.team-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(1.06) contrast(1.03);
  transition: transform 1.2s var(--ease-out), filter 0.6s;
}
.team-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 69, 127, 0.15) 0%, transparent 28%, transparent 70%, rgba(6, 45, 54, 0.42) 100%),
    radial-gradient(120% 80% at 80% 0%, rgba(224, 120, 86, 0.12), transparent 55%);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.team-portrait-frame:hover img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.03);
}

.team-portrait-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5rem 0.75rem;
  background: rgba(6, 45, 54, 0.72);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
}
.team-portrait-tag span[aria-hidden] { opacity: 0.5; }

.team-portrait-seal {
  position: absolute;
  right: clamp(-18px, -1.4vw, -26px);
  bottom: clamp(-18px, -1.4vw, -26px);
  z-index: 3;
  width: clamp(98px, 10vw, 138px);
  height: clamp(98px, 10vw, 138px);
  border-radius: 50%;
  background: var(--surface-card);
  color: var(--brand);
  padding: 8px;
  box-shadow:
    0 1px 2px rgba(16, 24, 32, 0.08),
    0 18px 40px -14px rgba(0, 108, 132, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: teamSealSpin 80s linear infinite;
  transform-origin: center;
}
.team-portrait-seal svg { width: 100%; height: 100%; }
@keyframes teamSealSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .team-portrait-seal { animation: none; }
}

.team-portrait-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.team-caption-num {
  color: var(--brand);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.team-caption-text {
  text-align: right;
  opacity: 0.85;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.78rem;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--ink-soft);
}

/* Dossier column */
.team-dossier {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 22px);
  padding: clamp(4px, 1vw, 10px) 0 0;
  position: relative;
  max-width: 46ch;
}
.team-ecg {
  width: clamp(160px, 18vw, 220px);
  height: 28px;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 4px;
}

.team-dossier-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--ink-mute);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-strong);
  width: fit-content;
}
.team-dossier-eyebrow .mono-num {
  color: var(--brand);
  font-size: 0.68rem;
}
.team-dossier-eyebrow .team-dot {
  color: var(--accent);
  font-size: 0.5em;
  opacity: 0.9;
  transform: translateY(-1px);
}

.team-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
  margin: 0;
}
.team-name em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  color: var(--brand);
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.035em;
}

.team-spec-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em 0.7em;
  padding: 0;
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.team-spec-list li {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: inherit;
}
.team-spec-list li span[aria-hidden] {
  color: var(--brand);
  opacity: 0.55;
  font-size: 0.55em;
  transform: translateY(-2px);
  display: inline-block;
}

.team-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  line-height: 1.38;
  color: var(--ink);
  letter-spacing: -0.005em;
  padding: clamp(16px, 1.6vw, 22px) 0 clamp(16px, 1.6vw, 22px) clamp(20px, 2vw, 28px);
  margin: clamp(6px, 0.8vw, 10px) 0 0;
  border-left: 2px solid var(--brand);
  position: relative;
  max-width: 38ch;
}
.team-quote-mark {
  position: absolute;
  left: clamp(6px, 0.7vw, 10px);
  top: -0.35em;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.18;
  pointer-events: none;
}

.team-bio {
  font-size: clamp(0.95rem, 1.08vw, 1.05rem);
  color: var(--ink-soft);
  line-height: 1.62;
  max-width: 42ch;
}
.team-bio strong { color: var(--ink); font-weight: 600; }
.team-bio-num {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  padding: 0 0.08em;
}

.team-card-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
  margin: clamp(6px, 0.8vw, 12px) 0 0;
}
.team-card-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.team-card-divider em {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--accent);
  font-size: 0.7rem;
  opacity: 0.7;
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 1.8vw, 24px) clamp(20px, 2vw, 26px);
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow:
    0 1px 2px rgba(16, 24, 32, 0.04),
    0 18px 44px -22px rgba(0, 108, 132, 0.22);
  position: relative;
  max-width: 42ch;
}
.team-contact::before {
  content: "";
  position: absolute;
  top: 0; left: clamp(20px, 2vw, 26px);
  width: 40px;
  height: 2px;
  background: var(--brand);
  border-radius: 0 0 2px 2px;
}
.team-contact-label {
  color: var(--brand);
  letter-spacing: 0.24em;
}
.team-contact-list {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px clamp(14px, 1.6vw, 20px);
  margin: 0;
}
.team-contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.team-contact-row dt {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0.85;
}
.team-contact-row dd {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.92rem, 1.05vw, 1.12rem);
  color: var(--ink);
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.team-contact-row.team-contact-row-phone dd {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
}
.team-contact-row dd a {
  color: inherit;
  transition: color 0.25s;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  padding-bottom: 2px;
}
.team-contact-row dd a:hover {
  color: var(--brand);
  background-size: 100% 1px;
}

/* Minimal dossier variant — just name + CTA */
.team-dossier-minimal {
  justify-content: center;
  gap: clamp(18px, 2.4vw, 28px);
  padding-top: clamp(20px, 4vw, 60px);
  position: relative;
}
/* Large faded brand cross watermark behind the name */
.team-mark {
  position: absolute;
  top: clamp(-10px, -1vw, 0px);
  right: clamp(-8px, -1vw, 4px);
  width: clamp(120px, 16vw, 200px);
  height: auto;
  color: var(--brand);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.team-dossier-minimal > *:not(.team-mark) { position: relative; z-index: 1; }
.team-dossier-minimal .team-name {
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  line-height: 0.94;
}
/* Static portrait caption under the frame */
.team-portrait-cap {
  display: block;
  margin-top: 14px;
  color: var(--ink-mute);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}
.team-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: clamp(8px, 1vw, 16px);
}
.team-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color 0.25s;
}
.team-cta-wa svg { color: #25D366; transition: transform 0.3s var(--ease-out); }
.team-cta-wa:hover { color: var(--ink); }
.team-cta-wa:hover svg { transform: scale(1.1); }

/* Team v2 — dark teal spotlight card (portrait | body) */
.team-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 40px 90px -36px rgba(0, 108, 132, 0.5);
}
.team-spotlight .team-mark {
  position: absolute;
  top: clamp(-16px, -1.4vw, -6px);
  right: clamp(8px, 2vw, 32px);
  width: clamp(150px, 18vw, 240px);
  height: auto;
  color: #fff;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}
.team-spot-portrait {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}
.team-spot-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(1.06) contrast(1.03);
  transition: transform 1.2s var(--ease-out);
}
.team-spotlight:hover .team-spot-portrait img { transform: scale(1.03); }
.team-spot-portrait .team-portrait-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5rem 0.8rem;
  background: rgba(6, 45, 54, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
}
.team-spot-portrait .team-portrait-tag span[aria-hidden] { opacity: 0.55; }

.team-spot-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 22px);
  padding: clamp(32px, 4.5vw, 64px);
  color: #fff;
}
.team-spot-body .team-ecg {
  width: clamp(170px, 20vw, 230px);
  height: 28px;
  color: var(--accent);
  opacity: 0.85;
  margin-bottom: 2px;
}
.team-spot-body .team-name {
  color: #fff;
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  line-height: 0.96;
}
.team-spot-body .team-name em { color: var(--accent-soft); }
.team-spot-cap {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  max-width: 34ch;
}
.team-spot-body .team-cta-wa { color: rgba(255, 255, 255, 0.7); }
.team-spot-body .team-cta-wa:hover { color: #fff; }

@media (max-width: 820px) {
  .team-spotlight {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
  .team-spot-portrait { aspect-ratio: 4 / 3; min-height: 0; }
  .team-spot-body { padding: clamp(28px, 7vw, 44px); }
  .team-spotlight .team-mark { width: 130px; top: auto; bottom: 12px; }
}

/* Responsive */
@media (max-width: 1024px) {
  .team-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
  }
  .team-feature::before { display: none; }
}

@media (max-width: 820px) {
  .team-feature {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 52px);
    max-width: 580px;
  }
  .team-portrait-frame { aspect-ratio: 3 / 4; }
  .team-portrait-frame img { object-position: center 18%; }
  .team-dossier { max-width: none; }
  .team-name { font-size: clamp(2.4rem, 8vw, 3.4rem); }
}

@media (max-width: 560px) {
  .section-team { padding: clamp(3rem, 7dvh, 4.5rem) 0 clamp(3.5rem, 8dvh, 5rem); }
  .team-portrait-seal {
    width: 86px; height: 86px;
    right: -10px; bottom: -10px;
    padding: 6px;
  }
  .team-contact-list { grid-template-columns: 1fr; }
  .team-quote { padding-left: 16px; font-size: 1.1rem; }
  .team-portrait-caption { font-size: 0.6rem; }
  .team-caption-text { display: none; }
}

/* ============================================================= SERVICES */
.section-services { background: var(--surface); padding-bottom: clamp(100px, 12vh, 160px); }

.svc-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 46rem; }
.svc-head .section-heading { margin-top: 14px; max-width: 100%; text-wrap: balance; }

/* Tier 1 — featured cards (uniform) */
.svc-primary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 44px -28px rgba(0,108,132,0.4);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 36px 70px -32px rgba(0,108,132,0.5); }
.svc-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.svc-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.svc-card:hover .svc-card-media img { transform: scale(1.05); }
.svc-card-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-nav); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: var(--accent);
  padding: 0.35rem 0.7rem; border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px -4px rgba(224,120,86,0.6);
}
.svc-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; flex: 1; }
.svc-card-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.12;
  letter-spacing: -0.02em; color: var(--ink);
}
.svc-card-title em { color: var(--brand); font-weight: 600; }
.svc-card-desc { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }
.svc-card-link {
  margin-top: auto; padding-top: 12px;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-nav); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.01em; color: var(--brand);
  transition: gap 0.3s var(--ease-out);
}
.svc-card:hover .svc-card-link { gap: 0.85rem; }
.svc-card-feature { outline: 2px solid var(--brand); outline-offset: -2px; }
.svc-card-feature .svc-card-title em { color: var(--accent-deep); }

@media (max-width: 920px) { .svc-primary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-primary { grid-template-columns: 1fr; } }

/* Tier 2 — compact uniform grid */
.svc-secondary { margin-bottom: clamp(28px, 3.5vw, 44px); }
.svc-secondary-label {
  display: block; color: var(--brand);
  padding-bottom: 16px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line-strong);
}
.svc-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
}
.svc-mini {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 18px 22px;
  background: var(--surface-card);
  border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.svc-mini:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -30px rgba(0,108,132,0.42); }
.svc-mini:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.svc-mini-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--brand-mist); color: var(--brand);
  transition: background 0.4s var(--ease-out), color 0.4s, transform 0.4s var(--ease-out);
}
.svc-mini-icon svg { width: 24px; height: 24px; }
.svc-mini:hover .svc-mini-icon { background: var(--brand); color: #fff; transform: rotate(-5deg); }
.svc-mini-title { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.15; color: var(--ink); }
.svc-mini-desc { font-size: 0.82rem; color: var(--ink-mute); line-height: 1.5; }
@media (max-width: 920px) { .svc-mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .svc-mini-grid { grid-template-columns: 1fr; } }

/* Slim booking band */
.svc-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px clamp(24px, 3vw, 44px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 44px);
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
}
.svc-band-copy { display: flex; flex-direction: column; gap: 6px; }
.svc-band-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}
.svc-band-sub { font-size: 0.96rem; color: rgba(255, 255, 255, 0.72); }
.svc-band-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
@media (max-width: 620px) {
  .svc-band { flex-direction: column; align-items: stretch; }
  .svc-band-actions { width: 100%; }
  .svc-band-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================================================= TESTIMONIALS */
.section-testimonials { background: var(--surface); }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(60px, 7vw, 90px);
}
@media (max-width: 1000px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial {
  padding: clamp(28px, 3vw, 44px);
  background: var(--surface-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.testimonial-feature {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 30px 80px -30px rgba(0, 108, 132, 0.55);
}
.testimonial-feature .testimonial-quote { color: #fff; }
.testimonial-feature .testimonial-quote em { color: var(--accent); }
.testimonial-feature .testimonial-name { color: #fff; }
.testimonial-feature .testimonial-pet { color: rgba(255,255,255,0.7); }
.testimonial-feature .testimonial-stars span { color: var(--accent); }

.testimonial-stars {
  display: flex;
  gap: 2px;
  font-size: 1.1rem;
}
.testimonial-stars span { color: var(--accent); }

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.4;
  color: var(--ink);
  font-variation-settings: "opsz" 72;
}
.testimonial-feature .testimonial-quote {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-style: normal;
}
.testimonial-feature .testimonial-meta { border-color: rgba(255,255,255,0.15); }
.testimonial-name {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
}
.testimonial-pet {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.testimonials-marquee {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.testimonials-marquee .marquee-track {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  color: var(--ink-soft);
}
.testimonials-marquee .marquee-sep { color: var(--brand); opacity: 0.6; font-size: 0.8em; }

/* ============================================================= URGENTE */
.section-urgente {
  padding: 0;
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.urgente-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.urgente-overlay {
  position: absolute; inset: 0;
  background:
    /* Lighter overlay — heavier on the left where text sits, opening up on the right where the ultrasound graphic lives */
    linear-gradient(95deg, rgba(6, 45, 54, 0.78) 0%, rgba(6, 45, 54, 0.5) 38%, rgba(6, 45, 54, 0.28) 65%, rgba(6, 45, 54, 0.46) 100%),
    /* Soft vignette so edges still feel grounded */
    radial-gradient(ellipse 92% 72% at 50% 50%, transparent 0%, rgba(6, 45, 54, 0.22) 100%),
    /* Cyan glow under the ultrasound wedge */
    radial-gradient(ellipse at 78% 52%, rgba(224, 120, 86, 0.18) 0%, transparent 55%);
}
.urgente-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.3 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.urgente-inner {
  position: relative; z-index: 2;
  padding: clamp(100px, 14vh, 160px) clamp(20px, 4vw, 48px) clamp(80px, 10vh, 120px);
  max-width: 980px;
}
.urgente-phone {
  position: relative;
  margin: clamp(26px, 3vw, 36px) 0 clamp(30px, 4vw, 48px);
  display: inline-block;
}
.urgente-phone-ring {
  position: absolute;
  inset: -20px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  opacity: 0;
  pointer-events: none;
  animation: urgenteRing 2.4s var(--ease-out) infinite;
}
@keyframes urgenteRing {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}

.urgente-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 44px);
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.urgente-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.urgente-meta-item .mono-label { color: rgba(255,255,255,0.55); }
.urgente-meta-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  color: #fff;
  letter-spacing: -0.01em;
}

/* Ultrasound sketch — cardio section right-side decoration */
.cardio-ultrasound {
  position: absolute;
  top: 50%;
  right: clamp(-30px, -1vw, -10px);
  transform: translateY(-50%);
  width: clamp(280px, 34vw, 460px);
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 0 28px rgba(224, 120, 86, 0.22));
}
.cardio-sweep {
  transform-origin: 200px 60px;
  animation: cardioSweep 3.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes cardioSweep {
  0%, 100% { transform: rotate(-26deg); }
  50%     { transform: rotate(26deg); }
}
.cardio-pulse {
  transform-origin: 200px 60px;
  animation: cardioPulse 2.2s ease-out infinite;
}
@keyframes cardioPulse {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}
@media (max-width: 1100px) {
  .cardio-ultrasound {
    width: clamp(220px, 28vw, 340px);
    opacity: 0.55;
    right: clamp(-20px, -1vw, -8px);
  }
}
@media (max-width: 760px) {
  .cardio-ultrasound { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cardio-sweep, .cardio-pulse { animation: none; }
}

/* ============================================================= STATS */
.section-stats {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-stats::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(0, 108, 132, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(224, 120, 86, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.section-stats .container { position: relative; z-index: 1; }

/* Editorial stats rail — full-width rows, huge numerals, hairline progress */
.stats-rail {
  list-style: none;
  padding: 0;
  margin: clamp(50px, 6vw, 80px) 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stats-rail .stat {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(220px, 320px);
  column-gap: clamp(24px, 3vw, 56px);
  align-items: end;
  padding: clamp(28px, 4vw, 56px) 0 clamp(22px, 3vw, 40px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background 0.5s var(--ease-out);
}
.stats-rail .stat::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out);
}
.stats-rail .stat.is-active::before { transform: scaleX(1); }
.stats-rail .stat:hover { background: linear-gradient(90deg, rgba(255,255,255,0.02), transparent 60%); }

.stat-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  align-self: start;
  padding-top: 0.6em;
}

.stat-main { min-width: 0; }

.stat-value {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: #fff;
  font-variation-settings: "opsz" 72;
}
.stat-number { font-variant-numeric: tabular-nums; }
.stat-suffix {
  font-size: 0.38em;
  color: var(--accent);
  margin-left: 0.1em;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.stat-track {
  position: relative;
  display: block;
  height: 1px;
  width: 100%;
  margin-top: clamp(18px, 2vw, 28px);
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.stat-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.8s var(--ease-out);
}
.stat.is-active .stat-fill { transform: scaleX(var(--arc, 0.7)); }

.stat-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 0.4em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s var(--ease-out) 0.2s, transform 0.7s var(--ease-out) 0.2s;
}
.stat.is-active .stat-meta { opacity: 1; transform: none; }
.stat-label {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.25;
}
.stat-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .stats-rail .stat {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    row-gap: 14px;
    column-gap: 20px;
    align-items: start;
  }
  .stat-index { padding-top: 0.4em; }
  .stat-main { grid-column: 2; }
  .stat-meta { grid-column: 2; padding-bottom: 0; }
  .stat-value { font-size: clamp(4rem, 16vw, 7rem); }
}

/* ============================================================= GALLERY (masonry) */
.section-gallery {
  background: var(--band-coral);
  padding: clamp(80px, 10vh, 140px) 0 clamp(90px, 11vh, 150px);
}
.gallery-v2-head {
  margin: 0 auto clamp(40px, 5vw, 60px);
  max-width: 640px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-v2-head .section-body { margin: 0 auto; }
.gallery-title {
  margin-top: 14px;
  max-width: none;
  text-wrap: balance;
}
.gallery-title em { color: var(--brand); }

/* Uniform 3×3 grid — 9 images fill every cell, no ragged last row */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
@media (max-width: 760px) {
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  /* 9 in 2 cols would leave a gap — let the last image span both */
  .gallery-masonry .gphoto:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (max-width: 460px) {
  .gallery-masonry { grid-template-columns: 1fr; }
  .gallery-masonry .gphoto:last-child { aspect-ratio: 4 / 3; }
}

.gphoto {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-warm);
  box-shadow: 0 22px 54px -32px rgba(16, 24, 32, 0.42);
}
.gphoto img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.06);
  transition: transform 0.7s var(--ease-out);
}
.gphoto:hover img { transform: scale(1.05); }

/* ============================================================= FAQ (centered accordion) */
.section-faq { background: var(--surface-off); }
.faq-v2 { max-width: 860px; }
.faq-v2-head {
  text-align: center;
  margin: 0 auto clamp(34px, 4.5vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.faq-v2-head .section-heading { margin-top: 14px; }
.faq-v2-head .section-body { margin: 0 auto; }

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  box-shadow: 0 10px 30px -22px rgba(16, 24, 32, 0.4);
  transition: box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.faq-item.open {
  border-color: rgba(0, 108, 132, 0.18);
  box-shadow: 0 26px 60px -34px rgba(0, 108, 132, 0.45);
}
.faq-q-btn {
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.6vw, 30px);
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
}
.faq-q-btn:hover .faq-q { color: var(--brand); }
.faq-q-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: var(--radius-md); }
.faq-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 1.3vw, 1.28rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.3s;
}
.faq-plus {
  position: relative;
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-mist);
  transition: background 0.4s var(--ease-out), transform 0.45s var(--ease-spring);
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-spring), background 0.35s, opacity 0.35s;
}
.faq-plus::before { width: 13px; height: 2px; transform: translate(-50%, -50%); }
.faq-plus::after { width: 2px; height: 13px; transform: translate(-50%, -50%); }
.faq-item.open .faq-plus { background: var(--brand); transform: rotate(135deg); }
.faq-item.open .faq-plus::before,
.faq-item.open .faq-plus::after { background: #fff; }

/* Smooth grid-rows reveal — buttery, no JS height math */
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq-a p {
  max-width: 62ch;
  padding: 0 clamp(20px, 2.6vw, 30px) clamp(20px, 2.4vw, 28px);
}
.faq-a strong { color: var(--brand); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .faq-a-wrap { transition: none; }
}

/* FAQ closing CTA */
.faq-cta {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: clamp(26px, 3vw, 38px);
  background: var(--brand-mist);
  border-radius: var(--radius-lg);
}
.faq-cta-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================================= HOURS */
.section-hours { background: var(--band-teal); }

/* Hours v3 — contact hub (card + map) */
.hours-v3 { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 50px); }
.hours-v3-head { max-width: 100%; }
.hours-v3-title {
  margin-top: 14px;
  max-width: 26ch;
  text-wrap: balance;
}
.hours-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}
@media (max-width: 860px) {
  .hours-grid { grid-template-columns: 1fr; }
}

/* Contact card */
.hours-card {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 28px);
  padding: clamp(26px, 3vw, 38px);
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 36px 80px -40px rgba(0, 108, 132, 0.45);
}
.hours-status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-nav);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--success);
  background: rgba(92, 181, 123, 0.12);
  border: 1px solid rgba(92, 181, 123, 0.28);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
}
.hours-status.is-closed {
  color: var(--accent-deep);
  background: rgba(224, 120, 86, 0.12);
  border-color: rgba(224, 120, 86, 0.3);
}
.hours-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(92, 181, 123, 0.22);
  animation: pulseDot 2.4s ease-in-out infinite;
}
.hours-status.is-closed .hours-status-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 120, 86, 0.2);
  animation: none;
}
.hours-card-block { display: flex; flex-direction: column; }
.hours-card-label { color: var(--brand); margin-bottom: 4px; }
.hours-address {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-top: 8px;
}
.hours-card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.hours-card-actions .btn { justify-content: center; }

/* Map */
.hours-mapwrap { display: flex; flex-direction: column; gap: 16px; }
.hours-mapwrap .map-frame { flex: 1; aspect-ratio: auto; min-height: 340px; }

.hours-list {
  margin-top: 8px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.hours-row span:last-child {
  color: var(--ink);
  font-weight: 500;
}
.hours-closed { color: var(--ink-mute) !important; font-weight: 400 !important; }
.hours-row-accent {
  background: linear-gradient(90deg, rgba(224, 120, 86, 0.08) 0%, transparent 100%);
  padding-left: 12px;
  margin-left: -12px;
}
.hours-row-accent span:last-child {
  color: var(--accent-deep);
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  font-size: 0.92rem;
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: clamp(32px, 4vw, 48px);
}
.hours-panel .info-stack { margin-top: 8px; gap: 16px; }
.info-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-value {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  color: var(--ink);
  font-weight: 400;
}
.info-link { color: var(--brand); transition: opacity 0.2s; }
.info-link:hover { opacity: 0.7; }

.driving-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(30px, 4vw, 40px);
}
.driving-chips-wide {
  grid-column: 1 / -1;
  margin-top: clamp(20px, 3vw, 32px);
  justify-content: center;
  gap: clamp(10px, 1.2vw, 18px);
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .driving-chips-wide {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .driving-chips-wide .driving-chip {
    justify-content: center;
  }
}
.driving-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  background: var(--surface-card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.driving-chip .mono-label {
  color: var(--brand);
  font-weight: 600;
}

.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-warm);
  box-shadow: var(--shadow-md);
}
.map-frame iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.05) contrast(1.03);
  transition: filter 0.5s;
}
.map-frame:hover iframe { filter: grayscale(0) contrast(1.04); }
.map-badge {
  position: absolute;
  bottom: 14px; right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-out);
}
.map-badge:hover { transform: translateY(-2px); color: var(--brand); }
.map-pin { color: var(--brand); font-size: 0.85rem; }

/* ============================================================= CTA + FOOTER */
.section-cta {
  background: var(--dark);
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.cta-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.25 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.section-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 108, 132, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 100%, rgba(224, 120, 86, 0.14) 0%, transparent 50%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  padding: clamp(64px, 9vh, 100px) 0 clamp(44px, 6vh, 64px);
  text-align: center;
  max-width: 760px;
}
.cta-inner .section-label { margin: 0 auto clamp(16px, 1.8vw, 22px); }
.cta-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: clamp(16px, 2vw, 26px);
  font-variation-settings: "opsz" 96;
}
.cta-heading em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.cta-body {
  font-size: clamp(1.08rem, 1.3vw, 1.3rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  max-width: 48ch;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ============================================================= FOOTER (full-bleed sitemap) */
.footer {
  position: relative; z-index: 1;
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: clamp(42px, 5.5vw, 70px);
  padding-bottom: clamp(26px, 3.5vw, 40px);
}

/* Brand statement (left) + link columns (right) */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(30px, 5vw, 80px);
  padding-bottom: clamp(30px, 4vw, 48px);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-id { display: flex; align-items: center; gap: 12px; }
.footer-logo {
  width: 46px; height: 46px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  flex: none;
}
.footer-name {
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.footer-brand-line {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
  max-width: 40ch;
}
.footer-brand-heart {
  color: var(--accent);
  flex-shrink: 0;
  transform: translateY(2px);
  animation: footerHeartBeat 2.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes footerHeartBeat {
  0%, 60%, 100% { transform: translateY(2px) scale(1); }
  20% { transform: translateY(2px) scale(1.18); }
  40% { transform: translateY(2px) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-brand-heart { animation: none; }
}
.footer-call {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: -0.02em;
  color: #fff;
  width: fit-content;
  transition: color 0.25s;
}
.footer-call:hover { color: var(--accent-soft); }

/* Link columns */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 2.6vw, 36px) clamp(20px, 2.4vw, 32px);
}
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-label { color: var(--accent-soft); margin-bottom: 4px; }
.footer-col a, .footer-col span {
  font-family: var(--font-nav);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s;
  width: fit-content;
}
.footer-col a:hover { color: #fff; }

/* Base bar */
.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: clamp(22px, 2.8vw, 32px);
}
.footer-base-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}
.footer-legal-info {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal-links { display: inline-flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-legal-links a {
  font-family: var(--font-nav);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s;
}
.footer-legal-links a:hover { color: var(--accent); }

.footer-rights {
  margin-top: clamp(14px, 1.8vw, 20px);
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 88ch;
}
.footer-rights strong { color: rgba(255, 255, 255, 0.75); font-weight: 600; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(18px, 2.4vw, 26px);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}
.footer-site {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s;
}
.footer-site:hover { color: var(--accent); }
.footer-site-name { color: var(--accent); }

/* ============================================================= SERVICE MODAL */
.svc-modal {
  position: fixed; inset: 0;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.svc-modal.open {
  opacity: 1;
  visibility: visible;
}
.svc-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 45, 54, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.svc-modal-panel {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -48%);
  width: min(680px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: 0 40px 100px -20px rgba(0, 108, 132, 0.5);
  transition: transform 0.5s var(--ease-spring);
}
.svc-modal.open .svc-modal-panel { transform: translate(-50%, -50%); }
.svc-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-warm);
  font-size: 1.4rem;
  color: var(--ink-soft);
  transition: background 0.25s, color 0.25s;
}
.svc-modal-close:hover { background: var(--brand); color: #fff; }

.svc-modal-content h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 14px;
}
.svc-modal-content h3 em { font-weight: 300; }
.svc-modal-content p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 14px;
}
.svc-modal-content ul {
  list-style: none;
  margin-top: 14px;
}
.svc-modal-content ul li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.svc-modal-content ul li .mono-label { color: var(--brand); white-space: nowrap; }

/* ============================================================= CARDIOLOGIE PAGE */
.cardio-hero {
  position: relative;
  min-height: 78dvh;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(8rem, 16dvh, 11rem) 0 clamp(4rem, 7dvh, 6rem);
}
.cardio-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: saturate(1.06) contrast(1.05);
}
.cardio-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(168deg, rgba(6, 45, 54, 0.72) 0%, rgba(6, 45, 54, 0.4) 40%, rgba(6, 45, 54, 0.95) 100%),
    radial-gradient(ellipse 50% 60% at 22% 78%, rgba(0, 108, 132, 0.62) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 18%, rgba(224, 120, 86, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 50%, transparent 55%, rgba(6, 45, 54, 0.32) 100%);
}
.cardio-hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.32 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cardio-hero-inner {
  position: relative;
  z-index: 2;
}
.cardio-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: clamp(20px, 2.4vw, 32px);
  transition: color 0.25s, gap 0.3s var(--ease-out);
}
.cardio-hero-back:hover { color: #fff; gap: 0.9rem; }
.cardio-hero-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2.6rem, 9vw, 8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: clamp(0.9rem, 2.4dvh, 1.6rem);
  font-variation-settings: "opsz" 72;
  max-width: 18ch;
}
.cardio-hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.cardio-hero-lead {
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  margin-bottom: clamp(1.5rem, 3dvh, 2.4rem);
}
.cardio-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cardio-detail { padding: clamp(4.5rem, 9dvh, 7rem) 0; }
.cardio-detail-alt { background: var(--surface-warm); }

.cardio-grid { align-items: center; }
.cardio-grid-reverse .col-image { order: 2; }
.cardio-grid-reverse .col-text { order: 1; }
@media (max-width: 900px) {
  /* Mobile: text first, image beneath it — and keep the image from filling the screen */
  .cardio-grid .col-text { order: 1; }
  .cardio-grid .col-image { order: 2; }
  .cardio-grid .image-frame-tall {
    aspect-ratio: 16 / 11;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 2×2 echo grid */
.echo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 1100px;
}
/* Stays 2×2 on mobile, just tighter spacing */
@media (max-width: 540px) {
  .echo-grid { gap: 10px; }
}
.echo-card {
  position: relative;
  margin: 0;
  background: var(--dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.echo-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
  background: var(--dark);
}
.echo-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent, rgba(6, 45, 54, 0.85) 60%);
  color: rgba(255,255,255,0.92);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.echo-card figcaption .mono-num {
  color: var(--accent);
  font-size: 0.72rem;
}

/* ============================================================= ANIMATION INITIAL STATES */
[data-anim-target] {
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}

/* ============================================================= COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: clamp(14px, 2vw, 24px);
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 180;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 26px);
  background: rgba(6, 45, 54, 0.92);
  color: #fff;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 22px);
  font-size: 0.86rem;
  line-height: 1.5;
  transform: translateY(140%);
  transition: transform 0.5s var(--ease-spring);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-text { flex: 1; min-width: 0; color: rgba(255,255,255,0.86); }
.cookie-banner-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-text a:hover { color: #fff; }
.cookie-banner-actions {
  display: inline-flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
}
.cookie-btn-accept {
  background: var(--accent);
  color: var(--dark);
}
.cookie-btn-accept:hover {
  background: #fff;
  transform: translateY(-1px);
}
.cookie-btn-refuse {
  background: transparent;
  color: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.28);
}
.cookie-btn-refuse:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cookie-banner-actions { justify-content: flex-end; }
}

/* ============================================================= LEGAL PAGES */
.legal-page {
  padding-top: clamp(8rem, 14vh, 11rem);
  padding-bottom: clamp(4rem, 8dvh, 6rem);
  background: var(--surface);
}
.legal-page .container { max-width: 800px; }
.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: clamp(20px, 3vw, 32px);
  font-variation-settings: "opsz" 72;
}
.legal-page h1 em { font-style: normal; color: var(--brand); font-weight: 600; }
.legal-page .legal-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand);
  padding-bottom: 0.5rem;
  margin-bottom: clamp(14px, 1.8vw, 20px);
  border-bottom: 1px solid var(--line-strong);
}
.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: clamp(36px, 5vw, 56px) 0 clamp(14px, 1.8vw, 22px);
  scroll-margin-top: 120px;
}
.legal-page h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin: clamp(22px, 3vw, 30px) 0 8px;
}
.legal-page p, .legal-page li {
  font-size: clamp(0.98rem, 1.06vw, 1.05rem);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.legal-page ul, .legal-page ol {
  padding-left: 1.4em;
  margin-bottom: 1rem;
}
.legal-page li { margin-bottom: 0.5rem; }
.legal-page strong { color: var(--ink); font-weight: 600; }
.legal-page a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page a:hover { color: var(--brand-deep); }
.legal-page .legal-updated {
  display: inline-block;
  margin-top: clamp(36px, 4vw, 48px);
  padding: 14px 20px;
  background: var(--surface-card);
  border-left: 3px solid var(--brand);
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.legal-page .legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: clamp(18px, 2vw, 28px);
  transition: color 0.25s, gap 0.3s var(--ease-out);
}
.legal-page .legal-back:hover { color: var(--brand); gap: 0.9rem; }

/* ============================================================= REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-anim-target] { opacity: 1 !important; transform: none !important; }
  .hero-word { transform: none !important; }
  .hero-bg-fallback { animation: none !important; }
  .stat .stat-fill { transition: none !important; transform: scaleX(var(--arc, 0.7)) !important; }
  .stat::before { transition: none !important; transform: scaleX(1) !important; }
  .stat-meta { opacity: 1 !important; transform: none !important; }
  .hero-tagline, .hero-actions, .hero-meta { opacity: 1 !important; }
}
