/* ==========================================================================
   AURA MAKEOVER & BEAUTY STUDIO — EDITORIAL LUXURY DESIGN SYSTEM
   Palette: 70% Soft Cream/Ivory, 20% Deep Berry/Burgundy, 10% Rose/Champagne
   Typography: Playfair Display + Italiana + Plus Jakarta Sans
   ========================================================================== */

:root {
  /* Curated Luxury Color Palette */
  --bg-cream: #FAF7F2;          /* Primary Canvas (70%) */
  --bg-ivory: #F5EFEB;          /* Secondary Soft Background */
  --bg-surface: #FFFFFF;        /* Elevated Card Surfaces */
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-translucent: rgba(250, 247, 242, 0.92);

  --color-berry: #4A1525;       /* Primary Heading & Brand Color */
  --color-berry-dark: #360E1A;  /* Deep Berry Shadow / Accent */
  --color-burgundy: #721D32;    /* Primary CTA / Active Accent (20%) */
  --color-burgundy-hover: #581424;
  --color-burgundy-soft: rgba(114, 29, 50, 0.08);

  --color-rose: #D8A49B;        /* Dusty Rose / Muted Nude Accent */
  --color-nude: #EAD9D5;        /* Soft Nude Border / Tag */
  --color-champagne: #C9A86A;   /* Champagne / Warm Metallic Gold (10%) */
  --color-champagne-light: #F4EAD4;
  --color-gold-border: rgba(201, 168, 106, 0.35);

  --color-text: #1C0A10;        /* Deep Berry-Black High-Contrast Text */
  --color-text-muted: #3B3335;  /* High-Contrast Charcoal for Captions & Subtext (Passes WCAG AAA) */
  --color-border: rgba(114, 29, 50, 0.15);
  --color-border-light: rgba(201, 168, 106, 0.3);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Italiana', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 16px rgba(74, 21, 37, 0.04);
  --shadow-md: 0 10px 30px -5px rgba(74, 21, 37, 0.08);
  --shadow-lg: 0 20px 45px -10px rgba(74, 21, 37, 0.12);
  --shadow-glow: 0 0 25px rgba(201, 168, 106, 0.25);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.25s var(--ease-editorial);
  --transition-normal: 0.45s var(--ease-editorial);
  --transition-slow: 0.8s var(--ease-editorial);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

body {
  background-color: var(--bg-cream);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  selection-background-color: var(--color-rose);
}

::selection {
  background: var(--color-burgundy);
  color: var(--bg-cream);
}

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

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

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

ul, ol {
  list-style: none;
}

/* Three.js canvas removed per user request */

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.container-wide {
  max-width: 1440px;
}

.container-narrow {
  max-width: 960px;
}

/* ==========================================================================
   ELEMENTOR INTEGRATION & CANVAS COMPATIBILITY
   ========================================================================== */
.nandhini-elementor-container {
  width: 100%;
  min-height: 60vh;
  position: relative;
}

.elementor-editor-active .site-header,
.elementor-editor-preview .site-header {
  position: relative !important;
  pointer-events: auto !important;
}

body.elementor-page .site-main {
  padding-top: 0;
}

/* ==========================================================================
   EDITORIAL TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-berry);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-burgundy);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.eyebrow::before, .eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--color-champagne);
}

.eyebrow-start::after {
  display: none;
}

h1.hero-title {
  font-size: 3.85rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--color-berry);
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h2.section-title {
  font-size: 2.85rem;
  font-weight: 400;
  line-height: 1.18;
  color: var(--color-berry);
  margin-bottom: 1.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h3.card-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-berry);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.text-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.75;
  max-width: 640px;
}

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

.text-center .text-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   BUTTONS & CTAs (LUXURY MICRO-INTERACTIONS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  z-index: 2;
}

.btn-primary {
  background: var(--color-burgundy);
  color: #FFFFFF;
  border-color: var(--color-burgundy);
  box-shadow: 0 8px 20px rgba(114, 29, 50, 0.22);
}

.btn-primary:hover {
  background: var(--color-burgundy-hover);
  border-color: var(--color-burgundy-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(114, 29, 50, 0.3);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF !important;
  color: #721D32 !important;
  border: 2px solid #721D32 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(114, 29, 50, 0.12);
}

.btn-secondary:hover {
  background: #721D32 !important;
  color: #FFFFFF !important;
  border-color: #721D32 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(114, 29, 50, 0.28);
}

.btn-outline-champagne {
  background: #FFFFFF !important;
  color: #721D32 !important;
  border: 2px solid #C9A86A !important;
  font-weight: 700 !important;
}

.btn-outline-champagne:hover {
  background: #C9A86A !important;
  color: #1C0A10 !important;
  border-color: #C9A86A !important;
  transform: translateY(-2px);
}

.btn-champagne {
  background: #C9A86A !important;
  color: #1C0A10 !important;
  border: 2px solid #C9A86A !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px rgba(201, 168, 106, 0.35);
}

.btn-champagne:hover {
  background: #FFFFFF !important;
  color: #721D32 !important;
  border-color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(201, 168, 106, 0.45);
}

.btn-sm {
  padding: 0.65rem 1.4rem;
  font-size: 0.8125rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* WhatsApp pill button - Burgundy styled */
.btn-whatsapp {
  background: var(--color-burgundy);
  color: #FFFFFF;
  border-color: var(--color-burgundy);
  box-shadow: 0 8px 20px rgba(114, 29, 50, 0.25);
}

.btn-whatsapp:hover {
  background: var(--color-berry);
  color: #FFFFFF;
  border-color: var(--color-berry);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(114, 29, 50, 0.35);
}

.phone-link {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.phone-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* ==========================================================================
   GLOBAL FLOATING NAVIGATION
   ========================================================================== */
.site-header {
  position: absolute;
  top: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  pointer-events: none;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.65rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  pointer-events: auto;
  gap: 2.25rem;
}

/* On-scroll state */
.site-header.scrolled .nav-container {
  background: var(--bg-translucent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-gold-border);
  box-shadow: var(--shadow-md);
  padding: 0.55rem 2.25rem;
}

/* Mobile left socials: strictly hidden on desktop / laptop / tablet */
.nav-mobile-socials {
  display: none !important;
}

/* Logo / Monogram - Centered and significantly larger & clearer */
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 0.5rem !important;
  margin: 0 !important;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 76px !important;
  width: auto !important;
  max-width: 270px !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  image-rendering: auto !important;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  filter: drop-shadow(0 2px 8px rgba(114, 29, 50, 0.06));
  transition: transform var(--transition-fast);
}

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

.brand-logo-img-footer {
  height: 110px !important;
  width: auto !important;
  max-width: 340px !important;
  object-fit: contain !important;
  background: #FFFFFF !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  border: 1.5px solid rgba(201, 168, 106, 0.55) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  display: inline-block !important;
  margin-bottom: 1.5rem !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.brand-logo-img-footer:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28) !important;
  border-color: rgba(201, 168, 106, 0.8) !important;
}


