/* ==========================================================================
   VedhamRoots — Base Foundation Stylesheet (base.css)
   Contains: CSS Variables, Reset, Typography, Global Spacing & Layout Bases
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

:root {
  /* Surface Light Themes */
  --bg-canvas: #FFF9F2;
  --bg-cream: #FFF8ED;
  --bg-surface-elevated: #F5EBDD;
  --bg-surface-highlight: #FFFCF6;
  --bg-surface-card: #FFF0E2;
  --bg-surface-card-subtle: #FFFDF9;

  /* Dark Cultural Themes */
  --bg-dark-canvas: #360812;
  --bg-dark-maroon: #3D0A14;
  --bg-dark-crimson: #581423;
  --bg-dark-espresso: #241512;
  --bg-dark-card: #4A0E1A;
  --bg-dark-recessed: #2A050D;

  /* Accent & Sacred Geometry */
  --primary-saffron: #B95725;
  --primary-terracotta: #99400D;
  --primary-radiant: #E37A24;
  --primary-saffron-light: #F6923E;
  
  --gold-sacred: #D4AF37;
  --gold-amber: #F6C878;
  --gold-muted: #C99A45;
  --gold-light: #FCEBB8;
  --gold-halo: rgba(246, 200, 120, 0.25);
  
  /* Text Tones */
  --text-dark-primary: #3D0A14;
  --text-dark-heading: #241512;
  --text-dark-body: #56423A;
  --text-dark-muted: #7D5700;
  --text-dark-subtle: #897269;
  
  --text-light-primary: #FFF5EC;
  --text-light-heading: #FFF7EE;
  --text-light-body: #FDEBDD;
  --text-light-muted: #F3D6C6;
  --text-light-gold: #F6C878;

  /* Borders & Hairlines */
  --border-gold-hairline: 1px solid rgba(212, 175, 55, 0.4);
  --border-gold-subtle: 1px solid rgba(212, 175, 55, 0.25);
  --border-gold-strong: 1.5px solid #D4AF37;
  --border-sand-light: 1px solid #EDE0CF;
  --border-dark-hairline: 1px solid rgba(246, 200, 120, 0.25);

  /* Shadows */
  --shadow-warm-sm: 0 2px 8px rgba(36, 21, 18, 0.06);
  --shadow-warm-md: 0 8px 24px rgba(36, 21, 18, 0.08);
  --shadow-warm-lg: 0 16px 36px rgba(36, 21, 18, 0.12);
  --shadow-gold-glow: 0 4px 20px rgba(246, 200, 120, 0.35);
  --shadow-saffron-glow: 0 8px 24px rgba(185, 87, 37, 0.28);
  --shadow-dark-card: 0 12px 32px rgba(15, 2, 5, 0.3);

  /* Fonts */
  --font-primary: 'Comfortaa', sans-serif;
  --font-serif: 'Comfortaa', Georgia, serif;
  --font-sans: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --max-width-content: 1280px;
  --header-height: 88px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-dark-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background-color: var(--gold-amber);
  color: var(--bg-dark-maroon);
}

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

/* Ensure straight, non-italic typography across all text elements */
em, i, cite, q, address {
  font-style: normal;
}

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

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

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

ul, ol {
  list-style: none;
}

/* Typography Foundation */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-dark-primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4 {
  color: var(--text-light-heading);
}

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

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

