/* ==========================================================================
   DERMA VOGUE POLYCLINIC — PRODUCTION DESIGN SYSTEM & STYLESHEET
   Luxury Dermatology, Aesthetic Medicine & Regenerative Solutions
   Dubai, United Arab Emirates
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Luxury Palette (Calibrated for WCAG 2.1 AA Compliance >= 4.5:1) */
  --gold-primary: #8D6B26;        /* High-contrast rich luxury bronze-gold */
  --gold-hover: #75571D;          /* Deep bronze for hover states */
  --gold-light: #F7F2E7;          /* Soft champagne tint for highlights */
  --gold-accent: #C5A869;         /* Decorative metallic gold (accents only) */
  --gold-border: rgba(141, 107, 38, 0.22);
  --gold-glow: rgba(141, 107, 38, 0.15);

  /* Neutrals & Surfaces */
  --color-dark: #12151A;          /* Deep obsidian charcoal */
  --color-dark-surface: #1B2028;  /* Elevated dark card */
  --color-dark-subtle: #29303D;   /* Dark border / divider */
  --color-text: #262B33;          /* Primary high-contrast body text */
  --color-muted: #535E6D;         /* Secondary descriptive text */
  --color-subtle: #798696;        /* Light muted / captions */
  --color-bg: #FCFAF6;            /* Warm alabaster page background */
  --color-surface: #FFFFFF;       /* Pure white card surface */
  --color-surface-alt: #F6F2EA;   /* Warm sand alternating section background */
  --color-border: #E8E2D5;        /* Neutral subtle border */
  --color-border-light: #F0EBE1;

  /* Feedback & State Colors */
  --color-success: #1E6B47;
  --color-success-bg: #E8F5EE;
  --color-error: #A82828;
  --color-error-bg: #FBEBEB;

  /* Typography Stacks */
  --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Fluid Typography Scales */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.84375rem, 0.8rem + 0.25vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.35rem + 0.8vw, 1.875rem);
  --text-3xl: clamp(1.875rem, 1.65rem + 1.2vw, 2.375rem);
  --text-4xl: clamp(2.25rem, 1.95rem + 1.8vw, 3.125rem);
  --text-hero: clamp(2.5rem, 2.1rem + 2.5vw, 3.875rem);

  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;

  /* Elevations & Shadows */
  --shadow-xs: 0 1px 3px rgba(18, 21, 26, 0.05);
  --shadow-sm: 0 3px 10px rgba(18, 21, 26, 0.06);
  --shadow-md: 0 8px 25px rgba(18, 21, 26, 0.08);
  --shadow-lg: 0 16px 45px rgba(18, 21, 26, 0.12);
  --shadow-gold: 0 8px 30px rgba(141, 107, 38, 0.2);

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Container */
  --container-max: 1260px;
  --header-height: 84px;
  --topbar-height: 42px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.68;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* Strictly required: NEVER use overflow:hidden or auto on body */
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Skip to Content Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: var(--space-md);
  background: var(--color-dark);
  color: #FFFFFF;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  z-index: 99999;
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  outline: 3px solid var(--gold-accent);
}

/* Base Elements */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-4xl); margin-bottom: var(--space-md); }
h2 { font-size: var(--text-3xl); margin-bottom: var(--space-sm); }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-sm); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-xs); }
h5 { font-size: var(--text-lg); margin-bottom: var(--space-xs); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-muted);
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--gold-hover);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. UTILITIES & STRUCTURAL CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, 2.5rem);
}

.section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  position: relative;
}