.brand-logo-img-loader {
  max-width: 260px;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.brand-monogram {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-berry);
  color: var(--color-champagne-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  border: 1px solid var(--color-champagne);
  box-shadow: 0 4px 12px rgba(74, 21, 37, 0.15);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-monogram {
  transform: rotate(6deg) scale(1.05);
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--color-berry);
  font-weight: 600;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-burgundy);
  font-weight: 500;
}

/* Nav Links - Split Centered Editorial Luxury Header */
.nav-links,
.nav-links ul,
.nav-links ul.menu,
.nav-links ul.nav-menu-list,
.nav-menu-list {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 2.25rem !important;
}

.nav-links-left {
  justify-content: flex-end !important;
  flex: 1 1 0% !important;
  gap: 2.25rem !important;
}

.nav-links-right {
  justify-content: flex-start !important;
  flex: 1 1 0% !important;
  gap: 2.25rem !important;
}

.nav-links li,
.nav-links .menu-item,
.nav-menu-list li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
}

.nav-links li::before,
.nav-links li::after,
.nav-links .menu-item::before,
.nav-links .menu-item::after {
  display: none !important;
  content: none !important;
}

.nav-links a,
.nav-links .menu-item a,
.nav-link {
  font-family: var(--font-body) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--color-berry) !important;
  text-decoration: none !important;
  position: relative !important;
  padding: 0.4rem 0.2rem !important;
  transition: color var(--transition-fast) !important;
  display: inline-block !important;
  background: transparent !important;
  border: none !important;
  white-space: nowrap !important;
}

.nav-links a::after,
.nav-links .menu-item a::after,
.nav-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 0 !important;
  height: 1.5px !important;
  background: var(--color-burgundy) !important;
  transition: all var(--transition-fast) !important;
  transform: translateX(-50%) !important;
}

.nav-links a:hover,
.nav-links .current-menu-item a,
.nav-links .current_page_item a,
.nav-link:hover,
.nav-link.active {
  color: var(--color-burgundy) !important;
}

.nav-links a:hover::after,
.nav-links .current-menu-item a::after,
.nav-links .current_page_item a::after,
.nav-link:hover::after,
.nav-link.active::after {
  width: 100% !important;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Action Icon Buttons: Instagram, WhatsApp, and Calendar share the EXACT same luxury theme */
a.nav-whatsapp-btn,
button.nav-whatsapp-btn,
.nav-whatsapp-btn,
.nav-calendar-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--color-burgundy-soft) !important;
  color: var(--color-burgundy) !important;
  border: 1px solid var(--color-border) !important;
  transition: all var(--transition-fast) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: inherit !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

a.nav-whatsapp-btn:hover,
button.nav-whatsapp-btn:hover,
.nav-whatsapp-btn:hover,
.nav-calendar-btn:hover {
  background: var(--color-burgundy) !important;
  color: #FFFFFF !important;
  border-color: var(--color-burgundy) !important;
  transform: scale(1.08) !important;
  box-shadow: 0 4px 14px rgba(114, 29, 50, 0.25) !important;
}

.nav-whatsapp-btn svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  margin: auto !important;
  flex-shrink: 0 !important;
  fill: currentColor !important;
}

.nav-whatsapp-btn:hover svg {
  fill: #FFFFFF !important;
}

.nav-calendar-btn svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  margin: auto !important;
  flex-shrink: 0 !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
}

.nav-calendar-btn:hover svg {
  stroke: #FFFFFF !important;
  fill: none !important;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: rgba(114, 29, 50, 0.05);
  border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: rgba(114, 29, 50, 0.1);
  border-color: var(--color-champagne);
  transform: scale(1.05);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-berry);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile Fullscreen Menu Drawer */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  background: #FAF7F2;
  z-index: 99999;
  display: none !important;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.mobile-menu-overlay.open {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201, 168, 106, 0.25);
}

.mobile-menu-close {
  background: #FFFFFF;
  border: 1px solid rgba(114, 29, 50, 0.18);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-berry);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mobile-menu-close:hover {
  background: var(--color-berry);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 1.5rem 0;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--color-berry);
  text-decoration: none;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(201, 168, 106, 0.2);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--color-burgundy);
  padding-left: 0.5rem;
  border-bottom-color: var(--color-burgundy);
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201, 168, 106, 0.25);
}

/* Social icons row inside mobile drawer */
.mobile-drawer-socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding-bottom: 0.5rem;
}

