/* ============================================================
   VIVIDA Meditour — Main Stylesheet
   Design: Clean, trustworthy medical aesthetic
   Fonts: Plus Jakarta Sans (body) + Cormorant Garamond (headings)
   ============================================================ */

/* ── Google Fonts loaded via <link> in HTML head — not @import ── */
/* Fallbacks: system-ui / Georgia cover offline / XAMPP use      */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  /* Color system — Red · White · Black palette */
  --teal-50:  #fff5f5;
  --teal-100: #ffe0e0;
  --teal-200: #ffbdbd;
  --teal-400: #f56565;
  --teal-500: #e53e3e;
  --teal-600: #c53030;
  --teal-700: #9b2c2c;
  --teal-800: #822727;
  --teal-900: #63171b;

  --navy-800: #1a1a1a;
  --navy-900: #0d0d0d;

  --slate-50: #fafafa;
  --slate-100: #f5f5f5;
  --slate-200: #e5e5e5;
  --slate-300: #d4d4d4;
  --slate-400: #a3a3a3;
  --slate-500: #737373;
  --slate-600: #525252;
  --slate-700: #404040;

  --gold: #d4a843;
  --gold-light: #fef3c7;

  --error: #dc2626;
  --success: #16a34a;
  --warning: #d97706;

  /* Semantic aliases */
  --color-primary: var(--teal-600);
  --color-primary-h: var(--teal-700);
  --color-primary-l: var(--teal-50);
  --color-text: var(--navy-800);
  --color-text-light: var(--slate-500);
  --color-bg: #ffffff;
  --color-bg-alt: var(--slate-50);
  --color-border: var(--slate-200);

  /* Typography */
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --space-xs: 0.375rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Layout */
  --container: 1200px;
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .12), 0 4px 12px rgba(15, 23, 42, .07);
  --shadow-xl: 0 24px 64px rgba(15, 23, 42, .16);

  /* Transitions */
  --trans-fast: 120ms ease;
  --trans-base: 220ms ease;
  --trans-slow: 400ms ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

/* ── Main content wrapper — no extra spacing ── */
#main-content {
  display: block;
  margin: 0;
  padding: 0;
}

/* Eliminate any accidental top margin on the first element inside main */
#main-content>*:first-child {
  margin-top: 0;
}

/* Prevent margin collapse between sticky nav and first hero section */
#main-content>div:first-child,
#main-content>section:first-child {
  margin-top: 0;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

/* Focus styles */
:focus-visible {
  outline: 2.5px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Typography ───────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--navy-900);
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

h4 {
  font-size: 1.2rem;
}

p {
  color: var(--slate-600);
}

.lead {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.75;
}

small {
  font-size: 0.85rem;
}

.text-teal {
  color: var(--color-primary);
}

.text-navy {
  color: var(--navy-900);
}

.text-muted {
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

.font-body {
  font-family: var(--font-body);
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: var(--space-2xl);
}

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

.section--teal {
  background: var(--teal-700);
  color: white;
}

.section--teal h2,
.section--teal h3,
.section--teal p {
  color: white;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--slate-500);
}

/* ── Grid System ──────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans-base);
  white-space: nowrap;
  text-decoration: none !important;
  line-height: 1.3;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-h);
  border-color: var(--color-primary-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 48, 48, .35);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}

.btn-white {
  background: white;
  color: var(--teal-700);
  border-color: white;
}

.btn-white:hover {
  background: var(--teal-50);
  transform: translateY(-1px);
}

.btn-wa {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.btn-wa:hover {
  background: #128C7E;
  border-color: #128C7E;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans-base), transform var(--trans-base);
}

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

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.93rem;
}

/* ── Badge / Pill ─────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.2em 0.75em;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-teal {
  background: var(--teal-100);
  color: var(--teal-800);
}

.badge-navy {
  background: var(--navy-800);
  color: white;
}

.badge-gold {
  background: var(--gold-light);
  color: #78350f;
}

.badge-slate {
  background: var(--slate-100);
  color: var(--slate-700);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--trans-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none !important;
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--color-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.logo-text span {
  font-size: 0.68rem;
  color: var(--slate-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: var(--teal-50);
  text-decoration: none;
}

.header-cta {
  margin-left: 0.75rem;
}

.nav-cta-mobile {
  display: none;
}


/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: all var(--trans-base);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 68px);
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem;
    overflow-y: auto;
    border-top: 1px solid var(--color-border);
    z-index: 99;
  }

  .primary-nav.open {
    display: flex;
    animation: slideDown var(--trans-base) ease;
  }

  .nav-link {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius);
  }

  .nav-cta-mobile {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--teal-50) 0%, #fff 55%, var(--slate-50) 100%);
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-100) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-50) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  color: var(--teal-800);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.hero-eyebrow::before {
  content: '✦';
  font-size: 0.7rem;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: normal;
  color: var(--color-primary);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--slate-500);
  font-weight: 500;
}

.trust-item .icon {
  color: var(--color-primary);
  font-size: 1rem;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: min(380px, 100%);
}

.hero-card-main {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  border: 1px solid var(--slate-100);
}

.hero-card-main .stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  text-align: center;
  padding: 1rem;
  background: var(--teal-50);
  border-radius: var(--radius);
}

.stat-box .num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal-700);
  line-height: 1;
}

.stat-box .lbl {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
  display: block;
}

.country-flags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.875rem;
}

.flag-chip {
  font-size: 0.75rem;
  background: var(--slate-100);
  padding: 0.2em 0.6em;
  border-radius: var(--radius-full);
  color: var(--slate-600);
}

.hospital-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--slate-600);
}

.hospital-badge strong {
  color: var(--navy-900);
}

.hero-float-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: white;
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.25rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 130px;
}

.hero-float-badge .big {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.hero-float-badge small {
  font-size: 0.72rem;
  display: block;
  opacity: .9;
  margin-top: 0.15rem;
}

/* ============================================================
   WHY CHOOSE SECTION
   ============================================================ */
