/* ==========================================================================
   OFFICIAL V4 DYNAMIC DESIGN SYSTEM
   Astrologer Pandit Srikanth Rao Ganachari - M G Road, Bengaluru
   Strict Anti-AI-Slop Editorial Luxury Architecture
   ========================================================================== */

/* --- Google Fonts: Playfair Display (Editorial Serif) & Poppins (Clean Sans) --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700;1,800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* ==========================================
     OFFICIAL BRAND KIT TOKENS (SAFFRON & GOLD)
     ========================================== */
  --orange: #FF7C11;
  --orange-deep: #E5670A;
  --yellow: #FDC700;
  --yellow-deep: #D9A900;
  --amber: #F3A506;
  --ink: #2B2320;
  --paper: #FFF8EF;
  --cream: #FFFDF9;
  --hairline: #F3DFC0;
  --dark-field: var(--cream);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-heading: var(--font-display);
  --font-sans: var(--font-body);
  --serif: var(--font-display);
  --sans: var(--font-body);

  /* Semantic & Backward Compatibility Mapping (Brand Kit Harmonized Luxury Light System) */
  --bg-ivory: var(--cream);
  --bg-paper: var(--paper);
  --bg-surface: var(--cream);
  --bg-midnight: var(--cream);
  --bg-charcoal: var(--paper);
  --bg-wine: #FFF5EA;
  --bg-wine-deep: #FDF2E2;

  --text-main: var(--ink);
  --text-soft: #63554D;
  --text-muted: #85756C;
  --text-on-dark: var(--ink);
  --text-on-dark-soft: #63554D;

  --accent-gold: var(--yellow);
  --accent-gold-light: #FFE89E;
  --accent-saffron: var(--orange);
  --accent-vermilion: var(--orange-deep);
  --accent-maroon: #B85005;
  --accent-copper: #D9A900;

  --border-light: var(--hairline);
  --border-dark: rgba(243, 223, 192, 0.22);
  --line-gold: rgba(253, 199, 0, 0.45);
  --line-soft: rgba(43, 35, 32, 0.12);
  --line-dark-soft: rgba(255, 253, 249, 0.16);

  --success: #25D366;
  --warning: var(--amber);
  --error: #D9381E;
  --focus: var(--orange);

  --maroon: var(--orange-deep);
  --maroon-deep: #B85005;
  --gold: var(--yellow);
  --gold-deep: var(--yellow-deep);
  --gold-light: #FFE89E;
  --ivory: var(--cream);
  --saffron: var(--orange);
  --saffron-hover: var(--orange-deep);
  --saffron-light: #FFF4EB;
  --saffron-glow: rgba(255, 124, 17, 0.3);
  --gold-shimmer: linear-gradient(135deg, #FFE89E 0%, #FDC700 50%, #D9A900 100%);
  --obsidian-deep: var(--paper);
  --obsidian-surface: var(--cream);

  --clr-bg: var(--cream);
  --clr-surface: var(--cream);
  --clr-surface-alt: var(--paper);
  --clr-border: var(--hairline);
  --clr-primary: var(--orange);
  --clr-primary-deep: var(--orange-deep);
  --clr-gold: var(--yellow);
  --clr-gold-deep: var(--yellow-deep);
  --clr-gold-light: var(--gold-light);
  --clr-accent: var(--amber);
  --clr-text: var(--ink);
  --clr-text-muted: var(--text-soft);

  /* Fluid Type Scale */
  --fs-hero: clamp(3.2rem, 5.5vw, 5.6rem);
  --fs-h1: clamp(2.5rem, 4.2vw, 4.2rem);
  --fs-h2: clamp(2rem, 3.2vw, 3.2rem);
  --fs-h3: clamp(1.4rem, 2vw, 2rem);
  --fs-h4: 1.25rem;
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.8125rem;

  /* Legacy type scale aliases */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.35rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 2.85rem;

  /* ==========================================
     SPACING SYSTEM (8px Scale)
     ========================================== */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-7: 3rem;      /* 48px */
  --space-8: 4rem;      /* 64px */
  --space-9: 6rem;      /* 96px */
  --space-10: 8rem;     /* 128px */
  --space-11: 10rem;    /* 160px */

  /* Legacy space aliases */
  --space-2xs: var(--space-1);
  --space-xs: var(--space-2);
  --space-sm: var(--space-3);
  --space-md: var(--space-4);
  --space-lg: var(--space-5);
  --space-xl: var(--space-6);
  --space-2xl: var(--space-7);
  --space-3xl: var(--space-8);

  /* Containers */
  --container-wide: 1440px;
  --container-main: 1240px;
  --container-reading: 760px;
  --max-width: var(--container-main);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows (Sophisticated Architectural) */
  --shadow-sm: 0 4px 18px rgba(36, 27, 23, 0.06);
  --shadow-md: 0 16px 40px rgba(36, 27, 23, 0.09);
  --shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.32);

  /* Motion Tokens */
  --motion-instant: 120ms;
  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-medium: 520ms;
  --motion-slow: 900ms;
  --motion-ambient: 18000ms;

  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

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

img, svg, picture, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.005em;
  color: var(--text-main);
  background-color: var(--bg-ivory);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   ACCESSIBILITY & FOCUS
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--bg-midnight);
  color: var(--accent-gold-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--motion-fast) var(--ease-standard);
  border: 1px solid var(--accent-gold);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

.nav-link-btn:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.nav-links a:focus-visible,
.nav-link-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   TYPOGRAPHY HIERARCHY
   ========================================================================== */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.05;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

h4 {
  font-size: var(--fs-h4);
  line-height: 1.3;
}

p, li, .lead {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p {
  margin-bottom: var(--space-4);
  color: inherit;
}

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

.eyebrow, .kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--amber);
  margin-bottom: var(--space-2);
}

.lead-text {
  font-size: var(--fs-body-lg);
  line-height: 1.75;
  color: var(--text-soft);
}

