/* ==========================================================================
   MAHATHI DENTAL SOLUTIONS - BESPOKE LUXURY MEDICAL DESIGN SYSTEM
   Precision Laser & Implant Clinic | Bengaluru
   ========================================================================== */

:root {
  /* Signature Brand Color Palette */
  --primary: #0D9488;
  --primary-hover: #0B7A70;
  --primary-light: #14B8A6;
  --primary-50: #F0FDFA;
  --primary-100: #CCFBF1;
  --primary-200: #99F6E4;
  --primary-900: #134E4A;

  --navy-950: #060D17;
  --navy-900: #0B192C;
  --navy-800: #152945;
  --navy-700: #1E3A5F;
  --navy-600: #334E68;

  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;

  --gold: #D97706;
  --gold-accent: #B45309;
  --gold-light: #FEF3C7;
  
  --whatsapp: #25D366;
  --whatsapp-hover: #20BA5A;

  --white: #FFFFFF;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-subheading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 3px 0 rgba(11, 25, 44, 0.06);
  --shadow-md: 0 4px 10px -1px rgba(11, 25, 44, 0.08), 0 2px 5px -2px rgba(11, 25, 44, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(11, 25, 44, 0.1), 0 6px 12px -4px rgba(11, 25, 44, 0.05);
  --shadow-xl: 0 24px 45px -8px rgba(11, 25, 44, 0.14), 0 10px 16px -6px rgba(11, 25, 44, 0.06);
  --shadow-glow: 0 0 35px rgba(13, 148, 136, 0.22);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 64px;
  /* Authoritative: .top-bar is given exactly this height, so the body padding
     that clears the fixed stack needs no runtime measurement. */
  --top-bar-height: 36px;
}

/* ==========================================================================
   Base Resets & Global Hygiene
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--slate-800);
  background-color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (min-width: 1025px) {
  html {
    scrollbar-gutter: stable;
  }
}

/* Scroll lock for the mobile drawer and booking modal. Applied to <html>
   because that is the scroll container: `overflow-x: clip`/`hidden` above
   stops body's overflow from propagating to the viewport, so a lock on body
   would clip its content without stopping the page from scrolling. */
html.scroll-locked {
  overflow: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* Reserve room for the fixed top bar + header stack */
  padding-top: calc(var(--top-bar-height) + var(--header-height));
}

/* `overflow-x: hidden` turns the page into a scroll container, which is the
   usual reason a sticky/fixed header stops pinning. `clip` contains the same
   decorative overflow without that side effect. Kept in @supports so the
   `hidden` fallback above survives CSS minification, which collapses
   duplicate declarations inside a single rule. */
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

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

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

a, button, input, select, textarea {
  touch-action: manipulation;
}

section[id], .anchor-offset {
  scroll-margin-top: calc(var(--top-bar-height) + var(--header-height) + 1.25rem);
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Typography & Shared Section Styling
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  background: var(--primary-50);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-100);
}

.section-label.text-gold {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  color: var(--navy-900);
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0E7490 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0F766E 0%, #0369A1 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.btn-secondary {
  background: var(--slate-100);
  color: var(--navy-900);
  border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
  background: var(--slate-200);
  color: var(--navy-900);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

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

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

.btn-block {
  width: 100%;
}

.btn-text {
  background: none;
  border: none;
  color: var(--primary);
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.btn-text:hover {
  color: var(--primary-hover);
  transform: translateX(4px);
}

.icon-sm {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.icon-md {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-lg {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Top Announcement & Contact Bar
   ========================================================================== */

.top-bar {
  background-color: #0B192C;
  color: #E2E8F0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* An explicit height makes --top-bar-height authoritative, so the body
     padding below can reserve exactly the right space with no runtime
     measurement and no layout shift on load. */
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  /* Fixed rather than static: the header below it is fixed too, and the pair
     forms one stack pinned to the viewport. */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Sits *below* the header so the header slides over it on scroll */
  z-index: 999;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Once scrolled, retract the contact bar and let the nav own the top edge.
   The body keeps its original padding, so nothing reflows. */
html.is-scrolled .top-bar {
  transform: translateY(-100%);
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Must not wrap: the bar has a fixed height, so a second line would clip */
  flex-wrap: nowrap;
  gap: 0.75rem;
  white-space: nowrap;
  min-width: 0;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.location-pill, .hours-pill, .top-bar-clinics {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #E2E8F0;
  font-weight: 500;
}

.location-pill svg, .hours-pill svg, .top-bar-clinics svg {
  color: #2DD4BF;
  flex-shrink: 0;
}

.top-clinics-prefix {
  color: #FFFFFF;
  font-weight: 700;
}

.top-clinic-link {
  color: #E2E8F0;
  font-weight: 600;
  transition: color var(--transition);
}

.top-clinic-link:hover {
  color: #2DD4BF;
  text-decoration: underline;
}

.top-clinic-sep {
  color: #64748B;
  font-size: 0.75rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #E2E8F0;
  font-weight: 500;
}

.top-link svg {
  color: #2DD4BF;
}

.top-link:hover {
  color: #FFFFFF;
}

.top-whatsapp-badge {
  background-color: rgba(37, 211, 102, 0.18);
  color: #4ADE80;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  border: 1px solid rgba(74, 222, 128, 0.3);
  font-size: 0.8rem;
}

.top-whatsapp-badge:hover {
  background-color: var(--whatsapp);
  color: var(--white);
}

.separator {
  color: var(--slate-600);
}

/* ==========================================================================
   Main Header & Navigation Bar
   ========================================================================== */

.site-header {
  position: fixed;
  /* Parked directly beneath the contact bar, then slides up to the viewport
     edge when that bar retracts. */
  top: var(--top-bar-height);
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid var(--slate-200);
  /* Animate transform, not `top`: it is compositor-only, so the slide never
     triggers layout. `all` would also transition the backdrop-filter. */
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.28s ease,
              box-shadow 0.28s ease;
  will-change: transform;
}

html.is-scrolled .site-header {
  /* Slide up into the space the retracted contact bar just vacated */
  transform: translateY(calc(-1 * var(--top-bar-height)));
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.08);
}

/* Retained for backwards compatibility with the class initHeader used to set */
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.08);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 145px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

.drawer-logo-img {
  height: 42px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.nav-vip-link {
  position: relative;
}

.nav-vip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  padding: 0.12rem 0.45rem;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0B192C;
  border-radius: var(--radius-full);
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
  animation: pulseGlowGold 2.4s infinite;
}

@keyframes pulseGlowGold {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.7);
  }
}

.nav-item-has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(11, 25, 44, 0.16);
  border: 1px solid var(--slate-200);
  padding: 0.6rem;
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease-in-out;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.nav-dropdown-item:hover {
  background: var(--primary-50);
  transform: translateX(3px);
}

.nav-dropdown-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}

.nav-dropdown-item:hover .nav-dropdown-item-title {
  color: var(--primary);
}

.nav-dropdown-item-sub {
  font-size: 0.74rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.15);
  flex-shrink: 0;
}

.brand-svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  line-height: 1;
}

