/* =============================================================
   Clinic 45 — Private Doctor & Blood Tests
   Premium minimalist design system
   Palette: warm paper + deep forest green accent + charcoal ink
   Type: Fraunces (display serif) / Inter (UI + body)
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --paper: #f6f4ee;
  --paper-2: #efece3;
  --surface: #ffffff;
  --ink: #191813;
  --ink-soft: #45443c;
  --muted: #7c7a6f;
  --faint: #a4a196;
  --line: #e5e2d8;
  --line-strong: #d5d1c4;

  --green: #12503a;
  --green-mid: #1c6a4a;
  --green-deep: #0c3a29;
  --green-soft: #e9efe9;
  --green-wash: #f0f3ee;
  --red: #a93226;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 100px;

  --shadow-soft: 0 24px 60px -28px rgba(20, 30, 22, 0.28);
  --shadow-card: 0 30px 70px -40px rgba(20, 30, 22, 0.35);
  --ring: 0 0 0 3px rgba(18, 80, 58, 0.18);

  --container: 1240px;
  --gutter: 32px;
  --header-h: 92px;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --t: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.25s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  font-family: var(--f-sans);
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--t-fast);
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}
h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.1rem);
}
h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.01em;
}
h4 {
  font-size: 1.14rem;
  font-family: var(--f-sans);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}
p {
  color: var(--ink-soft);
}
strong,
b {
  color: var(--ink);
  font-weight: 600;
}
::selection {
  background: var(--green);
  color: #fff;
}
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}
hr {
  border: none;
  border-top: 1px solid var(--line);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow {
  max-width: 780px;
}
.section {
  padding: clamp(64px, 9vw, 118px) 0;
}
.section-sm {
  padding: clamp(48px, 7vw, 92px) 0;
}
.bg-soft {
  background: var(--paper-2);
}
.bg-alt {
  background: var(--surface);
}
.bg-brand-tint {
  background: var(--green-wash);
}
.bg-navy {
  background: var(--green-deep);
  color: #cfe0d6;
}
.text-center {
  text-align: center;
}
.hidden {
  display: none !important;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow.center {
  justify-content: center;
}
.eyebrow.on-dark {
  color: #9fc3af;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  margin: 20px 0 18px;
}
.section-head p {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  padding: 1em 1.7em;
  border-radius: var(--radius-pill);
  line-height: 1;
  transition:
    background var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    transform var(--t-fast),
    box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover {
  background: var(--green-deep);
  color: #fff;
  transform: translateY(-1px);
}
.btn-blood {
  background: var(--ink);
  color: #fff;
}
.btn-blood:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-outline:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
  transform: translateY(-1px);
}
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover {
  background: var(--paper);
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--green);
  color: #fff;
}
.btn-accent:hover {
  background: var(--green-deep);
  color: #fff;
  transform: translateY(-1px);
}
.btn-lg {
  padding: 1.15em 2em;
  font-size: 1rem;
}
.btn-block {
  display: flex;
  width: 100%;
}

/* Text link with arrow */
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--f-sans);
  font-weight: 500;
  color: var(--green);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.textlink svg {
  width: 1.05em;
  height: 1.05em;
  transition: transform var(--t-fast);
}
.textlink:hover {
  color: var(--green-deep);
  border-bottom-color: currentColor;
}
.textlink:hover svg {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 244, 238, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--t-fast),
    background var(--t-fast);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 244, 238, 0.94);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
  border-radius: 50%;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  padding: 0.55em 0.9em;
  border-radius: var(--radius-pill);
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  transition: color var(--t-fast);
}
.nav-menu > li > a:hover {
  color: var(--ink);
}
.nav-menu > li > a.active {
  color: var(--green);
}
.nav-menu > li > a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
}
.nav-phone svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}
.nav-phone small {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin-inline: auto;
  transition:
    transform var(--t-fast),
    opacity var(--t-fast);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
body.nav-open .nav-toggle span {
  background: transparent;
}
body.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}
body.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero (editorial) ---------- */
.hero {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  padding: clamp(56px, 9vw, 128px) 0 clamp(48px, 7vw, 104px);
}
.hero-copy h1 {
  margin: 26px 0 26px;
  color: var(--ink);
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--green);
}
.hero-copy > p {
  font-size: 1.2rem;
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-visual {
  position: relative;
}
.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-soft);
}
.hero-figure .ph {
  border-radius: 0;
}

