/* ========================================================================= */
/* INFORM CLINICS 2.0 - BRAND-INTEGRATED DESIGN SYSTEM & VARIABLES            */
/* ========================================================================= */

:root {
  /* Official Brand Colors (Sprint 14 Brand Integration) */
  --color-teal-primary: #0E4F47;      /* Primary Brand Deep Teal */
  --color-teal-hover: #0a3a34;        /* Darker Teal on Hover */
  --color-teal-light: rgba(14, 79, 71, 0.08); /* 8% opacity brand tint */
  --color-gold-accent: #D89A1A;       /* Premium brand gold */
  --color-gold-dark: #B87910;         /* Dark brand gold */
  --color-white: #ffffff;
  --color-pure-white: #ffffff;
  
  /* Alternating Background Colors (Sprint 14 alternating rhythm) */
  --color-bg-light-gray: #fbfbfa;     /* Soft Off-White Background */
  --color-bg-soft-blue: #f4f8f7;      /* Soft Clinical Teal-Blue Tint */
  
  /* Text and borders */
  --color-text-dark: #0f172a;         /* Slate-900 */
  --color-text-muted: #475569;        /* Slate-600 */
  --color-text-light: #f8fafc;
  --color-border-light: rgba(14, 79, 71, 0.15); /* Brand border */
  --color-border-glass: rgba(255, 255, 255, 0.45);
  
  /* Deep Medical Teal (Footer and CTA) */
  --color-deep-teal: #022c22;
  --color-deep-teal-bright: #064e3b;

  /* Spacing Grid (8pt Grid System) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  --space-giant: 80px;

  /* Typography Scale */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Corner Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
  --shadow-premium: 0 20px 25px -5px rgba(14, 79, 71, 0.05), 0 10px 10px -5px rgba(14, 79, 71, 0.02);
  --shadow-glow: 0 0 20px rgba(14, 79, 71, 0.12);

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-normal: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================================================= */
/* SECTION RHYTHM & ALTERNATING BACKGROUNDS                                  */
/* ========================================================================= */

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

.bg-light-gray {
  background-color: var(--color-bg-light-gray);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.bg-soft-blue {
  background-color: var(--color-bg-soft-blue);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

/* ========================================================================= */
/* CSS RESET & ACCESSIBILITY BASE LAYOUTS                                    */
/* ========================================================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: var(--color-pure-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

/* Keyboard accessibility visible focus ring */
:focus-visible {
  outline: 3px solid var(--color-gold-accent) !important;
  outline-offset: 4px;
}

/* Reduced motion settings override */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========================================================================= */
/* REUSABLE GLOBAL COMPONENTS & UTILITIES                                    */
/* ========================================================================= */

.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

@media (max-width: 1024px) {
  .section-padding {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

.section-width-container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header.centered {
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Icon Sizes */
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 20px; height: 20px; }
.icon-md { width: 32px; height: 32px; }
.icon-lg { width: 48px; height: 48px; }
.icon-xl { width: 64px; height: 64px; }
.teal { color: var(--color-teal-primary); }
.gold { color: var(--color-gold-accent); }
.red { color: #dc2626 !important; }
.inline-block { display: inline-block; }
.mr-1 { margin-right: 4px; }
.mr-2 { margin-right: 8px; }
.mb-4 { margin-bottom: 16px; }
.w-full { width: 100%; }

/* Standardized Buttons (Sprint 14: Deep Teal Primary) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 var(--space-md);
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  border: 1px solid var(--color-teal-primary);
  border-radius: var(--radius-pill);
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 var(--space-md);
  background-color: var(--color-white);
  color: var(--color-teal-primary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-pill);
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

.btn-secondary.dark-theme-btn {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
}

.btn-secondary.dark-theme-btn:hover {
  border-color: var(--color-gold-accent);
  color: var(--color-gold-accent);
  background-color: rgba(255,255,255,0.05);
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-teal-primary);
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  transition: color var(--transition-fast), padding var(--transition-fast);
}

.btn-text-link:hover {
  color: var(--color-teal-hover);
}

/* Standardized Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
  border-color: var(--color-border-light);
}

/* ========================================================================= */
/* 1. SKELETON LOADER OVERLAY (Sprint 13 Polish)                             */
/* ========================================================================= */

.skeleton-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-bg-light-gray);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  transition: opacity var(--transition-slow);
}

.skeleton-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
  margin-bottom: var(--space-xl);
}

.skeleton-nav {
  display: flex;
  gap: var(--space-md);
}

.skeleton-hero {
  display: flex;
  flex-grow: 1;
  gap: var(--space-xl);
  padding-top: var(--space-xl);
}

.skeleton-hero-left {
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.skeleton-hero-right {
  width: 55%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skeleton-bar {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
  height: 16px;
}

.logo-skeleton { width: 180px; height: 40px; }
.skeleton-nav .skeleton-bar { width: 80px; height: 16px; }
.btn-skeleton { width: 160px; height: 48px; border-radius: var(--radius-pill); }
.title-skeleton-1 { width: 100%; height: 48px; }
.title-skeleton-2 { width: 80%; height: 48px; }
.text-skeleton-1 { width: 100%; height: 16px; }
.text-skeleton-2 { width: 90%; height: 16px; }
.skeleton-hero-btns { display: flex; gap: var(--space-sm); }
.btn-skeleton-1 { width: 160px; height: 48px; border-radius: var(--radius-pill); }
.btn-skeleton-2 { width: 160px; height: 48px; border-radius: var(--radius-pill); }
.skeleton-circle { width: 420px; height: 420px; border-radius: 50%; background: #f1f5f9; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========================================================================= */
/* 2. ANNOUNCEMENT BAR (Sprint 02 Navigation)                                */
/* ========================================================================= */

#announcement-bar {
  background-color: rgba(14, 79, 71, 0.06); /* Brand light tint */
  border-bottom: 1px solid var(--color-border-light);
  height: 40px;
  overflow: hidden;
  font-size: 0.875rem;
  color: var(--color-teal-primary);
  position: relative;
  z-index: 1000;
  transition: margin-top var(--transition-slow);
}

.announcement-container {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-md);
}

.announcement-ticker {
  position: relative;
  height: 100%;
  width: 50%;
  overflow: hidden;
}

.ticker-item {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 500;
  opacity: 0;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.ticker-item.active {
  top: 0;
  opacity: 1;
}

.ticker-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-gold-accent);
  border-radius: 50%;
  margin-right: var(--space-xs);
}

.announcement-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

#close-announcement {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

#close-announcement:hover {
  background-color: rgba(15, 23, 42, 0.05);
}

/* ========================================================================= */
/* 3. PREMIUM NAVIGATION HEADER (Sprint 02 & Sprint 14 Brand Integration)    */
/* ========================================================================= */

#main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  z-index: 999;
  background-color: transparent;
  transition: height var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal), border-bottom var(--transition-normal);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

/* Scrolled Header State */
#main-header.scrolled {
  height: 72px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border-light);
}

.header-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  padding: 6px 0; /* lowercase "o" clear space equivalent margins */
}

.logo-svg {
  height: 54px; /* Sprint 14 Logo Height 52-56px */
  width: auto;
  transition: transform var(--transition-normal);
}

#main-header.scrolled .logo-svg {
  height: 48px; /* Slightly scaled down on scroll for fit */
}

/* Center Menu navigation */
.desktop-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link, .nav-link-btn {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  position: relative;
  padding: var(--space-xs) 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link::after, .nav-link-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-gold-accent); /* Active/Hover Accent Gold */
  transition: width var(--transition-fast), left var(--transition-fast);
}

.nav-link:hover::after, .nav-link-btn:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.nav-link:hover, .nav-link-btn:hover {
  color: var(--color-teal-primary);
}

.icon-arrow {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-link-btn:hover .icon-arrow {
  transform: translateY(2px);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.action-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-dark);
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.action-icon-btn:hover {
  background-color: rgba(15, 23, 42, 0.05);
  color: var(--color-teal-primary);
}

.whatsapp-action {
  color: #25d366;
}

.whatsapp-action:hover {
  background-color: rgba(37, 211, 102, 0.08);
  color: #128c7e;
}

.language-switcher {
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 4px 8px;
  border: 1px solid var(--color-text-muted);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-dark);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ========================================================================= */
/* MEGA MENU STYLE (Sprint 02 Navigation)                                    */
/* ========================================================================= */

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: -1;
  padding: var(--space-xl) 0;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.mega-column {
  display: flex;
  flex-direction: column;
}

.mega-header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.mega-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.mega-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.mega-links {
  margin-bottom: var(--space-sm);
}

.mega-links li {
  margin-bottom: var(--space-xs);
}

.mega-links a {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.mega-links a:hover {
  color: var(--color-teal-primary);
  padding-left: 4px;
}

.mega-view-all {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  transition: color var(--transition-fast);
}

.mega-view-all:hover {
  color: var(--color-teal-hover);
}

/* ========================================================================= */
/* MOBILE NAV DRAWER STYLE (Sprint 02 Navigation)                             */
/* ========================================================================= */

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 1002;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-slow);
}