.mobile-drawer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1;
  height: 44px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--color-border);
  background: var(--color-burgundy-soft);
  color: var(--color-burgundy);
  transition: all var(--transition-fast);
}

.mobile-drawer-social-btn:hover {
  background: var(--color-burgundy);
  color: #FFFFFF;
  border-color: var(--color-burgundy);
  transform: translateY(-1px);
}

.mobile-drawer-whatsapp {
  background: #f0faf3;
  border-color: #25D366;
  color: #128C7E;
}

.mobile-drawer-whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

/* Mobile Sticky Bottom Quick Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(201, 168, 106, 0.3);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  gap: 0.75rem;
}

.mobile-bar-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  height: 44px;
}

.mobile-bar-whatsapp {
  background: var(--color-burgundy);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(114, 29, 50, 0.3);
}

.mobile-bar-whatsapp:hover {
  background: var(--color-berry);
  transform: translateY(-2px);
}

.mobile-bar-book {
  background: var(--color-burgundy);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(114, 29, 50, 0.3);
}

.mobile-bar-book:hover {
  background: #8E233E;
  transform: translateY(-2px);
}

/* ==========================================================================
   GLOBAL APPOINTMENT POPUP MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(34, 30, 31, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-cream);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.94) translateY(15px);
  transition: transform var(--transition-normal);
  padding: 3rem 2.5rem;
}

.modal-overlay.open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(114, 29, 50, 0.06);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-berry);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-burgundy);
  color: #FFFFFF;
}

/* Modal Form Fields */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-berry);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-burgundy);
  box-shadow: 0 0 0 3px rgba(114, 29, 50, 0.1);
}

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

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (GLOBAL)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  z-index: 990;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.5;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   INITIAL LOADING EXPERIENCE (Aesthetic Glowing Circle & Line Loader)
   ========================================================================== */
.site-loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-cream);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

/* Outer Glowing Circle Loader */
.loader-circle-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-circle-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--color-burgundy);
  border-right-color: var(--color-champagne);
  box-shadow: 0 0 25px rgba(201, 168, 106, 0.5), 0 0 50px rgba(114, 29, 50, 0.25);
  animation: loaderSpin 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite, loaderGlowPulse 2.4s ease-in-out infinite alternate;
}

.loader-circle-inner {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-circle-inner img,
.brand-logo-img-loader {
  width: 78px !important;
  height: auto !important;
  max-width: 78px !important;
  object-fit: contain !important;
  background: transparent !important;
}

@keyframes loaderSpin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loaderGlowPulse {
  0% {
    box-shadow: 0 0 15px rgba(201, 168, 106, 0.35), 0 0 30px rgba(114, 29, 50, 0.15);
  }
  100% {
    box-shadow: 0 0 35px rgba(201, 168, 106, 0.65), 0 0 65px rgba(114, 29, 50, 0.35);
  }
}

/* Horizontal Line Loader */
.loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(114, 29, 50, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-champagne) 0%, var(--color-burgundy) 100%);
  animation: loaderProgressFill 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes loaderProgressFill {
  0% { width: 0%; }
  40% { width: 55%; }
  100% { width: 100%; }
}

.loader-brand-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-burgundy);
  font-weight: 600;
  opacity: 0.9;
}

/* ==========================================================================
   HERO SECTION (CINEMATIC & EDITORIAL)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background-color: var(--bg-cream);
  overflow: hidden;
}

.hero-media-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.04);
  transition: transform 12s ease-out;
}

.hero-section:hover .hero-media-img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-cream) 0%, rgba(250, 247, 242, 0.75) 40%, rgba(250, 247, 242, 0.15) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
}

.hero-trust-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-berry);
}

.hero-trust-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  z-index: 4;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: var(--color-champagne);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--color-burgundy);
  animation: scroll-drop 1.8s infinite ease-in-out;
}

@keyframes scroll-drop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ==========================================================================
   CONNECTED VISUAL STORY LINE
   ========================================================================== */
.story-path-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.story-line {
  stroke: var(--color-burgundy);
  stroke-width: 1.2px;
  stroke-dasharray: 6 6;
  opacity: 0.25;
  fill: none;
}

/* ==========================================================================
   CARDS & GRIDS (EDITORIAL MAGAZINE LAYOUTS)
   ========================================================================== */
.section-padding {
  padding: 7rem 0;
  position: relative;
}

.section-padding-lg {
  padding: 9rem 0;
}

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

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

/* 2-column, 3-column, 4-column responsive grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

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

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

/* Editorial Card */
.editorial-card {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-media-portrait {
  aspect-ratio: 3/4;
}

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

.editorial-card:hover .card-img {
  transform: scale(1.06);
}

.card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-burgundy);
  border: 1px solid var(--color-gold-border);
}

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

.card-body p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-action {
  margin-top: auto;
}

/* ==========================================================================
   FEATURED SECTIONS (KERALA AVAILABILITY & SPOTLIGHTS)
   ========================================================================== */
.kerala-spotlight-card {
  background: linear-gradient(135deg, #4A1525 0%, #2D0B16 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 4.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.kerala-spotlight-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.kerala-spotlight-card h2,
.kerala-spotlight-card .spotlight-title {
  color: #FFFFFF;
  font-size: 2.35rem;
  line-height: 1.2;
}

.kerala-spotlight-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.125rem;
  max-width: 620px;
}

.kerala-districts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2rem 0;
}

.district-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 168, 106, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-champagne-light);
}

/* ==========================================================================
   TESTIMONIALS CAROUSEL & RUNNING MARQUEE (Clear Font, No Cursive)
   ========================================================================== */
.testimonials-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1.5rem 0;
}

.testimonials-marquee-wrapper::before,
.testimonials-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-cream) 0%, transparent 100%);
}