.brand-subtitle {
  font-family: var(--font-subheading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-top: 3px;
}

/* Centered Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.mobile-drawer-header,
.drawer-quick-actions,
.drawer-timing-note,
.nav-link-mobile-only,
.mobile-quick-call {
  display: none !important;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
}

.nav-link {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-600);
  position: relative;
  padding: 0.35rem 0.22rem;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link-icon {
  display: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2.5px;
  background-color: var(--primary);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.4);
}

.nav-link:hover {
  color: var(--navy-900);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 20px;
}

.nav-offer-link {
  background: #FEF3C7;
  color: #92400E !important;
  border: 1px solid #FDE68A;
  padding: 0.25rem 0.65rem !important;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.12);
  transition: var(--transition);
}

.nav-offer-link::after {
  display: none !important;
}

.nav-offer-link:hover {
  background: #FDE68A;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-subheading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-900);
  padding: 0.42rem 0.75rem;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.header-phone-link svg {
  color: var(--primary);
  width: 14px;
  height: 14px;
}

.header-phone-link:hover {
  background: var(--primary-50);
  color: var(--primary);
  border-color: var(--primary-light);
}

.header-actions .book-modal-btn {
  padding: 0.52rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(13, 148, 136, 0.28);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.5rem;
  width: 42px;
  height: 42px;
  align-items: center;
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  background: var(--slate-200);
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--navy-900);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop for Mobile Drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 23, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 2.25rem 0 2.75rem;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0) 70%);
  filter: blur(40px);
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 2.75rem;
  max-width: 1360px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.25);
  color: var(--primary-hover);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(13, 148, 136, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

.hero-title {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.95rem;
  color: var(--navy-900);
}

.hero-title .gradient-text {
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-description {
  font-size: 1.02rem;
  color: var(--slate-600);
  line-height: 1.62;
  margin-bottom: 1.4rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-200);
  flex-wrap: wrap;
}

.trust-metric {
  display: flex;
  flex-direction: column;
  /* The column axis stacks one row per child, so the number and its "+" must
     be wrapped in .metric-value or the plus drops onto its own line. */
  min-width: 0;
}

/* Keeps the counter and the "+" on one baseline as a single unit */
.metric-value {
  display: flex;
  align-items: baseline;
  gap: 1px;
  white-space: nowrap;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
  /* Digits share a width, so the count-up animation does not jitter the
     label underneath it as the number grows. */
  font-variant-numeric: tabular-nums;
}

.metric-plus {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  line-height: 1;
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.rating-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background-color: var(--slate-200);
}

/* Hero Visual Box & Badges */
.hero-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin-left: auto;
}

/* Hero Dual Photo Switcher Tabs */
.hero-switch-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.3rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.08);
}

.hero-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-switch-btn .tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--slate-400);
  transition: var(--transition);
}

.hero-switch-btn:hover {
  color: var(--primary);
}

.hero-switch-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.35);
}

.hero-switch-btn.active .tab-dot {
  background: #5EEAD4;
}

.hero-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(11, 25, 44, 0.18);
  border: 3px solid var(--white);
  background: #0B192C;
  aspect-ratio: 16 / 9.6;
  min-height: 380px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, transform 0.45s ease;
  transform: scale(0.98);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-img-portrait {
  object-position: center 15%;
}

/* Floating Inset Swap Button */
.hero-inset-card {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem 0.3rem 0.3rem;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.hero-inset-card:hover {
  background: rgba(13, 148, 136, 0.92);
  border-color: #5EEAD4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.inset-thumb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #5EEAD4;
  flex-shrink: 0;
}

.inset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inset-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-subheading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.inset-swap-icon {
  font-size: 0.95rem;
  color: #FDE68A;
}

.floating-badge {
  position: absolute;
  z-index: 3;
}

/* Doctor Credential Badge - Beautiful Glass Card at bottom of photo */
.doctor-badge {
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.95rem;
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.badge-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.credential-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-900) 0%, #0F2A4A 100%);
  border: 2px solid #D97706;
  color: var(--white);
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.monogram-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: #FFFFFF;
}

.monogram-seal {
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 0.62rem;
  color: #FCD34D;
  background: var(--navy-900);
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #FCD34D;
}

.badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.badge-info strong {
  font-size: 0.9rem;
  color: var(--navy-900);
  line-height: 1.25;
}

.badge-doctor-line1 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  line-height: 1.3;
}

.badge-doctor-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-900);
  white-space: nowrap;
}

.badge-doctor-degrees {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
}

.badge-doctor-reg {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.badge-doctor-subtitle {
  font-family: var(--font-sans);
  font-size: 0.73rem;
  color: var(--slate-600);
  font-weight: 500;
  line-height: 1.3;
}

.badge-info .tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  margin-top: 1px;
}

/* Technology Badge - Anchored at top right */
.tech-badge {
  top: 1rem;
  right: 1rem;
  background: rgba(11, 25, 44, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tech-badge strong {
  display: block;
  font-size: 0.82rem;
  color: var(--white);
  line-height: 1.2;
}

.tech-badge span {
  font-size: 0.68rem;
  color: var(--primary-200);
}

.tech-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.25);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-icon-circle svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Trust Pillars Section
   ========================================================================== */

.trust-pillars-section {
  padding: 3rem 0;
  background-color: var(--navy-900);
  color: var(--white);
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.2);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--slate-300);
  line-height: 1.55;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
  padding: 5.5rem 0;
  background-color: var(--white);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.about-team-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(11, 25, 44, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.about-team-tag-icon {
  font-size: 1.05rem;
}

.experience-card {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--navy-900);
  color: var(--white);
  padding: 1.35rem;
  border-radius: var(--radius-md);
  max-width: 220px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary);
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  display: block;
}

.exp-text {
  font-size: 0.82rem;
  color: var(--slate-200);
  margin-top: 0.35rem;
  display: block;
  line-height: 1.4;
}

.section-intro {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.about-body {
  font-size: 0.98rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.95rem;
}

.feature-item span {
  font-size: 0.88rem;
  color: var(--slate-600);
}

.about-cta-row {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.text-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.text-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ==========================================================================
   Specialists Section
   ========================================================================== */

.specialists-section {
  padding: 5.5rem 0;
  background-color: var(--slate-50);
}

.principal-doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 290px 1fr;
  overflow: hidden;
  margin: 0 auto 2.5rem;
  max-width: 980px;
}

.doctor-portrait-col {
  background: linear-gradient(145deg, #060D17 0%, #0B192C 50%, #0F243E 100%);
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.doctor-photo-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.doctor-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.doctor-photo-badges-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.photo-overlay-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.photo-overlay-badge.gold-pill {
  background: rgba(254, 243, 199, 0.95);
  color: #92400E;
  border: 1px solid #FDE68A;
}

.photo-overlay-badge.teal-pill {
  background: rgba(204, 251, 241, 0.95);
  color: #0F766E;
  border: 1px solid #99F6E4;
}

.doctor-crest-col {
  background: linear-gradient(145deg, #060D17 0%, #0B192C 50%, #0F243E 100%);
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.doctor-crest-col::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(13, 148, 136, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.crest-shield {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 320px;
}

.crest-laurel {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.15rem;
}

.crest-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 16px rgba(217, 119, 6, 0.35));
}

.crest-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.crest-subtitle {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.25rem;
}

.crest-divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D97706, transparent);
  margin: 0 auto 1.25rem;
}

.crest-badges-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.crest-badge-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.crest-badge-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(20, 184, 166, 0.45);
  transform: translateX(4px);
}

.badge-icon-gold, .badge-icon-teal {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.crest-badge-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 600;
}

.crest-badge-item small {
  display: block;
  font-size: 0.74rem;
  color: var(--slate-400);
}

.doctor-details-col {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doctor-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
}

.doctor-name {
  font-size: 2.15rem;
  color: var(--navy-900);
  margin: 0.25rem 0;
}

.doctor-creds {
  font-size: 1rem;
  color: var(--slate-600);
  font-weight: 600;
  margin-bottom: 1rem;
}

.doctor-specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.spec-tag {
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
}

.doctor-bio {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.doctor-bio-expanded {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.doctor-bio-expanded.active {
  max-height: 900px;
  opacity: 1;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn-toggle-bio {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #F0FDFA;
  border: 1px solid #99F6E4;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  margin-top: 0.35rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.btn-toggle-bio:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.btn-toggle-bio .toggle-icon {
  font-size: 0.9rem;
  display: inline-block;
}

.doctor-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.25rem 0 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--slate-200);
}

.doc-stat .stat-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-900);
  display: block;
}

.doc-stat .stat-lbl {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* Doctor Certificate Thumbnails Strip */
.doctor-cert-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

.cert-thumb-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 6px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cert-thumb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(11, 25, 44, 0.1);
  border-color: var(--primary);
}

.cert-thumb-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--slate-200);
  display: block;
}

