/* ============================================
   ANELE HEALTH — Public site
   Mirrors the design system used by aneleclinic.co.uk, with the red
   health accent (#c97272) elevated to the primary brand colour.
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0a0a0a;
  --color-surface: #141414;
  --color-surface-2: #1a1a1a;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #f5f5f5;
  --color-text-muted: #888;
  --color-text-dim: #555;
  /* Brand red — same value used on the aneleclinic.co.uk health pillar */
  --color-accent: #c97272;
  --color-accent-soft: rgba(201, 114, 114, 0.18);
  --color-accent-glow: rgba(201, 114, 114, 0.45);
  --color-accent-deep: #6b1e1e;
  --color-white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 16px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Floating rating badge ---------- */
.rating-badge { position: fixed; bottom: 24px; right: 24px; z-index: 1000; animation: badgeFloat 3s ease-in-out infinite; }
.rating-badge-inner {
  display: flex; align-items: center; gap: 8px;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px; border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  cursor: default;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.rating-badge-inner:hover { transform: scale(1.05); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
.rating-stars { display: flex; gap: 2px; }
.rating-stars svg { width: 14px; height: 14px; color: #facc15; }
.rating-number { font-weight: 700; font-size: 0.875rem; color: var(--color-white); }
.rating-source { font-size: 0.7rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; transition: all 0.4s var(--ease-out); }
.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; font-style: italic; color: var(--color-white); letter-spacing: 0.02em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.85rem; font-weight: 400; color: var(--color-text-muted); transition: color 0.3s; letter-spacing: 0.02em; }
.nav-links a:hover { color: var(--color-white); }
.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: transform 0.3s var(--ease-out), opacity 0.3s !important;
  border: none; cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem; letter-spacing: 0.02em;
  display: inline-flex; align-items: center;
}
.nav-cta:hover { transform: scale(1.05); opacity: 0.9; }
/* ---------- Nav dropdown (mega menu) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: none; border: none;
  /* Vertical padding makes the trigger's hover area taller so the
     cursor doesn't fall into dead space between the button and the
     mega menu. */
  padding: 14px 0;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 400;
  color: var(--color-text-muted); letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.3s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger[aria-expanded="true"] { color: var(--color-white); }
.nav-dropdown-trigger svg { transition: transform 0.3s var(--ease-out); }
.nav-dropdown-trigger[aria-expanded="true"] svg { transform: rotate(-180deg); }

/* Invisible bridge between the trigger and the floating mega menu.
   Without this, the cursor passes through dead space when moving from
   the button down to the menu and the :hover state drops — closing the
   menu. The ::after is part of `.nav-dropdown`, so hovering it counts
   as hovering the parent and keeps the mega menu open. */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 20px;
  /* Invisible but the cursor still hovers it. */
}

.nav-mega {
  position: absolute;
  top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(1100px, 92vw);
  background: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 200;
}
.nav-dropdown:hover .nav-mega,
.nav-dropdown:focus-within .nav-mega,
.nav-dropdown[data-open="true"] .nav-mega {
  opacity: 1; pointer-events: auto; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-mega-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.nav-mega-col { display: flex; flex-direction: column; gap: 4px; }
.nav-mega-tag {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--color-accent);
  padding-bottom: 8px; margin-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
}
.nav-mega-col a {
  font-size: 0.85rem; font-weight: 400;
  color: var(--color-text);
  padding: 8px 10px; margin: 0 -10px;
  border-radius: 8px;
  letter-spacing: 0;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  display: block;
}
.nav-mega-col a:hover {
  background: var(--color-accent-soft);
  color: var(--color-white);
  padding-left: 14px;
}
.nav-mega-col a.active {
  color: var(--color-accent);
  background: var(--color-accent-soft);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-white); transition: all 0.3s var(--ease-out); border-radius: 2px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 75% 20%, var(--color-accent-glow) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(107, 30, 30, 0.4) 0%, transparent 50%),
    linear-gradient(160deg, #1a0808 0%, #2e0c0c 35%, #1c0a0a 75%, #0a0404 100%);
  /* Drop a real clinic photo here once available, e.g.:
     background-image: url("images/hero.jpg"); */
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.5) 60%, rgba(10, 10, 10, 0.9) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }
.hero-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 24px; position: relative; padding-left: 36px;
}
.hero-tag::before { content: ''; position: absolute; left: 0; top: 50%; width: 24px; height: 1px; background: var(--color-accent); }
.hero-title {
  font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.025em;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  color: var(--color-white); margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--color-accent); font-weight: 400; }