.why-grid {
  gap: 1.25rem;
}

.why-card {
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-base);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.why-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.why-card h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.why-card p {
  font-size: 0.88rem;
}

/* ============================================================
   TREATMENTS SECTION
   ============================================================ */
.treatment-grid {
  gap: 1rem;
}

.treatment-tile {
  background: white;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  text-decoration: none !important;
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
}

.treatment-tile::after {
  content: '→';
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  font-size: 1.1rem;
  color: var(--slate-300);
  transition: all var(--trans-base);
}

.treatment-tile:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.treatment-tile:hover::after {
  color: var(--color-primary);
  transform: translateX(4px);
}

.treatment-tile .t-icon {
  font-size: 2rem;
}

.treatment-tile h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy-900);
}

.treatment-tile p {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.5;
  padding-right: 1.5rem;
}

/* ============================================================
   HOW IT WORKS — TIMELINE
   ============================================================ */
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: var(--teal-200);
}

@media (min-width: 768px) {
  .steps-timeline::before {
    left: 50%;
  }
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-block: 1.25rem;
  position: relative;
}

@media (min-width: 768px) {
  .step-item {
    width: 50%;
    align-self: flex-start;
  }

  .step-item:nth-child(even) {
    align-self: flex-end;
    margin-right: 0;
    flex-direction: row-reverse;
    margin-left: auto;
  }

  .step-item:nth-child(even) .step-content {
    text-align: right;
  }
}

.step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--teal-50);
  z-index: 1;
}

.step-content h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.step-content p {
  font-size: 0.88rem;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  gap: 1rem;
}

.service-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-base);
}

.service-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}

.service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--teal-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.service-body h4 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.service-body p {
  font-size: 0.83rem;
}

/* ============================================================
   HOSPITALS
   ============================================================ */
.hospital-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-base);
}

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

.hospital-card-body {
  padding: 1.5rem;
}

.hospital-city {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.375rem;
}

.hospital-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.hospital-card p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hospital-accred {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.hospital-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.spec-tag {
  font-size: 0.73rem;
  background: var(--slate-100);
  color: var(--slate-600);
  padding: 0.2em 0.65em;
  border-radius: var(--radius-full);
}

.hospital-card-footer {
  border-top: 1px solid var(--slate-100);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  background: white;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-600);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-primary);
  background: var(--teal-50);
  color: var(--teal-700);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--teal-100);
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonial-text {
  font-size: 0.93rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.meta-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.meta-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.meta-detail {
  font-size: 0.78rem;
  color: var(--slate-400);
}

/* ============================================================
   FAQ (ACCORDION)
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  gap: 1rem;
  transition: background var(--trans-fast);
}

.faq-trigger:hover {
  background: var(--slate-50);
}

.faq-trigger[aria-expanded="true"] {
  color: var(--color-primary);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--trans-base);
  color: var(--slate-400);
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--trans-slow), padding var(--trans-base);
}

.faq-body.open {
  max-height: 600px;
  padding-bottom: 1.25rem;
}

.faq-body p {
  font-size: 0.9rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 5fr 3fr;
  }
}

.form-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
}

.form-label .req {
  color: var(--error);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--navy-900);
  background: white;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(197, 48, 48, .15);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

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

.field-error {
  font-size: 0.78rem;
  color: var(--error);
  display: none;
}

.field-error.visible {
  display: block;
}

.file-upload-area {
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--trans-base);
}

.file-upload-area:hover,
.file-upload-area.drag-over {
  border-color: var(--color-primary);
  background: var(--teal-50);
}

.file-upload-area input[type="file"] {
  display: none;
}

.upload-label {
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--slate-500);
}

.upload-label strong {
  color: var(--color-primary);
}

.file-list {
  margin-top: 0.75rem;
  font-size: 0.83rem;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.87rem;
  color: var(--slate-600);
}

.consent-row input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

/* Contact sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.contact-info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--slate-100);
  text-decoration: none !important;
  color: inherit;
  transition: color var(--trans-fast);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method:hover .cm-label {
  color: var(--color-primary);
}

.cm-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cm-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.cm-val {
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-base);
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
}

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

.blog-card-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--teal-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.85rem;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.78rem;
  color: var(--slate-400);
}

/* ============================================================
   PAGE HERO (inner pages) — unified across all pages
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 50%, #9b2c2c 100%);
  padding: 5rem 0 4rem;
  color: white;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 62, 62, .15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1,
.page-hero p {
  color: white;
}

.page-hero .eyebrow {
  color: #ffbdbd;
}

/* Global breadcrumb — works inside all hero types */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #ffbdbd;
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: #ffbdbd;
}