.cert-thumb-caption {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Authentic Clinic Gallery Section */
.clinic-gallery-section {
  padding: 5.5rem 0;
  background: #FFFFFF;
}

.clinic-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.75rem;
}

.gallery-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(11, 25, 44, 0.14);
  border-color: var(--primary);
}

.gallery-img-box {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  overflow: hidden;
  background: var(--slate-100);
  position: relative;
}

.gallery-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-card:hover .gallery-img-box img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 1.35rem 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.gallery-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 0.45rem;
}

.gallery-caption p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin: 0;
}

/* Specialist Grid Cards */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.specialist-item-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.specialist-card-with-photo {
  padding: 1.25rem 1.25rem 1.75rem;
}

.specialist-photo-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: calc(var(--radius-md) - 2px);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--slate-100);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.specialist-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

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

.specialist-badge-pill {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(11, 25, 44, 0.88);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.specialist-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0B192C 0%, #0F3652 50%, #0D9488 100%);
  color: #FFFFFF;
}

.specialist-avatar-symbol {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.specialist-avatar-symbol .avatar-svg {
  width: 52px;
  height: 52px;
  color: var(--teal-300);
  opacity: 0.95;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.avatar-placeholder-label {
  font-size: 0.75rem;
  color: var(--slate-200);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.specialist-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.specialist-avatar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.specialist-avatar-icon svg {
  width: 26px;
  height: 26px;
}

.spec-category {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: block;
  margin-bottom: 0.35rem;
}

.specialist-item-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.spec-degrees {
  font-size: 0.84rem;
  color: var(--slate-500);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.spec-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   Recognition & Media
   ========================================================================== */

.recognition-section {
  padding: 5.5rem 0;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 8%, rgba(20, 184, 166, 0.16), transparent 30%),
    radial-gradient(circle at 88% 92%, rgba(217, 119, 6, 0.13), transparent 32%),
    linear-gradient(145deg, #060d17 0%, #0b192c 58%, #102b3d 100%);
  overflow: hidden;
}

.recognition-section .section-title {
  color: var(--white);
}

.recognition-section .section-subtitle {
  color: var(--slate-300);
}

.recognition-heading {
  margin-bottom: 2.75rem;
}

.recognition-feature-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.45fr);
  gap: 1.5rem;
  align-items: stretch;
}

.recognition-lead-card,
.recognition-awards-panel,
.recognition-video-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.recognition-lead-card {
  position: relative;
  min-height: 640px;
}

.recognition-lead-card > img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.recognition-lead-card::after {
  content: '';
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(6, 13, 23, 0.95));
  pointer-events: none;
}

.recognition-lead-card figcaption {
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
}

.recognition-lead-card h3,
.recognition-awards-copy h3,
.recognition-video-copy h3 {
  color: var(--white);
}

.recognition-lead-card h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.recognition-lead-card p {
  margin: 0;
  color: var(--slate-200);
  font-size: 0.92rem;
}

.recognition-kicker {
  display: inline-block;
  color: #5eead4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.recognition-kicker-gold {
  color: #fcd34d;
}

.recognition-awards-panel {
  padding: 1.5rem;
  min-width: 0;
}

.recognition-awards-copy {
  padding: 0.4rem 0.25rem 1.3rem;
}

.recognition-awards-copy h3 {
  margin: 0.4rem 0 0.45rem;
  font-size: clamp(1.55rem, 2.7vw, 2.3rem);
}

.recognition-awards-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--slate-300);
}

.recognition-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 310px 235px;
  gap: 0.9rem;
}

.recognition-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #03070c;
}

.recognition-photo-wide {
  grid-column: 1 / -1;
}

.recognition-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.recognition-photo-tall img {
  object-position: center 28%;
}

.recognition-photo:hover img {
  transform: scale(1.035);
}

.recognition-photo::after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(6, 13, 23, 0.82));
  pointer-events: none;
}

.recognition-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.8rem;
  left: 1rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.recognition-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.recognition-video-card {
  min-width: 0;
}

.recognition-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.recognition-video-copy {
  padding: 1.25rem 1.4rem 1.4rem;
}

.recognition-video-copy span {
  color: #5eead4;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.recognition-video-copy h3 {
  margin: 0.35rem 0 0.35rem;
  font-size: 1.2rem;
}

.recognition-video-copy p {
  margin: 0;
  color: var(--slate-300);
  font-size: 0.86rem;
}

@media (max-width: 992px) {
  .recognition-feature-grid {
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  }

  .recognition-lead-card,
  .recognition-lead-card > img {
    min-height: 570px;
  }

  .recognition-photo-grid {
    grid-template-rows: 270px 210px;
  }
}

@media (max-width: 768px) {
  .recognition-section {
    padding: 3.5rem 0;
  }

  .recognition-heading {
    margin-bottom: 2rem;
  }

  .recognition-feature-grid,
  .recognition-video-grid {
    grid-template-columns: 1fr;
  }

  .recognition-lead-card,
  .recognition-lead-card > img {
    min-height: 0;
  }

  .recognition-lead-card > img {
    height: auto;
    aspect-ratio: 9 / 13;
    object-position: center top;
  }

  .recognition-awards-panel {
    padding: 1rem;
  }

  .recognition-awards-copy {
    padding: 0.4rem 0.25rem 1rem;
  }

  .recognition-photo-grid {
    grid-template-rows: 250px 190px;
    gap: 0.7rem;
  }

  .recognition-video-grid {
    gap: 1rem;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .recognition-lead-card figcaption {
    right: 1.1rem;
    bottom: 1.1rem;
    left: 1.1rem;
  }

  .recognition-photo-grid {
    grid-template-rows: 215px 165px;
  }

  .recognition-photo figcaption {
    right: 0.7rem;
    bottom: 0.6rem;
    left: 0.7rem;
    font-size: 0.74rem;
  }

  .recognition-video-copy {
    padding: 1rem;
  }
}

/* ==========================================================================
   Treatments Showcase & Filter Tabs
   ========================================================================== */

.treatments-section {
  padding: 5.5rem 0;
  background-color: var(--white);
}

.treatment-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filter-tab {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  background: var(--slate-200);
  color: var(--navy-900);
}

.filter-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.treatment-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.treatment-card.hidden {
  display: none !important;
}

.treatment-card.mobile-collapsed {
  display: none !important;
}

.treatments-expand-wrap {
  display: none;
  justify-content: center;
  margin-top: 2.5rem;
}

.btn-expand-treatments {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2.2rem;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.15);
  cursor: pointer;
  transition: var(--transition);
}

.btn-expand-treatments:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.25);
}

.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate-600);
  background: var(--slate-100);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.15rem;
  align-self: flex-start;
}

.card-badge.laser-tag {
  color: var(--primary);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
}

.treatment-card-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.15rem;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.treatment-card-media picture {
  display: block;
  width: 100%;
}

.treatment-card-media .treatment-card-img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

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

.treatment-card-media.multi-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.treatment-card-media.multi-photos-grid.grid-2 {
  grid-template-columns: 1fr 1fr;
}
.treatment-card-media.multi-photos-grid.grid-2 .treatment-card-img {
  height: 125px;
}

.treatment-card-media.multi-photos-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.treatment-card-media.multi-photos-grid.grid-3 .treatment-card-img {
  height: 100px;
}

.treatment-card-media.multi-photos-grid.grid-4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 5px;
}
.treatment-card-media.multi-photos-grid.grid-4 .treatment-card-img {
  height: 92px;
}

.treatment-media-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: var(--slate-100);
}