/* Interior page hero (paper) */
.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero .container {
  padding: clamp(64px, 9vw, 130px) 0 clamp(40px, 5vw, 66px);
}
.page-hero h1 {
  color: var(--ink);
  max-width: 20ch;
}
.page-hero p {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 62ch;
  margin-top: 22px;
  line-height: 1.6;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 26px;
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--green);
}
.breadcrumb span {
  color: var(--faint);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  padding-block: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.trust-item svg {
  width: 21px;
  height: 21px;
  color: var(--green);
  flex: none;
  stroke-width: 1.6;
  box-sizing: content-box;
  padding: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* ---------- Grids & cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  height: 100%;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t),
    transform var(--t);
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

/* Service card (minimal) */
.service-card {
  display: flex;
  flex-direction: column;
}
.service-card .ic {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--green-wash);
  border-radius: 14px;
  margin-bottom: 22px;
  transition:
    background var(--t-fast),
    color var(--t-fast);
}
.service-card:hover .ic {
  background: var(--green);
  color: #fff;
}
.service-card .ic svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
}
.service-card h3 {
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.97rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.service-card .price-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--green);
}
.service-card .more {
  margin-top: auto;
  font-family: var(--f-sans);
  font-weight: 500;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.service-card .more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast);
}
.service-card:hover .more svg {
  transform: translateX(4px);
}
a.service-card,
a.service-card:hover {
  color: inherit;
  text-decoration: none;
}

/* Service cards with a photo banner (home "What we offer") */
.service-card.has-photo {
  padding: 0;
  overflow: hidden;
}
.service-card.has-photo .sc-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-wash);
}
.service-card.has-photo .sc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.service-card.has-photo:hover .sc-img {
  transform: scale(1.04);
}
.service-card.has-photo .sc-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.service-card.has-photo .sc-body h3 {
  margin-bottom: 12px;
}
.service-card.has-photo .price-tag {
  margin-top: auto;
}
.service-card.has-photo .sc-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
}
.service-card.has-photo .sc-foot .price-tag {
  margin: 0;
  align-self: center;
}
.sc-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--green);
  white-space: nowrap;
}
.sc-more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast);
}
.service-card.has-photo:hover .sc-more svg {
  transform: translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
  .service-card.has-photo .sc-img {
    transition: none;
  }
  .service-card.has-photo:hover .sc-img {
    transform: none;
  }
  .service-card.has-photo:hover .sc-more svg {
    transform: none;
  }
}

/* Feature */
.feature {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.feature .ic {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--green);
}
.feature .ic svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}
.feature h4 {
  margin-bottom: 8px;
}
.feature p {
  font-size: 0.96rem;
  color: var(--muted);
  margin: 0;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: left;
  padding: 6px 0;
}
.stat .num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .label {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.stats.on-dark .num {
  color: #fff;
}
.stats.on-dark .label {
  color: #9fc3af;
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
}
.split.reverse .split-media {
  order: 2;
}
.split-media {
  position: relative;
}
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4.4;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.media-frame .media-img,
.hero-figure .media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split-copy h2 {
  margin-bottom: 22px;
}
.split-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
}
.check-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex: none;
  margin-top: 3px;
  stroke-width: 1.75;
}
.check-list span {
  color: var(--ink-soft);
}
.check-list b {
  color: var(--ink);
  font-weight: 600;
}
.exp-badge {
  display: none;
}