.breadcrumb a:hover {
  color: white;
  text-decoration: underline;
}

.breadcrumb-sep {
  opacity: 0.5;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--teal-700);
  color: white;
  padding-block: 4rem;
  text-align: center;
}

.cta-band h2,
.cta-band p {
  color: white;
}

.cta-band h2 {
  margin-bottom: 0.75rem;
}

.cta-band p {
  margin-bottom: 2rem;
  opacity: .85;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

/* ── Pre-footer CTA strip ── */
.footer-cta-strip {
  background: linear-gradient(135deg, var(--teal-700) 0%, #0d0d0d 100%);
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}
.footer-cta-strip::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  pointer-events: none;
}
.footer-cta-strip::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,62,62,.1) 0%, transparent 70%);
  pointer-events: none;
}
.footer-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-cta-text { flex: 1; min-width: 240px; }
.footer-cta-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffbdbd;
  margin-bottom: 0.5rem;
  background: rgba(229,62,62,.15);
  border: 1px solid rgba(229,62,62,.3);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
}
.footer-cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 0.5rem;
}
.footer-cta-text p {
  color: rgba(255,255,255,.78);
  font-size: 0.92rem;
  line-height: 1.6;
}
.footer-cta-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffbdbd !important;
  margin-bottom: 0.5rem;
  background: rgba(229,62,62,.18);
  border: 1px solid rgba(229,62,62,.35);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
}
.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  flex-shrink: 0;
}
.footer-cta-btn { white-space: nowrap; }

/* ── Main footer ── */
.site-footer {
  background: #0d0d0d;
  color: var(--slate-400);
}

.footer-body {
  padding-top: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}

/* ── Logo ── */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none !important;
  margin-bottom: 1rem;
}
.footer-logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(197,48,48,.4);
  flex-shrink: 0;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.footer-logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}
.footer-logo-text span {
  font-size: 0.65rem;
  color: var(--slate-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-about {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--slate-500);
  max-width: 280px;
  margin-bottom: 1.25rem;
}

/* ── Trust badges ── */
.footer-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--slate-400);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

/* ── Social icons ── */
.footer-social {
  display: flex;
  gap: 0.625rem;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  text-decoration: none !important;
  transition: all var(--trans-base);
}
.footer-social-link:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197,48,48,.4);
}
.footer-social-link--wa:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 6px 18px rgba(37,211,102,.35);
}

/* ── Column headings ── */
.footer-col-heading {
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: var(--slate-300) !important;
  margin-bottom: 1.125rem !important;
  position: relative;
  padding-bottom: 0.625rem;
}
.footer-col-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--teal-600);
  border-radius: 2px;
}

/* ── Link list ── */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: var(--slate-500);
  text-decoration: none !important;
  transition: color var(--trans-fast), gap var(--trans-fast);
}
.footer-link svg { color: var(--teal-700); flex-shrink: 0; transition: transform var(--trans-fast); }
.footer-link:hover {
  color: white;
  gap: 0.55rem;
  text-decoration: none !important;
}
.footer-link:hover svg { transform: translateX(2px); color: var(--teal-400); }

/* ── Contact list ── */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 1.5rem;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-400);
  text-decoration: none !important;
  transition: background var(--trans-fast), color var(--trans-fast);
}
a.footer-contact-row:hover {
  background: rgba(255,255,255,.05);
  color: white;
  text-decoration: none !important;
}
.footer-contact-row--addr { cursor: default; align-items: flex-start; }
.footer-contact-row--addr .footer-contact-icon { margin-top: 2px; }