.treatment-media-item .treatment-card-img {
  width: 100%;
  height: 125px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.media-sub-label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(11, 25, 44, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.media-sub-label.before-tag {
  background: rgba(220, 38, 38, 0.9);
}

.media-sub-label.after-tag {
  background: rgba(13, 148, 136, 0.9);
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.card-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--navy-900);
}

.card-text {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.treatment-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.treatment-points li {
  font-size: 0.85rem;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.treatment-points li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
}

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.card-footer .btn {
  width: 100%;
}

/* ==========================================================================
   Interactive Before & After Smile Slider (ZERO DISTORTION FIX)
   ========================================================================== */

.transformation-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}

.transformation-slider-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.before-after-container {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  --slider-pos: 50%;
  background: var(--slate-100);
}

.img-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.after-image {
  z-index: 1;
}

/* The clip-path ensures pixel-perfect clipping WITHOUT image squeezing */
.before-image {
  z-index: 2;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, var(--slider-pos, 50%) 0, var(--slider-pos, 50%) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, var(--slider-pos, 50%) 0, var(--slider-pos, 50%) 100%, 0 100%);
}

.image-label {
  position: absolute;
  bottom: 1.25rem;
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
}

.after-label {
  right: 1.25rem;
}

.before-label {
  left: 1.25rem;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos, 50%);
  width: 44px;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
}

.handle-button {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  border: 3px solid var(--white);
}

.handle-button svg {
  width: 12px;
  height: 12px;
}

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

.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

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

.case-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.case-meta {
  display: flex;
  gap: 1.5rem;
  margin: 1.35rem 0 1.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  flex-wrap: wrap;
}

/* ==========================================================================
   Technology Section
   ========================================================================== */

.technology-section {
  padding: 5.5rem 0;
  background-color: var(--navy-900);
  color: var(--white);
}

.tech-grid-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.technology-section .section-title {
  color: var(--white);
}

.technology-section .section-intro {
  color: var(--slate-300);
}

.tech-feature-block {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.tech-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tech-feature-block h4 {
  font-size: 1.12rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.tech-feature-block p {
  font-size: 0.88rem;
  color: var(--slate-300);
  line-height: 1.55;
}

.tech-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.tech-main-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.tech-badge-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(11, 25, 44, 0.92);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
}

.tech-badge-overlay strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
}

.tech-badge-overlay span {
  font-size: 0.82rem;
  color: var(--primary-200);
}

/* ==========================================================================
   Testimonials & Google Reviews
   ========================================================================== */

.testimonials-section {
  padding: 5.5rem 0;
  background-color: var(--white);
}

.google-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  margin-bottom: 2.5rem;
}

.google-g {
  font-weight: 800;
  color: #4285F4;
  font-size: 1.1rem;
}

.google-score {
  color: #F59E0B;
}

.google-score strong {
  color: var(--navy-900);
}

.google-reviews-count {
  font-size: 0.82rem;
  color: var(--slate-600);
  border-left: 1px solid var(--slate-300);
  padding-left: 0.75rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  border-color: var(--primary-light);
}

.card-stars {
  color: #F59E0B;
  letter-spacing: 2px;
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.reviewer-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.reviewer-info span {
  font-size: 0.76rem;
  color: var(--slate-500);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  padding: 5.5rem 0;
  background-color: var(--slate-50);
}

.faq-container {
  max-width: 840px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

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

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

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  line-height: 1;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.35rem;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================================================
   Appointment Booking Section
   ========================================================================== */

.booking-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  position: relative;
}

.booking-card-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.booking-info-col {
  padding: 3.5rem;
  background: rgba(11, 25, 44, 0.6);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking-headline {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.booking-desc {
  font-size: 1rem;
  color: var(--slate-300);
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.quick-contact-pills {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.quick-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.quick-contact-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--white);
}

.quick-contact-item span {
  font-size: 0.82rem;
  color: var(--slate-300);
  line-height: 1.5;
}

.booking-form-col {
  padding: 3.5rem;
  background: var(--white);
  color: var(--navy-900);
}

.form-title {
  font-size: 1.55rem;
  margin-bottom: 1.5rem;
  color: var(--navy-900);
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background-color: var(--slate-50);
  color: var(--navy-900);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-actions-flex {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form-feedback {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0;
  min-height: 22px;
}

.form-feedback.success {
  color: #059669;
}

.form-feedback.error {
  color: #DC2626;
}

/* ==========================================================================
   Contact & Location Map Section
   ========================================================================== */

.locations-section,
.contact-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  position: relative;
}

.branch-nav-tabs {
  display: none;
  gap: 0.6rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.25rem 0.25rem 0.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.branch-nav-tabs::-webkit-scrollbar {
  display: none;
}

.branch-tab {
  flex-shrink: 0;
  background: #FFFFFF;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.branch-tab.active {
  background: var(--navy-900);
  color: #FFFFFF;
  border-color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.2);
}

.locations-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.75rem;
  align-items: stretch;
}

.branch-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.branch-photo-box {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: var(--slate-100);
  position: relative;
  border-bottom: 1px solid var(--slate-200);
}

.branch-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}

.branch-card:hover .branch-photo {
  transform: scale(1.04);
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.branch-card.flagship-branch {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.18), 0 8px 10px -6px rgba(13, 148, 136, 0.1);
}

.branch-header {
  padding: 1.75rem 1.5rem 1.25rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-100);
}

.branch-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.gold-badge {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.teal-badge {
  background: #CCFBF1;
  color: #0F766E;
  border: 1px solid #99F6E4;
}

.blue-badge {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.branch-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.branch-sub {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.4;
  margin: 0;
}

.branch-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.branch-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.86rem;
}

.detail-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.branch-detail strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  margin-bottom: 0.15rem;
}

.branch-detail p {
  margin: 0;
  color: var(--slate-700);
  line-height: 1.45;
}

.branch-landmark {
  display: block;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 0.3rem;
}

.phone-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.phone-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.branch-features-list {
  list-style: none;
  padding: 0.85rem 0 0;
  margin: auto 0 0;
  border-top: 1px dashed var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--slate-600);
}

.branch-actions {
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  display: flex;
  gap: 0.75rem;
}

.branch-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  font-size: 0.82rem;
  padding: 0.65rem 0.75rem;
}

/* Network Synergy Banner */
.network-synergy-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.synergy-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.synergy-icon {
  font-size: 1.85rem;
}

.synergy-header h4 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  color: var(--white);
  font-family: var(--font-heading);
}

.synergy-header p {
  font-size: 0.88rem;
  color: var(--slate-300);
  margin: 0;
}

.synergy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.synergy-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.synergy-check {
  background: rgba(13, 148, 136, 0.25);
  color: #5EEAD4;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.synergy-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.synergy-item span {
  font-size: 0.84rem;
  color: var(--slate-300);
  line-height: 1.5;
}

/* Interactive Map Switcher */
.network-map-section {
  margin-top: 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-controls-header {
  padding: 1.25rem 1.75rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-controls-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.map-tab-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.map-tab {
  background: var(--white);
  border: 1px solid var(--slate-300);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s;
  touch-action: manipulation;
}

.map-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.map-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.map-embed-container {
  position: relative;
  width: 100%;
  height: 440px;
}

.map-embed-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-floating-bar {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 5;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--navy-950);
  color: var(--slate-400);
  padding: 4.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 1.5fr;
  gap: 2.75rem;
  padding-bottom: 3.5rem;
}

.footer-logo .brand-title {
  color: var(--white);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 1.15rem 0 1.35rem;
  color: var(--slate-400);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.f-badge {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--slate-300);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.footer-heading {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 1.15rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--slate-400);
}

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

.footer-branches-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.f-branch-item {
  font-size: 0.82rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 0.6rem;
}

.f-branch-title {
  display: block;
  color: var(--white);
  font-size: 0.86rem;
  margin-bottom: 0.15rem;
}

.f-branch-addr {
  color: var(--slate-400);
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
}

.f-branch-phones {
  color: #5EEAD4;
  font-weight: 500;
  margin: 0;
  font-size: 0.8rem;
}

.f-branch-phones a {
  color: #5EEAD4;
  text-decoration: none;
}

.f-branch-phones a:hover {
  text-decoration: underline;
}

.f-contact-email {
  font-size: 0.82rem;
  margin: 0.25rem 0 0;
  color: var(--slate-400);
}

.f-contact-email a {
  color: #5EEAD4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.82rem;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-credits {
  color: var(--slate-500);
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 23, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--slate-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--slate-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--slate-200);
  color: var(--navy-900);
}