/* ---------- Branded service panels ---------- */
.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(130% 110% at 18% 12%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 55%),
    linear-gradient(150deg, var(--green-soft), var(--green-wash) 72%);
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='2' cy='2' r='1.15' fill='%2312503a' fill-opacity='0.07'/%3E%3C/svg%3E");
  background-size: 28px 28px;
}
.ph::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(18, 80, 58, 0.12), rgba(18, 80, 58, 0) 62%);
}
.ph.tint-navy {
  background:
    radial-gradient(130% 110% at 18% 12%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 55%),
    linear-gradient(150deg, var(--green-deep), #0a2f21 78%);
}
.ph.tint-soft {
  background:
    radial-gradient(130% 110% at 18% 12%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 55%),
    linear-gradient(150deg, #eff4ec, var(--green-soft) 78%);
}
.ph .ph-ico {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 108px;
  height: 108px;
  max-width: 40%;
  padding: 26px;
  color: var(--green);
  opacity: 1;
  stroke-width: 1.5;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 26px;
  box-shadow:
    0 26px 50px -24px rgba(12, 58, 41, 0.55),
    inset 0 0 0 1px rgba(18, 80, 58, 0.08);
}
.ph.tint-navy .ph-ico {
  color: #cfe6da;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.ph .ph-label {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-mid);
}
.ph.tint-navy .ph-label {
  color: #7fa793;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-deep);
  color: #d3e4d8;
  padding: clamp(48px, 7vw, 90px);
}
.cta-banner .inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  color: #fff;
  margin: 16px 0 0;
  max-width: 16ch;
}
.cta-banner p {
  color: #a9c6b6;
  margin: 18px 0 0;
  max-width: 46ch;
}
.cta-banner .cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Accordion ---------- */
.accordion {
  display: grid;
}
.acc-item {
  border-top: 1px solid var(--line);
}
.acc-item:last-child {
  border-bottom: 1px solid var(--line);
}
.acc-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 4px;
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  letter-spacing: -0.01em;
}
.acc-q .ico {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--green);
  flex: none;
  transition: transform var(--t);
}
.acc-q .ico svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}
.acc-item.open .acc-q .ico {
  transform: rotate(45deg);
}
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t);
}
.acc-a-inner {
  padding: 0 4px 30px;
  color: var(--muted);
  max-width: 68ch;
  font-size: 1.02rem;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req {
  color: var(--red);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9em 1em;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast),
    background var(--t-fast);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: var(--ring);
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}
.form-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 4px;
}
.form-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--green);
}
.form-status {
  margin-top: 16px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}
.form-status.ok {
  display: block;
  background: var(--green-soft);
  color: var(--green-deep);
  border: 1px solid #cfe0d3;
}

/* Info list */
.info-list {
  display: grid;
  gap: 4px;
}
.info-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:first-child {
  padding-top: 0;
}
.info-row .ic {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--green);
  flex: none;
}
.info-row .ic svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}
.info-row h4 {
  margin-bottom: 4px;
}
.info-row p,
.info-row a {
  color: var(--muted);
  margin: 0;
}
.info-row a:hover {
  color: var(--green);
}

/* Hours */
.hours {
  display: grid;
}
.hours .row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.hours .row:last-child {
  border-bottom: none;
}
.hours .day {
  color: var(--ink);
  font-weight: 500;
}
.hours .time {
  color: var(--muted);
}
.hours .row.closed .time {
  color: var(--red);
}
.hours .row.today {
  color: var(--green);
}
.hours .row.today .day,
.hours .row.today .time {
  color: var(--green);
  font-weight: 600;
}

/* ---------- Price tables (Services, Medical exams, Blood panels) ---------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
}
.price-table th {
  text-align: left;
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 24px 14px;
  border-bottom: 2px solid var(--line-strong);
  white-space: nowrap;
}
.price-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}
.price-table tbody tr:last-child td {
  border-bottom: none;
}
/* First column = the service / panel name */
.price-table th:first-child,
.price-table td:first-child {
  padding-left: 0;
}
.price-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}
/* Middle column(s) = details, muted */
.price-table td:not(:first-child):not(.price) {
  color: var(--muted);
}
/* Right-aligned price column, kept tight so figures line up on the edge */
.price-table .ta-r {
  text-align: right;
  padding-right: 0;
}
.price-table th.ta-r,
.price-table td.price {
  width: 1%;
  white-space: nowrap;
}
.price-table td.price {
  color: var(--green);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
/* On phones, stack each row: name + price on one line, details beneath */
@media (max-width: 640px) {
  .price-table thead {
    display: none;
  }
  .price-table,
  .price-table tbody {
    display: block;
  }
  .price-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 14px;
    align-items: baseline;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .price-table tbody tr:last-child {
    border-bottom: none;
  }
  .price-table td {
    display: block;
    width: auto;
    padding: 0;
    border: none;
  }
  .price-table td:first-child {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.02rem;
  }
  .price-table td.price {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .price-table td:not(:first-child):not(.price) {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 4px;
    font-size: 0.92rem;
  }
}
.pay-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.pay-note svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex: none;
  stroke-width: 1.75;
}

/* Map */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  position: relative;
  min-height: 260px;
  box-shadow: var(--shadow-soft);
}