.section--sm {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

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

.section--dark {
  background-color: var(--color-dark);
  color: #F0F4F8;
}

.section--dark h2, .section--dark h3, .section--dark h4 {
  color: #FFFFFF;
}

.section--dark p {
  color: #B2BDCC;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

.section-header--left {
  text-align: start;
  margin-inline: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  margin-bottom: var(--space-xs);
}

.section--dark .kicker {
  color: var(--gold-accent);
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: currentColor;
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-lead {
  font-size: var(--text-lg);
  color: var(--color-muted);
  line-height: 1.6;
}

.section--dark .section-lead {
  color: #B2BDCC;
}

/* Grid System (Strict Modern CSS Grid & Flex) */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

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

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

/* --------------------------------------------------------------------------
   4. BUTTONS & ACCESSIBLE CALLS-TO-ACTION (Min 48px Touch Targets)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

/* Primary Button: Solid Gold with High Contrast Charcoal Text */
.btn--primary {
  background-color: var(--gold-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.btn--primary:hover {
  background-color: var(--gold-hover);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Secondary Dark Button */
.btn--dark {
  background-color: var(--color-dark);
  color: #FFFFFF;
}

.btn--dark:hover {
  background-color: var(--color-dark-surface);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Outline Button */
.btn--outline {
  background-color: transparent;
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

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

/* Light / Ghost Button */
.btn--ghost {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn--ghost:hover {
  background-color: #FFFFFF;
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 40px;
  padding: 0.5rem 1.15rem;
  font-size: var(--text-xs);
}

.btn--block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. TOP ANNOUNCEMENT / CONTACT BAR
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--color-dark);
  color: #CFD8E3;
  font-size: var(--text-xs);
  border-bottom: 1px solid var(--color-dark-subtle);
  display: none;
}

@media (min-width: 768px) {
  .top-bar {
    display: block;
  }
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-xs);
  min-height: var(--topbar-height);
}

.top-bar__info {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #CFD8E3;
}

.top-bar__item a {
  color: #CFD8E3;
}

.top-bar__item a:hover {
  color: var(--gold-accent);
}

.top-bar__item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-accent);
  flex-shrink: 0;
}

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

.top-bar__hours {
  color: #A0AEC0;
}

.top-bar__link {
  color: var(--gold-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. STICKY GLASSMORPHISM NAVIGATION HEADER
   Strictly Direct Child of Body, position: sticky; top: 0; z-index: 1000
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(18, 21, 26, 0.04);
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 24px rgba(18, 21, 26, 0.09);
  border-bottom-color: rgba(141, 107, 38, 0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding-block: var(--space-xs);
  gap: var(--space-md);
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__img {
  width: auto;
  height: 44px;
  object-fit: contain;
  aspect-ratio: 259 / 50;
}

@media (min-width: 992px) {
  .brand__img {
    height: 48px;
  }
}

/* Desktop Navigation Menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.25rem);
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--gold-primary);
}

.nav-link.active {
  color: var(--gold-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold-primary);
  border-radius: var(--radius-full);
}

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

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Hamburger Button (Mobile Only, Accessible >= 48px) */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  color: var(--color-dark);
  transition: all var(--transition-fast);
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-primary);
}

.hamburger {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  border-radius: 2px;
  transition: all var(--transition-normal);
}

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

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

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

/* --------------------------------------------------------------------------
   7. MOBILE NAVIGATION DRAWER & BACKDROP
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: min(85vw, 360px);
  height: 100vh;
  background-color: var(--color-surface);
  box-shadow: -8px 0 35px rgba(18, 21, 26, 0.18);
  z-index: 10000;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  visibility: hidden;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 21, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

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

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--color-dark);
}

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

.mobile-nav-link {
  display: block;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-dark);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav-link.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
}

.drawer-footer {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.drawer-contact-item {
  font-size: var(--text-sm);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* --------------------------------------------------------------------------
   8. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #12151A 0%, #1A2029 100%);
  color: #FFFFFF;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(141, 107, 38, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .hero__container {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero__content {
  max-width: 650px;
}

.hero__kicker {
  color: var(--gold-accent);
}

.hero__title {
  color: #FFFFFF;
  font-size: var(--text-hero);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero__title span {
  color: var(--gold-accent);
  font-style: italic;
}

.hero__lead {
  font-size: var(--text-lg);
  color: #D1D8E3;
  margin-bottom: var(--space-xl);
  line-height: 1.65;
}

.hero__badges {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .hero__badges {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.hero__badge-num {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--gold-accent);
  font-weight: 700;
  line-height: 1.1;
}

.hero__badge-label {
  font-size: var(--text-xs);
  color: #A0AEC0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Hero Media Wrapper (Prevents CLS) */
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: clip;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(197, 168, 105, 0.3);
  aspect-ratio: 4 / 3;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge-float {
  position: absolute;
  bottom: var(--space-md);
  inset-inline-start: var(--space-md);
  background: rgba(18, 21, 26, 0.85);
  backdrop-filter: blur(12px);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 168, 105, 0.35);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: #FFFFFF;
  font-size: var(--text-xs);
  font-weight: 600;
}

.hero__badge-float svg {
  width: 18px;
  height: 18px;
  color: var(--gold-accent);
}

/* --------------------------------------------------------------------------
   9. CARDS & SERVICE MODULES
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: clip;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-xs);
}

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

.card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: clip;
  background-color: var(--color-surface-alt);
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__img {
  transform: scale(1.05);
}

.card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card__kicker {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2xs);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: var(--space-sm);
  margin-block: var(--space-xs);
  border-top: 1px dashed var(--color-border);
  border-bottom: 1px dashed var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.card__meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card__meta-label {
  font-weight: 600;
  color: var(--color-dark);
}

.card__footer {
  margin-top: auto;
  padding-top: var(--space-sm);
}

/* Service Pill Badge */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge--gold {
  background-color: var(--gold-light);
  color: var(--gold-primary);
}

.badge--dark {
  background-color: var(--color-dark);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   10. DOCTOR / FOUNDER SPOTLIGHT
   -------------------------------------------------------------------------- */
.doctor-profile {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: clip;
}

.doctor-profile__grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .doctor-profile__grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.doctor-profile__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--color-dark-surface);
  overflow: clip;
}

@media (min-width: 992px) {
  .doctor-profile__media {
    height: 100%;
    aspect-ratio: auto;
  }
}

.doctor-profile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.doctor-profile__content {
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doctor-profile__subtitle {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2xs);
}

.doctor-profile__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-xs);
}

.doctor-profile__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.doctor-profile__bio {
  color: var(--color-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-lg);
}

.credentials-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

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

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: var(--text-sm);
}

