/* ==========================================================================
   INDIA TOURISM — MODERN INDIAN ROYAL LUXURY DESIGN SYSTEM
   Theme: Luxury Indian Travel Magazine + Cinematic Documentary + Royal Heritage
   Color Palette: Warm Ivory, Pearl White, Champagne Gold, Deep Emerald, Deep Charcoal
   ========================================================================== */
/* Note: Fonts are loaded non-blocking in HTML <head> with preconnect */
/* --- Root CSS Variables (Light Royal Luxury Theme) --- */
:root {
  /* Theme: "Royal India — Modern Luxury" */
  /* Base: Warm Ivory / Pearl White / Soft Cream */
  --color-bg: #FAF8F5;               /* Warm Ivory Base */
  --color-bg-alt: #F3ECE2;           /* Soft Sand / Pearl Cream */
  --color-bg-champagne: #F8F3EA;     /* Delicate Royal Champagne */
  --color-surface: #FFFFFF;          /* Pearl White Surface */
  --color-surface-elevated: #FFFFFF;
  --color-surface-glass: rgba(255, 255, 255, 0.94);
  
  /* Text: Charcoal / Deep Brown */
  --color-text-primary: #14171C;     /* Charcoal Primary */
  --color-text-brown: #2C221E;       /* Deep Royal Brown */
  --color-text-secondary: #3D434F;   /* Dark Muted Slate */
  --color-text-muted: #686F7D;       /* Neutral Warm Stone Gray */
  --color-ivory: #FAF8F5;            /* Warm Ivory */
  --color-ivory-light: #FFFFFF;      /* Pearl White */
  
  /* Primary: Champagne Gold */
  --color-gold: #C59B27;             /* Champagne Gold */
  --color-gold-light: #E2C068;       /* Sunlit Shimmer Gold */
  --color-gold-dark: #9A7516;        /* Burnished Antique Gold */
  --color-gold-subtle: rgba(197, 155, 39, 0.08);
  --color-gold-border: rgba(197, 155, 39, 0.3);
  --color-gold-border-hover: rgba(197, 155, 39, 0.8);
  
  /* Secondary: Deep Emerald Green */
  --color-emerald: #0C3B2E;          /* Deep Emerald Green / Royal Forest */
  --color-emerald-light: #164E3D;
  --color-emerald-subtle: rgba(12, 59, 46, 0.08);
  --color-emerald-border: rgba(12, 59, 46, 0.25);
  
  /* Accent: Saffron / Terracotta */
  --color-saffron: #C25E23;          /* Saffron Accent */
  --color-terracotta: #B85028;       /* Terracotta Accent */
  --color-saffron-subtle: rgba(194, 94, 35, 0.08);
  --color-terracotta-subtle: rgba(184, 80, 40, 0.08);
  
  /* Deep Royal Navy */
  --color-navy: #122033;             /* Deep Royal Indian Navy */
  --color-navy-subtle: rgba(18, 32, 51, 0.07);
  
  /* Borders & Dividers */
  --color-border: #EBE3D7;           /* Soft Champagne Warm Border */
  --color-border-light: rgba(20, 23, 28, 0.06);
  --color-border-hover: rgba(197, 155, 39, 0.6);
  
  /* Typography Scale */
  --font-serif-royal: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Easing & Transitions */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.25s var(--ease-smooth);
  --transition-medium: 0.45s var(--ease-luxury);
  --transition-slow: 0.85s var(--ease-luxury);

  /* Elevation & Shadows */
  --shadow-subtle: 0 4px 20px rgba(20, 23, 28, 0.03);
  --shadow-card: 0 8px 30px rgba(20, 23, 28, 0.05);
  --shadow-luxury: 0 20px 48px -10px rgba(20, 23, 28, 0.09);
  --shadow-gold: 0 8px 26px rgba(197, 155, 39, 0.25);
  --shadow-emerald: 0 8px 24px rgba(12, 59, 46, 0.22);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Layout Spacing */
  --container-max: 1360px;
  --container-padding: clamp(1.25rem, 4.5vw, 3.5rem);
  --header-height: 88px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-secondary);
  background-color: var(--color-bg);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  cursor: default; /* Native browser cursor */
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --- Typography Hierarchy (Royal Editorial Contrast) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-text-primary);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

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

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

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

.heading-hero {
  font-family: var(--font-serif-royal);
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.heading-section {
  font-family: var(--font-serif-royal);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--color-text-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.heading-sub {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.heading-sub::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.lead-text {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* Royal Divider Flourish with Gold Diamond */
.royal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.75rem auto;
  max-width: 320px;
}

.royal-divider::before,
.royal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-border), transparent);
}

.royal-divider-diamond {
  width: 7px;
  height: 7px;
  background-color: var(--color-gold);
  transform: rotate(45deg);
}