/* Leaflet clinics overview map */
.clinics-map {
  height: 460px;
  margin-top: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  z-index: 0;
}
.clinics-map .leaflet-container {
  font-family: var(--f-sans);
  background: var(--paper-2);
}
.c45-pin {
  background: none;
  border: none;
}
.c45-pin-dot {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid #fff;
  box-shadow: 0 6px 16px -4px rgba(12, 58, 41, 0.55);
}
.c45-pin-dot::before,
.c45-pin-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  border-radius: 2px;
}
.c45-pin-dot::before {
  width: 12px;
  height: 3px;
  transform: translate(-50%, -50%);
}
.c45-pin-dot::after {
  width: 3px;
  height: 12px;
  transform: translate(-50%, -50%);
}
.c45-pop {
  text-align: center;
  padding: 2px 4px;
}
.c45-pop strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.c45-pop span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.c45-pop a {
  color: var(--green);
  font-weight: 600;
}
@media (max-width: 640px) {
  .clinics-map {
    height: 360px;
  }
}
/* Fallback shown if the Leaflet library can't load (no blank box) */
.clinics-map.is-fallback {
  height: auto;
  border: none;
  box-shadow: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.c45-mapfb {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.c45-mapfb strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.c45-mapfb span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}
.c45-mapfb-cta {
  color: var(--green) !important;
  font-weight: 600;
  margin-top: 12px;
}
@media (max-width: 640px) {
  .clinics-map.is-fallback {
    grid-template-columns: 1fr;
  }
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55em 1.1em;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}
.pill svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.step {
  position: relative;
}
.step .n {
  font-family: var(--f-display);
  font-size: 1.05rem;
  color: var(--green);
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.step h4 {
  margin-bottom: 10px;
}
.step p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* Service category cards */
.svc-cat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  height: 100%;
}
.svc-cat > h3 {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}
.svc-cat .cat-ic {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--green);
  flex: none;
}
.svc-cat .cat-ic svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}
.svc-list {
  display: grid;
  margin-top: 10px;
}
.svc-list li {
  border-bottom: 1px solid var(--line);
}
.svc-list li:last-child {
  border-bottom: none;
}
.svc-list li a {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 14px 2px;
  color: var(--ink-soft);
  transition:
    color var(--t-fast),
    padding-left var(--t-fast);
}
.svc-list li a:hover {
  color: var(--green);
  padding-left: 6px;
}
.svc-list li .svc-ic {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex: none;
  stroke-width: 1.5;
}
.svc-list li b {
  font-family: var(--f-sans);
  font-weight: 500;
  color: inherit;
  font-size: 0.98rem;
}
.svc-list li .svc-go {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex: none;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--t-fast);
}
.svc-list li a:hover .svc-go {
  opacity: 1;
  transform: none;
}

/* Service detail page */
.svc-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 4px 0 26px;
}
.svc-price .lab {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.svc-price .val {
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--green);
  line-height: 1;
}
.svc-price-note {
  margin: 4px 0 26px;
  color: var(--muted);
}
.svc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
a.pill:hover {
  border-color: var(--green);
  color: var(--green);
}

/* Service detail — content + sticky booking sidebar */
.svc-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.svc-main .media-frame {
  aspect-ratio: 16/9;
  margin-bottom: 40px;
}
.svc-main h2 {
  margin-bottom: 18px;
}
.svc-main h3 {
  margin: 38px 0 18px;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0;
  color: var(--ink);
}
.svc-main > p {
  color: var(--muted);
  font-size: 1.05rem;
}
.svc-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.svc-book-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.svc-book-card .svc-price {
  margin: 0 0 22px;
}
.svc-book-card .btn {
  width: 100%;
  margin-bottom: 12px;
}
.svc-book-card .btn:last-of-type {
  margin-bottom: 0;
}
.svc-facts {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
}
.svc-facts > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.svc-facts span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.svc-facts b {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
}
.svc-aside-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}
.svc-aside-note svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex: none;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .svc-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .svc-aside {
    position: static;
  }
}