.hero-lede { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--color-text-muted); max-width: 640px; margin-bottom: 40px; line-height: 1.65; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; color: var(--color-text-muted); font-size: 0.85rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--color-accent); flex-shrink: 0; }
.hero-scroll-indicator { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 10; pointer-events: none; }
.hero-scroll-indicator span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-text-dim); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--color-text-dim), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.3; transform: scaleY(0.6); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 14px 32px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.btn-primary {
  background: var(--color-accent); color: var(--color-white);
  box-shadow: 0 8px 24px rgba(201, 114, 114, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(201, 114, 114, 0.4); }
.btn-outline { background: transparent; color: var(--color-white); border-color: rgba(255, 255, 255, 0.2); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ---------- Marquee ---------- */
.marquee { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 32px; white-space: nowrap; width: max-content; will-change: transform; }
.marquee-track span { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent); display: inline-block; flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 20px;
  position: relative; padding-left: 36px;
}
.section-tag::before { content: ''; position: absolute; left: 0; top: 50%; width: 24px; height: 1px; background: var(--color-accent); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; color: var(--color-white); }
.section-title em { font-style: italic; color: var(--color-accent); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-tag { padding-left: 0; }
.section-header .section-tag::before { display: none; }
.section-lede { color: var(--color-text-muted); max-width: 640px; margin: 16px auto 0; font-size: 1rem; line-height: 1.7; }

/* ---------- About ---------- */
.about { background: var(--color-bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-content p { font-size: 1rem; line-height: 1.8; color: var(--color-text-muted); margin-top: 20px; }
.about-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-border); }
.stat { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; color: var(--color-white); line-height: 1; }
.stat-suffix { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; color: var(--color-accent); line-height: 1; }
.stat-star { display: flex; align-items: center; line-height: 1; font-size: 0; margin-top: 12px; }
.stat-star svg { color: var(--color-accent); }
.stat-label { font-size: 0.75rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 8px; }

.about-visual { position: relative; }
.clinic-photo-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5); min-height: 400px; background: var(--color-surface-2); }
.clinic-photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 400px; color: var(--color-text-dim); gap: 12px;
  background:
    radial-gradient(ellipse at 50% 40%, var(--color-accent-soft) 0%, transparent 60%),
    linear-gradient(160deg, var(--color-surface-2), var(--color-bg));
}
.clinic-photo-placeholder span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-text-muted); }
.clinic-photo-placeholder small { font-size: 0.75rem; color: var(--color-text-dim); }
.clinic-photo-placeholder code { background: rgba(255,255,255,0.05); padding: 2px 6px; border-radius: 4px; }
.clinic-photo-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 45%); pointer-events: none; }
.clinic-photo-badges { position: absolute; bottom: 20px; left: 20px; right: 20px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 2; }
.clinic-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(10, 10, 10, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--color-text); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; padding: 7px 12px; border-radius: 100px; white-space: nowrap; }
.clinic-badge svg { color: var(--color-accent); flex-shrink: 0; }