/* ==========================================================================
   CONTAINER & SECTION COLOR RHYTHM
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-main);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(18px, 4vw, 40px);
  padding-right: clamp(18px, 4vw, 40px);
}

.container-wide {
  max-width: var(--container-wide);
}

.container-reading {
  max-width: var(--container-reading);
}

section {
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(64px, 8vw, 110px);
  position: relative;
}

/* SECTION THEMES (COLOR RHYTHM - BRAND KIT HARMONIZED LUXURY LIGHT) */
.section-midnight {
  background-color: var(--bg-paper);
  color: var(--text-main);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-midnight p {
  color: var(--text-soft);
}
.section-midnight h2,
.section-midnight h3,
.section-midnight h4 {
  color: var(--text-main);
}

.section-ivory {
  background-color: var(--bg-ivory);
  color: var(--text-main);
}
.section-ivory p {
  color: var(--text-soft);
}
.section-ivory h2,
.section-ivory h3,
.section-ivory h4 {
  color: var(--text-main);
}

.section-paper {
  background-color: var(--bg-paper);
  color: var(--text-main);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-paper p {
  color: var(--text-soft);
}
.section-paper h2,
.section-paper h3,
.section-paper h4 {
  color: var(--text-main);
}

.section-surface {
  background-color: var(--bg-surface);
  color: var(--text-main);
}

.section-wine {
  background-color: var(--bg-wine);
  color: var(--text-main);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-wine p {
  color: var(--text-soft);
}
.section-wine h2,
.section-wine h3,
.section-wine h4 {
  color: var(--text-main);
}

.section-charcoal {
  background-color: var(--bg-charcoal);
  color: var(--text-main);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-charcoal p {
  color: var(--text-soft);
}
.section-charcoal h2,
.section-charcoal h3,
.section-charcoal h4 {
  color: var(--text-main);
}

/* Section Header Structure */
.section-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

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

/* ==========================================================================
   BUTTON SYSTEM (V4 COMPLIANT)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--motion-fast) var(--ease-standard);
  white-space: nowrap;
  border: 1px solid transparent;
}

/* Primary Button (Kesari Orange) */
.btn-primary, .btn-saffron, .btn-accent {
  background-color: var(--orange);
  color: #FFFFFF !important;
  border-color: var(--orange);
  letter-spacing: 0.08em;
}
.btn-primary:hover, .btn-saffron:hover, .btn-accent:hover {
  background-color: var(--orange-deep);
  border-color: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 103, 10, 0.35);
}

/* Primary Button on Dark Backgrounds & Gold Accents */
.btn-gold, .btn-primary-dark {
  background-color: var(--yellow);
  color: var(--ink) !important;
  border-color: var(--yellow);
  font-weight: 600;
}
.btn-gold:hover, .btn-primary-dark:hover {
  background-color: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 199, 0, 0.35);
}

/* Secondary Button (Outline with Hairline/Orange) */
.btn-secondary, .btn-outline {
  background-color: transparent;
  color: var(--orange-deep) !important;
  border-color: var(--orange);
  opacity: 0.95;
}
.btn-secondary:hover, .btn-outline:hover {
  opacity: 1;
  background-color: var(--paper);
  border-color: var(--orange-deep);
  transform: translateY(-2px);
}

/* Micro Arrow Transition */
.btn svg, .btn .btn-arrow {
  transition: transform var(--motion-fast) var(--ease-standard);
}
.btn:hover svg, .btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   TOP AUSPICIOUS INVOCATION BAR
   ========================================================================== */
.top-invocation-bar {
  background: var(--bg-charcoal);
  color: var(--yellow);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(253, 199, 0, 0.2);
  position: relative;
  z-index: 1001;
}

.top-invocation-container {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.invocation-shloka {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--yellow);
}

.invocation-live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark-soft);
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.invocation-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-lang-tag {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.top-call-link {
  color: var(--orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: color var(--motion-fast);
}
.top-call-link:hover {
  color: var(--yellow);
}
.top-call-link:hover {
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .top-invocation-container {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

/* ==========================================================================
   SMART STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 80px;
  transition: background-color var(--motion-base) var(--ease-standard),
              height var(--motion-base) var(--ease-standard),
              border-color var(--motion-base) var(--ease-standard),
              box-shadow var(--motion-base) var(--ease-standard);
}

/* Header state over hero (Brand Kit Frosted Ivory, matches new light hero) */
.site-header.header-transparent {
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  color: var(--text-main);
  box-shadow: 0 4px 20px rgba(43, 35, 32, 0.05);
}

/* Header state when scrolled down */
.site-header.header-scrolled {
  height: 66px;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 4px 20px rgba(43, 35, 32, 0.06);
  color: var(--text-main);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-link img {
  height: clamp(38px, 4vw, 50px);
  width: auto;
  max-width: 320px;
  display: block;
}

@media (max-width: 640px) {
  .brand-link img {
    max-width: clamp(170px, 48vw, 210px);
  }
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-nav-drawer,
  .mobile-drawer {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .nav-links {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

.nav-links > li > a,
.nav-links > li > .nav-link-btn {
  color: inherit;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  position: relative;
  transition: color var(--motion-fast);
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > .nav-link-btn:hover,
.nav-links > li > a.active {
  color: var(--orange);
}

.nav-dropdown-chevron,
.dropdown-arrow {
  width: 10px;
  height: 6px;
  transition: transform var(--motion-fast);
}

.nav-item.has-dropdown:hover .nav-dropdown-chevron,
.nav-item.has-dropdown:hover .dropdown-arrow,
li.has-dropdown:hover .nav-dropdown-chevron,
li.has-dropdown:hover .dropdown-arrow,
.nav-link-btn[aria-expanded="true"] .nav-dropdown-chevron,
.nav-link-btn[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-enquire-pill,
.nav-cta .btn-header-enquire {
  background: #FAB512 !important;
  color: #1F1002 !important;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 9px 22px;
  height: 38px;
  border: none;
  box-shadow: 0 4px 14px rgba(250, 181, 18, 0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast);
}

.btn-header-enquire-pill:hover,
.nav-cta .btn-header-enquire:hover {
  background: #FFCA28 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 181, 18, 0.6);
  color: #1F1002 !important;
}

.nav-active-glyph {
  color: var(--orange);
  font-weight: 700;
  margin-right: 3px;
  display: inline-block;
}

@media (max-width: 540px) {
  .nav-cta .btn-header-enquire-pill,
  .nav-cta .btn-header-enquire {
    display: none !important;
  }
}

/* ==========================================================================
   MEGA MENU - LUXURY 3-COLUMN EDITORIAL SYSTEM
   ========================================================================== */
.nav-item.has-dropdown,
li.has-dropdown {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  transform: translateY(10px);
  width: min(800px, calc(100vw - 32px));
  max-width: 800px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(43, 35, 32, 0.16), 0 4px 16px rgba(253, 199, 0, 0.08);
  padding: 0;
  color: var(--text-main);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-fast) var(--ease-standard),
              transform var(--motion-fast) var(--ease-standard),
              visibility var(--motion-fast);
  z-index: 1050;
  overflow: hidden;
  box-sizing: border-box;
}

.nav-item.has-dropdown:hover .mega-menu,
.nav-item.has-dropdown:focus-within .mega-menu,
li.has-dropdown:hover .mega-menu,
li.has-dropdown:focus-within .mega-menu,
.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(2px);
}

.mega-menu-body {
  padding: 22px 24px 18px;
  box-sizing: border-box;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.mega-col,
.mega-menu-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
  align-items: stretch;
}

.mega-col-title,
.mega-menu-heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 0;
}

.mega-link,
.mega-menu-col a {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 7px 10px !important;
  margin: 0 -10px !important;
  border-radius: 8px;
  text-decoration: none;
  background: transparent;
  transition: background 0.18s ease, transform 0.18s ease;
  white-space: normal !important;
  box-sizing: border-box;
  width: calc(100% + 20px);
}

.mega-link:hover,
.mega-menu-col a:hover {
  background: rgba(253, 199, 0, 0.1) !important;
  transform: translateX(4px);
}

.mega-link-name {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.35;
  transition: color var(--motion-fast);
  text-align: left !important;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: break-word;
}

.mega-link:hover .mega-link-name,
.mega-menu-col a:hover {
  color: var(--orange-deep);
}

.mega-link-desc {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-soft);
  line-height: 1.38;
  margin-top: 2px;
  text-align: left !important;
  font-weight: 400;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Mega-Menu Bottom Action Strip */
.mega-menu-footer {
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  box-sizing: border-box;
}

.mega-footer-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.785rem;
  color: var(--orange-deep) !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--motion-fast), gap var(--motion-fast);
}

.mega-footer-link:hover {
  color: var(--orange) !important;
  gap: 9px;
}

.mega-footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  color: var(--text-soft);
  font-size: 0.75rem;
  white-space: nowrap;
}

.mega-footer-meta a {
  display: inline-flex !important;
  align-items: center !important;
  color: var(--text-main) !important;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--motion-fast);
}

.mega-footer-meta a:hover {
  color: var(--orange-deep) !important;
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
}

.mobile-menu-toggle span,
.toggle-bar {
  width: 24px;
  height: 2px;
  background-color: currentColor;
  display: block;
  transition: transform var(--motion-fast), opacity var(--motion-fast);
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-nav-drawer,
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-midnight);
  color: var(--text-on-dark);
  z-index: 9999;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--motion-base) var(--ease-standard),
              visibility var(--motion-base) var(--ease-standard);
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  overflow-y: auto;
  border-left: 1px solid var(--border-dark);
}

.mobile-nav-drawer.is-open,
.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-header,
.mobile-drawer-content .drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
}

.mobile-drawer-close,
.drawer-close {
  background: none;
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer-links,
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.mobile-drawer-links a,
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-on-dark);
  text-decoration: none;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-links a:hover,
.mobile-nav-links a:hover {
  color: var(--accent-gold);
}

@media (max-width: 600px) {
  .mobile-nav-drawer,
  .mobile-drawer {
    padding: 20px 18px !important;
  }
  .mobile-drawer-header img {
    max-width: 190px;
    height: auto;
  }
  .mobile-drawer-links,
  .mobile-nav-links {
    margin-top: 20px;
    gap: 10px;
  }
  .mobile-drawer-links a,
  .mobile-nav-links a {
    font-size: 1.15rem;
    padding: 10px 0;
  }
}

/* ==========================================================================
   SUBPAGE ARCHITECTURE & SYSTEM STYLING (V4)
   ========================================================================== */
.breadcrumb-nav {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  font-size: 0.8125rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  color: var(--text-muted);
}

.breadcrumb-list a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--motion-fast);
}