/* Main Site Content Wrapper */
main {
  flex: 1;
  padding-top: var(--header-height);
  width: 100%;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

@media (min-width: 1200px) {
  .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Accessibility Skip Link */
.skip-to-content {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: var(--bg-dark-maroon);
  color: var(--gold-amber);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 1rem;
}

/* ==========================================================================
   VedhamRoots — Luxury Floating Capsule Navigation Bar (header.js)
   ========================================================================== */

/* Floating Header Wrapper */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#site-header.scrolled {
  padding: 0.45rem 1.25rem;
}

/* Floating Capsule Pill Container */
.header-pill-bar {
  pointer-events: auto;
  width: 100%;
  max-width: 1360px;
  min-height: 72px;
  background: rgba(255, 252, 246, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-pill);
  box-shadow: 
    0 10px 30px -4px rgba(54, 8, 18, 0.1),
    0 2px 14px rgba(246, 200, 120, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.5rem 1rem 0.5rem 1.25rem;
  position: relative;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#site-header.scrolled .header-pill-bar {
  background: rgba(255, 250, 242, 0.98);
  box-shadow: 
    0 14px 40px -4px rgba(54, 8, 18, 0.16),
    0 0 24px rgba(246, 200, 120, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

/* Sacred Gold to Saffron Perimeter Ribbon Frame (Covering Top, Right, Bottom & Left) */
.header-spectrum-accent {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #D4AF37 0%, #FF6F00 50%, #D4AF37 100%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.95;
  z-index: 2;
}

#site-header.scrolled .header-spectrum-accent {
  opacity: 1;
  background: linear-gradient(135deg, #D4AF37 0%, #FF6F00 45%, #D4AF37 100%) border-box;
}

/* Brand Section */
.header-brand-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.brand-logo-halo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(246, 200, 120, 0.35) 0%, rgba(227, 122, 36, 0.12) 55%, transparent 75%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.header-brand-pill:hover .brand-logo-halo {
  transform: scale(1.06);
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3D0A14 0%, #99400D 50%, #B95725 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.03em;
  color: var(--primary-saffron);
  margin-top: 0.15rem;
  white-space: nowrap;
}

/* Desktop Capsule Navigation */
.desktop-pill-nav {
  display: none;
  align-items: center;
  gap: 0.2rem;
}

@media (min-width: 1140px) {
  .desktop-pill-nav {
    display: flex;
  }
}

.nav-pill-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.35rem 0.72rem;
  min-height: 44px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark-primary);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  line-height: 1.15;
}

.nav-pill-item:hover {
  background: rgba(185, 87, 37, 0.08);
  color: var(--primary-terracotta);
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-1px);
}

.nav-pill-item.active {
  background: linear-gradient(135deg, rgba(185, 87, 37, 0.14) 0%, rgba(246, 200, 120, 0.25) 100%);
  color: var(--primary-terracotta);
  font-weight: 700;
  border-color: rgba(185, 87, 37, 0.38);
  box-shadow: 0 2px 8px rgba(185, 87, 37, 0.12);
}

.nav-item-text {
  font-size: 0.85rem;
  font-weight: inherit;
  color: inherit;
  line-height: 1.2;
}

/* Micro Badges positioned below navigation text */
.nav-micro-badge {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.08rem 0.42rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-micro-badge.badge-saffron {
  background: linear-gradient(135deg, #FF6F00 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(217, 119, 6, 0.3);
  border: none;
}

.nav-micro-badge.badge-teal {
  background: linear-gradient(135deg, #0D9488 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(13, 148, 136, 0.3);
  border: none;
}

.nav-micro-badge.badge-crimson {
  background: linear-gradient(135deg, #BE123C 0%, #E11D48 100%);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(190, 18, 60, 0.3);
  border: none;
}

/* Navigation Dropdown Menu for Contact & Teach With Us */
.nav-dropdown-item-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item-text-row {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-chevron-icon {
  font-size: 17px !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: inherit;
  margin-left: 0.05rem;
}

.nav-dropdown-item-wrapper:hover .nav-chevron-icon,
.nav-dropdown-item-wrapper:focus-within .nav-chevron-icon,
.nav-dropdown-item-wrapper.open .nav-chevron-icon {
  transform: rotate(180deg);
  color: var(--primary-terracotta);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 320px;
  background: rgba(255, 252, 246, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 
    0 16px 36px -4px rgba(54, 8, 18, 0.18),
    0 4px 18px rgba(246, 200, 120, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
  padding: 0.65rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s;
  pointer-events: none;
  z-index: 1050;
}

/* Invisible hover bridge to prevent gap closure */
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown-item-wrapper:hover .nav-dropdown-panel,
.nav-dropdown-item-wrapper:focus-within .nav-dropdown-panel,
.nav-dropdown-item-wrapper.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-header {
  padding: 0.35rem 0.65rem 0.35rem 0.65rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  margin-bottom: 0.35rem;
}

.dropdown-header-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-terracotta);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md, 12px);
  text-decoration: none;
  color: inherit;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}

.nav-dropdown-link:hover {
  background: rgba(185, 87, 37, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(2px);
}

.nav-dropdown-link.active {
  background: linear-gradient(135deg, rgba(185, 87, 37, 0.12) 0%, rgba(246, 200, 120, 0.2) 100%);
  border-color: rgba(185, 87, 37, 0.35);
}

.dropdown-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-icon-box .material-symbols-outlined {
  font-size: 20px;
}

.icon-admissions {
  background: rgba(185, 87, 37, 0.12);
  color: var(--primary-terracotta);
}

.icon-faculty {
  background: rgba(190, 18, 60, 0.12);
  color: #BE123C;
}

.icon-campus {
  background: rgba(212, 175, 55, 0.2);
  color: #99400D;
}

.dropdown-text-box {
  flex: 1;
}

.dropdown-link-title {
  font-family: var(--font-serif);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  display: flex;
  align-items: center;
  line-height: 1.25;
}

.dropdown-link-desc {
  font-size: 0.76rem;
  color: var(--text-dark-subtle);
  line-height: 1.35;
  margin-top: 0.15rem;
}

.nav-dropdown-footer {
  margin-top: 0.4rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.dropdown-footer-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.78rem;
  color: var(--text-dark-body);
  text-decoration: none;
  transition: all 0.18s ease;
}

.dropdown-footer-link:hover {
  background: rgba(37, 211, 102, 0.12);
  color: #128C7E;
}

/* Header Action Suite */
.header-pill-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

/* Quick Search Pill */
.header-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 245, 235, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.45);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark-body);
  cursor: pointer;
  transition: all 0.22s ease;
}

.header-search-btn:hover {
  background: #FFFFFF;
  border-color: var(--primary-radiant);
  box-shadow: 0 0 12px rgba(246, 200, 120, 0.45);
  transform: translateY(-1px);
}

.search-icon {
  font-size: 16px;
  color: var(--primary-terracotta);
}

.search-kbd {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 0.65rem;
  font-family: monospace;
  color: var(--primary-terracotta);
  font-weight: 700;
}

/* Direct WhatsApp Quick Connect Pill */
.header-wa-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.38);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-wa-pill:hover {
  transform: scale(1.1) translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55);
}

/* Book Trial Luxury Pill CTA */
.header-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1.15rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #FF6F00 0%, #EA580C 45%, #BE123C 100%);
  color: #FFF8ED;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.42), 0 0 10px rgba(246, 200, 120, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(234, 88, 12, 0.55), 0 0 16px rgba(246, 200, 120, 0.5);
  filter: brightness(1.05);
}