/* Subtle Royal Jaali Motif Background */
.royal-pattern-strip {
  background-image: radial-gradient(var(--color-gold-border) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* --- Container & Layout Helpers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-spacing {
  padding-top: clamp(4.5rem, 8vw, 8rem);
  padding-bottom: clamp(4.5rem, 8vw, 8rem);
  position: relative;
}

/* --- Page Transition Overlay (Light Royal Ivory) --- */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background-color: #FAF8F5;
  z-index: 99999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  border-top: 3px solid var(--color-gold);
}

.transition-content {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.transition-logo {
  font-family: var(--font-serif-royal);
  font-size: 2rem;
  letter-spacing: 0.35em;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.4rem;
}

.transition-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-gold-dark);
}

.transition-bar {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 1.25rem auto 0;
}

/* --- Luxury Header & Navbar (Light Royal Theme) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease-smooth), backdrop-filter 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), height 0.4s var(--ease-smooth);
  border-bottom: 1px solid transparent;
}

/* Over transparent hero: pure white text with soft shadow; on scroll, light theme glass */
.site-header .brand-name {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.site-header .brand-sub {
  color: #E2E8F0;
}
.site-header .nav-link {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.site-header .mobile-toggle span {
  background-color: #FFFFFF;
}

/* Scrolled Header State: Warm Ivory Glass with Gold Hairline */
.site-header.is-scrolled {
  height: 74px;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-gold-border);
  box-shadow: 0 4px 28px rgba(20, 23, 28, 0.05);
}

.site-header.is-scrolled .brand-name {
  color: var(--color-text-primary);
  text-shadow: none;
}
.site-header.is-scrolled .brand-sub {
  color: var(--color-gold-dark);
}
.site-header.is-scrolled .nav-link {
  color: var(--color-text-secondary);
  text-shadow: none;
}
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.active {
  color: var(--color-gold-dark);
}
.site-header.is-scrolled .mobile-toggle span {
  background-color: var(--color-text-primary);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1002;
}

.brand-symbol {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-symbol svg {
  width: 100%;
  height: 100%;
  fill: var(--color-gold);
  transition: transform 0.45s var(--ease-luxury);
}

.brand-logo:hover .brand-symbol svg {
  transform: rotate(45deg) scale(1.08);
}

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

.brand-name {
  font-family: var(--font-serif-royal);
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-style: italic;
  margin-top: 2px;
  transition: color var(--transition-fast);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.2rem);
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-luxury);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* --- Luxury Royal Buttons & Badges --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #C59B27 0%, #D8B44A 50%, #B8860B 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #B8860B 0%, #C59B27 50%, #9E7B1D 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(197, 155, 39, 0.38);
  color: #FFFFFF;
}

.btn-emerald {
  background: var(--color-emerald);
  color: #FFFFFF;
  border: 1px solid var(--color-gold-border);
  box-shadow: var(--shadow-emerald);
}

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

.btn-outline {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background-color: #FFFFFF;
  color: var(--color-text-primary);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline-dark {
  background: var(--color-surface);
  color: var(--color-text-primary);
  border: 1px solid var(--color-gold-border);
}

.btn-outline-dark:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
  background-color: var(--color-gold-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.btn-icon-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-luxury);
}

.btn:hover .btn-icon-arrow {
  transform: translateX(4px);
}

/* --- Mobile Navigation Drawer & Toggle --- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 1005;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-sm);
  touch-action: manipulation;
  transition: all var(--transition-fast);
}

.mobile-toggle:active {
  transform: scale(0.94);
  background-color: var(--color-gold-subtle);
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition: all 0.35s var(--ease-luxury);
  transform-origin: center;
}

.mobile-toggle.is-active {
  background-color: var(--color-surface);
  border-color: var(--color-gold);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--color-gold-dark) !important;
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--color-gold-dark) !important;
}

.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: max(5.5rem, calc(env(safe-area-inset-top) + 4.5rem)) clamp(1.5rem, 6vw, 3rem) max(2rem, calc(env(safe-area-inset-bottom) + 1.25rem));
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-luxury);
  border-left: 1px solid var(--color-gold-border);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-serif-royal);
  font-size: clamp(1.6rem, 5.8vw, 2.35rem);
  font-weight: 600;
  color: var(--color-text-primary);
  opacity: 0;
  transform: translateY(20px);
  padding: 0.65rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(235, 227, 215, 0.6);
  transition: color 0.2s ease, opacity 0.4s ease, transform 0.4s ease, padding-left 0.2s ease;
}

.mobile-nav-link::after {
  content: '→';
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--color-gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s var(--ease-luxury);
}

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

.mobile-nav-link:hover::after,
.mobile-nav-link.active::after {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-drawer.is-open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-nav-footer .btn {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
}

/* --- Floating WhatsApp Quick Connect --- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.whatsapp-bubble {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  position: relative;
  transition: transform 0.3s var(--ease-luxury), box-shadow 0.3s var(--ease-luxury);
}

.whatsapp-bubble svg {
  width: 26px;
  height: 26px;
  fill: #FFFFFF;
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: pulseGlow 2.5s infinite var(--ease-luxury);
  pointer-events: none;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-tooltip {
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  color: var(--color-text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  transform: translateX(10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-luxury);
}

.floating-whatsapp:hover .whatsapp-bubble {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --- Badges & Royal Pills --- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-color: var(--color-bg-champagne);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
}

.pill-badge.pill-gold {
  background-color: var(--color-gold-subtle);
  border-color: var(--color-gold-border);
  color: var(--color-gold-dark);
}

.pill-badge.pill-saffron {
  background-color: var(--color-saffron-subtle);
  border-color: rgba(194, 94, 35, 0.3);
  color: var(--color-saffron);
}

.pill-badge.pill-terracotta {
  background-color: var(--color-terracotta-subtle);
  border-color: rgba(184, 80, 40, 0.3);
  color: var(--color-terracotta);
}

.pill-badge.pill-emerald {
  background-color: var(--color-emerald-subtle);
  border-color: var(--color-emerald-border);
  color: var(--color-emerald);
}

.pill-badge.pill-navy {
  background-color: var(--color-navy-subtle);
  border-color: rgba(18, 32, 51, 0.25);
  color: var(--color-navy);
}

/* --- Luxury Royal Light Footer --- */
.site-footer {
  background: linear-gradient(180deg, #FAF8F5 0%, #F1E9DE 100%);
  border-top: 1px solid var(--color-gold-border);
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
  padding-bottom: 2.5rem;
  position: relative;
}

.footer-top-strip {
  margin-bottom: 3.5rem;
  text-align: center;
}

.footer-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-style: italic;
  color: var(--color-text-primary);
  font-weight: 400;
  max-width: 860px;
  margin: 0 auto 0.75rem;
  line-height: 1.35;
}