/* ---------- Services ---------- */
.services { background: var(--color-surface); }
.service-block { margin-bottom: 96px; }
.service-block:last-child { margin-bottom: 0; }
.service-header { display: grid; grid-template-columns: 80px 1fr; gap: 32px; margin-bottom: 40px; align-items: start; }
.service-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.85;
}
.service-intro h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; color: var(--color-white); margin-bottom: 12px; }
.service-intro p { color: var(--color-text-muted); max-width: 640px; font-size: 0.95rem; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.service-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--color-accent-soft) inset;
}
.service-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s, color 0.3s;
}
.service-card:hover .service-card-icon { background: var(--color-accent); color: var(--color-white); }
.service-card h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--color-white); margin-bottom: 8px; line-height: 1.3; }
.service-card p { color: var(--color-text-muted); font-size: 0.85rem; line-height: 1.6; }

/* ---------- Why us ---------- */
.why { background: var(--color-bg); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.why-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--color-accent); }
.why-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.why-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--color-white); margin-bottom: 12px; }
.why-card p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ---------- CTA ---------- */
.cta-section { background: var(--color-surface); }
.cta-block {
  background: linear-gradient(140deg, var(--color-accent-deep) 0%, #2e0c0c 100%);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--color-accent-glow) 0%, transparent 60%);
  pointer-events: none;
}
.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 16px;
  position: relative;
}
.cta-block p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 540px; margin: 0 auto 32px; line-height: 1.7; position: relative; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }
.cta-block .btn-primary { background: var(--color-white); color: var(--color-accent-deep); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.cta-block .btn-primary:hover { background: var(--color-accent-soft); color: var(--color-white); }
.cta-block .btn-outline { border-color: rgba(255,255,255,0.3); color: var(--color-white); }
.cta-block .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--color-white); }

/* ---------- Contact ---------- */
.contact { background: var(--color-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info .section-title { margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: start; }
.contact-item svg { color: var(--color-accent); margin-top: 4px; }
.contact-item strong { display: block; color: var(--color-white); font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; letter-spacing: 0.02em; }
.contact-item p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.7; }
.contact-item a { color: var(--color-accent); transition: opacity 0.3s; }
.contact-item a:hover { opacity: 0.8; }
.contact-social { display: flex; gap: 12px; margin-top: 36px; }
.contact-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-surface); color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}
.contact-social a:hover { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); transform: translateY(-2px); }
.contact-map { height: 480px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); }
.map-wrapper { width: 100%; height: 100%; filter: invert(0.92) hue-rotate(180deg) saturate(0.6); }

/* ---------- Footer ---------- */
.footer { background: var(--color-surface-2); border-top: 1px solid var(--color-border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-tagline { color: var(--color-text-muted); margin-top: 12px; font-size: 0.9rem; max-width: 320px; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-white); margin-bottom: 6px; }
.footer-links a { color: var(--color-text-muted); font-size: 0.875rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 24px; }
.footer-bottom p { font-size: 0.75rem; color: var(--color-text-dim); text-align: center; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Modals ---------- */
.booking-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.booking-modal.open { display: flex; }
.booking-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.booking-content {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 40px;
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  animation: modalSlideIn 0.4s var(--ease-out);
}
.booking-content-legal { max-width: 720px; }
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.booking-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--color-surface-2); color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 50%; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s;
}
.booking-close:hover { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.booking-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; color: var(--color-white); margin-bottom: 8px; }
.booking-subtitle { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 28px; }
.booking-options { display: flex; flex-direction: column; gap: 10px; }
.booking-option {
  display: flex; align-items: center; gap: 16px;
  padding: 16px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  transition: all 0.3s var(--ease-out);
  color: var(--color-text);
}
.booking-option:hover { transform: translateY(-2px); border-color: var(--color-accent); background: rgba(201, 114, 114, 0.05); }
.booking-option-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--color-accent-soft); color: var(--color-accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.booking-option strong { display: block; color: var(--color-white); font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.booking-option p { color: var(--color-text-muted); font-size: 0.8rem; }
.booking-option-primary { background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-deep) 100%); border-color: var(--color-accent); color: var(--color-white); }
.booking-option-primary .booking-option-icon { background: rgba(255,255,255,0.15); color: var(--color-white); }
.booking-option-primary strong, .booking-option-primary p { color: var(--color-white); }
.booking-option-primary p { color: rgba(255,255,255,0.85); }
.booking-option-primary:hover { transform: translateY(-2px); opacity: 0.95; }

