/* ==========================================================================
   ALINA HENNA STUDIO - PRODUCTION DESIGN SYSTEM & STYLESHEET
   Location: Vadodara, Gujarat, India
   Tech: Vanilla CSS3 (Variables, Grid, Flexbox), Responsive, WCAG AA Compliant
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --henna-brown: #6B3A1E;       /* Primary dark, headings accents, pattern ink */
  --deep-maroon: #7A1F2B;       /* Primary brand, buttons, links */
  --maroon-dark: #5A1620;       /* Hover */
  --antique-gold: #B8892F;      /* Decorative lines, icons, borders (never small body text on cream) */
  --gold-soft: #E7CF9A;         /* Secondary decorative tint */
  --cream: #FBF4EA;             /* Main background base colour */
  --sand: #F1E3CC;              /* Alternate section base colour */
  --mehndi-green: #5E6B3A;      /* Small accents, success states */
  --ink: #2B1A12;               /* Body text (high contrast on cream/sand) */
  --muted: #6E5A4E;             /* Secondary body text */
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C4F;

  /* Global Pattern Control Variable */
  --pattern-opacity: 0.08;

  /* Shadows */
  --shadow-warm-xs: 0 2px 6px rgba(107, 58, 30, 0.06);
  --shadow-warm-sm: 0 4px 14px rgba(107, 58, 30, 0.08);
  --shadow-warm-md: 0 10px 28px rgba(107, 58, 30, 0.12);
  --shadow-warm-lg: 0 18px 42px rgba(107, 58, 30, 0.16);
  --shadow-float: 0 8px 24px rgba(43, 26, 18, 0.28);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --radius-arch: 999px 999px 0 0;

  /* Typography Stacks */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Fluid Type Scale */
  --text-h1: clamp(2.2rem, 5vw + 1rem, 4.5rem);
  --text-h2: clamp(1.8rem, 3vw + 1rem, 3rem);
  --text-h3: clamp(1.25rem, 1.5vw + 1rem, 1.75rem);
  --text-body: clamp(1rem, 0.2vw + 0.95rem, 1.0625rem);
  --text-sm: 0.9rem;
  --text-xs: 0.8rem;

  /* Layout Spacing */
  --section-padding-v: clamp(64px, 8vw, 120px);
  --container-max: 1200px;
  --container-pad: 32px;

  /* Header Height */
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Body Scroll Lock for Modal / Mobile Navigation */
body.scroll-locked {
  overflow: hidden;
  touch-action: none;
}

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

a {
  color: var(--deep-maroon);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover,
a:focus-visible {
  color: var(--maroon-dark);
}

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

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

ul,
ol {
  list-style: none;
}

/* Skip link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--deep-maroon);
  color: var(--cream);
  padding: 12px 24px;
  z-index: 10000;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 2px solid var(--antique-gold);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

/* Focus Rings */
:focus-visible {
  outline: 2px solid var(--antique-gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 600;
}

h1 {
  font-size: var(--text-h1);
  font-weight: 700;
}

h2 {
  font-size: var(--text-h2);
  margin-bottom: 0.5em;
}

h3 {
  font-size: var(--text-h3);
  margin-bottom: 0.4em;
}

.script-font {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--deep-maroon);
  font-size: 1.18em;
  display: inline;
  vertical-align: baseline;
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--henna-brown);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--antique-gold);
  border-radius: 2px;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ink);
  max-width: 680px;
}

.text-muted {
  color: var(--muted);
}

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

/* --------------------------------------------------------------------------
   4. MEHNDI BACKGROUND PATTERN SYSTEM (Section 3A)
   -------------------------------------------------------------------------- */
/* Global repeating background pattern on body */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../patterns/pattern-main.svg');
  background-repeat: repeat;
  background-size: 420px;
  opacity: var(--pattern-opacity);
  pointer-events: none;
  z-index: -1;
}

/* Section background variants */
.section {
  position: relative;
  padding: var(--section-padding-v) 0;
  overflow: hidden;
}

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

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

.section--sand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../patterns/pattern-light.svg');
  background-repeat: repeat;
  background-size: 520px;
  opacity: calc(var(--pattern-opacity) * 0.95);
  pointer-events: none;
  z-index: 0;
}

.section--maroon {
  background-color: var(--deep-maroon);
  color: var(--cream);
}