.mobile-drawer.open {
  right: 0;
}

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

.drawer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.drawer-logo .logo-bold {
  color: var(--color-text-dark);
}

.drawer-logo .logo-light {
  color: var(--color-teal-primary);
}

#close-mobile-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.mobile-nav-list .drawer-item > a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-dark);
  display: block;
  padding: var(--space-xs) 0;
}

.drawer-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-dark);
  padding: var(--space-xs) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.drawer-accordion-content {
  display: none;
  flex-direction: column;
  padding-left: var(--space-md);
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.drawer-accordion-content.open {
  display: flex;
}

.drawer-sublink {
  font-size: 1rem;
  color: var(--color-text-muted);
  padding: 6px 0;
  display: block;
}

.drawer-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-md);
}

.drawer-contact-info {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ========================================================================= */
/* 4. HERO SECTION (Sprint 14: Soft Blue background, increased doctor size) */
/* ========================================================================= */

.hero-section {
  position: relative;
  min-height: 780px;
  max-height: 860px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Visual Background details */
.hero-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 79, 71, 0.05) 0%, rgba(244,248,247,0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* Abstract Organic Clinical Cell Background Shapes (Sprint 14) */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: 2%;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(circle, rgba(216, 154, 26, 0.06) 0%, transparent 60%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Left (45%) */
.hero-left {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gold-accent); /* Accent Gold for eyebrow/highlights */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-xs);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.125rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.play-circle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-teal-light);
  color: var(--color-teal-primary);
  font-size: 8px;
  text-align: center;
  transition: background-color var(--transition-fast);
}

.btn-text-link:hover .play-circle-icon {
  background-color: var(--color-teal-primary);
  color: var(--color-white);
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.hero-badge .stars {
  color: var(--color-gold-accent);
  font-weight: bold;
}

/* Hero Right (55%) - Portrait 20% Larger Sizing */
.hero-right {
  width: 55%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 540px;
}

.hero-image-backdrop {
  position: absolute;
  width: 440px; /* Increased from 400px by 10% */
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 50%, rgba(244,248,247,0.8) 100%);
  border: 1px solid var(--color-border-light);
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.hero-doctor-img {
  position: relative;
  z-index: 2;
  transition: transform var(--transition-slow);
}

.hero-doctor-img.hero-large {
  width: 380px; /* Increased 20% from 320px */
  height: 480px; /* Increased from 420px */
  object-fit: cover;
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  border-bottom: 2px solid var(--color-teal-primary);
  margin-top: -50px;
}

/* Hero Floating Badges */
.floating-card {
  position: absolute;
  z-index: 3;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  text-align: center;
}

.floating-card .card-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  line-height: 1;
}

.floating-card .card-lbl {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.floating-card .card-stars {
  color: var(--color-gold-accent);
  font-size: 0.8125rem;
  margin-bottom: 2px;
}

.card-1 { top: 8%; left: 4%; }
.card-2 { top: 18%; right: -2%; }
.card-3 { bottom: 18%; left: -2%; }
.card-4 { bottom: 8%; right: 4%; }

/* Micro Floating Animations */
@keyframes float-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.floating-anim-1 { animation: float-1 4s ease-in-out infinite; }
.floating-anim-2 { animation: float-2 4.5s ease-in-out infinite; }
.floating-anim-3 { animation: float-2 3.8s ease-in-out infinite; }
.floating-anim-4 { animation: float-1 4.2s ease-in-out infinite; }

/* Staggered load animation utility */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-left .fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.hero-left .fade-in-up:nth-child(2) { animation-delay: 0.25s; }
.hero-left .fade-in-up:nth-child(3) { animation-delay: 0.4s; }
.hero-left .fade-in-up:nth-child(4) { animation-delay: 0.55s; }
.hero-left .fade-in-up:nth-child(5) { animation-delay: 0.7s; }

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

/* ========================================================================= */
/* ACCREDITATIONS & MEDIA MENTIONS STRIP (Sprint 14 Trust)                   */
/* ========================================================================= */

.accreditation-media-strip {
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-md) 0;
}

.media-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: 6px 0;
}

.media-row.line-top {
  border-top: 1px dashed var(--color-border-light);
  margin-top: var(--space-xs);
  padding-top: var(--space-sm);
}

.media-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}

.badge-logos, .media-logos {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.logo-item {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  border-left: 2px solid var(--color-gold-accent);
  padding-left: var(--space-xs);
}

.media-logo {
  font-size: 0.875rem;
  font-weight: 700;
  color: #cbd5e1; /* Grayscaled initially */
  transition: color var(--transition-fast);
  cursor: default;
}

.media-logo:hover {
  color: var(--color-text-muted);
}

/* ========================================================================= */
/* 5. TRUST STRIP (Sprint 04 Section 1)                                      */
/* ========================================================================= */

#trust-strip {
  border-bottom: 1px solid var(--color-border-light);
  height: 120px;
  display: flex;
  align-items: center;
}

.trust-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
}

.trust-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-fast);
}

.trust-col:hover {
  transform: translateY(-2px);
}

.trust-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.1;
  margin-top: 4px;
}

.trust-lbl {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ========================================================================= */
/* 6. INTERACTIVE TREATMENT FINDER (Sprint 14 Polish)                         */
/* ========================================================================= */

.finder-width-container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 64px;
  padding-right: 64px;
}

@media (max-width: 1024px) {
  .finder-width-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 768px) {
  .finder-width-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.concern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.concern-card {
  position: relative;
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg); /* Consistent internal padding */
  cursor: pointer;
  height: 100%; /* Equal height stretched by grid */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

/* Staggered entrance animation delays (using our scroll observer) */
.concern-card.animate-scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.concern-card.animate-scroll-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}

.concern-card.animate-scroll-fade:nth-child(1) { transition-delay: 0.05s; }
.concern-card.animate-scroll-fade:nth-child(2) { transition-delay: 0.15s; }
.concern-card.animate-scroll-fade:nth-child(3) { transition-delay: 0.25s; }
.concern-card.animate-scroll-fade:nth-child(4) { transition-delay: 0.35s; }
.concern-card.animate-scroll-fade:nth-child(5) { transition-delay: 0.45s; }
.concern-card.animate-scroll-fade:nth-child(6) { transition-delay: 0.55s; }

/* Focus and active styles */
.concern-card:focus-visible {
  outline: 3px solid var(--color-gold-accent);
  outline-offset: 4px;
}

/* Premium Hover effects (Sprint 14 requirements) */
.concern-card:hover {
  transform: translateY(-4px) scale(1.01); /* Subtle elevation */
  border-color: var(--color-teal-primary); /* Border color transition */
  box-shadow: var(--shadow-premium); /* Soft shadow */
  background-color: var(--color-white);
}

.concern-card.active {
  border-color: var(--color-teal-primary);
  background-color: var(--color-teal-light);
  box-shadow: var(--shadow-premium);
}

.card-status-check {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.concern-card.active .card-status-check {
  opacity: 1;
  transform: scale(1);
}

.card-icon {
  margin-bottom: var(--space-sm);
  color: var(--color-teal-primary);
  transition: transform var(--transition-normal);
}

.concern-card:hover .card-icon {
  transform: scale(1.08); /* Icon scaling on hover */
}

.concern-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text-dark);
}

.concern-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.card-arrow {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  margin-top: auto;
  transition: transform var(--transition-fast);
}

.concern-card:hover .card-arrow {
  transform: translateX(4px);
}

