/* CureMate — Main Stylesheet
   Fonts are loaded from index.html (a @import here would serialise the font
   request behind this file and delay first paint). */

:root {
  /* Brand violet — for type and fills on LIGHT surfaces */
  --brand: #552B78;
  --brand-dark: #3F1E5B;
  --brand-soft: #EFE4F7;

  /* The brand pink is the accent on DARK surfaces. It is light enough to clear
     AA everywhere it is used there: 5.5:1 on navy, 6.4:1 on navy-deep, 5.8:1 on
     the hero gradient. (Violet would render near-black on those backgrounds,
     which is what the original stylesheet got wrong.) */
  --accent: #F171AB;
  --accent-ink: #1B0A14;   /* dark text for use ON a pink fill — 7.0:1 */

  --pink: #F171AB;            /* same value as --accent; kept for decorative glows */
  --pink-deep: #C0367A;       /* pink that still passes 4.5:1 as text or under white */

  --navy: #1C2448;
  --navy-deep: #121833;

  --text-main: #2A2A35;
  --text-muted: #61617D;
  --text-on-dark: rgba(255, 255, 255, 0.86);
  --text-on-dark-dim: rgba(255, 255, 255, 0.68);

  --bg-light: #F9F5FC;
  --bg-alt: #F1F0F7;
  --bg-card: #FFFFFF;
  --border-color: #E6DCF0;
  --border-on-dark: rgba(255, 255, 255, 0.14);

  --shadow-sm: 0 2px 4px rgba(85, 43, 120, 0.04);
  --shadow-md: 0 10px 25px rgba(85, 43, 120, 0.08);
  --shadow-lg: 0 20px 40px rgba(85, 43, 120, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  /* Keeps anchor targets clear of the sticky header. */
  scroll-padding-top: calc(var(--header-h) + 16px);
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-optical-sizing: auto;
}

/* Balancing is only worth its layout cost on the big centred headings. */
h1,
.section-header h2,
.cta-section h2 {
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

/* `pretty` on every paragraph costs a second line-breaking pass each; the
   lead paragraphs are the only place the widow it prevents is noticeable. */
.section-header p,
.cta-lead { text-wrap: pretty; }

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

ul { list-style: none; }

/* Visible keyboard focus everywhere, without showing rings on mouse clicks. */
:focus-visible {
  /* Navy reads on every light surface (15:1 on white); the accent does not. */
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Pink is reserved for the dark sections, where navy would disappear. */
.dark-surface :focus-visible,
.footer :focus-visible {
  outline-color: var(--accent);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 5000;
  background: var(--navy-deep);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Utility Components */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background-color: var(--brand);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(85, 43, 120, 0.35);
}

.btn-primary:hover {
  background-color: var(--pink-deep);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(192, 54, 122, 0.42);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #FFFFFF;
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--navy);
  transform: translateY(-2px);
}

/* Eyebrow label above section headings. */
.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* On dark backgrounds the violet-on-violet-wash badge disappears. The wash is
   kept light (8%) because pink-on-pink loses contrast fast: at 14% this drops
   to 4.17:1 against the lighter end of the hero gradient. */
.dark-surface .badge,
.badge-on-dark {
  background-color: rgba(241, 113, 171, 0.08);
  color: var(--accent);
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--navy-deep);
  color: var(--text-on-dark);
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-on-dark);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-bar-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-text .highlight {
  color: var(--accent);
  font-weight: 600;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-contact a {
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-contact a:hover {
  color: var(--accent);
}

/* Main Navigation Header */
/* Opaque rather than blurred: a backdrop-filter on a full-width sticky bar
   makes the compositor re-blur that strip on every scrolled frame, and at
   this opacity it bought almost nothing visually. */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow 0.3s var(--ease);
}

.main-header.scrolled {
  box-shadow: 0 6px 24px rgba(85, 43, 120, 0.10);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  /* The header CTA is white-space:nowrap, so without this the logo is the
     only flex item that can give — and it gets crushed on narrow screens. */
  flex-shrink: 0;
}

.logo img { object-fit: contain; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--navy);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background-color: #FFFFFF;
  z-index: 2100;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  /* visibility:hidden keeps the offscreen links out of the tab order. */
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}

.mobile-nav.active {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.35s var(--ease-out), visibility 0s linear 0s;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 24, 51, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.close-nav {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  padding: 12px 10px;
  border-radius: var(--radius-sm);
}

.mobile-nav-links a:hover {
  background-color: var(--brand-soft);
  color: var(--brand-dark);
}

/* Hero — light, with a cut-out figure and floating stat cards */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 120px;
  background:
    radial-gradient(1100px 620px at 88% 6%, #F3E6FA 0%, rgba(243, 230, 250, 0) 62%),
    linear-gradient(180deg, #F7F1FD 0%, #FBF8FE 62%, var(--bg-light) 100%);
}

/* Soft brand wash bleeding in from the top-right, behind everything. */
.hero-glow {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 760px;
  height: 760px;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 113, 171, 0.18) 0%, rgba(241, 113, 171, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

/* Slides share one grid cell so the copy crossfades without the column
   changing height between slides. */
.hero-slider {
  display: grid;
  position: relative;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease-out), visibility 0.6s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.hero-slide h1 {
  color: var(--navy);
  margin-bottom: 20px;
}

.hero-slide h1 em {
  color: var(--pink-deep);
  font-style: italic;
  font-weight: 700;
}

.hero-slide p {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

/* Secondary action: icon disc plus label, so it reads as a second option
   without competing with the filled primary button. */
.hero-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.hero-call-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--brand);
  box-shadow: 0 6px 18px rgba(85, 43, 120, 0.16);
  transition: transform 0.25s var(--ease-out), color 0.25s var(--ease);
}

.hero-call:hover { color: var(--pink-deep); }
.hero-call:hover .hero-call-icon {
  transform: scale(1.08);
  color: var(--pink-deep);
}

/* Trust figures along the bottom of the copy column. */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 40px;
  padding-left: 20px;
  border-left: 4px solid var(--pink-deep);
}

.hero-stat dt {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero-stat dd {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Figure column */
/* The figure runs to the section's bottom edge and is clipped by it. Sitting
   it above the edge instead left a hard cut floating in mid-air. */
.hero-figure {
  position: relative;
  align-self: end;
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-blob {
  position: absolute;
  z-index: -1;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: linear-gradient(160deg, #EEE1F8 0%, #F7E3EE 100%);
}

.hero-doctor {
  position: relative;
  height: 640px;
  width: auto;
  max-width: none;
  margin-bottom: -120px;   /* equals the hero's bottom padding */
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(85, 43, 120, 0.22));
  /* Dissolve the lower body instead of ending on a hard edge — otherwise a
     wedge of dark trousers shows through the gaps between the cards below. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 66%, rgba(0, 0, 0, 0) 84%);
  mask-image: linear-gradient(180deg, #000 0%, #000 66%, rgba(0, 0, 0, 0) 84%);
}

/* Floating cards */
.float-card {
  position: absolute;
  z-index: 2;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(85, 43, 120, 0.16);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.float-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
}

.float-card span:not(.float-icon):not(.float-more) {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}

.float-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.float-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.float-accred { top: 6%; right: -6%; }
.float-network { top: 34%; left: -12%; }
.float-savings {
  bottom: 12%;
  right: -10%;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.float-avatars { display: flex; align-items: center; }

.float-avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  margin-left: -10px;
  background: var(--brand-soft);
}

.float-avatars img:first-child { margin-left: 0; }

.float-more {
  width: 34px;
  height: 34px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: var(--brand);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.minichart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 48px;
  width: 148px;
}

.minichart i {
  flex: 1;
  height: var(--h);
  border-radius: 3px;
  background: var(--brand-soft);
}

.minichart i:nth-child(4),
.minichart i:nth-child(6) { background: var(--pink-deep); }

/* Slider controls, on a light surface now */
.slider-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Autoplay that runs longer than 5s needs a way to stop it (WCAG 2.2.2). */
.slider-toggle {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28, 36, 72, 0.22);
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.slider-toggle:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}

.slider-toggle .icon-play { display: none; }
.slider-toggle.paused .icon-pause { display: none; }
.slider-toggle.paused .icon-play { display: block; }

.dot {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(28, 36, 72, 0.2);
  cursor: pointer;
  transition: width 0.35s var(--ease-out), background-color 0.35s var(--ease);
}

/* Keeps the 12px dot but gives it a 24px pointer target (WCAG 2.5.8) without
   changing the layout. The 14px gap stops adjacent targets overlapping. */
.dot::after {
  content: '';
  position: absolute;
  inset: -6px;
}

.dot:hover { background-color: rgba(28, 36, 72, 0.38); }

.dot.active {
  width: 34px;
  border-radius: 6px;
  background-color: var(--pink-deep);
}

/* Quick Action Bar */
.quick-bar-wrapper {
  margin-top: -64px;
  position: relative;
  z-index: 10;
}

.quick-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.quick-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease);
  border: 1px solid var(--border-color);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.quick-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.quick-card:hover .quick-icon {
  background-color: var(--brand);
  color: #FFFFFF;
}

.quick-info .quick-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.quick-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 100px 0;
}

/* Skips rendering work for offscreen sections without changing their size. */
/* Each section gets a placeholder close to its real height; a single shared
   guess makes the scrollbar and anchor offsets jump as sections render. */
.section-deferred {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

#services  { contain-intrinsic-size: auto 1500px; }
#destinations { contain-intrinsic-size: auto 800px; }
#testimonials { contain-intrinsic-size: auto 820px; }
#about     { contain-intrinsic-size: auto 950px; }
#blog      { contain-intrinsic-size: auto 900px; }
#faq       { contain-intrinsic-size: auto 780px; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-top: 12px;
}

.dark-surface .section-header h2 { color: #FFFFFF; }
.dark-surface .section-header p { color: var(--text-on-dark-dim); }

.bg-alt {
  background-color: var(--bg-alt);
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.step-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.step-num {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  color: rgba(85, 43, 120, 0.07);
  line-height: 1;
  transition: color 0.3s var(--ease);
}

.step-card:hover .step-num { color: rgba(85, 43, 120, 0.14); }

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand-dark) 100%);
  /* Accent pink, not violet — violet-on-navy was effectively invisible. */
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.step-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Specialties */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 24px;
}

.specialty-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease),
              background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}