.section--maroon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../patterns/pattern-gold.svg');
  background-repeat: repeat;
  background-size: 420px;
  opacity: calc(var(--pattern-opacity) * 1.6);
  pointer-events: none;
  z-index: 0;
}

.section--maroon h1,
.section--maroon h2,
.section--maroon h3,
.section--maroon p,
.section--maroon .eyebrow {
  color: var(--cream);
}

.section--maroon .eyebrow::before {
  background: var(--gold-soft);
}

.section--maroon .script-font {
  color: var(--gold-soft);
}

/* Decorative Section Divider */
.pattern-divider {
  width: 100%;
  height: 48px;
  background-image: url('../patterns/pattern-border.svg');
  background-repeat: repeat-x;
  background-size: 600px 48px;
  background-position: center;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Decorative Corner Vines */
.corner-vine {
  position: absolute;
  width: 180px;
  height: 180px;
  background-image: url('../patterns/corner-vine.svg');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

.corner-vine--top-left {
  top: 0;
  left: 0;
}

.corner-vine--top-right {
  top: 0;
  right: 0;
  transform: scaleX(-1);
}

.corner-vine--bottom-left {
  bottom: 0;
  left: 0;
  transform: scaleY(-1);
}

.corner-vine--bottom-right {
  bottom: 0;
  right: 0;
  transform: scale(-1, -1);
}

/* --------------------------------------------------------------------------
   5. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

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

/* --------------------------------------------------------------------------
   6. BUTTONS & UI CONTROLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  min-height: 50px;
  min-width: 48px;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  position: relative;
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--deep-maroon);
  color: var(--cream);
  border: 1px solid var(--antique-gold);
  box-shadow: 0 4px 14px rgba(122, 31, 43, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--maroon-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 31, 43, 0.35);
}

.btn--secondary {
  background-color: transparent;
  color: var(--deep-maroon);
  border: 1.5px solid var(--deep-maroon);
}

.section--maroon .btn--secondary {
  color: var(--cream);
  border-color: var(--gold-soft);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: rgba(122, 31, 43, 0.08);
  transform: translateY(-2px);
}

.section--maroon .btn--secondary:hover,
.section--maroon .btn--secondary:focus-visible {
  background-color: rgba(231, 207, 154, 0.15);
  color: var(--white);
}

.btn--whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  background-color: var(--whatsapp-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn--gold {
  background-color: var(--antique-gold);
  color: var(--white);
  border: 1px solid var(--gold-soft);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background-color: #9f7525;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   7. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(251, 244, 234, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(184, 137, 47, 0.25);
  transition: height 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: flex;
  align-items: center;
}

.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-image: url('../patterns/pattern-border.svg');
  background-repeat: repeat-x;
  background-size: 300px 24px;
  opacity: 0.35;
  pointer-events: none;
}

.header--scrolled {
  height: 68px;
  box-shadow: var(--shadow-warm-md);
  background-color: rgba(251, 244, 234, 0.98);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__brand {
  font-family: var(--font-script);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--deep-maroon);
}

.logo__tagline {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--henna-brown);
  line-height: 1;
  margin-top: 2px;
}

/* Desktop Navigation */
.nav__list {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--deep-maroon);
}

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

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--antique-gold);
  border-radius: 2px;
}

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

.phone-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--antique-gold);
  color: var(--deep-maroon);
  transition: background-color 0.2s, color 0.2s;
}

.phone-icon-link:hover,
.phone-icon-link:focus-visible {
  background-color: var(--deep-maroon);
  color: var(--cream);
}

/* Mobile Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: none;
  border: 1px solid rgba(184, 137, 47, 0.4);
  gap: 6px;
  z-index: 1100;
  padding: 10px;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--deep-maroon);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* Mobile Slide-in Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 380px);
  height: 100vh;
  height: 100dvh;
  background-color: var(--cream);
  z-index: 1050;
  box-shadow: -8px 0 24px rgba(43, 26, 18, 0.2);
  display: flex;
  flex-direction: column;
  padding: 80px 28px 40px 28px;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../patterns/pattern-main.svg');
  background-repeat: repeat;
  background-size: 260px;
  opacity: 0.07;
  pointer-events: none;
  z-index: -1;
}

.mobile-drawer.is-open {
  right: 0;
}

.mobile-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 26, 18, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.mobile-drawer__link {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.mobile-drawer__link[aria-current="page"] {
  color: var(--deep-maroon);
  padding-left: 12px;
  border-left: 3px solid var(--antique-gold);
}

.mobile-drawer__actions {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(184, 137, 47, 0.3);
}

/* --------------------------------------------------------------------------
   8. FLOATING BUTTONS (WhatsApp + Go-To-Top)
   Strict non-overlapping requirements for mobile up to 4K
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 990; /* High z-index, but below mobile drawer 1050 */
  pointer-events: none; /* Let clicks pass outside the buttons */
}