/* Recommendations container */
.recommendations-container {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  display: none;
  animation: filterReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.recommendations-container.show {
  display: block;
}

@keyframes filterReveal {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.recommend-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  border-left: 4px solid var(--color-teal-primary);
  padding-left: var(--space-xs);
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.recommend-card-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.not-sure-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.not-sure-footer p {
  font-weight: 500;
  color: var(--color-text-dark);
}

/* ========================================================================= */
/* 7. FEATURED TREATMENTS (Sprint 05)                                        */
/* ========================================================================= */

.filter-chips-wrapper, .specialist-filter-chips, .transformation-filter-chips, .popular-topics-row, .popular-faq-chips {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.filter-chip, .topic-chip, .faq-chip {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.filter-chip:hover, .topic-chip:hover, .faq-chip:hover {
  border-color: var(--color-teal-primary);
  color: var(--color-teal-primary);
  transform: translateY(-1px);
}

.filter-chip.active, .topic-chip.active, .faq-chip.active {
  background-color: var(--color-teal-primary);
  border-color: var(--color-teal-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xxl);
}

.treatment-card-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.treatment-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.treatment-card-item:hover .treatment-img {
  transform: scale(1.05);
}

.treatment-tag-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(14, 79, 71, 0.95);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.card-body {
  padding: var(--space-md);
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text-dark);
}

.card-body p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

.treatment-meta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-top: 1px dashed var(--color-border-light);
  padding-top: var(--space-sm);
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Sprint 14 Treatment Density updates styling */
.treatment-density-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  margin-bottom: var(--space-md);
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-xs);
}

.price-lbl strong {
  color: var(--color-teal-primary);
  font-size: 0.9375rem;
}

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

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

/* Spotlight featured layout */
.spotlight-container {
  display: flex;
  gap: var(--space-lg);
  background-color: var(--color-white);
  margin-top: var(--space-xxl);
  overflow: hidden;
  padding: var(--space-lg);
}

.spotlight-left {
  width: 40%;
}

.spotlight-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.spotlight-right {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gold-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.spotlight-right h3 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.spotlight-intro {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.spotlight-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.spotlight-spec {
  display: flex;
  flex-direction: column;
}

.spotlight-spec strong {
  font-size: 0.8125rem;
  color: var(--color-text-dark);
}

.spotlight-spec span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.spotlight-actions {
  display: flex;
  gap: var(--space-sm);
}

/* ========================================================================= */
/* 8. MEET OUR SPECIALISTS (Sprint 06)                                       */
/* ========================================================================= */

.doctors-grid-wrapper {
  position: relative;
  margin-bottom: var(--space-xxl);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.doctor-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.doctor-card.hidden {
  display: none;
}

.doc-portrait-wrap {
  height: 280px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-bg-light-gray);
}

/* Available Today Badge (Pulse green dot) */
.available-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(255,255,255,0.9);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  z-index: 4;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #16a34a;
  border-radius: 50%;
  animation: pulsePulsing 1.8s infinite;
}

@keyframes pulsePulsing {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.available-badge.grey-badge {
  color: var(--color-text-muted);
}
.pulse-dot.grey {
  background-color: #94a3b8;
  animation: none;
}

.doc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.doctor-card:hover .doc-img {
  transform: scale(1.04);
}

.doc-info {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doc-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.doc-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.verified-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  font-size: 10px;
  font-weight: bold;
  cursor: default;
}

.doc-degrees {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.doc-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-xs);
}

.doc-rating {
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.doc-rating .stars {
  color: var(--color-gold-accent);
}

/* Dual CTAs in Doctor Cards (Sprint 14) */
.doc-actions-dual {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-xs);
  margin-top: auto;
}

.doc-actions-dual .btn-primary,
.doc-actions-dual .btn-secondary {
  height: 40px;
  font-size: 0.8125rem;
}

.whatsapp-doc:hover {
  background-color: rgba(37, 211, 102, 0.08);
  border-color: #25d366;
  color: #128c7e;
}

.doc-profile-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  text-align: center;
  padding: var(--space-xs) 0;
}

.carousel-dots {
  display: none;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: var(--color-teal-primary);
  transform: scale(1.2);
}

/* Horizontal Featured specialist card */
.featured-specialist-block {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xxl);
  padding: var(--space-lg);
}

.feat-doc-left {
  width: 35%;
}

.feat-doc-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.feat-doc-right {
  width: 65%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feat-doc-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.feat-doc-right h3 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
}

.feat-doc-title {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.feat-doc-intro {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.feat-doc-bullets {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.feat-bullet {
  display: flex;
  flex-direction: column;
}

.feat-bullet strong {
  font-size: 0.875rem;
  color: var(--color-text-dark);
}

.feat-bullet span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.feat-doc-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Specialists trust indicators below cards */
.specialist-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-xl);
  margin-top: var(--space-xl);
}

.spec-trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spec-trust-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: var(--space-xs);
  margin-bottom: 2px;
}

.spec-trust-item p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ========================================================================= */
/* 9. MEDICAL TECHNOLOGY (Sprint 07)                                         */
/* ========================================================================= */

.technology-split-wrapper {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: var(--space-lg);
  margin-bottom: var(--space-giant);
}

.tech-left-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.tech-nav-btn {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.tech-nav-btn:hover {
  border-color: var(--color-teal-primary);
  box-shadow: var(--shadow-md);
}

.tech-nav-btn.active {
  background-color: var(--color-teal-light);
  border-color: var(--color-teal-primary);
  box-shadow: var(--shadow-premium);
}

.btn-txt-wrap {
  display: flex;
  flex-direction: column;
}

.btn-txt-wrap strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.btn-txt-wrap span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Right Technology Details Layout */
.tech-right-panel {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  animation: filterReveal 0.4s ease forwards;
}

.tech-detail-flex {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.tech-detail-img-wrap {
  width: 40%;
}

.tech-eq-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Interactive hotspots overlays styling (Sprint 14) */
.relative { position: relative; }
.hotspots-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}
.hotspot-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: auto;
  cursor: help;
}

.hotspot-dot .dot-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: var(--color-gold-accent);
  border-radius: 50%;
}

.hotspot-dot .ping {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-gold-accent);
  border-radius: 50%;
  animation: hotspotPing 1.6s infinite ease-out;
}

@keyframes hotspotPing {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Custom Tooltip text layout */
.hotspot-dot::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 220px;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  font-size: 0.75rem;
  line-height: 1.35;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 10;
}