.footer-contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(197,48,48,.15);
  border: 1px solid rgba(197,48,48,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-400);
  flex-shrink: 0;
}
.footer-contact-icon--wa {
  background: rgba(37,211,102,.12);
  border-color: rgba(37,211,102,.25);
  color: #25D366;
}

/* ── Stat chips ── */
.footer-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-stat {
  flex: 1;
  min-width: 64px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0.625rem;
  padding: 0.625rem 0.75rem;
  text-align: center;
}
.footer-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-400);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}
.footer-stat span {
  font-size: 0.65rem;
  color: var(--slate-500);
  font-weight: 500;
  line-height: 1.3;
  display: block;
}

/* ── Disclaimer ── */
.footer-disclaimer {
  background: rgba(255,255,255,.03);
  padding: 1.125rem 0;
  font-size: 0.73rem;
  color: var(--slate-600);
  line-height: 1.65;
}
.footer-disclaimer strong { color: var(--slate-400); }

/* ── Bottom bar ── */
.footer-bottom {
  background: rgba(0,0,0,.2);
  padding-block: 1.25rem;
  font-size: 0.8rem;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
}
.footer-copy { color: var(--slate-500); }
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: var(--slate-500);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color var(--trans-fast);
}
.footer-legal-links a:hover { color: var(--teal-400); text-decoration: none; }
.footer-legal-sep { color: var(--slate-700); }
.footer-made { color: var(--slate-600); font-size: 0.78rem; }

/* Legacy social-link kept for backward compat */
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--slate-400);
  text-decoration: none !important; transition: all var(--trans-fast);
}
.social-link:hover { background: var(--color-primary); color: white; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
  text-decoration: none !important;
  transition: all var(--trans-base);
  animation: waPulse 2.5s ease-in-out infinite;
}

.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .55);
  animation: none;
}

.wa-fab svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
  }

  50% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, .45), 0 0 0 10px rgba(37, 211, 102, .12);
  }
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: var(--navy-900);
  color: white;
  font-size: 0.78rem;
  padding: 0.4em 0.875em;
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: all var(--trans-base);
}

.wa-fab:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   ADMIN STYLES
   ============================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background: var(--navy-900);
  padding: 1.5rem 0;
  flex-shrink: 0;
}

.admin-sidebar .logo {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 1rem;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: var(--slate-400);
  font-size: 0.9rem;
  transition: all var(--trans-fast);
  text-decoration: none !important;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255, 255, 255, .08);
  color: white;
}

.admin-main {
  flex: 1;
  padding: 2rem;
  background: var(--slate-50);
  overflow-y: auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-table th {
  background: var(--slate-50);
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--slate-500);
  border-bottom: 1px solid var(--slate-200);
}

.admin-table td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--slate-100);
  vertical-align: top;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--slate-50);
}

.status-badge {
  padding: 0.2em 0.75em;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-new {
  background: #dbeafe;
  color: #1e40af;
}

.status-in_progress {
  background: #fef3c7;
  color: #92400e;
}

.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================================
   SUCCESS / ERROR PAGES
   ============================================================ */
.result-page {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) 1.25rem;
}

.result-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.result-page h1 {
  margin-bottom: 0.75rem;
}

.result-page p {
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-1 {
  margin-top: 0.375rem;
}

.mt-2 {
  margin-top: 0.75rem;
}

.mt-3 {
  margin-top: 1.25rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.375rem;
}

.mb-2 {
  margin-bottom: 0.75rem;
}

.mb-3 {
  margin-bottom: 1.25rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.gap-2 {
  gap: 0.75rem;
}

.gap-3 {
  gap: 1.25rem;
}

.hidden {
  display: none !important;
}

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

.divider {
  height: 1px;
  background: var(--slate-200);
  margin-block: 2rem;
}

/* Alert */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  border-left: 4px solid;
}

.alert-success {
  background: #f0fdf4;
  border-color: var(--success);
  color: #166534;
}

.alert-error {
  background: #fef2f2;
  border-color: var(--error);
  color: #991b1b;
}

/* ── Print ────────────────────────────────────────────────── */
@media print {

  .site-header,
  .site-footer,
  .wa-fab,
  .nav-toggle {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS — Vertical timeline
══════════════════════════════════════════════════════════ */
.hiw-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.hiw-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hiw-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--teal-50);
  position: relative;
  z-index: 1;
}

.hiw-line {
  flex: 1;
  width: 3px;
  background: var(--teal-200);
  margin-top: .5rem;
}

.hiw-body {
  padding-bottom: 1rem;
}

.hiw-num {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-primary);
  margin-bottom: .3rem;
}