.specialty-card:hover {
  background-color: var(--navy);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}

.specialty-card:hover h3 { color: #FFFFFF; }
.specialty-card:hover p { color: var(--text-on-dark-dim); }

.specialty-card:hover .specialty-icon {
  background-color: rgba(241, 113, 171, 0.16);
  color: var(--accent);
}

.specialty-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
  flex-shrink: 0;
}

.specialty-card h3 {
  font-size: 1.12rem;
  transition: color 0.3s var(--ease);
}

.specialty-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

/* Second Opinion Banner */
.banner-card {
  margin-top: 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.banner-card::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(241, 113, 171, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.banner-content { position: relative; }

.banner-content h3 {
  color: #FFFFFF;
  margin-bottom: 8px;
}

.banner-content p {
  color: var(--text-on-dark);
  font-size: 1.05rem;
}

.banner-card .btn { position: relative; }

/* Destinations */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.destination-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.destination-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.destination-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(18, 24, 51, 0.94) 12%, rgba(18, 24, 51, 0.55) 48%, rgba(85, 43, 120, 0.28) 100%);
}

.destination-card:hover img {
  transform: scale(1.06);
}

.destination-body {
  padding: 28px;
}

.destination-flag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.destination-card h3 {
  color: #FFFFFF;
  margin-bottom: 10px;
}