.testimonials-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-cream) 0%, transparent 100%);
}

.testimonials-marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: testimonialMarquee 45s linear infinite;
}

.testimonials-marquee-track:hover,
.testimonials-marquee-track.is-paused {
  animation-play-state: paused !important;
}

/* Testimonials Marquee Click to Pause / Play */
.testimonials-ctrl-btn {
  display: none !important;
}

@keyframes testimonialMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  position: relative;
  transition: all var(--transition-normal);
  width: 380px;
  min-width: 380px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  cursor: pointer;
  user-select: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-burgundy);
  box-shadow: var(--shadow-md);
}

.testimonials-marquee-track.is-paused .testimonial-card {
  border-color: var(--color-burgundy);
  box-shadow: 0 6px 20px rgba(114, 29, 50, 0.1);
}

.testimonial-stars {
  color: var(--color-champagne);
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: var(--font-body) !important;
  font-size: 0.9375rem !important;
  font-style: normal !important;
  font-weight: 400 !important;
  color: var(--color-text) !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--color-champagne);
}

.author-info h4 {
  font-family: var(--font-body) !important;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-berry);
  margin-bottom: 0.15rem;
}

.author-info span {
  font-family: var(--font-body) !important;
  font-size: 0.75rem;
  color: var(--color-burgundy);
  font-weight: 500;
}

/* ==========================================================================
   GALLERY PAGE (MASONRY & FILTER TABS & LIGHTBOX)
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-berry);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--color-burgundy);
  color: #FFFFFF;
  border-color: var(--color-burgundy);
  box-shadow: 0 4px 14px rgba(114, 29, 50, 0.2);
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  cursor: pointer;
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 21, 37, 0.88) 0%, rgba(74, 21, 37, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-title {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.gallery-item-category {
  color: var(--color-champagne-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Lightbox Modal with Book-Style Page Turn Experience */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(28, 10, 16, 0.96);
  backdrop-filter: blur(18px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-book-stage {
  perspective: 1400px;
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-page {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1.5px rgba(201, 168, 106, 0.4);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #221E1F;
}

.lightbox-img {
  display: block;
  max-width: 82vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* 3D Book Page Flip Animation */
.lightbox-page.turning-next-out {
  transform: rotateY(-70deg) scale(0.92);
  transform-origin: left center;
  opacity: 0.15;
}

.lightbox-page.turning-next-in {
  animation: bookPageInRight 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.lightbox-page.turning-prev-out {
  transform: rotateY(70deg) scale(0.92);
  transform-origin: right center;
  opacity: 0.15;
}

.lightbox-page.turning-prev-in {
  animation: bookPageInLeft 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes bookPageInRight {
  0% {
    transform: rotateY(70deg) scale(0.92);
    transform-origin: right center;
    opacity: 0.2;
  }
  100% {
    transform: rotateY(0deg) scale(1);
    transform-origin: center center;
    opacity: 1;
  }
}

@keyframes bookPageInLeft {
  0% {
    transform: rotateY(-70deg) scale(0.92);
    transform-origin: left center;
    opacity: 0.2;
  }
  100% {
    transform: rotateY(0deg) scale(1);
    transform-origin: center center;
    opacity: 1;
  }
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #FFFFFF !important;
  border: 2.5px solid #C9A86A !important;
  color: #721D32 !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  transition: all var(--transition-fast);
  z-index: 10010;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(201, 168, 106, 0.5) !important;
}

.lightbox-arrow:hover {
  background: #C9A86A !important;
  border-color: #FFFFFF !important;
  transform: translateY(-50%) scale(1.15) !important;
  color: #1C0A10 !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85), 0 0 28px rgba(201, 168, 106, 0.8) !important;
}

.lightbox-arrow-prev {
  left: 2.5rem;
}

.lightbox-arrow-next {
  right: 2.5rem;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: #721D32 !important;
  background: #FFFFFF !important;
  border: 2.5px solid #C9A86A !important;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 2rem !important;
  font-weight: 900 !important;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10020;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 16px rgba(201, 168, 106, 0.4) !important;
}

.lightbox-close:hover {
  background: #721D32 !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  transform: rotate(90deg) scale(1.1);
}

.lightbox-counter-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(45, 11, 22, 0.85);
  border: 1px solid var(--color-champagne);
  color: var(--color-champagne-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  z-index: 2600;
}

@media (max-width: 768px) {
  .lightbox-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  .lightbox-arrow-prev { left: 0.75rem; }
  .lightbox-arrow-next { right: 0.75rem; }
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }
}

/* About Us Prominent Statistics Section */
.about-stats-section {
  padding: 4.5rem 0;
  background: var(--bg-cream);
  border-top: 1px solid var(--color-gold-border);
  border-bottom: 1px solid var(--color-gold-border);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.about-stat-item {
  padding: 1.25rem 1rem;
}

.about-stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  font-style: normal !important;
  color: var(--color-berry);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  display: block;
}

.about-stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  display: block;
}

@media (max-width: 768px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .about-stat-number {
    font-size: 2.75rem;
  }
}

/* ==========================================================================
   EDITORIAL FOOTER
   ========================================================================== */
.site-footer {
  background: #1C0A10;
  color: rgba(255, 255, 255, 0.82);
  padding: 6rem 0 2.5rem;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(201, 168, 106, 0.25);
}

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

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 340px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid rgba(201, 168, 106, 0.35);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--color-burgundy);
  color: #FFFFFF;
  border-color: var(--color-burgundy);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #F4EAD4;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

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

.footer-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-champagne-light);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION CLASSES
   ========================================================================== */
.reveal-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-editorial), transform 0.8s var(--ease-editorial);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-editorial), transform 0.8s var(--ease-editorial);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-editorial), transform 0.8s var(--ease-editorial);
}