.floating-btn {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-float);
  transition: transform 0.25s ease, opacity 0.3s ease, background-color 0.2s ease;
  position: relative;
  text-decoration: none;
}

.floating-btn:hover,
.floating-btn:focus-visible {
  transform: scale(1.08);
}

/* WhatsApp Floating Button */
.floating-btn--whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
}

.floating-btn--whatsapp:hover,
.floating-btn--whatsapp:focus-visible {
  background-color: var(--whatsapp-dark);
}

.floating-btn--whatsapp::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--whatsapp);
  opacity: 0;
  animation: whatsappPulse 6s infinite;
  pointer-events: none;
}

@keyframes whatsappPulse {
  0%, 80% {
    transform: scale(1);
    opacity: 0;
  }
  85% {
    transform: scale(1.05);
    opacity: 0.7;
  }
  95% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Go To Top Floating Button */
.floating-btn--top {
  background-color: var(--deep-maroon);
  color: var(--cream);
  border: 1px solid var(--antique-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}

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

.floating-btn--top:hover,
.floating-btn--top:focus-visible {
  background-color: var(--maroon-dark);
}

/* --------------------------------------------------------------------------
   9. HERO SECTION (index.html)
   Full Viewport (100svh / 100vh), Henna-vine line drawing on load,
   Rotating badge, glass chips, unique printed fabric feel
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  background-color: var(--cream);
  display: flex;
  align-items: center;
  padding: clamp(90px, 12vh, 130px) 0 60px 0;
  overflow: hidden;
}

/* Slow hero pattern drift layer (Section 3A-D) */
.hero__pattern {
  position: absolute;
  inset: -20px;
  background-image: url('../patterns/pattern-main.svg');
  background-repeat: repeat;
  background-size: 420px;
  opacity: calc(var(--pattern-opacity) * 1.5);
  pointer-events: none;
  z-index: 0;
  animation: heroPatternDrift 40s ease-in-out infinite alternate;
}

@keyframes heroPatternDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, 15px); }
}

/* Radial fade overlay so text remains crisp */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 50%, rgba(251, 244, 234, 0.94) 0%, rgba(251, 244, 234, 0.72) 65%, rgba(251, 244, 234, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Faint rotating background mandala */
.hero__mandala-bg {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 520px;
  height: 520px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
  animation: mandalaRotate 60s linear infinite;
}

@keyframes mandalaRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content {
  position: relative;
}

.hero__title {
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero__sub {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 2rem;
  max-width: 560px;
}

/* Trust Row */
.trust-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 137, 47, 0.25);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--henna-brown);
}

.trust-item svg {
  color: var(--antique-gold);
  flex-shrink: 0;
}

/* Hero Right: Arch Frame with Offset Gold Outline */
.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__arch-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
}

/* Offset gold arch outline */
.hero__arch-outline {
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1.5px solid var(--antique-gold);
  border-radius: var(--radius-arch);
  pointer-events: none;
  z-index: 0;
}

.hero__arch-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow-warm-lg);
  z-index: 1;
  background-color: var(--sand);
  border: 1px solid rgba(184, 137, 47, 0.3);
}