.hiw-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--navy-900);
}

.hiw-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hiw-card {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  background: #fff;
}

.hiw-you {
  border-left: 3px solid var(--teal-300);
}

.hiw-vivida {
  border-left: 3px solid var(--color-primary);
}

.hiw-card-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--slate-500);
  margin-bottom: .5rem;
}

.hiw-card p {
  font-size: .88rem;
  color: var(--slate-600);
  margin: 0;
}

.hiw-timeline-badge {
  display: inline-block;
  margin-top: .75rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  padding: .3rem .8rem;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .hiw-step {
    grid-template-columns: 40px 1fr;
    gap: 1rem;
  }

  .hiw-bubble {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .hiw-cards {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════════════════════════ */
.service-group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .5rem;
}

.service-group-icon {
  font-size: 2rem;
}

.service-group h2 {
  margin: 0;
}

.service-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--slate-200);
  transition: box-shadow .2s;
}

.service-item:hover {
  box-shadow: var(--shadow-md);
}

.service-free {
  border-top: 3px solid var(--success);
}

.service-paid {
  border-top: 3px solid var(--teal-400);
}

.service-badge {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .5rem;
}

.service-free .service-badge {
  color: var(--success);
}

.service-paid .service-badge {
  color: var(--teal-700);
}

.service-item h3 {
  font-size: .95rem;
  margin-bottom: .4rem;
}