.breadcrumb-list a:hover {
  color: var(--accent-gold);
}

.breadcrumb-list li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--accent-gold);
}

.breadcrumb-list [aria-current="page"] {
  color: var(--orange-deep);
  font-weight: 600;
}

.hero-section {
  background: var(--bg-midnight);
  color: var(--text-on-dark);
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

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

.hero-content .eyebrow {
  color: var(--accent-gold);
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: var(--space-4);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.lead {
  font-size: var(--fs-body-lg);
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: var(--space-6);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.celestial-hero .lead {
  color: var(--text-on-dark-soft);
}

.hero-section p.lead,
.section-midnight .lead,
.section-charcoal .lead,
.section-wine .lead {
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  max-width: 100%;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.home-about-section .hero-content h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: var(--space-4);
  overflow-wrap: break-word;
}

.home-about-section .hero-visual img {
  display: block;
  width: min(100%, 462px);
  height: auto;
}

.home-about-section .lead {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-section {
    padding: clamp(36px, 6vw, 54px) 0 !important;
  }
  .home-about-section .hero-content h2 {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem);
    line-height: 1.15;
  }
  .hero-content h1 {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem) !important;
    line-height: 1.15 !important;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn,
  .hero-actions a.btn,
  .hero-actions button.btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

.hero-mandala-frame {
  width: min(340px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(198, 161, 91, 0.35);
  background: radial-gradient(circle, rgba(198, 161, 91, 0.1) 0%, rgba(17, 19, 26, 0.6) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(198, 161, 91, 0.15);
  padding: 24px;
}

.hero-mandala-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-section,
.process-section,
.section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.motif-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px auto 32px;
  color: var(--accent-gold);
}

.motif-divider .line {
  height: 1px;
  width: 48px;
  background-color: var(--accent-gold);
  opacity: 0.5;
}

.motif-divider .diamond {
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent-gold);
  transform: rotate(45deg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

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

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--motion-base) var(--ease-standard),
              border-color var(--motion-base) var(--ease-standard),
              box-shadow var(--motion-base) var(--ease-standard);
}

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

.service-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--orange-deep);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--orange);
  text-decoration: none;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--motion-fast), gap var(--motion-fast);
}