.modal-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.modal-title {
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 1.35rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Promotional Announcement & Offer Popup Modal
   ========================================================================== */

.promo-modal-backdrop {
  z-index: 2100;
  background: rgba(6, 13, 23, 0.82);
}

.promo-modal-dialog {
  max-width: 540px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(6, 13, 23, 0.45), 0 0 0 1px rgba(197, 160, 89, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-close {
  top: 1rem;
  right: 1rem;
  z-index: 20;
  background: rgba(6, 13, 23, 0.75);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}

.promo-close:hover {
  background: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  transform: rotate(90deg) scale(1.08);
}

.promo-banner-wrap {
  position: relative;
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  background: #0B192C;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-banner-wrap img.promo-banner-img {
  width: 100%;
  height: 280px;
  max-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.promo-modal-dialog:hover .promo-banner-wrap img.promo-banner-img {
  transform: scale(1.02);
}

.promo-content {
  padding: 1.75rem 2rem 2rem;
  background: #ffffff;
  text-align: center;
}

.promo-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #966F23;
  background: #FDF8EE;
  border: 1px solid #ECDDB9;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.promo-title {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0B192C;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.promo-subtitle {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.promo-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.promo-actions .btn {
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.35);
  transition: all 0.2s ease;
}

.promo-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.45);
}

.promo-dismiss-link {
  font-size: 0.82rem;
  color: #64748B;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 0.25rem;
  padding: 0.35rem 0.75rem;
  transition: color 0.15s ease;
}

.promo-dismiss-link:hover {
  color: #0B192C;
}

@media (max-width: 640px) {
  .promo-modal-dialog {
    max-width: 92vw;
    border-radius: 16px;
  }
  .promo-banner-wrap {
    max-height: 200px;
  }
  .promo-banner-wrap img.promo-banner-img {
    height: 200px;
    max-height: 200px;
  }
  .promo-content {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .promo-title {
    font-size: 1.25rem;
  }
  .promo-subtitle {
    font-size: 0.86rem;
    margin-bottom: 1.2rem;
  }
}

/* ==========================================================================
   Sticky Mobile Bar & Back-to-Top Button
   ========================================================================== */

.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  z-index: 997;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 0.5rem;
  border-top: 1px solid var(--slate-200);
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.7rem 0.5rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.mobile-call {
  background: var(--slate-100);
  color: var(--navy-900);
}

.mobile-whatsapp {
  background: #E8F9EE;
  color: #15803D;
}

.mobile-book {
  background: var(--primary);
  color: var(--white);
}

.mobile-bar-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

/* Floating Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 990;
}

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

.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.4);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Responsive Breakpoints & Layout Perfection
   ========================================================================== */

/* Large Tablets & Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .trust-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .principal-doctor-card {
    grid-template-columns: 340px 1fr;
  }
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .hero-visual {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-card-wrapper {
    max-width: 100%;
  }
  .hero-img {
    height: 100%;
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }
  .about-main-img {
    height: 420px;
  }
  .principal-doctor-card {
    grid-template-columns: 1fr;
  }
  .doctor-portrait-col,
  .doctor-crest-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
  }
  .doctor-portrait-col .doctor-photo-wrapper {
    min-height: 400px;
    max-height: 520px;
  }
  .doctor-details-col {
    padding: 2.5rem 2rem;
  }
  .specialists-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .transformation-slider-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .transformation-details {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  .tech-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .tech-main-img {
    height: 400px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .booking-card-wrapper {
    grid-template-columns: 1fr;
  }
  .booking-info-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.75rem 2rem;
  }
  .booking-form-col {
    padding: 2.75rem 2rem;
  }
  .locations-cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .synergy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Navigation Drawer & Header Responsive Adaptations (max-width: 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 60px;
    --top-bar-height: 34px;
  }

  .header-actions .book-modal-btn {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .mobile-quick-call {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(13, 148, 136, 0.12);
    border: 1px solid rgba(13, 148, 136, 0.25);
    color: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
    flex-shrink: 0;
  }

  .mobile-quick-call:hover {
    background: var(--primary);
    color: var(--white);
  }

  .mobile-quick-call svg {
    width: 18px;
    height: 18px;
  }

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

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

  /* Mobile Navigation Slide-Down Drawer */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 1.75rem;
    box-shadow: 0 20px 40px rgba(11, 25, 44, 0.22);
    border-bottom: 2px solid var(--primary);
    z-index: 999;
    max-height: calc(100vh - var(--top-bar-height) - var(--header-height));
    max-height: calc(100dvh - var(--top-bar-height) - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Mobile Drawer Header */
  .mobile-drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--slate-100);
  }

  .drawer-brand {
    display: flex;
    flex-direction: column;
  }

  .drawer-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.2;
  }

  .drawer-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.04em;
    margin-top: 2px;
  }

  .drawer-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    color: var(--slate-700);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }

  .drawer-close-btn:hover {
    background: var(--slate-200);
    color: var(--primary);
  }

  /* Quick Actions inside mobile drawer */
  .drawer-quick-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .drawer-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
  }

  .drawer-action-btn.call-action {
    background: var(--slate-100);
    color: var(--navy-900);
    border: 1px solid var(--slate-200);
  }

  .drawer-action-btn.call-action svg {
    color: var(--primary);
  }

  .drawer-action-btn.wa-action {
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
  }

  /* Nav Links in mobile drawer */
  .nav-links-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-link-mobile-only {
    display: flex !important;
  }

  .nav-link {
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate-700);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .nav-link-icon {
    display: inline-block !important;
    font-size: 1.1rem;
    line-height: 1;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
  }

  .nav-item-has-dropdown {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-item-has-dropdown .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 1px solid var(--slate-200);
    background: var(--slate-50);
    padding: 0.5rem;
    margin: 0.25rem 0 0.5rem 2rem;
    min-width: 0;
  }

  .nav-link-text {
    flex-grow: 1;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--slate-100);
    color: var(--primary);
  }

  .nav-link::after {
    display: none !important;
  }

  .nav-offer-link {
    background: #FEF3C7 !important;
    color: #92400E !important;
    border: 1px solid #FDE68A !important;
  }

  .nav-mobile-footer {
    display: flex !important;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-200);
  }

  .drawer-timing-note {
    display: block !important;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--slate-500);
  }
}