.credential-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.doctor-profile__signature {
  width: 160px;
  height: auto;
  margin-top: var(--space-md);
}

/* --------------------------------------------------------------------------
   11. ACCESSIBLE TABS (E.g. Services Filter & Doctor Bio)
   -------------------------------------------------------------------------- */
.tabs-container {
  margin-bottom: var(--space-2xl);
}

.tab-nav {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-border);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: var(--space-sm) var(--space-md);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-muted);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-fast);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.tab-btn:hover {
  color: var(--gold-primary);
}

.tab-btn.active {
  color: var(--gold-primary);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--gold-primary);
  border-radius: var(--radius-full);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
  display: block;
}

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

/* --------------------------------------------------------------------------
   12. MASTER TREATMENT PROTOCOL COMPARISON TABLE
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.protocol-table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: var(--text-sm);
}

.protocol-table th {
  background-color: var(--color-dark);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  white-space: nowrap;
}

.protocol-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}

.protocol-table tbody tr:nth-child(even) {
  background-color: var(--color-bg);
}

.protocol-table tbody tr:hover {
  background-color: var(--gold-light);
}

.treatment-name {
  font-weight: 700;
  color: var(--color-dark);
  display: block;
}

/* --------------------------------------------------------------------------
   13. ACCESSIBLE FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 860px;
  margin-inline: auto;
}

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

.faq-item[open] {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-dark);
  text-align: start;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  user-select: none;
}

.faq-trigger::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--gold-primary);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-base);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   14. PRODUCTION CONSULTATION & CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.form-wrapper {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}

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

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

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

.form-label span.req {
  color: var(--color-error);
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg);
  color: var(--color-dark);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

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

.form-control:focus {
  border-color: var(--gold-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px var(--gold-glow);
  outline: none;
}

/* Honeypot Spam Field (Hidden from Real Users) */
.form-honeypot {
  position: absolute;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Form Alert Statuses */
.form-alert {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  display: none;
}

.form-alert--success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(30, 107, 71, 0.3);
}