.hotspot-dot:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tech-detail-info {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tech-detail-info h3 {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.tech-overview {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.tech-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.tech-spec-pill {
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--color-bg-light-gray);
  border: 1px solid var(--color-border-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.tech-rec-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background-color: var(--color-teal-light);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.tech-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Key benefits grid inside tech */
.benefits-header {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-md);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.benefit-card {
  padding: var(--space-sm);
  border-radius: var(--radius-md);
}

.benefit-card h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  margin-bottom: 2px;
}

.benefit-card p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Comparison Table */
.comparison-table-wrapper {
  margin-top: var(--space-giant);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.comp-table-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: var(--space-sm);
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.95rem;
}

.comparison-table th {
  font-weight: 600;
  color: var(--color-text-dark);
}

.comparison-table td strong {
  font-weight: 600;
}

.comparison-table .active-col {
  background-color: var(--color-teal-light);
  border-left: 2px solid var(--color-teal-primary);
  border-right: 2px solid var(--color-teal-primary);
  font-weight: 500;
}

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

/* Horizontal Timeline Process Flow */
.tech-timeline-wrapper {
  margin-top: var(--space-giant);
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.tech-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: var(--space-md) 0;
}

.timeline-line {
  position: absolute;
  top: 40px;
  left: 5%;
  width: 90%;
  height: 2px;
  background-color: #cbd5e1;
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 18%;
}

.step-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.timeline-step.active .step-dot {
  border-color: var(--color-teal-primary);
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.timeline-step strong {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.timeline-step p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* Technology trust indicators footer block */
.tech-trust-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-giant);
}

.tech-trust-card {
  padding: var(--space-md);
}

.tech-trust-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: var(--space-xs);
  margin-bottom: 2px;
}

.tech-trust-card p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ========================================================================= */
/* 10. BEFORE & AFTER TRANSFORMATION GALLERY (Sprint 08)                     */
/* ========================================================================= */

.featured-transformation-wrapper {
  display: flex;
  background-color: var(--color-white);
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.slider-wrapper {
  width: 60%;
  position: relative;
  background-color: #cbd5e1;
  user-select: none;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.img-before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid transparent;
}

.img-before-wrap .slider-img {
  width: 100%;
  max-width: none;
}

/* Custom Draggable Handle bar */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: var(--color-white);
  cursor: ew-resize;
  z-index: 5;
}

.handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  border: 2px solid var(--color-white);
  cursor: ew-resize;
  gap: 2px;
}

.lbl-badge {
  position: absolute;
  top: 16px; /* Shift to top corner to clear bottom space */
  background-color: rgba(14, 79, 71, 0.8);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  z-index: 4;
}

.before-lbl { left: 16px; }
.after-lbl { right: 16px; }

/* Video Case study label indicator (Sprint 14) */
.slider-video-indicator {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background-color: rgba(216, 154, 26, 0.9); /* Premium Gold back */
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  z-index: 4;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color var(--transition-fast);
}

.slider-video-indicator:hover {
  background-color: var(--color-gold-dark);
}

/* Details Panel (Right 40%) */
.transformation-details {
  width: 40%;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.details-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.transformation-details h3 {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.details-specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: var(--space-sm);
}

.details-spec {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.details-spec strong {
  color: var(--color-text-muted);
}

.details-spec span {
  font-weight: 500;
  color: var(--color-text-dark);
}

.patient-story-box {
  background-color: var(--color-bg-light-gray);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

.patient-story-box strong {
  display: block;
  margin-bottom: 4px;
}

.details-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Transformation cards grid below */
.transformation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.trans-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.trans-card.active-card {
  border-color: var(--color-teal-primary);
  background-color: var(--color-teal-light);
}

.trans-thumbnails {
  display: flex;
  height: 140px;
  border-bottom: 1px solid var(--color-border-light);
}

.thumb-img-wrap {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.thumb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-img-wrap span {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background-color: rgba(15,23,42,0.65);
  color: var(--color-white);
  font-size: 0.625rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.trans-info {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.verified-check-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 2px;
}

.trans-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.trans-concern {
  font-size: 0.75rem;
  color: var(--color-teal-primary);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.trans-summary {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

.trans-doctor {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

/* Educational Disclaimer panel */
.educational-disclaimer-panel {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  background-color: rgba(216, 154, 26, 0.05); /* Warm light Gold tint */
  border: 1px solid rgba(216, 154, 26, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.disc-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-gold-dark);
  margin-bottom: 2px;
}

.disc-text p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ========================================================================= */
/* 11. PATIENT SUCCESS STORIES (Sprint 09 Testimonials)                      */
/* ========================================================================= */

.success-stories-wrapper {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-giant);
}

/* Featured Story layout */
.featured-story-block {
  width: 65%;
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
}

.story-video-thumbnail {
  width: 45%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.video-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px rgba(14,79,71,0.5);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  padding-left: 4px;
}

.play-overlay-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--color-teal-hover);
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 18px solid var(--color-white);
}

.video-duration-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.75rem;
  background-color: rgba(15,23,42,0.85);
  color: var(--color-white);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.story-text-info {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.verified-patient-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #16a34a;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.story-text-info h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  margin: var(--space-xs) 0 var(--space-sm) 0;
  color: var(--color-text-dark);
}

.story-quote {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.story-author-details-expanded {
  font-size: 0.8125rem;
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-xs);
  gap: 2px;
}

.story-author-details-expanded strong {
  color: var(--color-text-dark);
}

.patient-location {
  color: var(--color-text-muted);
  font-weight: 500;
  margin-left: 6px;
}

.story-treatment-info, .story-doctor-info {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.story-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Right story cards (35% width) */
.story-cards-grid {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.story-mini-card {
  padding: var(--space-md);
  cursor: pointer;
}

.story-mini-card.active {
  border-color: var(--color-teal-primary);
  background-color: var(--color-teal-light);
}

.story-mini-card .verified-badge {
  font-size: 0.6875rem;
  color: #16a34a;
  font-weight: 600;
}

.story-mini-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 2px 0 var(--space-xs) 0;
}

.story-mini-card p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: var(--space-xs);
}

.author-row-expanded {
  font-size: 0.75rem;
  margin-bottom: var(--space-xs);
  display: flex;
  justify-content: space-between;
  color: var(--color-text-muted);
}

/* Google Reviews Summary Feed block */
.google-reviews-section {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: var(--space-lg);
  margin-bottom: var(--space-giant);
}

.reviews-summary-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: var(--space-lg);
  border: 1px solid var(--color-border-light);
}

.google-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-teal-primary);
  border-bottom: 2px solid var(--color-gold-accent);
  padding-bottom: 4px;
}

.stars-large {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gold-accent);
  margin: var(--space-xs) 0;
}

.reviews-summary-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.reviews-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.review-feed-card {
  padding: var(--space-md);
  height: 100%;
}

.review-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  margin-bottom: 2px;
}

.review-header .loc {
  color: var(--color-text-muted);
  font-weight: 500;
}

.verified-tag {
  color: #16a34a;
  font-weight: 600;
}

.review-stars {
  color: var(--color-gold-accent);
  font-size: 0.75rem;
  margin-bottom: var(--space-xs);
}

.review-feed-card p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.review-treatment {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  display: block;
}

/* Video library horizontal scroll */
.video-library-section {
  margin-bottom: var(--space-giant);
}

.lib-header {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.video-library-scroll {
  display: flex;
  overflow-x: auto;
  gap: var(--space-md);
  padding-bottom: var(--space-sm);
  scroll-snap-type: x mandatory;
}

/* Hide scrollbar */
.video-library-scroll::-webkit-scrollbar {
  height: 6px;
}
.video-library-scroll::-webkit-scrollbar-thumb {
  background-color: var(--color-border-light);
  border-radius: 4px;
}

.video-lib-card {
  min-width: 280px;
  width: 280px;
  scroll-snap-align: start;
}

.lib-thumb-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xs);
}

.lib-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lib-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  padding-left: 2px;
}

.play-triangle-sm {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--color-white);
}

.video-lib-card strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1px;
}

.video-lib-card span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Trust panel and disclaimer footer */
.stories-trust-panel {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-md) 0;
  margin-bottom: var(--space-md);
}

.panel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.stories-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================================================= */
/* 12. CONSULTATION JOURNEY TIMELINE (Sprint 10)                             */
/* ========================================================================= */

.journey-timeline-wrapper {
  position: relative;
  margin-bottom: var(--space-giant);
  padding: var(--space-md) 0;
}

.journey-progress-line {
  position: absolute;
  top: 110px;
  left: 8%;
  width: 0%; /* Animates dynamically on scroll */
  max-width: 84%;
  height: 3px;
  background-color: var(--color-teal-primary);
  z-index: 1;
  transition: width var(--transition-slow);
}

/* Base line shadow */
.journey-timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 110px;
  left: 8%;
  width: 84%;
  height: 3px;
  background-color: #cbd5e1;
  z-index: 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
  position: relative;
  z-index: 2;
}

.journey-step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-sm);
  background-color: var(--color-white);
  height: 100%;
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: var(--space-xs);
  transition: color var(--transition-fast);
}

.journey-step-card:hover .step-num {
  color: var(--color-teal-light);
}

.step-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.journey-step-card.active .step-icon-wrap {
  border-color: var(--color-teal-primary);
  background-color: var(--color-teal-light);
}

.journey-step-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.journey-step-card p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Consultation Panel CTA card */
.journey-cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  background-color: var(--color-white);
  margin-bottom: var(--space-giant);
}

.cta-panel-left {
  width: 60%;
}

.cta-panel-left h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.cta-panel-left p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.cta-trust-items {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  gap: var(--space-xs);
}

.cta-panel-right {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
}

/* Quick Contact block grid */
.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.contact-item strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-dark);
}

.contact-item p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* ========================================================================= */
/* 13. FAQ & HEALTHCARE KNOWLEDGE CENTER (Sprint 11 & Sprint 14 updates)     */
/* ========================================================================= */

.faq-split-wrapper {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-lg);
}

.faq-accordion-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.accordion-item-wrap {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.accordion-item-wrap.hidden-faq {
  display: none;
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-md);
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.accordion-trigger:hover {
  background-color: var(--color-teal-light);
}

.accordion-indicator {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 300;
  color: var(--color-teal-primary);
  transition: transform var(--transition-fast);
}

.accordion-item-wrap.open .accordion-indicator {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-content p {
  padding: 0 var(--space-md) var(--space-xs) var(--space-md);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Related Treatments links inside FAQs (Sprint 14) */
.related-treatments {
  padding: 0 var(--space-md) var(--space-md) var(--space-md);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.related-treatments a {
  color: var(--color-gold-accent);
  transition: color var(--transition-fast);
}
.related-treatments a:hover {
  color: var(--color-gold-dark);
}

/* FAQ search styling */
.faq-search-box {
  margin-bottom: var(--space-xs);
}

/* Sticky Help Box below FAQ Accordion (Sprint 14) */
.faq-sticky-help-box {
  margin-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-teal-light);
  border: 1px solid var(--color-border-light);
  padding: var(--space-md);
}

.help-box-content strong {
  font-size: 0.875rem;
  color: var(--color-teal-primary);
  display: block;
}

.help-box-content p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
  line-height: 1.35;
}

.help-box-actions {
  display: flex;
  gap: var(--space-xs);
}

.faq-sticky-help-box .btn-primary,
.faq-sticky-help-box .btn-secondary {
  height: 38px;
  font-size: 0.75rem;
}

/* Right Knowledge Panel */
.knowledge-center-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.kb-search-box {
  position: relative;
}

.search-input-wrap {
  position: relative;
}

#kb-search-input, #faq-search-input {
  width: 100%;
  height: 48px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-pill);
  padding: 0 var(--space-lg) 0 var(--space-xl);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#kb-search-input:focus, #faq-search-input:focus {
  border-color: var(--color-teal-primary);
  box-shadow: var(--shadow-glow);
  outline: none;
}

