/* ==========================================================================
   IVORY DENTAL STUDIO - PREMIUM HEALTHCARE STYLESHEET
   Handcrafted, zero-dependency, lean architecture inspired by Digital Cron.
   Tailored for luxury Indian dental practices.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --color-primary: #0C2329;          /* Deep Midnight Teal */
  --color-primary-light: #17434F;    /* Deep Forest Teal */
  --color-primary-soft: #235D6E;
  --color-champagne: #C5A059;        /* Refined Champagne Gold */
  --color-champagne-light: #EBD9B4;
  --color-champagne-dark: #A58039;
  --color-champagne-soft: rgba(197, 160, 89, 0.12);
  
  --color-sage: #547A6B;             /* Muted Clinical Sage */
  --color-sage-light: #EBF2EE;
  --color-sage-soft: rgba(84, 122, 107, 0.12);
  
  --color-whatsapp: #25D366;         /* Official WhatsApp Emerald */
  --color-whatsapp-dark: #128C7E;
  
  /* Neutrals & Surfaces */
  --color-bg: #FAF8F5;               /* Warm Ivory Body Background */
  --color-surface: #FFFFFF;          /* Crisp White Card Surface */
  --color-surface-subtle: #F4EFE6;   /* Linen Accent Background */
  --color-surface-dark: #07171C;     /* Pitch Teal Dark Sections */
  
  --color-text-main: #142024;        /* Charcoal Slate */
  --color-text-muted: #596A70;       /* Subdued Slate */
  --color-text-light: #8E9FA5;
  --color-text-inverse: #FAF8F5;
  
  --color-border: #E8E2D6;           /* Subtle Warm Border */
  --color-border-subtle: #F0ECE4;
  --color-border-focus: #C5A059;
  
  --color-error: #B93838;
  --color-error-bg: #FDF2F2;
  --color-success: #1E7E55;
  --color-success-bg: #EFF9F3;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Elevation / Shadows */
  --shadow-xs: 0 1px 2px rgba(12, 35, 41, 0.04);
  --shadow-sm: 0 2px 6px rgba(12, 35, 41, 0.06);
  --shadow-md: 0 6px 18px rgba(12, 35, 41, 0.08);
  --shadow-lg: 0 14px 34px rgba(12, 35, 41, 0.11);
  --shadow-xl: 0 24px 48px rgba(12, 35, 41, 0.14);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout & Spacing */
  --max-w-content: 1200px;
  --max-w-wide: 1320px;
  --max-w-narrow: 840px;
  --header-height: 88px;
  --mobile-bar-height: 64px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. CSS Reset & Base Rules
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: var(--mobile-bar-height);
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-champagne);
  outline-offset: 3px;
}

::selection {
  background-color: var(--color-champagne);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   3. Typography Utilities
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.text-editorial-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw + 1rem, 3.75rem);
  font-weight: 500;
  line-height: 1.15;
}

.text-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.text-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-champagne-dark);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background-color: var(--color-champagne);
}

.text-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

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

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

/* --------------------------------------------------------------------------
   4. Layout & Grid Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-wide {
  width: 100%;
  max-width: var(--max-w-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--max-w-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.section-subtle {
  background-color: var(--color-surface-subtle);
}

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

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: #FFFFFF;
}
.section-dark .text-muted {
  color: #B4C4CA;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* --------------------------------------------------------------------------
   5. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1.3;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #FFFFFF;
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  border: 1px solid var(--color-whatsapp);
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-champagne {
  background-color: var(--color-champagne);
  color: #FFFFFF;
  border: 1px solid var(--color-champagne);
}
.btn-champagne:hover {
  background-color: var(--color-champagne-dark);
  border-color: var(--color-champagne-dark);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-outline:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--color-primary);
  border-color: #FFFFFF;
}

.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* Pill / Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}
.badge-champagne {
  background-color: var(--color-champagne-soft);
  color: var(--color-champagne-dark);
  border: 1px solid rgba(197, 160, 89, 0.3);
}
.badge-sage {
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  border: 1px solid rgba(84, 122, 107, 0.25);
}
.badge-teal {
  background-color: rgba(12, 35, 41, 0.08);
  color: var(--color-primary);
}
.badge-demo {
  background-color: #FFF3CD;
  color: #856404;
  border: 1px solid #FFEBAA;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. Top Announcement Bar & Header
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   TOP ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-announcement {
  background: linear-gradient(90deg, #0A2028 0%, #102B33 50%, #0A2028 100%);
  color: rgba(197, 213, 218, 0.9);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}
.top-announcement a {
  color: #C5A059;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}
.top-announcement a:hover {
  color: #FFFFFF;
  opacity: 0.9;
}

.header-contact-quick {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.header-contact-quick .dot-sep {
  opacity: 0.35;
  font-size: 0.6rem;
}

/* --------------------------------------------------------------------------
   SITE HEADER — Ultra-Premium Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 248, 245, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(232, 226, 214, 0.6);
  transition: background-color 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s cubic-bezier(0.16,1,0.3,1);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(232, 226, 214, 0.9),
              0 4px 24px rgba(12, 35, 41, 0.07);
}

/* Ensure equal, elegant left & right margin for header and announcement bar */
.top-announcement .container,
.site-header .container {
  max-width: 1380px;
  padding-left: clamp(1.25rem, 3vw, 2.75rem);
  padding-right: clamp(1.25rem, 3vw, 2.75rem);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   BRAND / LOGO
   -------------------------------------------------------------------------- */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.25rem 0;
  outline-offset: 4px;
}
.brand-link:focus-visible {
  outline: 2px solid var(--color-champagne);
  border-radius: var(--radius-sm);
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #17434F 0%, #0C2329 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(12, 35, 41, 0.22),
              0 0 0 1px rgba(197, 160, 89, 0.2);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.25s ease;
}
.brand-link:hover .brand-crest {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 4px 16px rgba(12, 35, 41, 0.28),
              0 0 0 1.5px rgba(197, 160, 89, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}
.brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-primary);
  line-height: 1;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.brand-title span {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--color-champagne);
  letter-spacing: 0.28em;
  white-space: nowrap;
}
.brand-location {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-sage);
  margin-top: 0.25rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   DESKTOP NAV MENU
   -------------------------------------------------------------------------- */