.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* ==========================================================================
   MASTER RESPONSIVE DESIGN (LAPTOP, TABLET & MOBILE ART DIRECTION)
   ========================================================================== */

/* 1. Medium Laptops & Large Tablets (<= 1200px) */
@media (max-width: 1200px) {
  .container {
    max-width: 980px;
    padding: 0 1.5rem;
  }

  h1.hero-title {
    font-size: 3.35rem;
    line-height: 1.14;
  }

  h2.section-title {
    font-size: 2.45rem;
    line-height: 1.2;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* 2. Tablets & Small Laptops (769px to 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .site-header {
    position: absolute;
    top: 0.75rem;
    left: 0;
    width: 100%;
    pointer-events: auto;
  }

  .nav-container {
    width: calc(100% - 1.5rem) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 28px !important;
    border: 1px solid rgba(201, 168, 106, 0.25);
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    gap: 0.65rem !important;
  }

  .nav-mobile-socials {
    display: none !important;
  }

  .nav-links {
    display: flex !important;
    gap: 0.85rem !important;
  }

  .nav-links-left {
    justify-content: flex-end !important;
    gap: 0.85rem !important;
  }

  .nav-links-right {
    justify-content: flex-start !important;
    gap: 0.85rem !important;
  }

  .nav-links a,
  .nav-links .menu-item a,
  .nav-link {
    font-size: 0.70rem !important;
    letter-spacing: 0.05em !important;
    padding: 0.25rem 0.1rem !important;
  }

  .brand-logo {
    padding: 0 !important;
  }

  .brand-logo-img {
    height: 48px !important;
    max-width: 150px !important;
    image-rendering: auto !important;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
  }

  .nav-actions {
    display: flex !important;
    gap: 0.35rem !important;
  }

  .nav-actions .desktop-only {
    display: inline-flex !important;
  }

  .nav-whatsapp-btn,
  .nav-calendar-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  .mobile-toggle {
    display: none !important;
  }

  /* Hero Tablet Layout */
  .hero-section {
    min-height: 80vh;
    padding: 8rem 1.5rem 4.5rem;
  }

  .hero-media-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 52%;
    height: 100%;
    opacity: 0.55;
    z-index: 1;
  }

  .hero-overlay {
    background: linear-gradient(90deg, var(--bg-cream) 0%, rgba(250, 247, 242, 0.94) 55%, rgba(250, 247, 242, 0.5) 100%);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
  }

  h1.hero-title {
    font-size: 2.95rem;
  }

  h2.section-title {
    font-size: 2.25rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* 3. Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  html {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: auto !important; /* Disables smooth scroll lag on touch devices */
  }

  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    position: relative !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important; /* Enables immediate natural vertical swiping without delays */
    padding-bottom: 72px; /* Space for Book Appointment sticky bar */
  }

  /* Structural elements must NEVER have overflow-x: hidden (which triggers overflow-y: auto scroll trapping) */
  #main-content,
  main,
  section,
  .container,
  .container-wide,
  .container-narrow,
  .hero-section,
  .site-footer {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }

  .container {
    padding: 0 1.25rem !important;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-padding-lg {
    padding: 4.5rem 0;
  }

  /* On mobile, cards and reveal elements are statically visible: NO transform shifts or transition lag under finger */
  .reveal-init,
  .reveal-left,
  .reveal-right,
  .reveal-init.revealed,
  .reveal-left.revealed,
  .reveal-right.revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Testimonial cards on mobile - never exceed viewport */
  .testimonial-card {
    width: 290px !important;
    min-width: 290px !important;
    max-width: 85vw !important;
    padding: 1.5rem !important;
    box-sizing: border-box !important;
  }

  /* Mobile Header Navigation */
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
  }

  .nav-container {
    padding: 0.5rem 0.85rem !important;
    border-radius: 0 !important;
    border: none !important;
    background: rgba(250, 247, 242, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(201, 168, 106, 0.25) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    height: 72px !important;
    min-height: 72px !important;
    gap: 0 !important;
  }

  /* 1. MOBILE TOP LEFT: First Instagram, then WhatsApp */
  .nav-mobile-socials {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: static !important;
    flex: 0 0 auto !important;
    width: auto !important;
    gap: 6px !important;
    z-index: 6 !important;
  }

  .nav-mobile-socials .nav-whatsapp-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--color-burgundy-soft) !important;
    color: var(--color-burgundy) !important;
    border: 1px solid var(--color-border) !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all var(--transition-fast) !important;
  }

  .nav-mobile-socials .nav-whatsapp-btn:hover {
    background: var(--color-burgundy) !important;
    color: #FFFFFF !important;
  }

  .nav-mobile-socials .nav-whatsapp-btn svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
    display: block !important;
    margin: auto !important;
  }

  /* 2. MOBILE TOP CENTER: Nandhini Makeover logo, medium-large, readable, centered horizontally */
  .brand-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 5 !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: calc(100% - 140px) !important;
    pointer-events: auto !important;
  }

  .brand-logo-img {
    height: 60px !important;
    max-width: 175px !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    image-rendering: auto !important;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    filter: drop-shadow(0 1px 4px rgba(114, 29, 50, 0.08)) !important;
  }

  @media (max-width: 380px) {
    .brand-logo-img {
      height: 52px !important;
      max-width: 145px !important;
    }
  }

  /* HIDE Desktop / Tab nav links and desktop actions */
  .nav-links,
  .nav-links-left,
  .nav-links-right,
  .desktop-only,
  .nav-actions > *:not(.mobile-toggle),
  .nav-actions .desktop-only,
  .nav-actions .nav-whatsapp-btn,
  .nav-actions .nav-calendar-btn {
    display: none !important;
  }

  /* 3. MOBILE TOP RIGHT: Hamburger toggle button only */
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    position: static !important;
    transform: none !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    margin-left: auto !important;
    z-index: 6 !important;
    gap: 0 !important;
  }

  .mobile-toggle {
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    margin: 0 !important;
    cursor: pointer !important;
  }

  /* Mobile Hero Experience */
  .hero-section {
    min-height: 82vh;
    padding: 6rem 1rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible !important;
  }

  .hero-media-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.92;
  }

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

  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(250, 247, 242, 0.65) 0%, rgba(250, 247, 242, 0.45) 45%, rgba(250, 247, 242, 0.88) 100%) !important;
    display: block !important;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  h1.hero-title {
    font-size: 2.25rem;
    line-height: 1.16;
    margin-bottom: 1rem;
  }

  h2.section-title {
    font-size: 1.85rem;
    line-height: 1.22;
    margin-bottom: 1rem;
  }

  .text-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 auto 1.5rem auto;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.75rem;
  }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-ctas .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.82rem;
  }

  .hero-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1.25rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(201, 168, 106, 0.3);
    text-align: center;
  }

  .hero-trust-number {
    font-size: 1.35rem;
    font-weight: 700;
  }

  .hero-trust-label {
    font-size: 0.65rem;
    line-height: 1.25;
  }

  .scroll-indicator {
    display: none;
  }

  /* Grid Conversions for Mobile */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .editorial-card {
    border-radius: 16px !important;
    overflow: visible !important;
    transform: none !important;
    transition: none !important;
  }

  /* Disable hover transforms on touch/mobile to prevent swipe gesture interruption */
  .editorial-card:hover,
  .editorial-card:focus,
  .editorial-card:active {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .editorial-card:hover .card-img {
    transform: none !important;
  }

  .card-media {
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .card-img {
    transform: none !important;
    transition: none !important;
  }

  .btn,
  .btn:hover,
  .btn:focus,
  .btn:active {
    transform: none !important;
  }

  /* ── Kerala 'Travelling Across Kerala' Spotlight Box ── */
  .kerala-spotlight-card {
    padding: 2.5rem 1.5rem !important;
    border-radius: 20px !important;
    text-align: center !important;
  }

  .kerala-spotlight-card .eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 0.6rem !important;
  }

  .kerala-spotlight-card h2,
  .kerala-spotlight-card .spotlight-title {
    font-size: clamp(1.55rem, 5.5vw, 2rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    letter-spacing: 0.02em !important;
    word-break: keep-all !important;
  }

  .kerala-spotlight-card p {
    font-size: 0.9375rem !important;
    line-height: 1.7 !important;
    max-width: 100% !important;
    margin: 0 auto 1.5rem auto !important;
    padding: 0 0.25rem !important;
  }

  .kerala-districts-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    margin: 1.25rem 0 1.75rem 0 !important;
  }

  .district-badge {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.73rem !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
  }

  .kerala-spotlight-card .btn {
    width: 100% !important;
    max-width: 360px !important;
    padding: 0.9rem 1.5rem !important;
    font-size: 0.9rem !important;
    margin: 0 auto !important;
    display: block !important;
  }

  /* Fix shrunk inline padding on mobile editorial cards & forms */
  .editorial-card[style*="padding: 3.5rem 3rem"],
  .editorial-card[style*="padding: 3.5rem"],
  .editorial-card[style*="padding:3.5rem"],
  .editorial-card[style*="padding: 2.5rem"] {
    padding: 1.75rem 1.25rem !important;
  }

  /* Ensure all section text is not cramped on mobile */
  .section-padding .container h2,
  .section-padding .container p {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Fix studio/sanctuary info blocks on mobile */
  .editorial-card .card-body {
    padding: 1.25rem !important;
  }

  /* Fix split-image grid on mobile */
  .reveal-left,
  .reveal-right {
    padding: 0 !important;
  }

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

  .form-group-full {
    grid-column: span 1;
  }

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

  /* Footer on Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brand-logo-img-footer {
    height: 88px !important;
    max-width: 280px !important;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Modal on Mobile */
  .modal-dialog {
    padding: 1.75rem 1.25rem;
    width: 92%;
    max-width: 92% !important;
    box-sizing: border-box !important;
    max-height: 85vh;
    border-radius: 18px;
    overflow-y: auto;
  }

  /* 4. WHATSAPP FLOATING BUTTON (Clearly visible ABOVE Book Appointment bar) */
  .floating-whatsapp {
    display: flex !important;
    position: fixed !important;
    bottom: calc(66px + env(safe-area-inset-bottom, 0px) + 16px) !important; /* Sits clearly and safely ABOVE the bottom sticky bar */
    right: 1.25rem !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    background: #25D366 !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5) !important;
    z-index: 99999 !important; /* Maximum z-index: sits on top of all page elements */
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  }

  .floating-whatsapp:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55) !important;
  }

  .floating-whatsapp svg {
    width: 28px !important;
    height: 28px !important;
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
    display: block !important;
    margin: auto !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15)) !important;
  }

  /* 5. BOOK APPOINTMENT STICKY BOTTOM BAR */
  .mobile-sticky-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    z-index: 1000 !important;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(250, 247, 242, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(201, 168, 106, 0.3) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
  }

  /* In sticky bar, hide the duplicate WhatsApp button so floating bubble handles WhatsApp */
  .mobile-bar-whatsapp {
    display: none !important;
  }

  /* Book Appointment button takes full width */
  .mobile-bar-book {
    flex: 1 !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    background: var(--color-burgundy) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-full) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    height: 48px !important;
    box-shadow: 0 4px 14px rgba(114, 29, 50, 0.3) !important;
    cursor: pointer !important;
    border: none !important;
    text-decoration: none !important;
  }

  .mobile-bar-book:hover {
    background: var(--color-berry) !important;
  }

  .mobile-bar-book svg {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
  }

  /* Restore mobile menu footer (inside drawer) */
  .mobile-menu-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid rgba(201, 168, 106, 0.25) !important;
  }
}