.search-icon {
  position: absolute;
  top: 14px;
  left: 18px;
  color: var(--color-text-muted);
}

/* Autocomplete search results */
.search-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.search-autocomplete-dropdown.show {
  display: flex;
}

.search-autocomplete-dropdown li {
  padding: var(--space-xs) var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color var(--transition-fast);
}

.search-autocomplete-dropdown li:hover {
  background-color: var(--color-teal-light);
  color: var(--color-teal-primary);
}

.search-autocomplete-dropdown li:last-child {
  border-bottom: none;
}

/* Topic chips and Knowledge deck */
.popular-topics-row {
  justify-content: flex-start;
  margin-bottom: 0;
  font-size: 0.8125rem;
}

.popular-topics-row span {
  font-weight: 600;
  color: var(--color-text-muted);
}

.topic-chips {
  display: flex;
  gap: var(--space-xs);
}

.topic-chip {
  padding: 6px 12px;
}

.kb-deck {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.kb-card {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm);
  overflow: hidden;
  align-items: center;
}

.kb-card.hidden {
  display: none;
}

.kb-thumb {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.kb-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.kb-category {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  text-transform: uppercase;
}

.kb-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 2px 0 var(--space-xs) 0;
}

.kb-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

.kb-meta span {
  color: var(--color-text-muted);
}

/* Help Panel side widget */
.kb-help-widget {
  padding: var(--space-md);
  background-color: var(--color-teal-light);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.kb-help-widget h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.kb-help-widget p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.help-actions {
  display: flex;
  gap: var(--space-sm);
}

/* ========================================================================= */
/* 14. PRE-FOOTER CALL-TO-ACTION (Deep Teal background)                      */
/* ========================================================================= */

#pre-footer-cta {
  background-color: var(--color-deep-teal);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.cta-inner-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.cta-inner-container h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.cta-inner-container p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.pre-footer-btns {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.pre-footer-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.pre-footer-trust-badges.white-theme span {
  color: rgba(255,255,255,0.75);
}

/* ========================================================================= */
/* 15. PREMIUM FOOTER COMMAND CENTER (Deep Medical Teal & Gold theme)        */
/* ========================================================================= */

#main-footer {
  background-color: var(--color-deep-teal);
  color: var(--color-white);
  padding-top: var(--space-giant);
  padding-bottom: var(--space-md);
}

.footer-grid-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl) var(--space-md);
  display: grid;
  grid-template-columns: 32% repeat(3, 1fr); /* 2% shift to column 1 clear space */
  gap: var(--space-xl);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title-mobile-only {
  display: none;
}

.footer-logo {
  margin-bottom: var(--space-sm);
}

.logo-svg-large {
  height: 72px; /* Larger Footer Logo (Sprint 14) */
  width: auto;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.footer-social-icons {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.footer-social-icons a:hover {
  border-color: var(--color-gold-accent);
  color: var(--color-gold-accent);
  transform: translateY(-2px);
}

/* Newsletter Input */
.footer-newsletter-form label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-xs);
}

.newsletter-input-group {
  display: flex;
  gap: var(--space-xs);
}

#newsletter-email {
  flex-grow: 1;
  height: 42px;
  background-color: var(--color-deep-teal-bright);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0 var(--space-sm);
  color: var(--color-white);
  font-size: 0.875rem;
}

#newsletter-email:focus {
  border-color: var(--color-gold-accent);
  outline: none;
}

#newsletter-email::placeholder {
  color: rgba(255,255,255,0.4);
}

.footer-newsletter-form .btn-primary {
  height: 42px;
  background-color: var(--color-gold-accent);
  border-color: var(--color-gold-accent);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  padding: 0 var(--space-md);
}

.footer-newsletter-form .btn-primary:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
}

.status-msg {
  display: block;
  font-size: 0.75rem;
  margin-top: 4px;
}

/* Columns titles */
.footer-column-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-white);
  border-left: 3px solid var(--color-gold-accent); /* Accent Gold highlight */
  padding-left: var(--space-xs);
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--color-gold-accent);
  padding-left: 6px;
}

.footer-links-list .accent-link {
  color: var(--color-gold-accent);
  font-weight: 600;
}

.footer-links-list .accent-link:hover {
  color: var(--color-white);
}

/* Contact Column details */
.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-addr {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

.maps-btn {
  height: 38px;
  font-size: 0.8125rem;
  padding: 0 var(--space-sm);
  background-color: transparent;
  color: var(--color-gold-accent);
  border-color: var(--color-gold-accent);
}

.maps-btn:hover {
  background-color: rgba(216, 154, 26, 0.08);
  border-color: var(--color-gold-hover);
  color: var(--color-white);
}

.footer-contact-details p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact-details p strong {
  color: var(--color-white);
}

/* Trust Badges Bar Row */
.footer-trust-badges-bar {
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-trust-badges-bar .badge-item {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-trust-badges-bar .badge-item .stars {
  color: var(--color-gold-accent);
}

/* Bottom Legal Bar */
.footer-bottom-bar {
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-md) 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.copyright-text {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

.creativegraft {
  font-weight: 600;
  color: var(--color-gold-accent);
}

.bottom-links {
  display: flex;
  gap: var(--space-md);
}

.bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

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

/* ========================================================================= */
/* STICKY MOBILE BAR & FLOATING ACTIONS (Sprint 02 & 12)                     */
/* ========================================================================= */

.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border-light);
  padding: var(--space-xs) var(--space-md);
  box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
  z-index: 998;
  display: none;
}

.whatsapp-floating-btn {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 997;
  transition: transform var(--transition-fast);
}

.whatsapp-floating-btn:hover {
  transform: scale(1.08);
}

/* Adjustments when mobile bar is visible */
@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: block;
  }
  .whatsapp-floating-btn {
    bottom: 80px; /* Shift up to avoid blocking the bar */
  }
}

/* ========================================================================= */
/* GLOBAL MODALS (Sprint 02, 09, 11)                                         */
/* ========================================================================= */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none; /* Controlled via JS */
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
  animation: modalFadeIn 0.3s ease;
}

.modal-overlay.fade-out {
  animation: modalFadeOut 0.25s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.modal-content {
  width: 100%;
  max-width: 520px;
  background-color: var(--color-white);
  padding: var(--space-lg);
  position: relative;
  animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-overlay.fade-out .modal-content {
  animation: modalSlideDown 0.25s ease forwards;
}

@keyframes modalSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes modalSlideDown {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(20px); opacity: 0; }
}

.close-modal-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
}

.close-modal-btn:hover {
  background-color: rgba(15,23,42,0.05);
}

.modal-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--color-text-dark);
}

.modal-sub {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-group input, .form-group select {
  height: 44px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 0 var(--space-sm);
  font-size: 0.875rem;
  background-color: var(--color-white);
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--color-teal-primary);
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* Success Message inside modal */
.success-screen-msg {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) 0;
}

.success-check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: var(--space-md);
}

.success-screen-msg h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.success-screen-msg p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Custom Video Player Modal Layout */
.video-modal-content {
  max-width: 800px;
  background-color: #0f172a; /* Dark screen backing */
  padding: 0;
  border: none;
  overflow: hidden;
}

.mock-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
}

.video-placeholder-bg {
  flex-grow: 1;
  background-color: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
}

.pulsing-play {
  color: var(--color-teal-primary);
  animation: playPulse 2s infinite;
}

@keyframes playPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.video-spinner {
  width: 32px;
  height: 32px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top-color: var(--color-teal-primary);
  border-radius: 50%;
  animation: shimmer 1s infinite linear;
  margin: var(--space-sm) 0;
}

.playback-message {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.video-controls-bar {
  height: 56px;
  background-color: rgba(15,23,42,0.9);
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-white);
}

.play-pause-btn, .mute-unmute-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-white);
}

.video-timeline-rail {
  flex-grow: 1;
  height: 4px;
  background-color: rgba(255,255,255,0.25);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.video-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--color-teal-primary);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.video-timer-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}

/* Consultation Drawer Side Panel (Not Sure? flow) */
.side-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background-color: rgba(15,23,42,0.4);
  z-index: 10001;
  display: flex;
  justify-content: flex-end;
  transition: right var(--transition-slow);
}

.side-drawer.open {
  right: 0;
}