.card-link:hover {
  color: var(--orange-deep);
  gap: 10px;
}



.form-control {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color var(--motion-fast);
}

textarea.form-control {
  height: auto;
  min-height: 100px;
  padding: 12px 16px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--accent-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.18);
}

.optional {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 19, 26, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-base) var(--ease-standard),
              visibility var(--motion-base);
}

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

.drawer-preselect-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(198, 161, 91, 0.15);
  color: var(--bg-wine);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.drawer-static-notice,
.disclaimer-box {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 16px 0;
}

.disclaimer-box {
  border-left: 3px solid var(--accent-gold);
}

.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 16px 0;
  display: none;
}

.form-status.info {
  background: rgba(198, 161, 91, 0.12);
  border: 1px solid var(--accent-gold);
  color: var(--text-main);
}

.address-highlight,
.location-box {
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin: 24px 0;
  border-left: 4px solid var(--bg-wine);
}

.footer-address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-on-dark-soft);
}

.whatsapp-dock,
.whatsapp-bar-btn {
  display: none !important;
}

/* Circular Floating WhatsApp Button */
.floating-whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background-color 0.2s ease;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  outline: none;
  padding: 0;
}

.floating-whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.06);
  background-color: #20BA5A;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #FFFFFF !important;
}

.floating-whatsapp-fab:active {
  transform: translateY(-1px) scale(0.98);
}

.floating-whatsapp-fab svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  display: block;
}

@media (max-width: 768px) {
  .floating-whatsapp-fab {
    bottom: 80px;
    right: 18px;
    width: 52px;
    height: 52px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  }
  .floating-whatsapp-fab svg {
    width: 28px;
    height: 28px;
  }
}

.icon-svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 6px;
}

.explorer-chart-svg {
  width: 100%;
  height: 100%;
  max-width: 440px;
  max-height: 440px;
}

.hero-celestial-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ==========================================================================
   CELESTIAL HERO SECTION (VIBRANT SAFFRON-GOLD WITH ROTATING SURYA CHAKRA)
   ========================================================================== */
.celestial-hero {
  position: relative;
  background: linear-gradient(100deg, #A83200 0%, #C94600 18%, #E65A00 38%, #FF7A00 58%, #FFA700 78%, #FFC726 100%);
  color: var(--text-on-dark);
  min-height: auto;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding: clamp(20px, 3vh, 44px) 0 0 0;
  border-bottom: 1px solid rgba(43, 35, 32, 0.15);
}

/* Background Ambient Layer: Centered Rotating Chakra & Numerology */
.hero-astro-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Numerology Floating Digits & Astrological Texture */
.hero-numerology-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #FFFFFF;
  opacity: 0.12;
  user-select: none;
  pointer-events: none;
}
.hero-num-digit {
  position: absolute;
  line-height: 1;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.4);
}
.hero-num-7 { top: 12%; left: 3%; font-size: clamp(80px, 10vw, 140px); }
.hero-num-5 { top: 38%; left: 0%; font-size: clamp(100px, 12vw, 180px); }
.hero-num-8 { top: 68%; left: 16%; font-size: clamp(70px, 8vw, 110px); }
.hero-num-3 { top: 8%; right: 18%; font-size: clamp(90px, 11vw, 150px); }
.hero-num-6 { bottom: 6%; right: 17%; font-size: clamp(75px, 9vw, 120px); }
.hero-num-9 { top: 32%; right: 1%; font-size: clamp(110px, 13vw, 190px); }

/* Centered Glowing Sunburst Backdrop shifted to the right */
/* Concentric Glowing Sunburst (Anchored directly inside chart-visual-stage behind Pandit) */
.hero-sunburst-glow {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: min(680px, 92vw, 78vh);
  height: min(680px, 92vw, 78vh);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 245, 204, 0.5) 0%, rgba(253, 199, 0, 0.28) 35%, rgba(255, 124, 17, 0.08) 60%, transparent 75%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 1;
}

/* Rotating Surya Zodiac Chakra Stage (Locked Centrally Behind Pandit's Head Across All Devices) */
.hero-chakra-stage {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: min(530px, 86vw, 66vh);
  height: min(530px, 86vw, 66vh);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.hero-chakra-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 16px rgba(253, 199, 0, 0.45));
}

/* Unified Cosmic Wheel Rotator (Authentic Indian Astro Broadcast Motion, Single Harmonic Speed) */
.hero-chakra-rotator {
  transform-origin: 500px 500px;
  animation: astro-chakra-spin 65s linear infinite;
  will-change: transform;
}

@keyframes astro-chakra-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-chakra-rotator {
    animation: none !important;
  }
}