.nav-menu {
  display: none;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  height: 100%;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0 0.75rem;
  height: var(--header-height);
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--color-champagne-dark), var(--color-champagne), #E8C87A);
  border-radius: 0 0 3px 3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: transparent;
}

.nav-link:hover {
  color: var(--color-primary);
}
.nav-link:hover::before {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}
.nav-link.active::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--color-champagne-dark), var(--color-champagne));
}

/* Vertical divider between nav sections for visual breathing room */
.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--color-border);
  margin: 0 0.25rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   HEADER ACTIONS (CTA)
   -------------------------------------------------------------------------- */
.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding-left: 0.5rem;
}

/* Premium champagne gold CTA pill */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: linear-gradient(135deg, #C5A059 0%, #A58039 60%, #8D6B2A 100%);
  border: none;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(165, 128, 57, 0.35),
              inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  border-radius: inherit;
}
.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(165, 128, 57, 0.5),
              inset 0 1px 0 rgba(255,255,255,0.2);
  color: #FFFFFF;
  background: linear-gradient(135deg, #D4AF69 0%, #C5A059 60%, #A58039 100%);
}
.btn-nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(165, 128, 57, 0.3);
}
.btn-nav-cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   HAMBURGER TOGGLE (MOBILE)
   -------------------------------------------------------------------------- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.nav-toggle:hover {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-border-focus);
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav-menu { display: flex; }
  .header-actions { display: flex; }
  .nav-toggle { display: none; }
}

/* Responsive nav link sizing for different breakpoints */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-link {
    font-size: 0.67rem;
    padding: 0 0.45rem;
    letter-spacing: 0.03em;
  }
  .btn-nav-cta {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .nav-link {
    font-size: 0.72rem;
    padding: 0 0.62rem;
    letter-spacing: 0.04em;
  }
  .btn-nav-cta {
    padding: 0.52rem 1.15rem;
    font-size: 0.72rem;
  }
}
@media (min-width: 1400px) {
  .nav-link {
    font-size: 0.75rem;
    padding: 0 0.8rem;
    letter-spacing: 0.05em;
  }
}

/* Mobile Slideout Drawer — Premium */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88vw, 380px);
  height: 100vh;
  background-color: #FDFBF8;
  box-shadow: -8px 0 40px rgba(12, 35, 41, 0.18);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 23, 28, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--color-border-subtle);
}
.drawer-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  line-height: 1;
  transition: all var(--transition-fast);
}
.drawer-close:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: #FFF;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 1rem 0.75rem;
}
.drawer-nav li {
  border-radius: var(--radius-md);
  overflow: hidden;
}
.drawer-nav a {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.2s ease;
}
.drawer-nav a:hover {
  background-color: var(--color-surface-subtle);
  color: var(--color-primary);
  padding-left: 1.35rem;
}
.drawer-nav a.active {
  background-color: rgba(12, 35, 41, 0.06);
  color: var(--color-primary);
  font-weight: 700;
  border-left: 3px solid var(--color-champagne);
  padding-left: 0.85rem;
}

.drawer-footer {
  margin-top: auto;
  padding: 1.5rem 1.75rem 2rem;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.drawer-footer .btn-full {
  text-align: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, rgba(84, 122, 107, 0.08) 0%, transparent 50%),
              var(--color-bg);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  width: 100%;
}
@media (min-width: 480px) {
  .hero-ctas {
    width: auto;
  }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(197, 160, 89, 0.2);
  aspect-ratio: 4 / 3.5;
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  max-width: 280px;
}
.floating-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. Trust Strip & Feature Highlights
   -------------------------------------------------------------------------- */