/* Mobile & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  body {
    /* Clearance for the sticky conversion bar. Its own padding already adds
       the home-indicator inset, so match it here or the last section sits
       under the bar on notched phones. */
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* The brand block is the only flexible item in the header row. Leaving it
     at flex-shrink: 0 pushed the hamburger past the viewport edge on narrow
     phones, so let it shrink and ellipsize instead. */
  .header-container {
    gap: 1rem;
  }

  .brand-logo {
    flex-shrink: 1;
    min-width: 0;
    gap: 0.6rem;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-title,
  .brand-subtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-section {
    padding: 2.25rem 0 3rem;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-content,
  .hero-visual {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.2vw, 2.2rem);
    line-height: 1.22;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  /* Hero visual on mobile: Unclutter photo and place badges cleanly below */
  .hero-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-switch-tabs {
    align-self: center;
    margin: 0 auto 0.65rem;
    max-width: 100%;
  }

  .hero-inset-card {
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.25rem 0.6rem 0.25rem 0.25rem;
    gap: 0.4rem;
  }

  .hero-inset-card .inset-thumb {
    width: 28px;
    height: 28px;
  }

  .hero-inset-card .inset-meta {
    font-size: 0.68rem;
  }

  .hero-image-box {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: auto;
    min-height: 0 !important;
    aspect-ratio: 16 / 10;
    max-height: 340px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(11, 25, 44, 0.1);
  }

  .hero-img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .hero-card-wrapper .floating-badge {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    transform: none !important;
    box-shadow: 0 4px 14px rgba(11, 25, 44, 0.05) !important;
    background: #FFFFFF !important;
    border: 1px solid var(--slate-200) !important;
    padding: 0.75rem 0.9rem !important;
  }

  .doctor-badge {
    order: 2;
    box-sizing: border-box;
  }

  .badge-doctor-line1 {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.4rem;
    line-height: 1.35;
  }

  .badge-doctor-name {
    font-size: 0.88rem;
  }

  .badge-doctor-degrees {
    font-size: 0.72rem;
    white-space: normal;
  }

  .badge-doctor-reg {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .badge-doctor-subtitle {
    font-size: 0.71rem;
    line-height: 1.35;
    margin-top: 2px;
  }

  .tech-badge {
    order: 3;
  }

  .hero-trust-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.75rem;
    padding: 1.25rem 1rem;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 14px rgba(11, 25, 44, 0.04);
    margin-top: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .trust-divider {
    display: none;
  }

  .trust-metric {
    align-items: center;
    text-align: center;
    min-width: 0;
  }

  .metric-value {
    justify-content: center;
  }

  .metric-label {
    overflow-wrap: break-word;
    font-size: 0.78rem;
  }

  .trust-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-section,
  .specialists-section,
  .treatments-section,
  .transformation-section,
  .technology-section,
  .testimonials-section,
  .faq-section,
  .booking-section,
  .locations-section,
  .contact-section {
    padding: 3.5rem 0;
  }

  .experience-card {
    bottom: 1rem;
    right: 1rem;
    padding: 1rem;
  }

  .exp-number {
    font-size: 2rem;
  }

  /* Dr. Diwakar Spotlight Mobile Optimization */
  .doctor-portrait-col .doctor-photo-wrapper {
    min-height: 280px;
    max-height: 360px;
  }

  .doctor-crest-col {
    padding: 2rem 1.25rem;
  }

  .doctor-details-col {
    padding: 1.75rem 1.25rem;
  }

  .doctor-name {
    font-size: 1.75rem;
  }

  /* Sleek 3-column stats strip on mobile */
  .doctor-stats-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    padding: 0.85rem 0.5rem !important;
    background: #F8FAFC !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--slate-200) !important;
    margin: 1.25rem 0 !important;
  }

  .doc-stat {
    text-align: center;
    padding: 0.2rem 0.15rem;
  }

  .doc-stat .stat-val {
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    color: var(--navy-900) !important;
    line-height: 1.1;
  }

  .doc-stat .stat-lbl {
    font-size: 0.68rem !important;
    color: var(--slate-600) !important;
    line-height: 1.2;
    margin-top: 0.25rem;
  }

  /* Horizontal swipeable certificates */
  .doctor-cert-thumbnails {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 0.75rem !important;
    padding: 0.25rem 0 0.65rem !important;
    margin-bottom: 1.5rem !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .doctor-cert-thumbnails::-webkit-scrollbar {
    display: none;
  }

  .cert-thumb-card {
    flex: 0 0 135px;
    scroll-snap-align: start;
  }

  /* Specialists Grid: Horizontal Touch Strip */
  .specialists-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.5rem 1.25rem 1.5rem !important;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .specialists-grid::-webkit-scrollbar {
    display: none;
  }

  .specialist-item-card {
    flex: 0 0 80vw !important;
    max-width: 310px;
    scroll-snap-align: center;
    padding: 1.5rem;
  }

  /* Treatments: Horizontal Scrollable Category Filter Pills */
  .treatment-filter-tabs {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    padding: 0.4rem 1.25rem 0.85rem !important;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .treatment-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex-shrink: 0;
    font-size: 0.82rem;
    padding: 0.45rem 1.05rem;
  }

  .treatments-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .treatment-card {
    padding: 1.5rem 1.25rem;
  }

  .treatment-card.mobile-collapsed {
    display: none !important;
  }

  .treatments-expand-wrap {
    display: flex !important;
  }

  /* Special Offers: Horizontal Touch Carousel */
  .offers-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 1.15rem;
    padding: 0.5rem 1.25rem 1.75rem !important;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .offers-grid::-webkit-scrollbar {
    display: none;
  }

  .offer-card {
    flex: 0 0 82vw !important;
    max-width: 320px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .offers-swipe-hint {
    display: flex !important;
  }

  /* Clinic Gallery: Touch Carousel */
  .clinic-gallery-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.5rem 1.25rem 1.5rem !important;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .clinic-gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-card {
    flex: 0 0 78vw !important;
    max-width: 300px;
    scroll-snap-align: center;
  }

  /* Clinic Locations: Mobile Branch Tabs */
  .branch-nav-tabs {
    display: flex !important;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .locations-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .before-after-container {
    height: 300px;
  }

  .case-card {
    padding: 1.5rem 1.25rem;
  }

  .booking-info-col,
  .booking-form-col {
    padding: 2rem 1.25rem;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }

  .sticky-mobile-bar {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 -4px 20px rgba(11, 25, 44, 0.08) !important;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px)) !important;
    gap: 0.5rem !important;
  }

  .back-to-top {
    bottom: 5.5rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }

  .modal-dialog {
    padding: 1.75rem 1.25rem;
  }
}

/* Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    /* Buy back horizontal room, and respect landscape notch insets */
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
  .specialists-grid,
  .treatment-filter-tabs,
  .offers-grid,
  .clinic-gallery-grid,
  .branch-nav-tabs,
  .hydra-cards-grid,
  .celebrity-gallery-grid {
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-subtitle {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
  .hero-title {
    font-size: clamp(1.4rem, 4.8vw, 1.75rem);
    line-height: 1.22;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .metric-number,
  .metric-plus {
    /* Kept in lockstep: a mismatch here breaks the shared baseline */
    font-size: 1.45rem;
  }
  .metric-label {
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }
  /* The bar is one fixed-height line, so shave the fit rather than let it wrap */
  .top-bar {
    font-size: 0.73rem;
  }
  .top-bar-right {
    gap: 0.45rem;
  }
  .top-bar-right .top-clinic-sep,
  .top-bar-right a[href="tel:08026790050"] {
    display: none !important;
  }
  .top-link {
    font-size: 0.75rem;
  }
  .top-link svg {
    display: none;
  }
  .top-whatsapp-badge {
    font-size: 0.72rem;
    padding: 0.18rem 0.5rem;
  }
  .before-after-container {
    height: 280px;
  }
  .branch-actions {
    flex-direction: column;
  }
  .map-floating-bar {
    position: static;
    border-radius: 0;
  }
  .map-embed-container {
    height: auto;
  }
  .map-embed-container iframe {
    height: 320px;
  }
  .modal-backdrop {
    padding: 0.75rem;
  }
  .modal-dialog {
    padding: 1.5rem 1rem;
    max-height: 92vh;
  }
  .modal-close {
    width: 44px;
    height: 44px;
    top: 0.75rem;
    right: 0.75rem;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 380px) {
  .top-bar-right .top-clinic-sep,
  .top-bar-right a[href="tel:08026790050"] {
    display: none;
  }
}

/* Very narrow phones (max-width: 360px) */
@media (max-width: 360px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .specialists-grid,
  .treatment-filter-tabs,
  .offers-grid,
  .clinic-gallery-grid,
  .branch-nav-tabs,
  .hydra-cards-grid,
  .celebrity-gallery-grid {
    margin-left: -0.75rem !important;
    margin-right: -0.75rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  /* At this width the subtitle ellipsises down to a few letters, which reads
     worse than dropping it. The brand name still carries the identity. */
  .brand-subtitle {
    display: none;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  /* Single column: two metrics side by side would clip their labels */
  .hero-trust-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.5rem;
  }
  .metric-number,
  .metric-plus {
    font-size: 1.35rem;
  }
  .mobile-bar-btn {
    font-size: 0.75rem;
    padding: 0.7rem 0.3rem;
  }
}
/* ==========================================================================
   Accessibility, Motion & Interaction Polish
   Appended last so it wins on source order without specificity hacks.
   ========================================================================== */

/* --- Anchor scrolling: keep targets clear of the fixed header -------------
   By the time any in-page anchor resolves the page is scrolled, so the top
   bar has retracted and only the header occupies the top edge. */
html {
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

/* --- Visible keyboard focus -----------------------------------------------
   :focus-visible only paints for keyboard/AT users, so mouse clicks stay
   clean. This was entirely missing before, which made the site
   effectively unusable by keyboard. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Dark sections need a light ring to stay visible against navy */
.booking-section :where(a, button, input, select, textarea):focus-visible,
.site-footer :where(a, button):focus-visible,
.top-bar :where(a, button):focus-visible {
  outline-color: #5EEAD4;
}

/* Form fields keep their tinted ring but regain a real outline */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 1px;
}

/* --- Skip link ----------------------------------------------------------- */
.skip-link {
  /* Fixed, not absolute: body now carries top padding for the header stack,
     which would otherwise push this out of view. */
  position: fixed;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 3000;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

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

/* --- FAQ: replace the clipping max-height with a content-driven grid -----
   The old rule capped answers at 300px, silently truncating longer copy. */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  max-height: none;
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer > * {
  min-height: 0;
  overflow: hidden;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  max-height: none;
}

/* --- Inline field validation --------------------------------------------- */
.field-error {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #DC2626;
  min-height: 1rem;
  margin-top: 0.3rem;
  line-height: 1.35;
}

.booking-section .field-error {
  color: #FCA5A5;
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.form-group input[aria-invalid="true"]:focus-visible,
.form-group select[aria-invalid="true"]:focus-visible,
.form-group textarea[aria-invalid="true"]:focus-visible {
  outline-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* --- Feedback banners ---------------------------------------------------- */
.form-feedback:empty {
  display: none;
}

.form-feedback {
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  line-height: 1.5;
}

.form-feedback.success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #047857;
}

.form-feedback.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
}

/* --- Button loading state ------------------------------------------------ */
.btn-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.btn.is-loading .btn-spinner {
  display: inline-block;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* --- Comparison slider: focus affordance -------------------------------- */

/* --- Reduced motion -----------------------------------------------------
   Honours the OS "reduce motion" setting: kills transforms/animations
   that can trigger vestibular discomfort. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .btn:hover,
  .treatment-card:hover,
  .back-to-top:hover,
  .btn-text:hover,
  .hero-card-wrapper:hover .hero-img {
    transform: none;
  }
}

/* --- Touch target sizing on mobile (WCAG 2.5.5) ------------------------- */
@media (max-width: 768px) {
  .mobile-bar-btn {
    min-height: 48px;
  }

  .mobile-menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .filter-tab {
    min-height: 42px;
  }

  .nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Back-to-top overlapped the sticky conversion bar; lift it clear */
  .back-to-top {
    bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
  }
}

/* --- Print --------------------------------------------------------------- */
@media print {
  .top-bar, .site-header, .sticky-mobile-bar, .back-to-top,
  .modal-backdrop, .nav-backdrop, .map-wrapper {
    display: none !important;
  }

  body {
    padding-bottom: 0;
    /* The fixed header stack is hidden above, so drop its reserved space */
    padding-top: 0;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.75em;
    word-break: break-all;
  }
}

.before-after-container:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}


.faq-question {
  min-height: 56px;
}

/* ==========================================================================
   Special Offers Section
   ========================================================================== */
.offers-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 50%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.offer-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: 0 10px 25px -5px rgba(11, 25, 44, 0.07), 0 8px 10px -6px rgba(11, 25, 44, 0.04);
  padding: 2.25rem 1.85rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  overflow: hidden;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(13, 148, 136, 0.18), 0 12px 16px -6px rgba(11, 25, 44, 0.08);
  border-color: var(--primary);
}

.offer-card.highlight-card {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDFA 100%);
  box-shadow: 0 12px 30px -6px rgba(13, 148, 136, 0.16);
}

.offer-ribbon {
  position: absolute;
  top: 18px;
  right: -32px;
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 5px 36px;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
  text-transform: uppercase;
}

.offer-icon {
  font-size: 2.25rem;
  margin-bottom: 0.85rem;
  line-height: 1;
}

.offer-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.offer-badge.gold-pill {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.offer-badge.teal-pill {
  background: #CCFBF1;
  color: #0F766E;
  border: 1px solid #99F6E4;
}

.offer-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.offer-summary {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.offer-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.offer-perks li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.88rem;
  color: var(--slate-700);
  line-height: 1.45;
}

.offer-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
}

.offer-card .btn {
  margin-top: auto;
  border-radius: var(--radius-full);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
}

.offers-terms-note {
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.04);
}

.offers-terms-note .terms-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.offers-terms-note p {
  font-size: 0.84rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin: 0;
}

.text-gold {
  color: #D97706 !important;
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .offers-terms-note {
    flex-direction: column;
    padding: 1.25rem;
  }
}

/* ==========================================================================
   Luxury Hydra Facial & Clinical Skin Aesthetics
   ========================================================================== */

.nav-hydra-link {
  color: #BE185D !important;
  font-weight: 700;
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
}

.nav-hydra-link:hover {
  color: #9D174D !important;
}

.nav-glow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  padding: 0.12rem 0.45rem;
  background: linear-gradient(135deg, #F43F5E 0%, #EC4899 100%);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 6px rgba(244, 63, 94, 0.4);
  animation: pulseGlowBadge 2.4s infinite;
}

@keyframes pulseGlowBadge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(244, 63, 94, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(244, 63, 94, 0.7);
  }
}

.hydrafacial-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #FFF1F2 0%, #FFFFFF 40%, #F0FDFA 100%);
  position: relative;
  overflow: hidden;
}

.hydrafacial-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.18) 0%, rgba(244, 114, 182, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hydrafacial-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, rgba(13, 148, 136, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.rose-label {
  background: rgba(244, 63, 94, 0.12) !important;
  color: #BE185D !important;
  border: 1px solid rgba(244, 63, 94, 0.28) !important;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.1);
  font-weight: 800;
}

.gradient-text-rose {
  background: linear-gradient(135deg, #BE185D 0%, #E11D48 50%, #0D9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hydra-highlights-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 2.25rem;
}

.hydra-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate-700);
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.hydra-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 63, 94, 0.45);
  color: #BE185D;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.15);
}