.cta-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.header-cta-pill:hover .cta-arrow {
  transform: translateX(3px);
}

/* Mobile Menu Toggle */
.header-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--bg-surface-card);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  color: var(--text-dark-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.header-mobile-toggle:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--primary-terracotta);
}

@media (min-width: 1140px) {
  .header-mobile-toggle {
    display: none;
  }
}

/* Responsive Header Breakpoints */
@media (max-width: 1139px) {
  .header-pill-bar {
    min-height: 66px;
    padding: 0.45rem 0.85rem 0.45rem 1.1rem;
  }

  .brand-logo-halo {
    width: 48px;
    height: 48px;
  }

  .brand-logo {
    height: 42px;
  }

  .header-cta-pill {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .header-search-btn .search-kbd {
    display: none;
  }
}

@media (max-width: 768px) {
  #site-header {
    padding: 0.65rem 0.85rem;
  }

  #site-header.scrolled {
    padding: 0.45rem 0.85rem;
  }

  .header-pill-bar {
    min-height: 72px;
    padding: 0.55rem 0.95rem 0.55rem 1.1rem;
    gap: 0.75rem;
  }

  .brand-logo-halo {
    width: 50px;
    height: 50px;
  }

  .brand-logo {
    height: 44px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

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

@media (max-width: 560px) {
  #site-header {
    padding: 0.55rem 0.65rem;
  }

  #site-header.scrolled {
    padding: 0.38rem 0.65rem;
  }

  .header-pill-bar {
    min-height: 68px;
    padding: 0.5rem 0.85rem 0.5rem 0.95rem;
    gap: 0.65rem;
  }

  .header-brand-pill {
    gap: 0.65rem;
    min-width: 0;
  }

  .brand-logo-halo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .brand-logo {
    height: 42px;
  }

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

  .brand-name {
    font-size: 1.18rem;
    line-height: 1.12;
    white-space: nowrap;
  }

  .brand-tagline {
    display: block;
    font-size: 0.56rem;
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin-top: 0.12rem;
    white-space: nowrap;
  }

  .header-pill-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .header-mobile-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
}