/* ---------- Clinics dropdown ---------- */
.has-dd {
  position: relative;
}
.nav-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.55em 0.9em;
  border-radius: var(--radius-pill);
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.nav-dd-toggle:hover,
.nav-dd-toggle.active {
  color: var(--green);
}
.nav-dd-toggle svg {
  width: 13px;
  height: 13px;
  transition: transform var(--t-fast);
}
.has-dd:hover .nav-dd-toggle svg,
.has-dd.open .nav-dd-toggle svg {
  transform: rotate(180deg);
}
.nav-dd {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 252px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--t-fast);
  z-index: 70;
}
.has-dd:hover .nav-dd,
.has-dd.open .nav-dd {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-dd li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-dd li a:hover {
  background: var(--paper-2);
  color: var(--green);
}
.nav-dd .dd-all {
  color: var(--green);
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 13px;
  border-radius: 0;
}
.nav-dd .dd-all svg {
  width: 15px;
  height: 15px;
  margin-left: auto;
}

/* ---------- Clinic cards (hours / days / address + booking) ---------- */
.clinic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.clinic-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}
.clinic-media {
  position: relative;
  aspect-ratio: 16/8;
}
.clinic-body {
  padding: 34px;
}
.clinic-body h3 {
  margin-bottom: 24px;
}
.clinic-facts {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}
.clinic-facts li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.clinic-facts li svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex: none;
  margin-top: 2px;
  stroke-width: 1.5;
}
.clinic-facts span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.clinic-facts b {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}
.clinic-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.clinic-actions .btn {
  flex: 1;
}
.clinic-dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.clinic-dir svg {
  width: 16px;
  height: 16px;
}
.clinic-dir:hover {
  color: var(--green);
}
.footer-contact em {
  font-style: normal;
  color: #7fa793;
  font-size: 0.82rem;
}

/* Clinic map (tap to load) */
.clinic-map {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-load {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  gap: 12px;
  background: var(--green-wash);
  color: var(--green);
  cursor: pointer;
  transition: background var(--t-fast);
}
.map-load:hover {
  background: var(--green-soft);
}
.map-load-ic svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.25;
}
.map-load-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--green-deep);
}
.map-load-cta svg {
  width: 15px;
  height: 15px;
}

/* Legal / prose pages */
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 42px 0 14px;
}
.prose h2:first-of-type {
  margin-top: 0;
}
.prose p {
  margin-bottom: 16px;
  color: var(--ink-soft);
}
.prose ul {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
}
.prose li {
  display: flex;
  gap: 11px;
  color: var(--ink-soft);
}
.prose li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
  margin-top: 9px;
}
.prose a {
  color: var(--green);
  border-bottom: 1px solid var(--line-strong);
}
.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.legal-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--green-soft);
  border: 1px solid #cfe0d3;
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--green-deep);
  font-size: 0.92rem;
  margin-bottom: 34px;
}
.legal-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--green);
}

/* Form error + honeypot */
.form-status.err {
  display: block;
  background: #fbeceb;
  color: #8a2018;
  border: 1px solid #f0c8c4;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Cookie consent bar */
.cookie-bar {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: 560px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-bar[hidden] {
  display: none;
}
.cookie-bar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  flex: 1;
  min-width: 210px;
}
.cookie-bar a {
  color: var(--green);
  border-bottom: 1px solid var(--line-strong);
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-bar .btn {
  padding: 0.7em 1.2em;
  font-size: 0.9rem;
}
@media (max-width: 520px) {
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .btn {
    flex: 1;
  }
}

@media (max-width: 900px) {
  .nav-dd-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.85em 1em;
    font-size: 1.05rem;
  }
  .nav-dd {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 12px;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t);
  }
  .has-dd .nav-dd {
    max-height: 0;
  }
  .has-dd.open .nav-dd {
    max-height: 320px;
  }
}