/* Legal modal body */
.legal-body { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.75; }
.legal-body h3 { color: var(--color-white); font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; margin: 24px 0 8px; }
.legal-body p { margin-bottom: 12px; }
.legal-body ul { margin: 12px 0 12px 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--color-accent); }
.legal-highlight { background: var(--color-accent-soft); border-left: 3px solid var(--color-accent); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.legal-highlight p { color: var(--color-text); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 75%; max-width: 320px;
    background: var(--color-bg);
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 96px 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; color: var(--color-text); }
  .nav-cta { width: 100%; justify-content: center; padding: 14px; }
  .hero { padding-top: 100px; min-height: auto; }
  .hero-title { font-size: 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-map { height: 360px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-header { grid-template-columns: 60px 1fr; gap: 16px; }
  .service-number { font-size: 2.75rem; }
  .section { padding: 80px 0; }
  .about-stats { flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 500px) {
  .hero-meta { flex-direction: column; gap: 10px; align-items: flex-start; }
  .cta-block { padding: 56px 24px; }
  .booking-content { padding: 28px; }
}

/* ============================================================
   SERVICE PAGES (e.g. /services/ultrasound-scans/)
   The body has class="service-page" — used to scope hero overrides.
   ============================================================ */

/* Solid nav variant: service pages don't have a hero behind the nav,
   so the nav sits on a solid background from the start (no scroll
   transition needed). */
.nav.nav-solid {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}

.service-page { padding-top: 64px; }

/* ---------- Service hero ---------- */
.service-hero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
}
.service-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 80% 0%, var(--color-accent-glow) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(107, 30, 30, 0.35) 0%, transparent 55%),
    linear-gradient(160deg, #190707 0%, #2a0c0c 60%, #0a0404 100%);
}
.service-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.75rem; color: var(--color-text-muted); letter-spacing: 0.04em; margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--color-text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb-sep { opacity: 0.5; }
.breadcrumb [aria-current="page"] { color: var(--color-white); }

.service-hero-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 16px;
}
.service-hero-title {
  font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.025em;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-white); margin-bottom: 20px;
}
.service-hero-title em { font-style: italic; color: var(--color-accent); font-weight: 400; }
.service-hero-lede { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--color-text-muted); max-width: 720px; margin-bottom: 36px; line-height: 1.65; }

.service-quick-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px; max-width: 720px;
  margin-bottom: 36px;
  padding: 20px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}
.quick-fact { display: flex; flex-direction: column; gap: 4px; }
.quick-fact-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-text-muted); }
.quick-fact-value { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-white); line-height: 1; }

.service-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Overview ---------- */
.service-overview { background: var(--color-bg); }
.overview-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.overview-content .section-title { margin-bottom: 24px; }
.overview-content p { font-size: 1rem; line-height: 1.8; color: var(--color-text-muted); margin-top: 16px; }
.overview-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); position: relative; min-height: 360px; background: var(--color-surface-2); }
.overview-photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 360px; color: var(--color-text-dim); gap: 10px;
  background:
    radial-gradient(ellipse at 50% 40%, var(--color-accent-soft) 0%, transparent 60%),
    linear-gradient(160deg, var(--color-surface-2), var(--color-bg));
}
.overview-photo-placeholder span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-text-muted); }
.overview-photo-placeholder small { font-size: 0.7rem; color: var(--color-text-dim); }
.overview-photo-placeholder code { background: rgba(255,255,255,0.05); padding: 2px 6px; border-radius: 4px; }