/* 4. Compact Mobile Phones (<= 420px) */
@media (max-width: 420px) {
  .nav-container {
    padding: 0.45rem 0.65rem !important;
  }

  .nav-mobile-socials {
    flex: 0 0 36px !important;
    width: 36px !important;
  }

  .nav-mobile-socials .nav-whatsapp-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
  }

  .brand-logo {
    max-width: calc(100% - 88px) !important;
  }

  .brand-logo-img {
    height: 52px !important;
    max-width: 180px !important;
  }

  .nav-actions {
    flex: 0 0 36px !important;
    width: 36px !important;
  }

  .mobile-toggle {
    width: 36px !important;
    height: 36px !important;
    padding: 6px !important;
  }

  .floating-whatsapp {
    right: 1rem !important;
    width: 50px !important;
    height: 50px !important;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px) + 16px) !important;
  }

  .floating-whatsapp svg {
    width: 26px !important;
    height: 26px !important;
  }

  h1.hero-title {
    font-size: 1.95rem;
  }

  h2.section-title {
    font-size: 1.65rem;
  }

  .hero-trust-number {
    font-size: 1.15rem;
  }

  .hero-trust-label {
    font-size: 0.6rem;
  }

  .brand-logo-img-footer {
    height: 78px !important;
    max-width: 240px !important;
  }

  .kerala-spotlight-card {
    padding: 2rem 1.1rem !important;
  }

  .kerala-spotlight-card h2,
  .kerala-spotlight-card .spotlight-title {
    font-size: clamp(1.4rem, 5vw, 1.7rem) !important;
    letter-spacing: 0.01em !important;
  }

  .kerala-spotlight-card p {
    font-size: 0.875rem !important;
    line-height: 1.65 !important;
  }

  .district-badge {
    padding: 0.28rem 0.6rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
  }
}