.footer-quote-sub {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  font-weight: 700;
}

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

.footer-brand-col p {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 340px;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-gold);
}

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

.footer-links a {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

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

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text-secondary);
  font-size: 0.88rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* --- Media Queries for Core System --- */
@media (max-width: 1024px) {
  .nav-menu,
  .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .whatsapp-bubble {
    width: 48px;
    height: 48px;
  }

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

/* ==========================================================================
   ENHANCED GLOBAL RESPONSIVE RULES (320px to 2560px)
   ========================================================================== */

/* Ultra-Wide Screen Containment (2560px+) */
@media (min-width: 1921px) {
  :root {
    --container-max: 1600px;
  }
}

/* Tablet & Large Mobile (<=1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 74px;
    --container-padding: clamp(1.25rem, 3.5vw, 2.5rem);
  }

  .site-header {
    height: 74px;
  }

  .nav-menu,
  .nav-actions .btn {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

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

/* Standard Tablet (<=820px) */
@media (max-width: 820px) {
  .section-spacing {
    padding-top: clamp(3.5rem, 6.5vw, 5.5rem);
    padding-bottom: clamp(3.5rem, 6.5vw, 5.5rem);
  }

  .mobile-menu-drawer {
    padding-top: 6.5rem;
    padding-left: clamp(1.5rem, 6vw, 3rem);
    padding-right: clamp(1.5rem, 6vw, 3rem);
  }
}

/* Mobile Devices (<=640px) */
@media (max-width: 640px) {
  :root {
    --header-height: 64px;
    --container-padding: 1.15rem;
  }

  /* Prevent unwanted auto-zoom on iOS Safari */
  input, select, textarea {
    font-size: 16px !important;
  }

  .site-header {
    height: 64px;
  }

  .brand-symbol {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }

  .brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem;
  }

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

  .floating-whatsapp {
    bottom: max(1.15rem, calc(env(safe-area-inset-bottom) + 0.75rem)) !important;
    right: max(1.15rem, calc(env(safe-area-inset-right) + 0.75rem)) !important;
  }

  .whatsapp-bubble {
    width: 50px !important;
    height: 50px !important;
  }

  .whatsapp-label {
    display: none !important;
  }

  .transition-logo {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    letter-spacing: 0.2em;
  }

  .transition-tagline {
    font-size: 0.92rem;
  }

  .btn {
    min-height: 46px;
    padding: 0.75rem 1.35rem;
    touch-action: manipulation;
  }
}

/* Small Mobile & Foldables (<=390px, 375px, 360px, 320px) */
@media (max-width: 390px) {
  :root {
    --container-padding: 0.95rem;
    --header-height: 62px;
  }

  .site-header {
    height: 62px;
  }

  .brand-name {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }

  .brand-sub {
    display: none;
  }

  .brand-logo {
    gap: 0.45rem;
  }

  .mobile-menu-drawer {
    padding-top: max(5rem, calc(env(safe-area-inset-top) + 3.5rem));
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .mobile-nav-link {
    font-size: 1.25rem;
    padding: 0.65rem 0;
  }

  .pill-badge {
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
  }
}

@media (max-width: 330px) {
  :root {
    --container-padding: 0.75rem;
    --header-height: 60px;
  }

  .site-header {
    height: 60px;
  }

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

  .brand-symbol {
    width: 22px;
    height: 22px;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    padding: 8px;
  }
}
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