/* ---------- Scan types (sub-categories) ---------- */
.scan-types { background: var(--color-surface); }
.scan-types-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.scan-type {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.scan-type:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.scan-type h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-white); margin-bottom: 12px; font-weight: 500; }
.scan-type p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.7; }
.scan-type a { color: var(--color-accent); transition: opacity 0.2s; }
.scan-type a:hover { opacity: 0.8; }

/* ---------- Process steps ---------- */
.service-process { background: var(--color-bg); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.process-step { padding: 32px 28px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); position: relative; }
.process-number {
  font-family: var(--font-display); font-style: italic;
  font-size: 2rem; color: var(--color-accent);
  display: block; margin-bottom: 16px; line-height: 1;
}
.process-step h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--color-white); margin-bottom: 10px; }
.process-step p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.65; }
.process-step a { color: var(--color-accent); }

/* ---------- Pricing ---------- */
.service-pricing { background: var(--color-surface); }
.pricing-table {
  max-width: 880px; margin: 0 auto;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pricing-row {
  display: grid; grid-template-columns: 1fr 140px 140px;
  gap: 16px; align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row-header {
  background: rgba(255,255,255,0.02);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--color-text-muted);
}
.pricing-row-header span:nth-child(2),
.pricing-row-header span:nth-child(3) { text-align: right; }
.pricing-row span:nth-child(2),
.pricing-row span:nth-child(3) { text-align: right; }
.pricing-row .pricing-amount { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-accent); }
.pricing-note { max-width: 880px; margin: 16px auto 0; text-align: center; font-size: 0.8rem; color: var(--color-text-dim); }

/* ---------- FAQ ---------- */
.service-faq { background: var(--color-bg); }
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-white);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform 0.3s var(--ease-out);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 28px 22px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ---------- Related services ---------- */
.related-services { background: var(--color-surface); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.related-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
  text-decoration: none;
  color: var(--color-text);
}
.related-card:hover { border-color: var(--color-accent); transform: translateY(-4px); }
.related-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-white); font-weight: 500; }
.related-card p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.65; flex: 1; }
.related-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 500; color: var(--color-accent);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ---------- Service-page responsive ---------- */
@media (max-width: 900px) {
  /* Hide the scroll indicator below the hero on mobile — there's no
     point telling someone on a small screen to scroll. */
  .hero-scroll-indicator { display: none; }

  /* No floating menu on mobile; the hover bridge isn't needed. */
  .nav-dropdown::after { display: none; }

  /* Make the dropdown wrapper a normal block so the trigger and panel
     stack like the rest of the mobile nav links. */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 1rem;
    color: var(--color-text);
  }

  /* Mega menu collapses inline. It's hidden by default and opens when
     the JS click handler sets data-open="true" on the wrapper. */
  .nav-mega {
    position: static;
    top: auto;
    transform: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    /* Hidden by default; max-height keeps the slide-down feel. */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-out), opacity 0.2s ease, visibility 0.2s, padding 0.35s var(--ease-out);
  }
  .nav-dropdown[data-open="true"] .nav-mega {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    max-height: 1200px;
    padding: 12px 0 4px;
  }
  .nav-mega-inner { display: flex; flex-direction: column; gap: 18px; padding: 0; }
  .nav-mega-col { gap: 2px; padding-left: 8px; border-left: 2px solid var(--color-accent-soft); }
  .nav-mega-tag {
    font-size: 0.6rem;
    padding-bottom: 6px;
    margin-bottom: 4px;
    border: none;
    color: var(--color-accent);
  }
  .nav-mega-col a {
    padding: 8px 10px;
    margin: 0;
    font-size: 0.875rem;
    border-radius: 6px;
    color: var(--color-text);
  }
  .nav-mega-col a:hover { padding-left: 10px; }

  .overview-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-row { grid-template-columns: 1fr 70px 90px; padding: 14px 16px; font-size: 0.85rem; gap: 8px; }
  .pricing-row .pricing-amount { font-size: 1rem; }
  .service-hero { padding: 56px 0 48px; }
  .service-hero-title { font-size: 2.5rem; }
}