.drawer-inner {
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.close-drawer-btn {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-bottom: var(--space-md);
}

.drawer-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.drawer-sub {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.drawer-step {
  display: none;
  flex-direction: column;
  gap: var(--space-md);
}

.drawer-step.active {
  display: flex;
}

.form-label-header {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.quiz-choices {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: var(--color-bg-light-gray);
  border: 1px solid var(--color-border-light);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.quiz-option:hover {
  background-color: var(--color-teal-light);
  border-color: var(--color-teal-primary);
}

.quiz-option input[type="radio"] {
  accent-color: var(--color-teal-primary);
  width: 18px;
  height: 18px;
}

.step-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* ========================================================================= */
/* SCROLL REVEAL ANIMATIONS (Intersection Observers)                         */
/* ========================================================================= */

.animate-scroll-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-scroll-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================================= */
/* RESPONSIVE LAYOUT STACKING                                                */
/* ========================================================================= */

/* Viewports <= 1024px (Tablets) */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .hamburger-btn { display: flex; }
  #main-header { height: 72px; }

  /* Hero Section */
  .hero-section { min-height: auto; max-height: none; padding-top: var(--space-giant); }
  .hero-container { flex-direction: column; gap: var(--space-xl); text-align: center; }
  .hero-left { width: 100%; align-items: center; }
  .hero-subtitle { max-width: 600px; }
  .hero-ctas { justify-content: center; }
  .hero-trust-badges { justify-content: center; }
  .hero-right { width: 100%; height: auto; }
  .hero-image-backdrop { width: 340px; height: 340px; }
  .hero-doctor-img.hero-large { width: 280px; height: 360px; margin-top: -30px; }
  .floating-card { padding: 8px 12px; }

  /* Trust Strip */
  .trust-container { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
  .trust-col:nth-child(4), .trust-col:nth-child(5) { grid-column: span 1; }

  /* Concern Card Finder */
  .concern-grid { grid-template-columns: repeat(2, 1fr); }
  .recommend-grid { grid-template-columns: repeat(2, 1fr); }

  /* Featured Treatments */
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-container { flex-direction: column; }
  .spotlight-left { width: 100%; }
  .spotlight-img { height: 260px; }
  .spotlight-right { width: 100%; }

  /* Specialists Grid */
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-specialist-block { flex-direction: column; }
  .feat-doc-left { width: 100%; }
  .feat-doc-img { height: 280px; }
  .feat-doc-right { width: 100%; }
  .specialist-trust-row { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }

  /* Technology */
  .technology-split-wrapper { grid-template-columns: 1fr; }
  .tech-left-nav { flex-direction: row; overflow-x: auto; padding-bottom: var(--space-xs); }
  .tech-nav-btn { min-width: 220px; }
  .tech-right-panel { width: 100%; }
  .tech-detail-flex { flex-direction: column; }
  .tech-detail-img-wrap { width: 100%; }
  .tech-detail-info { width: 100%; }
  .tech-trust-block { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }

  /* Before & After */
  .featured-transformation-wrapper { flex-direction: column; }
  .slider-wrapper { width: 100%; }
  .transformation-details { width: 100%; }
  .transformation-grid { grid-template-columns: repeat(2, 1fr); }

  /* Success Stories */
  .success-stories-wrapper { flex-direction: column; }
  .featured-story-block { width: 100%; }
  .story-cards-grid { width: 100%; flex-direction: row; }
  .story-mini-card { width: 50%; }
  .google-reviews-section { grid-template-columns: 1fr; }

  /* Consultation Journey */
  .journey-timeline-wrapper::before { top: 38%; height: 24%; width: 3px; left: 50%; }
  .journey-progress-line { display: none; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .journey-cta-panel { flex-direction: column; align-items: center; text-align: center; gap: var(--space-md); }
  .cta-panel-left { width: 100%; }
  .cta-panel-right { width: 100%; align-items: center; }
  .quick-contact-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }

  /* FAQ */
  .faq-split-wrapper { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid-container { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  #footer-col-about { grid-column: span 2; }
}

/* Viewports <= 768px (Mobile Phone Screen sizes) */
@media (max-width: 768px) {
  .announcement-ticker { width: 100%; }
  .announcement-info { display: none; }

  /* Hero Section elements sizing */
  .hero-title { font-size: 2.25rem; }
  .hero-image-backdrop { width: 280px; height: 280px; }
  .hero-doctor-img.hero-large { width: 220px; height: 300px; margin-top: -30px; }
  .floating-card { display: none; }

  /* Trust strip */
  .trust-container { grid-template-columns: 1fr; gap: var(--space-sm); }

  /* Concern Finder */
  .concern-grid { grid-template-columns: 1fr; }
  .recommend-grid { grid-template-columns: 1fr; }

  /* Featured Treatments */
  .catalog-grid { grid-template-columns: 1fr; }
  .spotlight-specs-grid { grid-template-columns: 1fr; }
  .spotlight-actions { flex-direction: column; }

  /* Specialists */
  .doctors-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
  }
  .doctor-card {
    min-width: 100%;
    scroll-snap-align: start;
  }
  .carousel-dots {
    display: flex;
  }
  .specialist-trust-row { grid-template-columns: 1fr; gap: var(--space-md); }

  /* Technology */
  .tech-left-nav { display: none; }
  .tech-detail-flex { gap: var(--space-sm); }
  .benefits-grid { grid-template-columns: 1fr; }
  .tech-timeline { flex-direction: column; align-items: flex-start; padding-left: var(--space-md); }
  .timeline-line { top: 0; left: 32px; width: 2px; height: 80%; }
  .timeline-step { flex-direction: row; width: 100%; text-align: left; gap: var(--space-sm); margin-bottom: var(--space-md); }
  .step-dot { margin-bottom: 0; }
  .tech-trust-block { grid-template-columns: 1fr; }

  /* Before & After */
  .slider-container { height: 340px; }
  .transformation-grid { grid-template-columns: 1fr; }

  /* Success Stories */
  .story-video-thumbnail { width: 100%; }
  .featured-story-block { flex-direction: column; }
  .story-text-info { width: 100%; }
  .story-cards-grid { flex-direction: column; }
  .story-mini-card { width: 100%; }
  .reviews-cards-grid { grid-template-columns: 1fr; }

  /* Journey Timeline */
  .journey-timeline-wrapper::before { display: none; }
  .journey-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .journey-step-card { flex-direction: row; text-align: left; gap: var(--space-sm); }
  .journey-step-card .step-num { font-size: 1.5rem; margin-bottom: 0; }
  .journey-step-card .step-icon-wrap { margin-bottom: 0; min-width: 48px; height: 48px; }
  .quick-contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid-container { grid-template-columns: 1fr; gap: var(--space-md); }
  #footer-col-about { grid-column: span 1; }
  .footer-trust-badges-bar { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom-bar { flex-direction: column; align-items: center; text-align: center; }
}

/* ========================================================================= */
/* TREATMENT DETAIL SPECIFIC COMPONENT STYLES (Sprint 15)                     */
/* ========================================================================= */

.breadcrumb-section {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--color-border-light);
  background-color: var(--color-pure-white);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.breadcrumb-item a {
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--color-teal-primary);
}

.breadcrumb-separator {
  color: #cbd5e1;
}

.breadcrumb-item.active {
  color: var(--color-teal-primary);
  font-weight: 600;
}

/* Hero Badge specific adjustment */
.hero-trust-badges.detail-badges {
  margin-top: var(--space-md);
}

/* Quick Facts Grid */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.fact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-sm);
}

.fact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-teal-light);
  color: var(--color-teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fact-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
}

.fact-info span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 2px;
  display: block;
}

@media (max-width: 768px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
}

/* Ideal Candidate Split */
.candidate-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.candidate-col {
  padding: var(--space-md);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.candidate-col h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.candidate-col.good h3 {
  color: #16a34a;
  border-bottom: 2px solid rgba(22, 163, 74, 0.15);
  padding-bottom: var(--space-xs);
}

.candidate-col.bad h3 {
  color: #dc2626;
  border-bottom: 2px solid rgba(220, 38, 38, 0.15);
  padding-bottom: var(--space-xs);
}

.candidate-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.candidate-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.candidate-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 768px) {
  .candidate-split {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* Pricing Grid */
.pricing-split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-lg);
}

.pricing-main-card {
  padding: var(--space-lg);
  background-color: var(--color-white);
}

.pricing-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
}

.tier-price-wrap h4 {
  font-size: 1.125rem;
  color: var(--color-text-dark);
}

.tier-price-wrap .price-large {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-teal-primary);
  margin-top: 4px;
  display: block;
}

.tier-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-md);
}

.tier-spec-item {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-side-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.emi-box, .insurance-box {
  padding: var(--space-md);
  background-color: var(--color-white);
}

.emi-box h4, .insurance-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.emi-box p, .insurance-box p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .pricing-split {
    grid-template-columns: 1fr;
  }
}

/* Floating Sticky Desktop Booking CTA panel (Sprint 15) */
.sticky-cta-panel-desktop {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 320px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  padding: var(--space-md);
  transform: translateY(180%);
  transition: transform var(--transition-slow);
}