.hero__arch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Rotating Text Badge */
.hero__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 110px;
  height: 110px;
  background: var(--deep-maroon);
  color: var(--cream);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-warm-md);
  border: 1.5px solid var(--antique-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.hero__badge-svg {
  width: 100%;
  height: 100%;
  animation: badgeRotate 24s linear infinite;
}

.hero__badge-center {
  position: absolute;
  font-size: 1.4rem;
  color: var(--gold-soft);
}

@keyframes badgeRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Floating Glass Chips */
.glass-chip {
  position: absolute;
  background: rgba(251, 244, 234, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(184, 137, 47, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-warm-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-maroon);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  animation: floatChip 6s ease-in-out infinite alternate;
}

.glass-chip--1 {
  top: 36px;
  right: -24px;
}

.glass-chip--2 {
  bottom: 60px;
  right: -20px;
  animation-delay: -3s;
}

@keyframes floatChip {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* Animated Vine that draws itself on load (Section 6 - Hero) */
.hero__draw-vine {
  position: absolute;
  bottom: 0;
  left: -40px;
  width: 320px;
  height: 240px;
  pointer-events: none;
  z-index: 1;
}

.draw-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: vineDraw 2.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.draw-dots {
  opacity: 0;
  animation: dotsFade 0.6s ease 2.6s forwards;
}

@keyframes vineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dotsFade {
  to {
    opacity: 1;
  }
}

/* Desktop Scroll Cue */
.hero__scroll-cue {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--henna-brown);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0.7;
}

.hero__scroll-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, var(--henna-brown), transparent);
  animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --------------------------------------------------------------------------
   10. INNER PAGE HERO (services.html, gallery.html, about.html, contact.html)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: 40svh;
  display: flex;
  align-items: center;
  background-color: var(--sand);
  padding: clamp(60px, 8vh, 90px) 0;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../patterns/pattern-light.svg');
  background-repeat: repeat;
  background-size: 420px;
  opacity: calc(var(--pattern-opacity) * 1.2);
  pointer-events: none;
  z-index: 0;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero__title {
  margin-bottom: 0.8rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--deep-maroon);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--henna-brown);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   11. CARDS & GENERAL COMPONENTS
   Solid/92% cream backgrounds so text never sits on busy pattern
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  border: 1px solid rgba(184, 137, 47, 0.25);
  box-shadow: var(--shadow-warm-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm-md);
  border-color: rgba(184, 137, 47, 0.5);
}

.card--cream {
  background-color: rgba(251, 244, 234, 0.95);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: rgba(122, 31, 43, 0.08);
  border: 1px solid rgba(184, 137, 47, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-maroon);
  margin-bottom: 1.25rem;
}

.card__title {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.card__text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-maroon);
}

/* Service Preview Cards & Grid */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card .card__link {
  margin-top: auto;
  padding-top: 1rem;
}

/* Alternating Services Blocks (services.html) */
.service-block {
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid rgba(184, 137, 47, 0.2);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-block__grid--reversed {
  direction: rtl;
}

.service-block__grid--reversed > * {
  direction: ltr;
}

.service-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-warm-md);
  border: 1px solid rgba(184, 137, 47, 0.3);
  aspect-ratio: 4 / 3;
}

.service-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block__bullets {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-block__bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}

.service-block__bullet svg {
  color: var(--antique-gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.service-block__price {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--henna-brown);
  background: rgba(184, 137, 47, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 1.5rem;
  border: 1px dashed rgba(184, 137, 47, 0.4);
}

/* 4-Step Booking Stepper */
.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 3rem;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--antique-gold) 0, var(--antique-gold) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background-color: var(--white);
  border: 2px solid var(--antique-gold);
  color: var(--deep-maroon);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: var(--shadow-warm-sm);
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Google Reviews Card (No fake reviews) */
.review-highlight-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background-color: rgba(251, 244, 234, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 137, 47, 0.35);
  box-shadow: var(--shadow-warm-md);
}

.review-highlight-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: rgba(122, 31, 43, 0.08);
  color: var(--deep-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

/* Location Card & Map Embed */
.location-card {
  background-color: rgba(251, 244, 234, 0.96);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid rgba(184, 137, 47, 0.3);
  box-shadow: var(--shadow-warm-sm);
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.location-item svg {
  color: var(--deep-maroon);
  flex-shrink: 0;
  margin-top: 4px;
}

.map-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-warm-md);
  border: 1px solid rgba(184, 137, 47, 0.3);
  aspect-ratio: 16 / 9;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   12. GALLERY & LIGHTBOX (gallery.html)
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background-color: var(--white);
  border: 1px solid rgba(184, 137, 47, 0.35);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.filter-chip:hover {
  background-color: rgba(122, 31, 43, 0.08);
  color: var(--deep-maroon);
}

.filter-chip.is-active {
  background-color: var(--deep-maroon);
  color: var(--cream);
  border-color: var(--antique-gold);
  box-shadow: var(--shadow-warm-xs);
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(184, 137, 47, 0.3);
  box-shadow: var(--shadow-warm-sm);
  background-color: var(--sand);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm-lg);
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.04);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43, 26, 18, 0.85) 0%, rgba(43, 26, 18, 0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--cream);
}