.trust-strip {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: 1.5rem 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}
.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--color-champagne-soft);
  color: var(--color-champagne-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. Cards (Treatments, Doctors, Facilities, Articles)
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 160, 89, 0.4);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-surface-subtle);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.card:hover .card-media img {
  transform: scale(1.04);
}

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

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.card-title {
  margin-bottom: 0.5rem;
}
.card-title a {
  color: var(--color-primary);
}
.card-title a:hover {
  color: var(--color-champagne-dark);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
  margin-top: auto;
}

/* Doctor Specific Card */
.doctor-card .card-media {
  aspect-ratio: 1 / 1.15;
}
.doctor-specialty {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-sage);
  margin-bottom: 0.5rem;
}
.doctor-qual {
  font-size: 0.775rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  font-style: italic;
}
.doctor-days {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background-color: var(--color-surface-subtle);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   10. Patient Journey Steps
   -------------------------------------------------------------------------- */
.journey-step {
  position: relative;
  padding: 2rem;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.step-number {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-champagne);
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.testimonial-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.quote-icon {
  font-size: 2.5rem;
  color: var(--color-champagne-light);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}
.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
}
.author-name {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}
.author-locality {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.treatment-tag {
  font-size: 0.75rem;
  background-color: var(--color-champagne-soft);
  color: var(--color-champagne-dark);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.active {
  border-color: var(--color-champagne);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--transition-normal);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--color-champagne);
  color: #FFFFFF;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-fast);
  padding: 0 1.5rem;
}
.faq-item.active .faq-content {
  max-height: 500px;
  padding-bottom: 1.5rem;
}
.faq-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   13. Appointment Booking System (WhatsApp Driven)
   -------------------------------------------------------------------------- */
.booking-container {
  max-width: 760px;
  margin: 0 auto;
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.booking-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #FFFFFF;
  padding: 2.25rem 2rem;
  text-align: center;
}
.booking-header h1, .booking-header h2 {
  color: #FFFFFF;
}
.booking-header p {
  color: #C2D5DB;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.booking-body {
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.form-label .required {
  color: var(--color-error);
  margin-left: 0.2rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-champagne);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}
.form-control.is-invalid {
  border-color: var(--color-error);
  background-color: var(--color-error-bg);
}

.form-error {
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 0.35rem;
  display: none;
}
.form-error.active {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1.45;
}
.checkbox-label input {
  margin-top: 0.15rem;
}

/* WhatsApp Confirmation Notice Card */
.booking-notice {
  background-color: #F0F9F4;
  border: 1px solid #C3E6D0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.875rem;
  font-size: 0.875rem;
  color: #174E34;
}
.booking-notice svg {
  flex-shrink: 0;
  color: var(--color-whatsapp-dark);
}

/* WhatsApp Message Preview Box */
.whatsapp-preview-box {
  background-color: #EFEAE2;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--color-whatsapp);
  font-family: monospace, monospace;
  font-size: 0.825rem;
  color: #111B21;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Popup blocker resilient status banner */
.booking-success-state {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.booking-success-state.active {
  display: block;
}

/* --------------------------------------------------------------------------
   14. Floating WhatsApp Button & Mobile Action Bar
   -------------------------------------------------------------------------- */
.whatsapp-floating-btn {
  position: fixed;
  bottom: calc(var(--mobile-bar-height) + 0.85rem);
  right: 0.85rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  text-decoration: none;
}
.whatsapp-floating-btn svg {
  width: 26px;
  height: 26px;
}
.whatsapp-floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55);
  color: #FFFFFF;
}

@media (min-width: 769px) {
  .whatsapp-floating-btn {
    bottom: 1.5rem;
    right: 1.15rem;
  }
}

.whatsapp-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  opacity: 0.8;
  animation: wa-pulse 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  pointer-events: none;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-primary);
  color: #FFFFFF;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}
.whatsapp-floating-btn:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Mobile Bottom Bar (<768px only) */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-bar-height);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
  padding-bottom: env(safe-area-inset-bottom, 0);
  z-index: 80;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 769px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  gap: 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-main);
  text-decoration: none;
}
.mobile-bar-btn svg {
  width: 20px;
  height: 20px;
}
.mobile-bar-btn.call-btn {
  color: var(--color-primary);
}
.mobile-bar-btn.whatsapp-btn {
  color: var(--color-whatsapp-dark);
}
.mobile-bar-btn.book-btn {
  color: var(--color-champagne-dark);
}

/* --------------------------------------------------------------------------
   15. Gallery & Lightbox
   -------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 35, 41, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
}
.gallery-overlay p {
  font-size: 0.8rem;
  color: var(--color-champagne-light);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 23, 28, 0.94);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
}
.lightbox-caption {
  color: #FFFFFF;
  margin-top: 1rem;
  font-size: 0.95rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #081B20;
  color: #B4C4CA;
  font-size: 0.9rem;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  }
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  color: #9DB1B8;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--color-champagne);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
}
.footer-contact-item svg {
  color: var(--color-champagne);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: #768D95;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   17. Accessible Motion & Print Rules
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .whatsapp-pulse {
    display: none;
  }
}

@media print {
  .site-header, .site-footer, .whatsapp-floating-btn, .mobile-bottom-bar, .top-announcement {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    padding-bottom: 0 !important;
  }
}