.sticky-cta-panel-desktop.show {
  transform: translateY(0);
}

.sticky-cta-panel-desktop h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--color-text-dark);
}

.sticky-cta-panel-desktop p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.sticky-cta-panel-desktop .btn-primary {
  height: 40px;
  font-size: 0.8125rem;
}

.sticky-cta-panel-desktop .dual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.sticky-cta-panel-desktop .dual-row .btn-secondary {
  height: 38px;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .sticky-cta-panel-desktop {
    display: none !important; /* Mobile uses the bottom sticky booking bar */
  }
}

/* ========================================================================= */
/* SPRINT 14.1 QA OVERRIDES: FOCUS, FLOATING & SCROLL-TOP                     */
/* ========================================================================= */

/* Accessibility Outline Focus Indicators (WCAG AA Contrast compliance) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex="0"]:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--color-gold-accent) !important;
  outline-offset: 4px !important;
}

/* Back To Top Floating button styling */
#back-to-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  cursor: pointer;
}

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

#back-to-top:hover {
  background-color: var(--color-teal-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium);
}

#back-to-top:active {
  transform: translateY(0);
}

/* Floating WhatsApp Override */
.whatsapp-floating-btn {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background-color: #25d366 !important;
  color: var(--color-white) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.6) !important;
  z-index: 998 !important;
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease, box-shadow 0.3s ease !important;
  animation: whatsappPulse 2s infinite !important;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 10px rgba(37, 211, 102, 0) !important;
}

@media (max-width: 1024px) {
  .whatsapp-floating-btn {
    width: 56px !important;
    height: 56px !important;
  }
}

@media (max-width: 768px) {
  .whatsapp-floating-btn {
    width: 52px !important;
    height: 52px !important;
    bottom: 80px !important; /* Shift up to avoid blocking the mobile sticky bar */
  }
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ========================================================================= */
/* SPRINT 15.1 UPGRADES: CANDIDATE GRID, VERTICAL TIMELINE, CASE CHIPS        */
/* ========================================================================= */

.candidate-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

@media (max-width: 1024px) {
  .candidate-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .candidate-grid-4 {
    grid-template-columns: 1fr;
  }
}

.vertical-timeline {
  position: relative;
  padding-left: 56px;
  margin-top: var(--space-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.vertical-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 20px;
  width: 2px;
  background-color: var(--color-border-light);
}

.vertical-timeline-step {
  position: relative;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.vertical-timeline-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal-primary);
}

.vertical-step-icon {
  position: absolute;
  left: -56px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color-teal-light);
  color: var(--color-teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 5;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.vertical-timeline-step:hover .vertical-step-icon {
  background-color: var(--color-teal-primary);
  color: var(--color-white);
}

.vertical-timeline-step h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text-dark);
}

.vertical-timeline-step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.before-after-case-chips {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.case-chip {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.case-chip:hover {
  border-color: var(--color-teal-primary);
  color: var(--color-teal-primary);
  transform: translateY(-1px);
}

.case-chip.active {
  background-color: var(--color-teal-primary);
  border-color: var(--color-teal-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

/* ========================================================================= */
/* 22. DOCTOR PROFILE PAGE STYLES (Sprint 16)                                */
/* ========================================================================= */

.doctor-hero-grid {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: var(--space-xl);
  align-items: center;
}

.doc-profile-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  background-color: var(--color-white);
}

.doc-profile-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-normal);
}

.doc-profile-img-wrap:hover .doc-profile-img {
  transform: scale(1.02);
}

.doc-trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.doc-specialty-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold-accent);
  letter-spacing: 1.5px;
  margin-bottom: var(--space-xs);
}

.doc-profile-name {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-teal-primary);
  margin-bottom: 4px;
}

.doc-profile-title {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.doc-profile-intro {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-dark);
  margin-bottom: var(--space-lg);
}

.doc-profile-bullets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.bullet-item {
  display: flex;
  flex-direction: column;
}

.bullet-item strong {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.bullet-item span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.doc-profile-hero-actions {
  display: flex;
  gap: var(--space-md);
}

/* Page Split Grid Layout */
.doctor-profile-grid-container {
  width: 100%;
}

.profile-layout-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--space-xl);
}

.profile-main-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.profile-section {
  padding: var(--space-xs) 0;
}

.profile-sec-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-xs);
}

.profile-sec-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background-color: var(--color-gold-accent);
  border-radius: var(--radius-pill);
}

.profile-sec-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.profile-divider {
  border: 0;
  height: 1px;
  background-color: var(--color-border-light);
  margin: var(--space-xs) 0;
}

/* Philosophy Box */
.philosophy-box {
  position: relative;
  padding: var(--space-lg);
  border-left: 4px solid var(--color-teal-primary);
  background-color: var(--color-teal-light);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.quote-icon {
  position: absolute;
  right: var(--space-md);
  top: var(--space-md);
  opacity: 0.15;
}

.philosophy-box h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  margin-bottom: var(--space-xs);
}

.philosophy-box p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  font-style: italic;
  margin-bottom: 0;
}

/* Specializations cards */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.spec-card-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.spec-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
  border-color: var(--color-teal-primary);
}

.spec-card-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}

.spec-card-item p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

/* Education certifications timeline */
.certifications-timeline {
  position: relative;
  padding-left: 100px;
}

.certifications-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 28px;
  width: 2px;
  background-color: var(--color-border-light);
}

.timeline-item-card {
  position: relative;
  margin-bottom: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
}

.timeline-year {
  position: absolute;
  left: -100px;
  top: var(--space-md);
  width: 56px;
  height: 28px;
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.timeline-year::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-gold-accent);
  border: 2px solid var(--color-white);
}

.timeline-info h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.timeline-info p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Stats Counter Grid */
.stats-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stat-counter-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.stat-counter-card h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-teal-primary);
  margin-bottom: 4px;
}

.stat-counter-card p {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 0;
}

/* Before / After Skin Slider Case Switcher */
.case-switcher-tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

/* Patient Video Testimonial */
.featured-video-testimonial {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-lg);
  overflow: hidden;
  align-items: center;
}

.video-story-body {
  padding-right: var(--space-md);
}

.video-story-body h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.story-patient {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.story-summary {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-bottom: 0;
}

.written-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.review-card-item {
  padding: var(--space-lg);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.review-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.review-card-item h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}

.review-card-item p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.review-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.google-trust-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background-color: var(--color-light-gray);
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

.g-rating-val {
  font-weight: 700;
  color: var(--color-text-dark);
}

.g-reviews-count {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Consultation Process Flow */
.process-flow-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.flow-step-card {
  position: relative;
  padding: var(--space-lg);
  padding-top: var(--space-xl);
}

.step-num-circle {
  position: absolute;
  top: -20px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--color-white);
}

.flow-step-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}

.flow-step-card p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Doctor specific FAQs */
.faq-accordion-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  background-color: var(--color-white);
  transition: box-shadow var(--transition-fast);
}

.faq-accordion-item.open {
  box-shadow: var(--shadow-sm);
}

.faq-accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-accordion-btn:hover {
  color: var(--color-teal-primary);
}

.faq-accordion-icon {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: transform var(--transition-fast);
}

.faq-accordion-item.open .faq-accordion-icon {
  transform: rotate(45deg);
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--color-light-gray);
}

.faq-accordion-content p {
  padding: var(--space-md) var(--space-lg);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Related Doctors Row */
.related-doc-grid-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.related-doc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.related-portrait-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.related-doc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.related-doc-card:hover .related-doc-img {
  transform: scale(1.03);
}

.related-doc-body {
  padding: var(--space-lg);
}

.related-doc-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold-accent);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.related-doc-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.related-doc-body p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.related-doc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
}

/* Sidebar Booking Card */
.sticky-appointment-card {
  position: sticky;
  top: 120px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background-color: var(--color-white);
  overflow: hidden;
}

.sticky-appointment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-teal-primary), var(--color-gold-accent));
}

.appointment-card-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
  background-color: var(--color-light-gray);
}

.appointment-card-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  margin-bottom: var(--space-sm);
}

.appointment-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fee-lbl {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.fee-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-teal-primary);
}

.appointment-card-body {
  padding: var(--space-lg);
}

.availability-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #16a34a;
  background-color: rgba(22, 163, 74, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.indicator-dot {
  width: 8px;
  height: 8px;
  background-color: #16a34a;
  border-radius: 50%;
  display: inline-block;
  animation: pulseGreen 1.8s infinite;
}

.slots-brief-info {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--color-text-dark);
  margin-bottom: var(--space-lg);
}

.sidebar-info-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.info-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.info-bullet-item span {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.appointment-card-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--color-border-light);
  background-color: var(--color-light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.emergency-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.emergency-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-teal-primary);
}