@media (max-width: 360px) {
  .brand-logo-img {
    height: 44px !important;
    max-width: 150px !important;
  }
}

/* ==========================================================================
   PURE 3D BOOK-STYLE FLIP LIGHTBOX (NO NUMBERS, PURE BOOK FLIP)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 5, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  perspective: 2000px;
  overflow: hidden;
}

.lightbox-modal.open,
.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFFFFF !important;
  border: 2.5px solid #C9A86A !important;
  color: #721D32 !important;
  font-size: 2rem !important;
  font-weight: 900 !important;
  line-height: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10020;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 16px rgba(201, 168, 106, 0.4) !important;
  opacity: 1 !important;
}

.lightbox-close:hover {
  background: #721D32 !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8) !important;
}

.lightbox-book-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90vw;
  max-width: 920px;
  height: 82vh;
  perspective: 1800px;
  transform-style: preserve-3d;
}

.lightbox-page {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform, filter, opacity;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 3px solid #FFFFFF !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(201, 168, 106, 0.4) !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  user-select: none;
  pointer-events: none;
  background: #1C0A10;
}

/* Authentic 3D Book Page-Flip Keyframes with Radiant Contrast */
@keyframes bookFlipNext {
  0% {
    transform: perspective(1800px) rotateY(0deg) scale(1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  }
  50% {
    transform: perspective(1800px) rotateY(-90deg) scale(0.96);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(201, 168, 106, 0.6);
  }
  100% {
    transform: perspective(1800px) rotateY(0deg) scale(1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  }
}

@keyframes bookFlipPrev {
  0% {
    transform: perspective(1800px) rotateY(0deg) scale(1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  }
  50% {
    transform: perspective(1800px) rotateY(90deg) scale(0.96);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(201, 168, 106, 0.6);
  }
  100% {
    transform: perspective(1800px) rotateY(0deg) scale(1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  }
}

.lightbox-page.flipping-next {
  animation: bookFlipNext 0.44s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.lightbox-page.flipping-prev {
  animation: bookFlipPrev 0.44s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* High-Contrast Bold Circular Navigation Arrows (> and <) */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FFFFFF !important;
  border: 2.5px solid #C9A86A !important;
  color: #721D32 !important;
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  line-height: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10010;
  transition: all 0.25s ease;
  user-select: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(201, 168, 106, 0.5) !important;
  opacity: 1 !important;
}

.lightbox-arrow:hover {
  background: #C9A86A !important;
  border-color: #FFFFFF !important;
  color: #1C0A10 !important;
  transform: translateY(-50%) scale(1.15) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85), 0 0 28px rgba(201, 168, 106, 0.8) !important;
}

.lightbox-prev,
.lightbox-arrow-prev {
  left: 2.5rem;
}

.lightbox-next,
.lightbox-arrow-next {
  right: 2.5rem;
}

@media (max-width: 768px) {
  .lightbox-book-stage {
    width: 95vw;
    height: 72vh;
  }

  .lightbox-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.6rem !important;
  }

  .lightbox-prev,
  .lightbox-arrow-prev {
    left: 0.6rem;
  }

  .lightbox-next,
  .lightbox-arrow-next {
    right: 0.6rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.6rem !important;
  }
}

/* ==========================================================================
   ABOUT US - DEDICATED PROMINENT STATISTICS SECTION
   ========================================================================== */
.about-stats-section {
  padding: 5rem 0;
  background: var(--bg-cream);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.about-stat-card {
  padding: 2.5rem 1.5rem;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gold-border);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-stat-number {
  display: block;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-style: normal !important;
  font-weight: 800;
  font-size: clamp(2.75rem, 5.5vw, 3.85rem);
  color: var(--color-burgundy);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.about-stat-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-berry);
  line-height: 1.5;
}

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

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

  .about-stat-card {
    padding: 1.75rem 1.25rem;
  }

  .about-stat-number {
    font-size: 2.75rem;
  }
}

/* ==========================================================================
   HIGH CONTRAST & ACCESSIBILITY SYSTEM (WCAG AAA)
   Fixes: ensures no text shares background color, guarantees high readability
   ========================================================================== */

/* 1. Phone Links Anywhere on Site */
.phone-link {
  color: var(--color-burgundy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.phone-link:hover {
  color: var(--color-berry);
}

/* 2. Light Section High Contrast Rules */
.bg-cream p, .bg-ivory p, .editorial-card p, .card-body p, .text-lead {
  color: #3B3335 !important; /* Deep charcoal for maximum contrast on cream */
}

.bg-cream h1, .bg-cream h2, .bg-cream h3, .bg-cream h4,
.bg-ivory h1, .bg-ivory h2, .bg-ivory h3, .bg-ivory h4,
.editorial-card h1, .editorial-card h2, .editorial-card h3, .editorial-card h4 {
  color: var(--color-berry) !important;
}

.bg-cream .eyebrow, .bg-ivory .eyebrow, .editorial-card .eyebrow {
  color: var(--color-burgundy) !important;
  font-weight: 700 !important;
}

/* 3. Dark / Burgundy Section High Contrast Rules */
.bg-berry,
.kerala-spotlight-card,
.section-padding-lg[style*="linear-gradient"],
.section-padding-lg[style*="#360E1A"],
.site-footer,
[style*="background: var(--color-berry)"],
[style*="background: #4A1525"],
[style*="background: #360E1A"] {
  color: #FFFFFF !important;
}

.bg-berry h1, .bg-berry h2, .bg-berry h3, .bg-berry h4,
.kerala-spotlight-card h1, .kerala-spotlight-card h2, .kerala-spotlight-card h3, .kerala-spotlight-card h4,
.section-padding-lg[style*="linear-gradient"] h1,
.section-padding-lg[style*="linear-gradient"] h2,
.section-padding-lg[style*="linear-gradient"] h3,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4 {
  color: #FFFFFF !important;
}

.bg-berry p,
.kerala-spotlight-card p,
.section-padding-lg[style*="linear-gradient"] p,
.section-padding-lg[style*="#360E1A"] p,
.site-footer p {
  color: rgba(255, 255, 255, 0.94) !important;
}

.bg-berry .eyebrow,
.kerala-spotlight-card .eyebrow,
.section-padding-lg[style*="linear-gradient"] .eyebrow,
.section-padding-lg[style*="#360E1A"] .eyebrow,
.site-footer .eyebrow {
  color: #F4EAD4 !important;
}

.bg-berry .eyebrow::before,
.bg-berry .eyebrow::after,
.kerala-spotlight-card .eyebrow::before,
.kerala-spotlight-card .eyebrow::after,
.section-padding-lg[style*="linear-gradient"] .eyebrow::before,
.section-padding-lg[style*="linear-gradient"] .eyebrow::after {
  background: #F4EAD4 !important;
}

/* Ensure buttons in dark sections are crisp white with dark text or solid champagne */
.bg-berry .btn-secondary,
.kerala-spotlight-card .btn-secondary,
.section-padding-lg.bg-berry .btn-secondary,
.site-footer .btn-secondary,
[style*="#360E1A"] .btn-secondary,
[style*="#4A1525"] .btn-secondary {
  background: #FFFFFF !important;
  color: #721D32 !important;
  border: 2px solid #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

.bg-berry .btn-secondary:hover,
.kerala-spotlight-card .btn-secondary:hover,
.section-padding-lg.bg-berry .btn-secondary:hover,
.site-footer .btn-secondary:hover,
[style*="#360E1A"] .btn-secondary:hover,
[style*="#4A1525"] .btn-secondary:hover {
  background: #C9A86A !important;
  color: #1C0A10 !important;
  border-color: #C9A86A !important;
}

.bg-berry .btn-outline-champagne,
.kerala-spotlight-card .btn-outline-champagne,
.section-padding-lg.bg-berry .btn-outline-champagne,
.site-footer .btn-outline-champagne,
[style*="#360E1A"] .btn-outline-champagne,
[style*="#4A1525"] .btn-outline-champagne {
  background: #C9A86A !important;
  color: #1C0A10 !important;
  border: 2px solid #C9A86A !important;
  font-weight: 700 !important;
}

.bg-berry .btn-outline-champagne:hover,
.kerala-spotlight-card .btn-outline-champagne:hover,
.section-padding-lg.bg-berry .btn-outline-champagne:hover,
.site-footer .btn-outline-champagne:hover,
[style*="#360E1A"] .btn-outline-champagne:hover,
[style*="#4A1525"] .btn-outline-champagne:hover {
  background: #FFFFFF !important;
  color: #721D32 !important;
  border-color: #FFFFFF !important;
}

/* Phone links on dark backgrounds */
.bg-berry .phone-link,
.kerala-spotlight-card .phone-link,
.section-padding-lg[style*="linear-gradient"] .phone-link,
.section-padding-lg[style*="#360E1A"] .phone-link,
.site-footer .phone-link {
  color: #FFFFFF !important;
}

.bg-berry .phone-link:hover,
.kerala-spotlight-card .phone-link:hover,
.section-padding-lg[style*="linear-gradient"] .phone-link:hover,
.site-footer .phone-link:hover {
  color: #F4EAD4 !important;
}