.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3.5vh, 48px);
  align-items: end;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text-col {
  max-width: 680px;
  align-self: center;
  padding-bottom: clamp(20px, 3vh, 32px);
}

.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: clamp(10px, 1.6vh, 18px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.hero-badge-wrap {
  margin-bottom: clamp(12px, 1.8vh, 18px);
}

.hero-subheading-badge {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 4px;
  background: rgba(35, 12, 2, 0.45);
  border: 1.5px solid rgba(255, 215, 0, 0.55);
  color: #FFD54F;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-heading {
  font-size: clamp(2.1rem, 3.2vw + 3vh, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: clamp(10px, 1.8vh, 22px);
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(138, 43, 0, 0.45);
}

.hero-heading .gold-accent {
  color: #FFF3C4;
  font-style: italic;
  text-shadow: 0 0 20px rgba(253, 199, 0, 0.6);
}

.hero-summary {
  font-size: clamp(0.95rem, 0.4vw + 0.9vh, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: clamp(14px, 2.4vh, 28px);
  max-width: 560px;
  text-shadow: 0 1px 8px rgba(100, 30, 0, 0.4);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.6vh, 16px);
  align-items: center;
}

.hero-cta-group .btn-gold {
  box-shadow: 0 6px 20px rgba(253, 199, 0, 0.45);
}
.hero-cta-group .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(253, 199, 0, 0.6);
}

/* Secondary CTA contrast */
.celestial-hero .hero-cta-group .btn-secondary {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.celestial-hero .hero-cta-group .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  color: #FFFFFF !important;
}

/* Celestial Chart Visual Stage - Anchored Flush to Hero Bottom Baseline */
.hero-chart-col {
  display: flex;
  justify-content: center;
  align-items: flex-end !important;
  position: relative;
  align-self: end !important;
  margin-bottom: 0 !important;
  line-height: 0 !important;
  height: 100%;
}

.chart-visual-stage {
  width: 100%;
  min-height: min(560px, 72vh);
  position: relative;
  display: flex;
  align-items: flex-end !important;
  justify-content: center;
  margin-bottom: 0 !important;
  line-height: 0 !important;
}

.hero-astrologer-figure {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: flex-end !important;
  transform-origin: bottom center;
  animation: hero-portrait-breathe 6s ease-in-out infinite;
  will-change: transform;
  margin-bottom: 0 !important;
  line-height: 0 !important;
}

.hero-astrologer-figure picture {
  display: flex;
  justify-content: center;
  align-items: flex-end !important;
  margin-bottom: 0 !important;
  line-height: 0 !important;
}

.hero-astrologer-img {
  width: 100%;
  max-width: min(480px, 36vw);
  max-height: min(560px, calc(86vh - 80px));
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  vertical-align: bottom !important;
  margin-bottom: 0 !important;
  filter: drop-shadow(0 14px 28px rgba(43, 35, 32, 0.22));
}

@keyframes hero-portrait-breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.018);
  }
}

.celestial-hero > .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1 1 auto;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-editorial-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: end !important;
  }
}

@media (max-width: 1023px) {
  .hero-text-col {
    padding-bottom: 16px;
  }
}