.gallery-item:hover .gallery-item__overlay,
.gallery-item:focus-visible .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 4px;
}

.gallery-item__caption {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 6, 0.94);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox__dialog {
  max-width: 900px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lightbox__figure {
  width: 100%;
  max-height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(184, 137, 47, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.lightbox__caption-bar {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cream);
  padding: 8px 16px;
  background: rgba(43, 26, 18, 0.6);
  border-radius: var(--radius-pill);
}

.lightbox__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.lightbox__category {
  font-size: 0.8rem;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(251, 244, 234, 0.15);
  color: var(--cream);
  border: 1px solid rgba(231, 207, 154, 0.3);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
  z-index: 2010;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--deep-maroon);
  color: var(--white);
  transform: scale(1.08);
}

.lightbox__close {
  top: -56px;
  right: 0;
}

.lightbox__prev {
  left: -64px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: -64px;
  top: 50%;
  transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION (about.html - Section 5)
   Strict WAI-ARIA Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: rgba(251, 244, 234, 0.98);
  border-radius: var(--radius-md);
  border: 1px solid rgba(184, 137, 47, 0.3);
  box-shadow: var(--shadow-warm-xs);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: rgba(184, 137, 47, 0.5);
  box-shadow: var(--shadow-warm-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
}

.faq-question:hover {
  color: var(--deep-maroon);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: rgba(122, 31, 43, 0.08);
  color: var(--deep-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.2s;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  background-color: var(--deep-maroon);
  color: var(--cream);
}

.faq-answer {
  padding: 0 1.8rem 1.6rem 1.8rem;
  color: var(--muted);
  line-height: 1.75;
  display: none;
}

.faq-answer.is-open {
  display: block;
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   14. FORMS & CONTACT (contact.html)
   -------------------------------------------------------------------------- */
.form-card {
  background-color: rgba(251, 244, 234, 0.98);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid rgba(184, 137, 47, 0.35);
  box-shadow: var(--shadow-warm-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-label .req {
  color: var(--deep-maroon);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(184, 137, 47, 0.4);
  background-color: var(--white);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--deep-maroon);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.15);
}

.form-error {
  font-size: 0.85rem;
  color: #B3261E;
  margin-top: 4px;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
  text-align: center;
}

/* Hours Table (about.html) */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background-color: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(184, 137, 47, 0.3);
}

.hours-table th,
.hours-table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(184, 137, 47, 0.15);
  font-size: 0.95rem;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table th {
  background-color: rgba(122, 31, 43, 0.06);
  font-weight: 600;
  color: var(--deep-maroon);
}

.badge-open {
  display: inline-block;
  background-color: rgba(94, 107, 58, 0.15);
  color: var(--mehndi-green);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   15. FOOTER
   4 Columns desktop, stacked mobile, maroon base + pattern-gold.svg
   Strict safety distance for floating buttons
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--deep-maroon);
  color: var(--cream);
  position: relative;
  z-index: 10;
  margin-top: auto;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../patterns/pattern-gold.svg');
  background-repeat: repeat;
  background-size: 420px;
  opacity: calc(var(--pattern-opacity) * 1.5);
  pointer-events: none;
  z-index: 0;
}

.footer__main {
  padding: 80px 0 60px 0;
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--gold-soft);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 8px;
}

.footer__col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--antique-gold);
}

.footer__desc {
  font-size: 0.95rem;
  color: rgba(251, 244, 234, 0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--antique-gold);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
}

.social-link:hover,
.social-link:focus-visible {
  background-color: var(--antique-gold);
  color: var(--deep-maroon);
}

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

.footer__link {
  color: rgba(251, 244, 234, 0.85);
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--gold-soft);
  transform: translateX(4px);
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: rgba(251, 244, 234, 0.85);
}