.service-item p {
  font-size: .85rem;
  color: var(--slate-600);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   STORIES PAGE
══════════════════════════════════════════════════════════ */
.story-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.story-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.story-flag {
  font-size: 2rem;
}

.story-country {
  font-weight: 700;
  color: var(--navy-900);
}

.story-age {
  font-size: .82rem;
  color: var(--slate-500);
}

.story-quote {
  font-style: italic;
  color: var(--slate-700);
  border-left: 3px solid var(--teal-400);
  padding-left: 1rem;
  margin: 0;
  font-size: .95rem;
}

.story-outcome {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.story-outcome-text {
  font-size: .88rem;
  color: var(--slate-600);
}

.story-hospital {
  font-size: .82rem;
  color: var(--slate-500);
}

.video-placeholder {
  background: var(--slate-800);
  border-radius: var(--radius-lg);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  transition: background .2s;
}

.video-placeholder:hover {
  background: var(--navy-900);
}

.video-play {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.video-label {
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
}

/* ══════════════════════════════════════════════════════════
   FAQ PAGE
══════════════════════════════════════════════════════════ */
.faq-nav {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.faq-nav-link {
  padding: .45rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  background: var(--slate-100);
  color: var(--slate-700);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.faq-nav-link:hover {
  background: var(--teal-100);
  color: var(--teal-800);
}

.faq-group {
  margin-bottom: 3rem;
}

.faq-group-title {
  font-size: 1.2rem;
  border-bottom: 2px solid var(--teal-200);
  padding-bottom: .6rem;
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════════════════
   BLOG PAGE
══════════════════════════════════════════════════════════ */
.blog-cat-nav {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.blog-cat {
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  background: var(--slate-100);
  color: var(--slate-700);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.blog-cat.active,
.blog-cat:hover {
  background: var(--color-primary);
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 180px;
  overflow: hidden;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-img-placeholder {
  font-size: 3rem;
  color: var(--slate-300);
}

.blog-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}

.blog-cat-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-primary);
  background: var(--teal-50);
  padding: .2rem .6rem;
  border-radius: 4px;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--navy-900);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--color-primary);
}

.blog-card-excerpt {
  font-size: .85rem;
  color: var(--slate-600);
  flex: 1;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: .78rem;
  color: var(--slate-400);
  flex-wrap: wrap;
}

.blog-read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: auto;
}

.blog-read-more:hover {
  text-decoration: underline;
}

/* Blog post layout */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.blog-post-hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.blog-post-meta {
  display: flex;
  gap: 1.5rem;
  font-size: .85rem;
  color: var(--slate-500);
  flex-wrap: wrap;
  margin-top: .5rem;
}

.prose {
  max-width: none;
}

.prose h2 {
  margin-top: 2rem;
}

.prose p {
  color: var(--slate-700);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: .4rem;
}

.sidebar-widget {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: .75rem;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.sidebar-links a {
  font-size: .9rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.sidebar-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════
   ADMIN PANEL
══════════════════════════════════════════════════════════ */
.admin-body {
  background: var(--slate-100);
  margin: 0;
  font-family: var(--font-body);
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--navy-900);
  color: #fff;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: 1.25rem;
}

.admin-logo-mark {
  width: 38px;
  height: 38px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.admin-logo-name {
  font-weight: 700;
  font-size: .95rem;
}

.admin-logo-sub {
  font-size: .72rem;
  opacity: .5;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
}

.admin-nav-link {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  padding: .65rem .9rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  transition: background .15s, color .15s;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.admin-nav-logout {
  margin-top: auto;
  color: rgba(255, 100, 100, .8);
}

.admin-nav-logout:hover {
  background: rgba(255, 100, 100, .1);
  color: #fca5a5;
}

.admin-sidebar-user {
  font-size: .75rem;
  opacity: .45;
  padding: .75rem .9rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 1rem;
}

.admin-main {
  padding: 2rem;
  overflow-x: hidden;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-page-title {
  font-size: 1.5rem;
  margin: 0;
}

.admin-badge-count {
  background: var(--teal-100);
  color: var(--teal-800);
  font-weight: 700;
  font-size: .82rem;
  padding: .3rem .9rem;
  border-radius: 999px;
}

.admin-back-link {
  font-size: .85rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.admin-back-link:hover {
  text-decoration: underline;
}

.admin-filters {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.admin-filters .form-input {
  width: auto;
  min-width: 160px;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .88rem;
}

.admin-table th {
  background: var(--slate-50);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--slate-500);
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
  white-space: nowrap;
}

.admin-table td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--slate-100);
  vertical-align: top;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--slate-50);
}

.admin-truncate {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--slate-600);
}

.status-badge {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.status-new {
  background: #dbeafe;
  color: #1e40af;
}

.status-in_progress {
  background: #fef9c3;
  color: #854d0e;
}

.status-completed {
  background: #dcfce7;
  color: #166534;
}

.status-closed {
  background: var(--slate-200);
  color: var(--slate-600);
}

.admin-pagination {
  display: flex;
  gap: .5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.admin-page-link {
  padding: .45rem .85rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--slate-200);
  font-size: .88rem;
  color: var(--slate-700);
  text-decoration: none;
}

.admin-page-link.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.admin-page-link:hover:not(.active) {
  background: var(--slate-50);
}

.admin-empty {
  text-align: center;
  padding: 4rem;
  color: var(--slate-500);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.admin-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
}

.admin-card-title {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: .75rem;
}

.admin-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .5rem 1rem;
}

.admin-dl dt {
  font-size: .8rem;
  font-weight: 600;
  color: var(--slate-500);
  white-space: nowrap;
  padding-top: .15rem;
}

.admin-dl dd {
  font-size: .9rem;
  color: var(--navy-900);
}

.admin-file-item {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .88rem;
  padding: .5rem;
  background: var(--slate-50);
  border-radius: var(--radius);
  margin-bottom: .5rem;
  border: 1px solid var(--slate-200);
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.revealed {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════════════════
   FORM VALIDATION STATES
══════════════════════════════════════════════════════════ */
.input-error {
  border-color: var(--error) !important;
}

.field-error {
  display: block;
  color: var(--error);
  font-size: .8rem;
  margin-top: .25rem;
}

.file-preview-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: .5rem .75rem;
  font-size: .85rem;
  margin-bottom: .5rem;
}

.file-icon {
  font-size: 1.1rem;
}

.file-name {
  flex: 1;
  color: var(--navy-900);
  word-break: break-all;
}

/* ══════════════════════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  text-align: left;
  transition: background var(--trans-fast);
}

.faq-trigger:hover {
  background: var(--slate-50);
}

.faq-trigger[aria-expanded="true"] {
  background: var(--teal-50);
  color: var(--color-primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--slate-400);
  transition: transform var(--trans-base);
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  background: white;
}

.faq-body.open {
  padding: 0 1.5rem 1.25rem;
}

.faq-body p {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.file-size {
  color: var(--slate-400);
  font-size: .75rem;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   PAGE HERO — duplicate removed, defined above at line ~1131
   Additional overrides for specific pages only
══════════════════════════════════════════════════════════ */
.page-hero h1 {
  color: white;
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════════════════
   STORIES
══════════════════════════════════════════════════════════ */
.story-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.story-flag {
  font-size: 2rem;
}

.story-country {
  font-weight: 600;
  color: var(--navy-900);
}

.story-age {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.story-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--slate-700);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.story-outcome {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--slate-50);
  border-radius: var(--radius);
}

.story-outcome-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-900);
}

.story-hospital {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.video-placeholder {
  background: white;
  border: 1px dashed var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-play {
  width: 48px;
  height: 48px;
  background: var(--slate-100);
  color: var(--slate-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.video-label {
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════ */
.cta-band {
  background: var(--teal-600);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--teal-50);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}




/* ═══════════════════════════════════════════════════════════
   TREATMENT DETAIL PAGE — Premium Styles
═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.td-hero {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 50%, #9b2c2c 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.td-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 62, 62, .15) 0%, transparent 70%);
  pointer-events: none;
}

.td-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, .08) 0%, transparent 70%);
  pointer-events: none;
}

.td-hero .breadcrumb {
  margin-bottom: 2rem;
}

.td-hero .breadcrumb,
.td-hero .breadcrumb a {
  color: #ffbdbd;
}

.td-hero .breadcrumb a:hover {
  color: white;
}

.td-hero .breadcrumb-sep {
  color: var(--teal-600);
  opacity: .6;
}

.td-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .td-hero-inner {
    grid-template-columns: 1fr 390px;
  }
}

.td-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(229, 62, 62, .15);
  border: 1px solid rgba(229, 62, 62, .3);
  color: #ffbdbd;
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.td-hero-content h1 {
  color: white;
  margin-bottom: 1rem;
}

.td-hero-lead {
  color: var(--teal-100);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.td-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 2.5rem;
}

.td-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 2rem;
}

.td-stat {
  text-align: center;
}

.td-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.td-stat-lbl {
  display: block;
  font-size: .72rem;
  color: #ffbdbd;
  margin-top: .3rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* Quick Card */
.td-quick-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .2);
  position: sticky;
  top: 90px;
}

.td-quick-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}

.td-quick-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--navy-900);
}

.td-quick-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.td-quick-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--slate-600);
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: .75rem;
  list-style: none;
}