/* Height-adaptive tuning for compact laptops and short viewports (1366x768, scaling, etc.) */
@media (max-height: 760px) and (min-width: 1024px) {
  .celestial-hero {
    padding-top: 18px;
    min-height: auto;
  }
  .hero-heading {
    font-size: clamp(1.8rem, 2.8vw + 2vh, 2.8rem);
    margin-bottom: 10px;
  }
  .hero-summary {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .hero-text-col {
    padding-bottom: 24px;
  }
  .chart-visual-stage {
    min-height: 420px;
  }
  .hero-astrologer-img {
    max-height: 440px;
    max-width: 380px;
  }
}

@media (max-height: 650px) and (min-width: 1024px) {
  .celestial-hero {
    padding-top: 12px;
  }
  .hero-heading {
    font-size: clamp(1.6rem, 2.4vw + 1.8vh, 2.2rem);
    margin-bottom: 8px;
  }
  .hero-summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  .hero-text-col {
    padding-bottom: 16px;
  }
  .chart-visual-stage {
    min-height: 360px;
  }
  .hero-astrologer-img {
    max-height: 380px;
    max-width: 320px;
  }
  .hero-chakra-stage {
    width: 360px;
    height: 360px;
    top: 48%;
  }
  .hero-sunburst-glow {
    width: 440px;
    height: 440px;
  }
}

/* Tablet & Medium Screen Tuning (641px to 1023px) */
@media (max-width: 1023px) and (min-width: 641px) {
  .hero-editorial-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: end !important;
  }
  .hero-text-col {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 8px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-summary {
    margin-left: auto;
    margin-right: auto;
  }
  .chart-visual-stage {
    min-height: 440px;
    margin-top: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end !important;
  }
  .hero-astrologer-img {
    max-width: clamp(320px, 50vw, 420px);
    max-height: 460px;
  }
  .hero-chakra-stage {
    width: clamp(360px, 52vw, 460px) !important;
    height: clamp(360px, 52vw, 460px) !important;
    top: 44% !important;
    left: 50% !important;
  }
  .hero-sunburst-glow {
    width: clamp(420px, 60vw, 540px) !important;
    height: clamp(420px, 60vw, 540px) !important;
    top: 44% !important;
    left: 50% !important;
  }
}

/* Mobile Screen Tuning (<= 640px) */
@media (max-width: 640px) {
  .celestial-hero {
    padding: 24px 0 0;
    min-height: auto;
  }
  .hero-editorial-grid {
    gap: 16px;
    align-items: end !important;
    grid-template-columns: 1fr;
  }
  .hero-text-col {
    padding-bottom: 0;
    text-align: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-summary {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subheading-badge {
    font-size: clamp(0.85rem, 3.6vw, 1.1rem);
    padding: 5px 14px;
    letter-spacing: 0.04em;
  }
  .hero-heading {
    font-size: clamp(1.35rem, 5.2vw, 1.85rem);
    line-height: 1.16;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    margin-bottom: 12px;
  }
  .hero-surname {
    display: block;
  }
  .hero-summary {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .hero-location-badge {
    margin-bottom: 12px;
    padding: 5px 12px;
    font-size: 0.72rem;
  }
  .hero-cta-group {
    gap: 12px;
  }
  .hero-cta-group .btn {
    height: 44px;
    padding: 0 20px;
    font-size: 0.85rem;
  }
  .chart-visual-stage {
    display: flex;
    min-height: 340px;
    margin-top: 14px;
    align-items: flex-end !important;
    justify-content: center;
    width: 100%;
    position: relative;
  }
  .hero-astrologer-img {
    max-width: clamp(260px, 78vw, 340px);
    max-height: 400px;
  }
  .hero-chakra-stage {
    width: clamp(280px, 84vw, 360px) !important;
    height: clamp(280px, 84vw, 360px) !important;
    top: 42% !important;
    left: 50% !important;
    opacity: 0.55;
  }
  .hero-sunburst-glow {
    width: clamp(320px, 92vw, 420px) !important;
    height: clamp(320px, 92vw, 420px) !important;
    top: 42% !important;
    left: 50% !important;
  }
}

/* Small / Compact Mobile Tuning (<= 380px) */
@media (max-width: 380px) {
  .hero-heading {
    font-size: clamp(1.2rem, 5vw, 1.45rem);
  }
  .chart-visual-stage {
    min-height: 290px;
  }
  .hero-astrologer-img {
    max-width: 250px;
    max-height: 330px;
  }
  .hero-chakra-stage {
    width: 260px !important;
    height: 260px !important;
    top: 40% !important;
  }
  .hero-sunburst-glow {
    width: 290px !important;
    height: 290px !important;
    top: 40% !important;
  }
}

.chart-svg-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.chart-svg-container img {
  filter: drop-shadow(0 18px 32px rgba(70, 20, 0, 0.35));
}

/* ==========================================================================
   MOVING INFORMATION RAIL (MARQUEE)
   ========================================================================== */
.moving-info-rail {
  background-color: #FFF4EB;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 14px 0;
  position: relative;
  contain: paint;
  box-sizing: border-box;
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.rail-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--orange-deep);
  white-space: nowrap;
}

.rail-bullet {
  color: var(--orange);
  font-size: 0.8rem;
}

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

/* ==========================================================================
   DYNAMIC CONCERN NAVIGATOR
   ========================================================================== */
.concern-navigator-container {
  max-width: 1100px;
  margin: 0 auto;
}

.concern-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: var(--space-7);
}

.concern-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--motion-fast) var(--ease-standard);
}

.concern-chip:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.concern-chip.active {
  background: var(--orange);
  color: #FFFFFF;
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(229, 103, 10, 0.3);
}

/* Concern Dynamic Display Card */
.concern-display-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  transition: opacity var(--motion-base) var(--ease-standard);
}

@media (min-width: 768px) {
  .concern-display-card {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.concern-title {
  font-size: var(--fs-h3);
  color: var(--bg-wine);
  margin-bottom: 12px;
}

.concern-description {
  font-size: 1.0625rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}

.concern-card-visual {
  background: linear-gradient(135deg, var(--bg-paper) 0%, rgba(253, 199, 0, 0.08) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  box-shadow: inset 0 0 20px rgba(43, 35, 32, 0.03);
}

.concern-card-visual img,
.concern-card-visual svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  transition: transform var(--motion-base) var(--ease-standard), opacity var(--motion-fast);
}

/* ==========================================================================
   ASTROLOGY VISUAL EXPLORER (60/40 INTERACTIVE SPLIT)
   ========================================================================== */
.visual-explorer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 1024px) {
  .visual-explorer-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.explorer-chart-viewport {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 40px);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(43, 35, 32, 0.04);
}

.explorer-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.explorer-house-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: all var(--motion-fast);
  cursor: pointer;
}

.explorer-house-card h4 {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color var(--motion-fast);
}

.explorer-house-card p {
  color: var(--text-soft) !important;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.explorer-house-card:hover,
.explorer-house-card.active {
  background: #FFFFFF;
  border-color: var(--orange);
  border-left: 4px solid var(--orange);
  box-shadow: 0 6px 20px rgba(43, 35, 32, 0.08);
}

.explorer-house-card:hover h4,
.explorer-house-card.active h4 {
  color: var(--accent-maroon);
}

/* ==========================================================================
   EDITORIAL BENTO GRID (SERVICES - ZERO COOKIE-CUTTER)
   ========================================================================== */
.services-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .services-bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  
  .bento-card-primary {
    grid-column: span 7;
  }
  
  .bento-card-secondary {
    grid-column: span 5;
  }

  .bento-card-tertiary-1 {
    grid-column: span 4;
  }

  .bento-card-tertiary-2 {
    grid-column: span 4;
  }

  .bento-card-tertiary-3 {
    grid-column: span 4;
  }
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--motion-base) var(--ease-standard),
              border-color var(--motion-base) var(--ease-standard),
              box-shadow var(--motion-base) var(--ease-standard);
  text-decoration: none;
  color: inherit;
}

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

.bento-card-primary {
  background: linear-gradient(135deg, var(--bg-surface) 60%, var(--bg-paper) 100%);
}

.bento-title {
  font-size: var(--fs-h3);
  color: var(--orange-deep);
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 20px;
}

.bento-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap var(--motion-fast), color var(--motion-fast);
}

.bento-card:hover .bento-link {
  color: var(--orange-deep);
  gap: 10px;
}

/* ==========================================================================
   FEATURE DISPLAY SECTIONS (KUNDLI, VASTU, PALM)
   ========================================================================== */