.mobile-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #BE185D;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  background: rgba(253, 242, 248, 0.9);
  border: 1px dashed #F472B6;
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hydra-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.65rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.hydra-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(244, 114, 182, 0.22);
  box-shadow: 0 10px 28px -5px rgba(190, 24, 93, 0.07), 0 4px 12px rgba(11, 25, 44, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.hydra-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px -8px rgba(190, 24, 93, 0.22), 0 8px 24px rgba(13, 148, 136, 0.12);
  border-color: rgba(244, 63, 94, 0.45);
}

.hydra-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #F8FAFC;
}

.hydra-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hydra-card:hover .hydra-img-box img {
  transform: scale(1.04);
}

.hydra-card-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(11, 25, 44, 0.82);
  color: #FFFFFF;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

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

.hydra-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.hydra-card-desc {
  font-size: 0.86rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.hydra-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: #FFF1F2;
  color: #BE185D;
  border: 1px solid #FECDD3;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.hydra-card-cta:hover {
  background: #BE185D;
  color: #FFFFFF;
  border-color: #BE185D;
  box-shadow: 0 4px 14px rgba(190, 24, 93, 0.28);
}

/* Luxury Hydra CTA Box */
.hydra-cta-box {
  background: linear-gradient(135deg, #134E4A 0%, #0B192C 45%, #831843 100%);
  border-radius: var(--radius-lg);
  padding: 2.75rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.35), 0 8px 25px rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hydra-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.28) 0%, rgba(244, 114, 182, 0) 70%);
  pointer-events: none;
}