/* Booking cards */
.book-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t);
}
.book-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}
.book-card-head {
  display: flex;
  gap: 16px;
  align-items: center;
}
.book-card-head .ic {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--green);
  flex: none;
}
.book-card-head .ic svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}
.book-card-head h3 {
  margin: 0;
}
.book-card-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.book-card-actions {
  display: grid;
  gap: 12px;
}
.book-card-dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.book-card-dir svg {
  width: 16px;
  height: 16px;
}
.book-card-dir:hover {
  color: var(--green);
}

/* Location cards */
.loc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t),
    transform var(--t);
}
.loc-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.loc-media {
  position: relative;
  aspect-ratio: 16/8;
}
.loc-body {
  padding: 32px;
}
.loc-body h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.loc-body h3 svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex: none;
}
.loc-addr {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.loc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.loc-actions .btn {
  flex: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: #a9c6b6;
  padding-top: clamp(64px, 8vw, 104px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  height: 88px;
  margin-bottom: 22px;
}
.footer-about {
  margin: 0 0 22px;
  font-size: 0.96rem;
  color: #9cbaa9;
  max-width: 34ch;
  line-height: 1.65;
}
.footer-contact {
  display: grid;
  gap: 12px;
}
.footer-contact a,
.footer-contact span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #cfe0d5;
  font-size: 0.95rem;
}
.footer-contact a:hover {
  color: #fff;
}
.footer-contact svg {
  width: 17px;
  height: 17px;
  color: #6f9a83;
  flex: none;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cfe0d5;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-2px);
}
.footer-social svg {
  width: 19px;
  height: 19px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--f-sans);
  font-weight: 600;
  margin-bottom: 22px;
}
.footer-links {
  display: grid;
  gap: 13px;
}
.footer-links a {
  color: #a9c6b6;
  font-size: 0.95rem;
  width: fit-content;
}
.footer-links a:hover {
  color: #fff;
}
.foot-loc {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 0.93rem;
  color: #9cbaa9;
  line-height: 1.55;
}
.foot-loc svg {
  width: 17px;
  height: 17px;
  color: #6f9a83;
  flex: none;
  margin-top: 3px;
}
.foot-loc strong {
  color: #fff;
  font-weight: 600;
}
.foot-hours {
  display: inline-block;
  margin-top: 4px;
  color: #b9d2c4;
  font-weight: 500;
}
.foot-loc .open-status {
  margin-top: 5px;
  font-size: 0.8rem;
}
/* Live open/closed status */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.open-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}
.open-status.is-open {
  color: #6ee7a8;
}
.open-status.is-closed {
  color: #e0b457;
}
.open-status[hidden] {
  display: none;
}
/* Clinic card + hours-card heading rows with an inline open/closed badge */
.clinic-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.clinic-head h3 {
  margin: 0;
}
.clinic-head .open-status,
.hours-clinic-head .open-status {
  margin-top: 0;
}
.hours-clinic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hours-clinic + .hours-clinic {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
/* On light card backgrounds the badge needs darker ink than in the footer */
.clinic-head .open-status.is-open,
.hours-clinic-head .open-status.is-open {
  color: var(--green-mid);
}
.clinic-head .open-status.is-closed,
.hours-clinic-head .open-status.is-closed {
  color: #9a6b16;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.88rem;
  color: #7fa793;
  margin: 0;
}
.footer-bottom .legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-bottom .legal a {
  color: #7fa793;
  font-size: 0.88rem;
}
.footer-bottom .legal a:hover {
  color: #fff;
}
.news-form {
  display: none;
}
.btn-cta-line {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.btn-cta-line:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-fast);
  z-index: 50;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--green-deep);
  color: #fff;
}
.to-top svg {
  width: 19px;
  height: 19px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.09s;
}
.reveal.d2 {
  transition-delay: 0.18s;
}
.reveal.d3 {
  transition-delay: 0.27s;
}
.reveal.d4 {
  transition-delay: 0.36s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* legacy elements no longer used */
.alert-bar,
.topbar,
.hero-badge,
.hero-trust,
.trust-mini,
.exp-badge {
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-visual {
    max-width: 460px;
  }
}
@media (max-width: 900px) {
  :root {
    --header-h: 76px;
    --gutter: 24px;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px var(--gutter) 30px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transform: translateY(-140%);
    transition: transform var(--t);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  body.nav-open .nav-menu {
    transform: none;
  }
  .nav-menu > li > a {
    padding: 0.85em 1em;
    font-size: 1.05rem;
  }
  .nav-menu > li > a.active::after {
    display: none;
  }
  .nav-phone {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .split.reverse .split-media {
    order: 0;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner .inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta .btn {
    flex: 1;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .trust-strip .container {
    justify-content: flex-start;
    gap: 14px 28px;
  }
}
@media (max-width: 420px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   Added components: skip link · mobile bar · inline booking ·
   out-of-hours card · 404
   ============================================================= */

/* Skip to content */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: 0;
  outline: none;
}

/* Sticky mobile action bar */
.mobile-bar {
  display: none;
}
@media (max-width: 720px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line-strong);
    box-shadow: 0 -12px 34px -20px rgba(20, 30, 22, 0.5);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 9px 6px 11px;
    min-height: 60px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink);
  }
  .mb-item svg {
    width: 22px;
    height: 22px;
    color: var(--green);
  }
  .mb-item + .mb-item {
    border-left: 1px solid var(--line);
  }
  .mb-book {
    background: var(--green);
    color: #fff;
  }
  .mb-book svg {
    color: #fff;
  }
  .mb-book:active {
    background: var(--green-deep);
  }
  body {
    padding-bottom: 68px;
  }
  .to-top {
    bottom: 82px;
    right: 18px;
  }
  .cookie-bar {
    bottom: 80px;
    left: 12px;
    right: 12px;
  }
}

/* Inline booking */
.booking {
  max-width: 960px;
  margin: 0 auto;
}
.booking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.booking-loc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.booking-loc-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.booking-loc-head .ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-wash);
  color: var(--green);
  display: grid;
  place-items: center;
}
.booking-loc-head .ic svg {
  width: 22px;
  height: 22px;
}
.booking-loc-head h3 {
  font-size: 1.22rem;
}
.booking-loc-head p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 3px;
}
.booking-btns {
  display: grid;
  gap: 10px;
}
.booking-opt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  transition: all var(--t-fast);
}
.booking-opt svg {
  width: 19px;
  height: 19px;
  color: var(--green);
  flex: none;
}
.booking-opt:hover {
  border-color: var(--green);
  background: var(--green-wash);
}
.booking-opt.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: var(--ring);
}
.booking-opt.active svg {
  color: #fff;
}
.booking-opt-blood svg {
  color: var(--red);
}
.booking-opt-blood:hover {
  border-color: var(--red);
  background: #fbeceb;
}
.booking-opt-blood.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.booking-opt-blood.active svg {
  color: #fff;
}
.booking-stage {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  min-height: 260px;
}
.booking-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 54px 26px;
  min-height: 260px;
}
.booking-placeholder .booking-ph-ico {
  width: 42px;
  height: 42px;
  color: var(--green);
  opacity: 0.82;
  margin-bottom: 4px;
}
.booking-placeholder b {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
}
.booking-placeholder span {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 430px;
}
.booking-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 18px;
  background: var(--green-wash);
  border-bottom: 1px solid var(--line);
}
.booking-bar-title {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}
.booking-bar-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green);
  white-space: nowrap;
  border-bottom: 1px solid var(--green-soft);
}
.booking-bar-link:hover {
  color: var(--green-deep);
}
.booking-frame-wrap {
  min-height: 200px;
}
.booking-frame {
  width: 100%;
  height: clamp(640px, 86vh, 1040px);
  border: 0;
  display: block;
  background: var(--surface);
}
.booking-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 70px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}
.booking-loading a {
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
}
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid var(--line-strong);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: c45spin 0.8s linear infinite;
}
@keyframes c45spin {
  to {
    transform: rotate(360deg);
  }
}
.booking-newtab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--line-strong);
}
.booking-newtab svg {
  width: 16px;
  height: 16px;
}
.booking-newtab[hidden] {
  display: none;
}
@media (max-width: 640px) {
  .booking-options {
    grid-template-columns: 1fr;
  }
}