.destination-card p {
  color: var(--text-on-dark);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.destination-stats {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-on-dark);
}

.destination-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.destination-stat span {
  font-size: 0.78rem;
  color: var(--text-on-dark-dim);
}

/* Testimonials */
.testimonial-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  color: var(--pink-deep);
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
}

.patient-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* Initials rather than a stock face: these are real quotes from named
   patients, and a stranger's photo would misrepresent them. */
.patient-avatar {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.patient-info .patient-name {
  display: block;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
}

.patient-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Stats */
.stats-section {
  background-color: var(--navy);
  color: #FFFFFF;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item .stat-value {
  /* Accent pink on navy; the violet token here rendered as near-black. */
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-item p {
  color: var(--text-on-dark-dim);
  font-size: 0.95rem;
}

.stats-note {
  margin-top: 36px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.stats-note a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stats-note a:hover { color: var(--accent); }

/* Why Choose Us */
.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-grid {
  display: grid;
  gap: 20px;
}

.feature-box {
  background-color: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease);
}

.feature-box:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 12px;
  background-color: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-box h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Blog */
/* 260px lets all four cards sit on one row at full width, instead of
   leaving a single orphan on a second row. */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.blog-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--navy-deep);
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.blog-card:hover .blog-image img { transform: scale(1.05); }

.blog-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--accent);
  color: var(--accent-ink);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-content h3 {
  font-size: 1.08rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.blog-link .arrow {
  transition: transform 0.25s var(--ease-out);
  display: inline-block;
}

.blog-link:hover { color: var(--pink-deep); }
.blog-link:hover .arrow { transform: translateX(4px); }

/* FAQ */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item.active {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  background: none;
  border: none;
  text-align: left;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--brand);
  transition: transform 0.3s var(--ease);
  display: flex;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Answers are open by default and only collapse once JS is present to
   reopen them — otherwise a reader without JS could never expand them. */
.faq-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.js .faq-body {
  grid-template-rows: 0fr;
}

.js .faq-item.active .faq-body {
  grid-template-rows: 1fr;
}

/* The inner wrapper is what actually collapses; grid-template-rows animates
   to the content's real height, so long answers are never clipped. */
/* overflow:hidden only clips visually — the text stays in the accessibility
   tree, so aria-expanded="false" would be lying. visibility removes it. */
.faq-body > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.35s;
}