/* Viewports <= 1024px */
@media (max-width: 1024px) {
  .doctor-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  .doc-profile-img-wrap {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .doc-trust-badges-row {
    justify-content: center;
  }
  .doc-profile-bullets-grid {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  .doc-profile-hero-actions {
    justify-content: center;
  }
  .profile-layout-grid {
    grid-template-columns: 1fr;
  }
  .sticky-appointment-card {
    position: static;
    max-width: 540px;
    margin: 0 auto;
  }
  .certifications-timeline {
    padding-left: var(--space-lg);
  }
  .certifications-timeline::before {
    left: 28px;
  }
  .timeline-year {
    position: static;
    margin-bottom: var(--space-xs);
  }
  .timeline-year::after {
    display: none;
  }
  .featured-video-testimonial {
    grid-template-columns: 1fr;
  }
  .video-story-body {
    padding: var(--space-md) 0 0 0;
  }
}

/* Viewports <= 768px (Mobile Phone) */
@media (max-width: 768px) {
  .doc-profile-bullets-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
  .doc-profile-hero-actions {
    flex-direction: column;
    gap: var(--space-xs);
    align-items: stretch;
  }
  .doc-profile-hero-actions .btn-primary,
  .doc-profile-hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .specs-grid,
  .stats-counters-grid,
  .written-reviews-grid,
  .process-flow-timeline,
  .related-doc-grid-row {
    grid-template-columns: 1fr;
  }
  .stat-counter-card {
    padding: var(--space-md);
  }
  .step-num-circle {
    left: 16px;
  }
  .case-switcher-tabs {
    flex-direction: column;
  }
  .flow-step-card {
    padding-top: var(--space-lg);
  }
}

/* ========================================================================= */
/* 23. TREATMENT FINDER WIZARD STYLES (Sprint 17)                             */
/* ========================================================================= */

.finder-wizard-card {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
}

.wizard-header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
  background-color: var(--color-light-gray);
}

.wizard-step-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.step-indicator {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-teal-primary);
}

.est-time-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.wizard-progress-track {
  height: 6px;
  background-color: var(--color-border-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-teal-primary) 0%, var(--color-gold-accent) 100%);
  width: 20%;
  border-radius: var(--radius-pill);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-body {
  padding: var(--space-xl) var(--space-lg);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wizard-step {
  display: none;
  animation: stepFadeIn 0.35s ease-out forwards;
}

.wizard-step.active {
  display: block;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  margin-bottom: 4px;
  text-align: center;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* Options Layout Grids */
.option-grid-cards {
  display: grid;
  gap: var(--space-md);
}

.option-grid-cards.cols-2-4 {
  grid-template-columns: repeat(4, 1fr);
}

.option-grid-cards.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.option-grid-cards.cols-2-3 {
  grid-template-columns: repeat(3, 1fr);
}

.option-grid-cards.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.option-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast) ease-out;
  box-shadow: var(--shadow-sm);
  outline: none;
}

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

.option-card.selected {
  border-color: var(--color-gold-accent);
  background-color: var(--color-teal-light);
  color: var(--color-teal-primary);
  box-shadow: var(--shadow-glow);
}

.option-icon-wrap {
  font-size: 1.75rem;
  margin-bottom: 6px;
  line-height: 1;
}

.option-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text-dark);
}

.option-card.selected .option-name {
  color: var(--color-teal-primary);
}

.option-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.3;
}

/* Horizontal card overrides for Step 4 cols-2 */
.option-grid-cards.cols-2 .option-card {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  gap: var(--space-md);
}

.option-grid-cards.cols-2 .option-icon-wrap {
  margin-bottom: 0;
  font-size: 2rem;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-text-group {
  display: flex;
  flex-direction: column;
}

/* Wizard Footer */
.wizard-footer {
  display: flex;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--color-border-light);
  background-color: var(--color-light-gray);
}

/* Diagnostics Loading Overlay */
.diagnostics-scanning-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) 0;
  animation: stepFadeIn 0.35s ease-out forwards;
}

.scanner-circle-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.scanner-orbit {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--color-teal-primary);
  animation: spin 1.2s linear infinite;
}

.scanner-core {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-teal-primary);
  letter-spacing: 0.5px;
}

.scanning-headline {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  margin-bottom: 4px;
}

.scanning-log-ticker {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: italic;
  min-height: 20px;
}

/* Results Panel Details */
.results-screen-view {
  animation: stepFadeIn 0.5s ease-out forwards;
}

.result-match-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-lg);
}

.confidence-badge-wrap {
  position: relative;
  width: 70px;
  height: 70px;
}

.score-ring {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.ring-bg {
  fill: none;
  stroke: var(--color-border-light);
  stroke-width: 3.5;
}

.ring-fill {
  fill: none;
  stroke: var(--color-teal-primary);
  stroke-width: 3.5;
  stroke-dasharray: 0, 100;
  stroke-linecap: round;
  transition: stroke-dasharray 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.confidence-percentage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-teal-primary);
}

.result-title-group {
  display: flex;
  flex-direction: column;
}

.result-title-group h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-teal-primary);
  margin-top: 2px;
}

.result-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.breakdown-card-item {
  padding: var(--space-md) var(--space-lg);
}

.breakdown-card-item h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.breakdown-card-item p {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.5;
  margin-bottom: 0;
}

.recommended-doctor-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  align-items: center;
}

.rec-doc-left {
  flex-shrink: 0;
}

.rec-doc-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border-light);
}

.rec-doc-right h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.rec-doc-degrees {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.rec-doc-bio {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

.result-actions-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.result-actions-row .btn-primary,
.result-actions-row .btn-secondary {
  height: 44px;
  font-size: 0.875rem;
}

.clinical-disclaimer-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Alternatives row */
.result-alternatives-section .catalog-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.result-alternatives-section .treatment-card {
  margin-bottom: 0;
}

/* Viewports <= 1024px */
@media (max-width: 1024px) {
  .option-grid-cards.cols-2-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .result-alternatives-section .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Viewports <= 768px */
@media (max-width: 768px) {
  .step-title {
    font-size: 1.375rem;
  }
  .wizard-body {
    padding: var(--space-lg) var(--space-md);
    min-height: 420px;
  }
  .option-grid-cards.cols-2-4,
  .option-grid-cards.cols-3,
  .option-grid-cards.cols-2-3,
  .option-grid-cards.cols-2 {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .option-grid-cards.cols-2 .option-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .option-grid-cards.cols-2 .option-icon-wrap {
    margin-bottom: var(--space-xs);
  }
  .option-text-group {
    align-items: center;
  }
  .result-match-header {
    flex-direction: column;
    text-align: center;
  }
  .result-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .result-breakdown-grid .col-span-2 {
    grid-column: span 1;
  }
  .recommended-doctor-card {
    flex-direction: column;
    text-align: center;
  }
  .result-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .result-actions-row .btn-primary,
  .result-actions-row .btn-secondary {
    width: 100%;
  }
  .result-alternatives-section .catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* Mega Menu Dropdown Footer */
.mega-menu-footer {
  grid-column: span 4;
  margin-top: var(--space-md);
  padding: 12px var(--space-md);
  background-color: var(--color-teal-light);
  border-top: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.mega-footer-content {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  color: var(--color-teal-primary);
}

.sparkle-icon {
  font-size: 1.15rem;
}

@media (max-width: 1024px) {
  .mega-menu-footer {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .mega-menu-footer {
    grid-column: span 1;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: var(--space-xs);
  }
}

/* ========================================================================= */
/* 24. ABOUT PAGE LAYOUTS (Sprint 18)                                        */
/* ========================================================================= */

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

.mission-vision-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.mv-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  height: 100%;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.why-card {
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-teal-primary);
  box-shadow: var(--shadow-premium);
}

.why-num {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--color-gold-accent);
  opacity: 0.8;
  display: block;
  margin-bottom: var(--space-xs);
}

.why-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  margin-bottom: var(--space-xs);
}

.why-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.about-team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.about-team-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-teal-primary);
  box-shadow: var(--shadow-premium);
}

.team-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-team-card:hover .team-card-img {
  transform: scale(1.05);
}

.team-card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-card-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-gold-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.team-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  margin-bottom: 4px;
}

.team-card-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.team-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.facility-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.facility-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border-light);
}

.facility-body {
  padding: var(--space-lg);
}

.facility-body h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  margin-bottom: var(--space-xs);
}

.facility-body p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .story-right {
    order: -1;
  }
  .about-story-img {
    height: 320px !important;
  }
  .mission-vision-cards {
    grid-template-columns: 1fr;
  }
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  .about-team-grid {
    grid-template-columns: 1fr;
  }
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  .accreditations-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: var(--space-sm) !important;
  }
}