.form-alert--error {
  background-color: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid rgba(168, 40, 40, 0.3);
}

/* Contact Info Cards */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  box-shadow: var(--shadow-xs);
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--gold-light);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card__title {
  font-size: var(--text-base);
  margin-bottom: 2px;
}

.contact-card__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* --------------------------------------------------------------------------
   15. GLOBAL MULTI-COLUMN FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-dark);
  color: #CFD8E3;
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: var(--space-xl);
  border-top: 1px solid var(--color-dark-subtle);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  }
}

.footer-col__title {
  color: #FFFFFF;
  font-size: var(--text-base);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer-col__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 32px;
  height: 2px;
  background-color: var(--gold-accent);
}

.footer-about p {
  color: #A2B1C4;
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

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

.footer-nav a {
  color: #A2B1C4;
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  display: inline-block;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  color: #A2B1C4;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-socials {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--color-dark-surface);
  border: 1px solid var(--color-dark-subtle);
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-dark-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #8C99A8;
}

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

/* --------------------------------------------------------------------------
   16. FLOATING ACTION WIDGET & BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */
/* Back to Top (Min 48px Touch Target, Bottom-Right) */
.back-to-top {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  inset-inline-end: 20px;
  width: 48px;
  height: 48px;
  background-color: var(--color-dark);
  color: #FFFFFF;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-normal);
}

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

.back-to-top:hover {
  background-color: var(--gold-primary);
  color: #FFFFFF;
  transform: translateY(-3px);
}

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

/* Floating WhatsApp Quick-Action */
.floating-whatsapp {
  position: fixed;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  inset-inline-end: 20px;
  width: 48px;
  height: 48px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: all var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   17. BREADCRUMBS & INNER PAGE HEADERS
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, #12151A 0%, #1D232C 100%);
  color: #FFFFFF;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(197, 168, 105, 0.2);
}

.page-hero h1 {
  color: #FFFFFF;
  margin-bottom: var(--space-xs);
}

.page-hero p {
  color: #C0CBD9;
  font-size: var(--text-lg);
  max-width: 700px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-accent);
  margin-bottom: var(--space-sm);
}

.breadcrumb a {
  color: #C0CBD9;
}

.breadcrumb a:hover {
  color: #FFFFFF;
}

.breadcrumb-sep {
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   18. SPECIALIZED CLINICAL MODULES (ENDYMED, BEFORE/AFTER)
   -------------------------------------------------------------------------- */
.tech-feature {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

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

.tech-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--gold-light);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ba-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.ba-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: clip;
  box-shadow: var(--shadow-sm);
}

.ba-card__media {
  aspect-ratio: 16 / 10;
  overflow: clip;
}

.ba-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-card__caption {
  padding: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
/* --------------------------------------------------------------------------
   18B. VIDEO MODAL STYLES
   -------------------------------------------------------------------------- */
.video-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 21, 26, 0.88);
  backdrop-filter: blur(8px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal__content {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: clip;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--gold-border);
}

.video-modal__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.video-modal__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal__close {
  position: absolute;
  top: -48px;
  inset-inline-end: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 32px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.video-modal__close:hover {
  color: var(--gold-accent);
}

/* --------------------------------------------------------------------------
   19. PRINT STYLES & REDUCED MOTION PREFERENCES
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .top-bar, .back-to-top, .floating-whatsapp, .mobile-drawer, .drawer-backdrop {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
}