.hydra-cta-content {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.hydra-cta-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #FBCFE8;
  background: rgba(244, 63, 94, 0.22);
  border: 1px solid rgba(244, 63, 94, 0.45);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hydra-cta-content h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.hydra-cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.hydra-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hydra-cta-actions .btn-primary {
  background: linear-gradient(135deg, #EC4899 0%, #BE185D 100%);
  border: none;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.4);
  color: #FFFFFF;
}

.hydra-cta-actions .btn-primary:hover {
  background: linear-gradient(135deg, #F43F5E 0%, #9D174D 100%);
  box-shadow: 0 6px 22px rgba(236, 72, 153, 0.6);
  transform: translateY(-2px);
}

.hydra-wa-btn {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(8px);
}

.hydra-wa-btn:hover {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* Mobile & Tablet Responsiveness for Hydra Facial */
@media (max-width: 1024px) {
  .hydra-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .hydrafacial-section {
    padding: 4rem 0;
  }

  .mobile-swipe-hint {
    display: flex;
  }

  .hydra-highlights-bar {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .hydra-pill {
    font-size: 0.76rem;
    padding: 0.35rem 0.75rem;
  }

  /* Smooth swipeable scroll-snap carousel on mobile */
  .hydra-cards-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 1.15rem;
    padding: 0.5rem 1.25rem 1.75rem !important;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hydra-cards-grid::-webkit-scrollbar {
    display: none;
  }

  .hydra-card {
    flex: 0 0 80vw !important;
    max-width: 320px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .hydra-card-body {
    padding: 1.15rem 1rem 1.25rem;
  }

  .hydra-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }

  .hydra-cta-content h3 {
    font-size: 1.45rem;
  }

  .hydra-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hydra-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Celebrity & VIP Patient Care Section
   ========================================================================== */

.celebrity-vip-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(217, 119, 6, 0.14) 0%, transparent 60%),
              linear-gradient(180deg, #061426 0%, #0B1E36 50%, #08172B 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.celebrity-vip-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), transparent);
}

.vip-crown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.22), rgba(245, 158, 11, 0.12));
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FDE68A;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.2);
}

.vip-crown-icon {
  font-size: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.celebrity-vip-section .section-title {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.celebrity-vip-section .section-subtitle {
  color: #CBD5E1;
  max-width: 740px;
  margin: 0 auto 3.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* VIP Pillars Row */
.vip-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}

.vip-pillar-card {
  background: rgba(15, 33, 58, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
}

.vip-pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(18, 40, 70, 0.85);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(245, 158, 11, 0.12);
}

.vip-pillar-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(13, 148, 136, 0.22));
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vip-pillar-content h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.vip-pillar-content p {
  color: #94A3B8;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Spotlight Showcase Header */
.celebrity-showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.showcase-kicker {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #F59E0B;
  display: block;
  margin-bottom: 0.35rem;
}

.showcase-heading {
  color: #FFFFFF;
  font-size: 1.75rem;
  font-family: var(--font-heading);
  margin: 0;
}

.confidential-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.4);
  color: #5EEAD4;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.15);
}

/* Celebrity Gallery Grid */
.celebrity-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.75rem;
}

.celebrity-card {
  background: #0D223D;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.celebrity-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.15);
}

.celebrity-img-frame {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #081628;
}

.celebrity-real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.celebrity-card:hover .celebrity-real-photo {
  transform: scale(1.05);
}

/* ==========================================================================
   Mobile image integrity
   Keep every clinical/photo asset fully visible on narrow screens. Desktop
   cards may use editorial crops, but mobile must never trim faces or details.
   ========================================================================== */
@media (max-width: 768px) {
  .hero-image-box {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background: var(--slate-100);
  }

  .hero-slide picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero-slide .hero-img,
  .hero-slide .hero-img-portrait {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .hero-img,
  .hero-img-portrait,
  .about-main-img,
  .doctor-main-photo,
  .cert-thumb-img,
  .gallery-img-box img,
  .specialist-card-img,
  .recognition-lead-card > img,
  .recognition-photo img,
  .treatment-card-media .treatment-card-img,
  .treatment-media-item .treatment-card-img,
  .tech-main-img,
  .branch-photo,
  .hydra-img-box img,
  .celebrity-real-photo,
  .promo-banner-wrap img.promo-banner-img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .about-img-frame,
  .doctor-photo-wrapper,
  .gallery-img-box,
  .specialist-photo-wrapper,
  .recognition-lead-card,
  .recognition-photo,
  .treatment-card-media,
  .treatment-media-item,
  .tech-image-container,
  .branch-photo-box,
  .hydra-img-box,
  .celebrity-img-frame,
  .promo-banner-wrap {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  .about-img-frame {
    overflow: hidden;
  }

  /* The clinic-tour source photos are all 3:2. Keep their cards equal-height
     while showing the full image instead of allowing the generic auto-height
     mobile image rule to collapse or stretch the media container. */
  .clinic-gallery-grid .gallery-img-box {
    width: 100% !important;
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
    overflow: hidden;
  }

  .clinic-gallery-grid .gallery-img-box img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .about-img-frame .experience-card {
    position: static !important;
    width: 100%;
    max-width: none !important;
    box-sizing: border-box;
    border-radius: 0;
    transform: none !important;
  }

  .recognition-photo-grid {
    grid-template-rows: auto !important;
  }

  .before-after-container {
    height: auto !important;
    aspect-ratio: 1200 / 896;
  }

  .img-wrapper img {
    object-fit: contain !important;
    object-position: center !important;
  }

  .hero-card-wrapper:hover .hero-img,
  .gallery-card:hover .gallery-img-box img,
  .specialist-item-card:hover .specialist-card-img,
  .recognition-photo:hover img,
  .treatment-card:hover .treatment-card-img,
  .hydra-card:hover .hydra-img-box img,
  .celebrity-card:hover .celebrity-real-photo,
  .branch-card:hover .branch-photo,
  .promo-modal-dialog:hover .promo-banner-wrap img.promo-banner-img {
    transform: none !important;
  }
}

.celebrity-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FDE68A;
  background: rgba(11, 25, 44, 0.82);
  border: 1px solid rgba(245, 158, 11, 0.55);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.celebrity-overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(13, 34, 61, 0.95));
  pointer-events: none;
}

.celebrity-card-info {
  padding: 1.35rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.celebrity-treatment-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-300);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.celebrity-name {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.celebrity-quote {
  color: #CBD5E1;
  font-size: 0.85rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.celebrity-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.85rem;
}

.celebrity-status-star {
  color: #F59E0B;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* VIP Concierge Booking Strip */
.vip-concierge-strip {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(13, 148, 136, 0.14) 100%),
              rgba(11, 28, 51, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.vip-strip-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #F59E0B;
  margin-bottom: 0.4rem;
}

.vip-concierge-text h3 {
  color: #FFFFFF;
  font-size: 1.45rem;
  font-family: var(--font-heading);
  margin-bottom: 0.45rem;
}

.vip-concierge-text p {
  color: #CBD5E1;
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 600px;
  margin: 0;
}

.vip-concierge-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.vip-book-btn {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  color: #0B192C !important;
  font-weight: 800 !important;
  border: none !important;
  padding: 0.85rem 1.6rem !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45) !important;
  transition: all 0.3s ease !important;
}

.vip-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.65) !important;
}

.vip-wa-btn {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #FFFFFF !important;
  padding: 0.85rem 1.4rem !important;
  background: rgba(255, 255, 255, 0.06) !important;
  transition: all 0.3s ease !important;
}

.vip-wa-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Celebrity & VIP Responsive Queries */
@media (max-width: 1024px) {
  .vip-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .celebrity-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .celebrity-vip-section {
    padding: 4.5rem 0;
  }

  .vip-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3.5rem;
  }

  .celebrity-gallery-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.5rem 1.25rem 1.5rem !important;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .celebrity-gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .celebrity-card {
    flex: 0 0 82vw !important;
    max-width: 320px;
    scroll-snap-align: center;
  }

  .vip-concierge-strip {
    padding: 1.75rem 1.25rem;
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .vip-concierge-text p {
    margin: 0 auto;
  }

  .vip-concierge-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .vip-concierge-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