.td-quick-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.td-quick-list li span {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.td-quick-list li strong {
  color: var(--navy-900);
}

/* ── Sticky In-Page Nav ── */
.td-subnav {
  background: white;
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 68px;
  z-index: 49;
  overflow-x: auto;
  scrollbar-width: none;
}

.td-subnav::-webkit-scrollbar {
  display: none;
}

.td-subnav-inner {
  display: flex;
  gap: 0;
  min-width: max-content;
}

.td-subnav-link {
  padding: 1rem 1.25rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--slate-500);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}

.td-subnav-link:hover {
  color: var(--teal-700);
  border-bottom-color: var(--teal-300);
}

.td-subnav-link.active {
  color: var(--teal-700);
  border-bottom-color: var(--teal-600);
  font-weight: 600;
}

/* ── Two Column ── */
.td-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 768px) {
  .td-two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.td-two-col h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-top: .5rem;
}

/* Info Boxes */
.td-info-box {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--teal-200);
}

.td-info-teal {
  background: var(--teal-50);
}

.td-info-box h3 {
  font-size: 1.05rem;
  color: var(--teal-800);
  margin-bottom: 1rem;
}

.td-check-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.td-check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: var(--slate-700);
  list-style: none;
}

.td-check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--teal-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  margin-top: 1px;
}

.td-check-navy li::before {
  background: var(--navy-800);
}

/* ── Symptoms ── */
.td-symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.td-symptom-item {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-base);
}

.td-symptom-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.td-symptom-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-200);
  flex-shrink: 0;
  line-height: 1;
}

.td-symptom-item p {
  font-size: .9rem;
  color: var(--slate-700);
  margin: 0;
}

.td-alert-banner {
  background: #fef9c3;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.td-alert-banner span {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.td-alert-banner p {
  font-size: .9rem;
  color: #78350f;
  margin: 0;
}

.td-alert-banner a {
  color: var(--teal-700);
  font-weight: 600;
}

/* ── Causes & Diagnosis ── */
.td-cause-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.td-cause-list li {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: .9rem;
  color: var(--slate-700);
  padding: .75rem 1rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  list-style: none;
  transition: all var(--trans-fast);
}

.td-cause-list li:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-sm);
}

.td-cause-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-500);
  flex-shrink: 0;
}

.td-diag-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.td-diag-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .875rem 1.25rem;
  background: white;
  border-radius: var(--radius);
  border-left: 3px solid var(--teal-500);
  box-shadow: var(--shadow-sm);
  font-size: .9rem;
  color: var(--slate-700);
  transition: all var(--trans-fast);
}

.td-diag-item:hover {
  border-left-color: var(--teal-700);
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
}

.td-diag-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ── Procedures ── */
.td-proc-grid {
  gap: 1.25rem;
}

.td-proc-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
}

.td-proc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans-base);
}

.td-proc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.td-proc-card:hover::before {
  transform: scaleX(1);
}

.td-proc-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal-100);
  line-height: 1;
  margin-bottom: .75rem;
}

.td-proc-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--navy-900);
}