.footer__contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__contact-line svg {
  color: var(--gold-soft);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer__contact-line a {
  color: rgba(251, 244, 234, 0.85);
}

.footer__contact-line a:hover,
.footer__contact-line a:focus-visible {
  color: var(--gold-soft);
}

.footer__bottom {
  border-top: 1px solid rgba(184, 137, 47, 0.3);
  padding: 24px 0 96px 0; /* Strict 96px padding-bottom on desktop */
  position: relative;
  z-index: 1;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(251, 244, 234, 0.75);
}

/* --------------------------------------------------------------------------
   16. ERROR PAGES (404.html, 500.html, 403.html)
   -------------------------------------------------------------------------- */
.error-page-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.error-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background-color: rgba(251, 244, 234, 0.98);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  border: 1px solid rgba(184, 137, 47, 0.4);
  box-shadow: var(--shadow-warm-lg);
  position: relative;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--deep-maroon);
  text-shadow: 2px 2px 0 var(--gold-soft);
  margin-bottom: 0.5rem;
}

.error-illustration {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem auto;
  color: var(--antique-gold);
}

.error-links-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   17. REVEAL-ON-SCROLL & ANIMATION UTILITIES
   Respecting prefers-reduced-motion
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   18. ACCESSIBILITY & PREFERS-CONTRAST / PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-contrast: more) {
  :root {
    --pattern-opacity: 0 !important;
  }
  body::before,
  .section--sand::before,
  .section--maroon::before,
  .hero__pattern,
  .footer::before,
  .mobile-drawer::before {
    display: none !important;
  }
  .corner-vine,
  .pattern-divider {
    display: none !important;
  }
  .card,
  .form-card,
  .location-card,
  .faq-item {
    border: 2px solid #000 !important;
    background-color: #fff !important;
  }
}

@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;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .draw-path {
    stroke-dashoffset: 0 !important;
  }
  .draw-dots {
    opacity: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE MEDIA QUERIES (Mobile-first, 320px to 1440px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer__col:last-child {
    grid-column: span 3;
    margin-top: 1rem;
  }
  .lightbox__prev {
    left: 10px;
  }
  .lightbox__next {
    right: 10px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
    --container-pad: 24px;
  }

  .nav {
    display: none;
  }

  .header__actions .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

  .stepper {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }

  .stepper::before {
    display: none;
  }

  .service-block__grid,
  .service-block__grid--reversed {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    direction: ltr;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 20px;
    --section-padding-v: clamp(52px, 7vw, 80px);
  }

  /* Mehndi Pattern Mobile Scaling (Section 3A-C) */
  body::before {
    background-size: 260px;
    opacity: calc(var(--pattern-opacity) * 0.85);
  }

  .section--sand::before {
    background-size: 320px;
  }

  .section--maroon::before {
    background-size: 280px;
  }

  .corner-vine {
    width: 130px;
    height: 130px;
  }

  .pattern-divider {
    height: 32px;
    background-size: 400px 32px;
  }

  /* Hero Mobile Layout: Image on top, centered text below (Page 1 Section 1) */
  .hero {
    padding-top: 88px;
    padding-bottom: 48px;
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero__content {
    order: 2;
  }

  .hero__media {
    order: 1;
  }

  .hero__arch-wrapper {
    max-width: 290px;
    margin: 0 auto;
  }

  .hero__arch-img {
    max-height: 44svh;
  }

  .hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__badge {
    width: 90px;
    height: 90px;
    bottom: -14px;
    left: -14px;
  }

  .glass-chip--1 {
    right: -10px;
    top: 20px;
    font-size: 0.78rem;
  }

  .glass-chip--2 {
    right: -10px;
    bottom: 30px;
    font-size: 0.78rem;
  }

  .btn-group {
    justify-content: center;
  }

  .trust-row {
    justify-content: center;
  }

  .hero__scroll-cue {
    display: none;
  }

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

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

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

  .filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .map-wrapper {
    aspect-ratio: 4 / 3;
  }

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

  /* Footer Mobile & Floating Action Safety */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__col:last-child {
    grid-column: span 1;
  }

  .footer__bottom {
    padding-bottom: 120px; /* At least 120px on mobile to guarantee no button overlap */
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    padding-right: 84px; /* Ensure no text runs under floating action buttons */
  }

  .floating-actions {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .floating-btn {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .hero__arch-wrapper {
    max-width: 260px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .btn {
    width: 100%;
  }
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-group .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .logo__brand {
    font-size: 1.35rem;
  }
  .logo__tagline {
    font-size: 0.75rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