/* Out-of-hours card */
.ooh-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  box-shadow: var(--shadow-soft);
}
.ooh-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}
.ooh-head .ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--green-wash);
  color: var(--green);
  display: grid;
  place-items: center;
}
.ooh-head .ic svg {
  width: 21px;
  height: 21px;
}
.ooh-head h3 {
  font-size: 1.3rem;
}
.ooh-card > p {
  color: var(--ink-soft);
}
.ooh-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 4px;
}
.ooh-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ooh-tag {
  flex: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 6px 10px;
  border-radius: 100px;
  margin-top: 1px;
  min-width: 96px;
  text-align: center;
}
.ooh-tag.ooh-em {
  color: #8a2018;
  background: #fbeceb;
}
.ooh-list li div {
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.ooh-list a {
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
}
.ooh-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.ooh-note svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex: none;
}
.ooh-note a {
  font-weight: 600;
}
@media (max-width: 520px) {
  .ooh-list li {
    flex-direction: column;
    gap: 6px;
  }
  .ooh-card {
    padding: 26px 22px;
  }
}

/* 404 page */
.notfound {
  text-align: center;
  padding: 20px 0 30px;
}
.nf-code {
  font-family: var(--f-display);
  font-size: clamp(6rem, 22vw, 12rem);
  line-height: 0.9;
  color: var(--green);
  opacity: 0.16;
  letter-spacing: -0.03em;
}
.notfound h1 {
  margin-top: -0.15em;
}
.notfound > p {
  max-width: 520px;
  margin: 18px auto 30px;
  color: var(--ink-soft);
}
.nf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.nf-call {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
}
.nf-call svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}
.nf-call a {
  font-weight: 600;
}