.js .faq-item.active .faq-body > div,
html:not(.js) .faq-body > div {
  visibility: visible;
  transition: visibility 0s linear 0s;
}

.faq-body p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact CTA */
.cta-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--brand-dark) 100%);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(circle, rgba(241, 113, 171, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.cta-section .container { position: relative; }

.cta-section h2 {
  color: #FFFFFF;
  margin-bottom: 20px;
  max-width: 820px;
  margin-inline: auto;
}

.cta-lead {
  color: var(--text-on-dark);
  font-size: 1.12rem;
  max-width: 640px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background-color: var(--navy-deep);
  color: var(--text-on-dark-dim);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.94rem;
  color: var(--text-on-dark-dim);
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-logo {
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

/* Scoped to beat `.footer-brand p`, which is one element-selector more
   specific and would otherwise win on colour. */
.footer-brand .footer-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-on-dark-dim);
  width: fit-content;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.9rem;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-info-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info-item a { color: var(--accent); }
.contact-info-item a:hover { text-decoration: underline; }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-on-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom a:hover { color: var(--accent); }

/* Back to top */
.back-to-top {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background-color: var(--brand);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 30px;
  right: 30px;
  box-shadow: var(--shadow-md);
  z-index: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), visibility 0.3s, transform 0.3s var(--ease-out),
              background-color 0.25s var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { background-color: var(--pink-deep); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--pink-deep);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(192, 54, 122, 0.4);
  z-index: 900;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(192, 54, 122, 0.55);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 24, 51, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  /* visibility flips instantly on open (so the dialog is focusable in the
     same tick) but waits for the fade-out to finish on close. */
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0s;
}

.modal-container {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.35s var(--ease-out);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.modal-close:hover {
  background-color: var(--brand);
  color: #FFFFFF;
}

.modal-header {
  margin-bottom: 24px;
  padding-right: 40px;
}

.modal-header h3 { margin-bottom: 8px; }

.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #FAFAFC;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2361617D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(85, 43, 120, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 88px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

/* Honeypot. Not display:none — some bots skip hidden fields, and some
   browsers refuse to submit them. Pushed out of view instead. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-mount:not(:empty) {
  margin: 4px 0 16px;
  display: flex;
  justify-content: center;
}

.form-status {
  margin-top: 12px;
  font-size: 0.85rem;
  text-align: center;
  color: var(--text-muted);
}

.form-status:empty {
  margin-top: 0;
}

.form-status.is-error {
  color: #A3123C;
  background: #FDECF1;
  border: 1px solid #F5C6D4;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 120px);
  max-width: min(460px, calc(100vw - 40px));
  background-color: var(--navy-deep);
  color: #FFFFFF;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  z-index: 4000;
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease);
}

.toast svg { flex-shrink: 0; margin-top: 2px; }

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Scroll reveal — elements start hidden only when JS is present to reveal
   them, so a failed script never leaves the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1080px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero { padding: 44px 0 120px; }

  .hero-figure {
    min-height: 440px;
    order: 2;
  }

  .hero-doctor { height: 470px; margin-bottom: -120px; }

  .hero-blob { width: 360px; height: 360px; bottom: -120px; }

  .float-accred { top: 2%; right: 0; }
  .float-network { top: 30%; left: 0; }
  .float-savings { bottom: 8%; right: 0; }

  .banner-card {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-menu { display: none; }

  .mobile-toggle { display: block; }

  .section { padding: 76px 0; }
}

@media (max-width: 600px) {
  /* Not enough room for logo + CTA + menu button; the same CTA sits at the
     bottom of the drawer, and the hero CTA is a few hundred pixels below. */
  .header-actions > .btn { display: none; }

  .top-bar-contact { display: none; }

  .top-bar-content { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom { justify-content: center; text-align: center; }

  .hero { padding: 32px 0 100px; }

  .hero-figure { min-height: 350px; }
  .hero-doctor { height: 380px; margin-bottom: -100px; }
  .hero-blob { width: 290px; height: 290px; bottom: -100px; }

  /* The floating cards would collide with the figure at this width. */
  .float-card { display: none; }

  .hero-stats { gap: 22px; }
  .hero-stat dt { font-size: 1.5rem; }

  .quick-bar-wrapper { margin-top: -48px; }

  .modal-container { padding: 28px 20px; }

  .banner-card { padding: 32px 24px; }

  .section { padding: 64px 0; }

  .back-to-top { bottom: 20px; right: 20px; }

  .whatsapp-float { bottom: 20px; left: 20px; }
}

/* Honour the OS "reduce motion" setting: no travel, no crossfade drift,
   nothing that animates on its own. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .destination-card:hover img,
  .blog-card:hover .blog-image img {
    transform: none;
  }
}

@media print {
  /* Deferred sections must all render for a printed copy. */
  .section-deferred {
    content-visibility: visible !important;
    contain-intrinsic-size: none !important;
  }

  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .faq-body { grid-template-rows: 1fr !important; }
  .js .faq-body > div { visibility: visible !important; }

  .top-bar, .main-header, .mobile-nav, .back-to-top, .slider-controls,
  .whatsapp-float, .modal-overlay, .hero-media { display: none !important; }

  .hero, .stats-section, .cta-section, .footer {
    background: none !important;
    color: #000 !important;
  }
}