.td-proc-card p {
  font-size: .87rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.td-proc-link {
  font-size: .83rem;
  font-weight: 600;
  color: var(--teal-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.td-proc-link:hover {
  color: var(--teal-800);
  text-decoration: underline;
}

/* ── Cost Comparison ── */
.td-cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.td-cost-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}

.td-cost-card:hover {
  transform: translateY(-3px);
}

.td-cost-high {
  background: #fef2f2;
  border-color: #fecaca;
}

.td-cost-mid {
  background: #fffbeb;
  border-color: #fde68a;
}

.td-cost-best {
  background: var(--teal-50);
  border-color: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(229, 62, 62, .1);
}

.td-cost-best:hover {
  box-shadow: 0 8px 30px rgba(197, 48, 48, .2), 0 0 0 4px rgba(229, 62, 62, .1);
}

.td-cost-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--teal-600);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .85rem;
  border-bottom-left-radius: var(--radius);
  letter-spacing: .05em;
}

.td-cost-flag {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}

.td-cost-country {
  font-weight: 600;
  color: var(--slate-500);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}

.td-cost-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: .5rem;
  line-height: 1.2;
}

.td-cost-best .td-cost-price {
  color: var(--teal-700);
}

.td-cost-note {
  font-size: .78rem;
  color: var(--slate-500);
}

.td-cost-disclaimer {
  font-size: .82rem;
  color: var(--slate-400);
  text-align: center;
  font-style: italic;
  margin-top: 1rem;
}

/* ── Recovery Timeline ── */
.td-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.td-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 25px;
  bottom: 25px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal-400), var(--teal-200));
}

.td-tl-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1rem 0;
  position: relative;
}

.td-tl-dot {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--teal-600);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1;
  box-shadow: 0 0 0 5px var(--teal-50);
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}

.td-tl-item:hover .td-tl-dot {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px var(--teal-50);
}

.td-tl-body {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.5rem;
  flex: 1;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-base);
}

.td-tl-item:hover .td-tl-body {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-md);
}

.td-tl-phase {
  font-weight: 700;
  color: var(--teal-700);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .3rem;
}

.td-tl-desc {
  font-size: .93rem;
  color: var(--slate-700);
}

/* ── Risks ── */
.td-risk-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1.25rem;
  background: #fef2f2;
  border-radius: var(--radius);
  border-left: 3px solid #fca5a5;
  font-size: .9rem;
  color: var(--slate-700);
  transition: all var(--trans-fast);
}

.td-risk-item:hover {
  border-left-color: #f87171;
  box-shadow: var(--shadow-sm);
}

.td-risk-dot {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fca5a5;
  color: #991b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}


/* ── btn-full override ── */
.btn-full {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* ============================================================
   TREATMENTS GRID & CARDS (Global)
   ============================================================ */
.tr-section { padding: 4rem 0 5rem; }
.tr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

.tr-card {
  background: white;
  border: 1.5px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 0;
  display: flex; flex-direction: column;
  text-decoration: none !important;
  transition: all .3s ease;
  position: relative; overflow: hidden;
}
.tr-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.tr-card:hover { border-color: var(--teal-300); box-shadow: 0 12px 40px rgba(197,48,48,.12), 0 4px 12px rgba(0,0,0,.05); transform: translateY(-4px); }
.tr-card:hover::before { transform: scaleX(1); }

.tr-card-top {
  padding: 1.75rem 1.75rem 1.25rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.tr-card-icon-wrap {
  width: 60px; height: 60px; border-radius: 1rem;
  background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; flex-shrink: 0;
  border: 1px solid var(--teal-200); transition: all .3s;
}
.tr-card:hover .tr-card-icon-wrap { background: linear-gradient(135deg, var(--teal-100), var(--teal-200)); transform: scale(1.08); }
.tr-card-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--slate-100); color: var(--slate-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; transition: all .3s;
  margin-top: 4px;
}
.tr-card:hover .tr-card-arrow { background: var(--teal-600); color: white; transform: translateX(3px); }

.tr-card-body { padding: 0 1.75rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.tr-card-name {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600;
  color: var(--navy-900); margin-bottom: .5rem; line-height: 1.3;
}
.tr-card-desc { font-size: .88rem; color: var(--slate-500); line-height: 1.6; flex: 1; margin-bottom: 1.25rem; }

.tr-card-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--slate-100);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--slate-50);
}
.tr-card-cta-text { font-size: .82rem; font-weight: 600; color: var(--teal-600); }
.tr-card:hover .tr-card-cta-text { color: var(--teal-700); }
.tr-card-tag {
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  background: var(--teal-50); color: var(--teal-700);
  padding: .2rem .7rem; border-radius: 999px; border: 1px solid var(--teal-200);
}

/* Hidden state for filter */
.tr-card.hidden { display: none; }