.feature-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .feature-split-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.feature-visual-box {
  border-radius: var(--radius-md);
  padding: clamp(20px, 3.5vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  opacity: 0.95;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

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

/* Match hero frame sizes while letting every image keep its own natural ratio. */
#main-content .hero-section .service-hero-image-frame {
  aspect-ratio: 4 / 3;
  padding: 16px !important;
  overflow: hidden;
}

#main-content .hero-section .service-hero-image-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .feature-visual-box {
    padding: 16px 12px !important;
  }
}

/* Responsive Dual Grid (Stacks on screens <= 768px) */
.responsive-dual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  align-items: center;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .responsive-dual-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   CONSULTATION JOURNEY (4-STEP TIMELINE)
   ========================================================================== */
.journey-timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}

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

.journey-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.journey-step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 12px;
}

.journey-step-title {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.journey-step-desc {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ==========================================================================
   ACCORDION SYSTEM (FAQS)
   ========================================================================== */
.accordion-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--motion-fast);
}

.faq-item:hover {
  border-color: var(--accent-gold);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 28px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-icon-chevron {
  width: 14px;
  height: 8px;
  flex-shrink: 0;
  transition: transform var(--motion-base) var(--ease-standard);
}

.faq-question-btn[aria-expanded="true"] .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer-content {
  padding: 0 28px 24px;
  font-size: 1.025rem;
  color: var(--text-soft);
  line-height: 1.75;
}

/* ==========================================================================
   SLIDE-OUT ENQUIRY DRAWER (ACCESSIBLE MODAL)
   ========================================================================== */
.enquiry-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 19, 26, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-base) var(--ease-standard),
              visibility var(--motion-base);
}

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

.enquiry-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(540px, 100vw);
  background: var(--bg-surface);
  color: var(--text-main);
  z-index: 9999;
  box-shadow: var(--shadow-dark);
  transform: translateX(100%);
  transition: transform var(--motion-base) var(--ease-emphasized);
  display: flex;
  flex-direction: column;
}

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

.drawer-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title {
  font-size: 1.6rem;
  color: var(--bg-wine);
}

.drawer-close-btn {
  background: none;
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-soft);
  transition: all var(--motion-fast);
}

.drawer-close-btn:hover {
  color: var(--text-main);
  border-color: var(--accent-gold);
}

.drawer-body {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}

.form-textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.18);
  outline: none;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ==========================================================================
   MOBILE BOTTOM BAR
   ========================================================================== */
/* Mobile Bottom Bar (Frosted Light Luxury) */
.sticky-bar-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(21, 15, 10, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-dark);
  z-index: 900;
  padding: 0 16px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1023px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .sticky-bar-mobile {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

.mobile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-on-dark-soft);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
}

.mobile-action-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-action-btn.active-bar-btn {
  color: var(--accent-gold);
}

/* Mobile Call button: match Book Visit golden-yellow for visibility */
.sticky-bar-mobile .mobile-action-btn[href^="tel:"] {
  color: var(--accent-gold);
}

/* Mobile Services icon: match Call button golden-yellow */
.sticky-bar-mobile .mobile-action-btn[href="services/"] svg {
  color: var(--accent-gold);
}

/* Mobile Services text: match Call button golden-yellow */
.sticky-bar-mobile .mobile-action-btn[href="services/"] span {
  color: var(--accent-gold);
}

/* ==========================================================================
   FOOTER ARCHITECTURE (ROYAL AMBER & DEEP VELVET BROWN GRADIENT)
   ========================================================================== */
.site-footer,
.site-footer.site-footer {
  background: radial-gradient(ellipse 90% 120px at 50% 0%, rgba(250, 181, 18, 0.16) 0%, transparent 100%),
              linear-gradient(180deg, #240E03 0%, #361706 50%, #1A0801 100%) !important;
  color: rgba(255, 248, 238, 0.85) !important;
  padding: clamp(60px, 8vw, 96px) 0 32px;
  border-top: 1px solid rgba(250, 181, 18, 0.45) !important;
  box-shadow: inset 0 2px 10px rgba(250, 181, 18, 0.15);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #FFD54F 25%, #FAB512 50%, #FFD54F 75%, transparent 100%);
  pointer-events: none;
}

@media (max-width: 1023px) {
  .site-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

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

.footer-brand img {
  height: clamp(52px, 5.5vw, 68px);
  width: auto;
  max-width: 280px;
  display: block;
}

.footer-brand p {
  color: rgba(255, 248, 238, 0.82) !important;
  font-size: 0.9375rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #FFD54F !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.footer-grid > .footer-col:last-child > p:first-of-type {
  position: relative;
  padding-left: 29px;
  color: rgba(255, 248, 238, 0.82) !important;
}

.footer-grid > .footer-col:last-child > p:first-of-type::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  width: 19px;
  height: 22px;
  background-color: #FAB512;
  -webkit-mask: url('../images/location-pin.svg') center / contain no-repeat;
  mask: url('../images/location-pin.svg') center / contain no-repeat;
}

/* Ensure GrapeJS inline or utility ID overrides inside the footer remain crisp ivory */
.site-footer .footer-col p,
.site-footer .footer-col p[id],
.site-footer #iegpo7,
.site-footer #i7uzep,
.site-footer #ifb52p,
.site-footer [id^="i"]:not(img):not(svg):not(path) {
  color: rgba(255, 248, 238, 0.82) !important;
}

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

.footer-links a {
  color: rgba(255, 248, 238, 0.85) !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--motion-fast);
}

.footer-links a:hover {
  color: #FFD54F !important;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(250, 181, 18, 0.22) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  font-size: 0.8125rem;
  color: rgba(255, 248, 238, 0.65) !important;
}

.footer-bottom-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 28px;
  text-align: center;
  width: 100%;
}