@media (max-width: 420px) {
  .header-pill-bar {
    min-height: 64px;
    padding: 0.45rem 0.75rem 0.45rem 0.85rem;
  }

  .header-brand-pill {
    gap: 0.55rem;
  }

  .brand-logo-halo {
    width: 44px;
    height: 44px;
  }

  .brand-logo {
    height: 38px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-tagline {
    font-size: 0.52rem;
    letter-spacing: 0.02em;
  }

  .header-mobile-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}

@media (max-width: 370px) {
  #site-header {
    padding: 0.4rem 0.45rem;
  }

  .header-pill-bar {
    min-height: 60px;
    padding: 0.4rem 0.65rem 0.4rem 0.75rem;
    gap: 0.45rem;
  }

  .header-brand-pill {
    gap: 0.48rem;
  }

  .brand-logo-halo {
    width: 40px;
    height: 40px;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.46rem;
    letter-spacing: 0.01em;
  }

  .header-mobile-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
}

/* ==========================================================================
   Mobile Navigation Drawer (header.js)
   ========================================================================== */

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: var(--bg-surface-card);
  color: var(--text-dark-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--primary-terracotta);
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 21, 18, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88vw;
  max-width: 380px;
  background: var(--bg-canvas);
  border-left: 1.5px solid var(--gold-sacred);
  box-shadow: -8px 0 32px rgba(54, 8, 18, 0.25);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  padding-top: max(1.25rem, env(safe-area-inset-top));
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  pointer-events: auto;
}

.mobile-drawer-brand {
  gap: 0.65rem;
  pointer-events: auto;
}

.mobile-drawer-search-box {
  padding: 0.85rem 0 0.5rem 0;
  pointer-events: auto;
}

.mobile-drawer-search-btn {
  width: 100%;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 0.82rem;
  color: var(--text-dark-subtle);
  pointer-events: auto;
}

.mobile-drawer-search-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0;
  flex: 1;
  overflow-y: auto;
  pointer-events: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.72rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark-primary);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav-content .nav-icon {
  font-size: 20px;
  color: var(--primary-terracotta);
}

.mobile-nav-title {
  font-size: 0.92rem;
  font-weight: 600;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--bg-surface-card);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--primary-terracotta);
}

.mobile-nav-link .arrow-icon {
  font-size: 18px;
  color: var(--gold-muted);
  opacity: 0.7;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: auto;
}

.mobile-drawer-cta {
  width: 100%;
  justify-content: center;
  font-weight: 700;
  padding: 0.75rem 1rem;
  pointer-events: auto;
}

.mobile-drawer-contacts {
  display: flex;
  gap: 0.5rem;
  pointer-events: auto;
}

.mobile-drawer-btn {
  flex: 1;
  font-size: 0.8rem;
  padding: 0.6rem 0.5rem;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  pointer-events: auto;
}

.mobile-drawer-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: auto;
}

.mobile-drawer-wa:hover {
  filter: brightness(1.05);
}

/* Centralized Footer Layout */
#site-footer {
  background: linear-gradient(180deg, var(--bg-dark-maroon) 0%, var(--bg-dark-canvas) 60%, var(--bg-dark-recessed) 100%);
  color: var(--text-light-body);
  border-top: 2px solid var(--gold-sacred);
  padding-top: 5rem;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.footer-diya-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(246, 200, 120, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-lotus-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 580px;
  max-width: 92vw;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.07;
  filter: drop-shadow(0 0 35px rgba(246, 200, 120, 0.35));
}

.footer-lotus-watermark {
  width: 100%;
  height: auto;
  display: block;
}

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

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2.2fr 1.6fr 1.6fr 1.6fr;
  }
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 340px;
}

/* Footer Official Social Buttons */
.footer-social-list {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  align-items: center;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  display: block;
}

.footer-social-btn:hover {
  transform: translateY(-3px) scale(1.08);
}

.footer-social-btn.social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35);
}
.footer-social-btn.social-instagram:hover {
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.6);
}

.footer-social-btn.social-youtube {
  background: #FF0000;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35);
}
.footer-social-btn.social-youtube:hover {
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.6);
}

.footer-social-btn.social-facebook {
  background: #1877F2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}
.footer-social-btn.social-facebook:hover {
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.6);
}

.footer-social-btn.social-whatsapp {
  background: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.footer-social-btn.social-whatsapp:hover {
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.6);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-amber);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--gold-amber);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(253, 235, 221, 0.7);
}

.footer-developer-link {
  color: var(--gold-amber);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.footer-developer-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--primary-saffron-light);
}

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

/* Utility / Micro Animations */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.animate-pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}