/* Reduced motion — extend to added animations */
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
  .skip-link {
    transition: none;
  }
}

/* ============================================================
   Modern micro-interactions — subtle, professional motion.
   Layered on top of the existing reveal/hover system; every
   continuous or transform effect is disabled under
   prefers-reduced-motion at the end of this block.
   ============================================================ */

/* Nav links: soft pill highlight on hover */
.nav-menu > li > a {
  transition:
    color var(--t-fast),
    background var(--t-fast);
}
.nav-menu > li > a:hover {
  background: var(--green-wash);
}

/* Photos: gentle zoom when the frame is hovered */
.media-frame .media-img,
.hero-figure .media-img,
.media-frame .ph,
.hero-figure .ph {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.media-frame:hover .media-img,
.hero-figure:hover .media-img,
.media-frame:hover .ph,
.hero-figure:hover .ph {
  transform: scale(1.045);
}

/* Service-card icon: subtle scale to accompany the colour fill */
.service-card .ic {
  transition:
    background var(--t-fast),
    color var(--t-fast),
    transform var(--t);
}
.service-card:hover .ic {
  transform: scale(1.08);
}

/* Primary / blood buttons: a soft light sweep on hover */
.btn-primary,
.btn-blood {
  position: relative;
  overflow: hidden;
}
.btn-primary::before,
.btn-blood::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover::before,
.btn-blood:hover::before {
  transform: translateX(100%);
}

/* Hero visual: a slow, gentle float so the page feels alive */
@keyframes c45float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.hero-figure {
  animation: c45float 8s ease-in-out infinite;
}

/* Accessibility: honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-figure {
    animation: none;
  }
  .media-frame:hover .media-img,
  .hero-figure:hover .media-img,
  .media-frame:hover .ph,
  .hero-figure:hover .ph,
  .service-card:hover .ic {
    transform: none;
  }
  .btn-primary::before,
  .btn-blood::before {
    display: none;
  }
}

/* ============================================================
   Patient reviews (testimonials)
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t),
    transform var(--t);
}
.review-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.review-stars {
  display: inline-flex;
  gap: 3px;
  color: #e8a400;
}
.review-stars svg {
  width: 18px;
  height: 18px;
}
.review-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.review-card figcaption {
  margin-top: auto;
  font-family: var(--f-sans);
  font-weight: 600;
  color: var(--green);
}
.reviews-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Opening-soon clinic state (e.g. Ratoath)
   ============================================================ */
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--green-wash);
  color: var(--green);
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.foot-loc .soon-badge {
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: #cfe0d5;
}
.clinic-card.is-soon {
  position: relative;
}
.clinic-soon {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--green-wash);
  color: var(--green-deep);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}
.clinic-soon svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--green);
}