.footer-copyright {
  color: rgba(255, 248, 238, 0.65) !important;
  text-align: center;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer-legal-links a {
  color: rgba(255, 248, 238, 0.65) !important;
  text-decoration: none;
  transition: color var(--motion-fast);
}

.footer-legal-links a:hover {
  color: #FFD54F !important;
  text-decoration: underline;
}

/* ==========================================================================
   INTERACTIVE MAP EMBED
   ========================================================================== */
.map-embed-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background: #e5e3df;
  position: relative;
  width: 100%;
}

.map-embed-wrapper iframe {
  width: 100%;
  max-width: 100%;
  height: 450px;
  min-height: 450px;
  border: 0;
  display: block;
}

@media (max-width: 767px) {
  .map-embed-wrapper iframe {
    height: 360px;
    min-height: 360px;
  }
}

/* ==========================================================================
   DATA-GATED PROOF ARCHITECTURE
   ========================================================================== */
[data-gated-proof]:empty {
  display: none !important;
}

.proof-slot-hidden {
  display: none !important;
}

/* ==========================================================================
   M G ROAD SHOWCASE, TRANSIT & CONSULTATION PILLAR CARDS
   ========================================================================== */
.mathikere-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 10px 30px rgba(43, 35, 32, 0.05);
  margin-block: var(--space-xl);
}

@media (max-width: 860px) {
  .mathikere-showcase {
    grid-template-columns: 1fr;
  }
}

.mathikere-showcase-address {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 16px;
  margin-bottom: 16px;
  font-style: normal;
  line-height: 1.6;
}

.mathikere-showcase-address strong {
  color: var(--text-main);
  font-size: 1.05rem;
}

.mathikere-showcase-reassurance {
  background: var(--paper);
  border-left: 3px solid var(--orange);
  padding: 22px 26px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reassurance-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reassurance-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.reassurance-list li span.check {
  color: var(--orange-deep);
  font-weight: 700;
  flex-shrink: 0;
}

/* Transit / Commute Grid */
.transit-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  margin-bottom: var(--space-xl);
}

.transit-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast);
}

.transit-card:hover {
  transform: translateY(-3px);
  border-color: var(--amber);
  box-shadow: 0 10px 25px rgba(43, 35, 32, 0.08);
}

.transit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-deep);
  background: rgba(255, 124, 17, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}

.transit-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.transit-card-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}

/* 7-Pillar Consultation Card Grid */
.pillar-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 28px;
  margin-bottom: var(--space-xl);
}

@media (max-width: 767px) {
  .pillar-card-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
  box-shadow: 0 12px 36px rgba(43, 35, 32, 0.09), 0 2px 8px rgba(253, 199, 0, 0.08);
}

.pillar-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 10px;
}

.pillar-card-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pillar-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange-deep);
  text-decoration: none;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  transition: color var(--motion-fast), gap var(--motion-fast);
}

.pillar-card-link:hover {
  color: var(--orange);
  gap: 12px;
}

/* M G Road Pre-Footer CTA */
.mathikere-cta-section {
  background: var(--bg-midnight);
  color: var(--text-on-dark);
  padding: clamp(64px, 8vw, 96px) 0;
  text-align: center;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  position: relative;
}

.mathikere-cta-section h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 16px;
}

.mathikere-cta-section p {
  color: var(--text-on-dark-soft);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.mathikere-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .orbit-ring-outer,
  .orbit-ring-middle,
  .chart-bindu-pulse,
  .marquee-track,
  .live-pulse-dot {
    animation: none !important;
  }
}


/* ==========================================================================
   OFFICIAL 8-PILLAR VISUAL SERVICE CARD GRID (REFERENCE-ALIGNED LUXURY)
   ========================================================================== */
.services-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

@media (min-width: 1024px) {
  .services-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.service-card {
  background: #FFFFFF;
  border: 1px solid rgba(43, 35, 32, 0.09);
  border-radius: 18px;
  padding: 16px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(43, 35, 32, 0.04);
  transition: transform 0.3s var(--ease-standard),
              box-shadow 0.3s var(--ease-standard),
              border-color 0.25s var(--ease-standard);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 124, 17, 0.4);
  box-shadow: 0 16px 36px rgba(255, 124, 17, 0.13);
}

.service-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  flex-shrink: 0;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s var(--ease-standard);
  display: block;
}

.services-card-grid > .service-card .service-card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
}

.services-card-grid > .service-card .service-card-img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

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

.service-card-tag {
  display: none !important;
}

.service-card-body {
  padding: 16px 4px 0 4px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card .service-card-title,
.service-card h3.service-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1C1917;
  line-height: 1.3;
  margin-bottom: 8px;
  transition: color 0.2s var(--ease-standard);
}

.service-card:hover .service-card-title,
.service-card:hover h3.service-card-title {
  color: var(--orange);
}

.service-card-desc {
  font-family: var(--font-body);
  font-size: 0.84375rem;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card-features {
  display: none !important;
}

.service-card-btn,
.service-card-more {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s var(--ease-standard);
  margin-top: auto;
}

.service-card-btn svg,
.service-card-more .arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease-standard);
}

.service-card:hover .service-card-btn,
.service-card:hover .service-card-more {
  color: var(--orange-deep);
}

.service-card:hover .service-card-btn svg,
.service-card:hover .service-card-more .arrow {
  transform: translateX(4px);
}


/* Global Mobile Safeguards & Overflow Immunization */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

table {
  max-width: 100%;
}

.table-responsive,
.comparison-table-wrapper,
article table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .nav-cta .btn {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .btn {
    white-space: normal !important;
    text-align: center;
    height: auto !important;
    min-height: 48px;
    padding: 10px 18px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Center service-page hero images on mobile only. Desktop alignment is unchanged. */
@media (max-width: 1023px) {
  .hero-section .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .hero-section .feature-visual-box {
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section .feature-visual-box img {
    margin-left: auto;
    margin-right: auto;
  }
}
