/* ============================================
   VISHAL BUDHWANI — LIC ADVISOR
   Premium Editorial v3.0
   Aesthetic: Aesop × Apple Financial × Indian Heritage
   ============================================ */

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

:root {
  /* Z-Index Variables */
  --z-nav: 1000;
  --z-popup: 2000;
  --z-notification: 3000;
  --z-whatsapp: 998;
  --z-sticky-cta: 999;

  /* Editorial Palette — Muted, Warm, Sophisticated */
  --ink: #0B0E14;
  --ink-soft: #14171E;
  --ink-muted: #333842;
  --parchment: #FAF7F2;
  --parchment-warm: #F5F0E8;
  --parchment-cool: #EFEBE3;
  --stone: #D4CFC7;
  --stone-light: #E8E4DC;
  --clay: #8B6F5C;
  --clay-light: #A68B78;
  --clay-pale: #C4B5A8;
  --gold: #C29B68;
  --gold-pale: #D4C4A8;
  --cream: #FDFBF7;
  --white: #FFFFFF;

  /* Dark Mode Sections */
  --charcoal: #0B0F19;
  --charcoal-warm: #141822;
  --charcoal-light: #1C212E;

  /* Typography */
  --font-display: 'Urbanist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing — Editorial generous */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --space-3xl: 12rem;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius — Modern rounded */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

/* iOS appearance reset */
button, input[type="submit"], input[type="button"] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

/* Keyboard navigation accessibility focus outlines */
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
@keyframes pageReveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  animation: pageReveal 1s var(--ease-out-expo) forwards;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: opacity 0.3s var(--ease-out-quart); }
a:hover { opacity: 0.7; }
ul { list-style: none; }

/* --- Typography Scale — Modern Webflow Display --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 7.5vw, 5.5rem); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.1; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.0rem); font-weight: 700; line-height: 1.2; }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em; }

p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: min(52ch, 100%);
}

.text-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
  color: var(--clay);
}

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-block;
  margin-bottom: 1rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(194, 155, 104, 0.08);
  color: #6B4E3D; /* Dark warm clay for high contrast and readability on parchment */
  border: 1px solid rgba(194, 155, 104, 0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.section-dark .pill-badge {
  color: var(--gold-pale);
  background: rgba(212, 204, 168, 0.08);
  border-color: rgba(212, 204, 168, 0.25);
}

.label-light { color: var(--gold-pale); }
.label-gold { color: var(--gold); }

/* --- Layout --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  html { font-size: 15px; }
}

/* --- Section Architecture --- */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-parchment { background: var(--parchment); }
.section-cream { background: var(--cream); }
.section-warm { background: var(--parchment-warm); }
.section-dark {
  background: radial-gradient(circle at 50% 30%, #1c1a17 0%, #0c0c0c 100%);
  color: var(--parchment);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--parchment);
}
.section-dark p { color: #E0DBD3; }
.section-dark .plan-tag {
  color: #E6C294; /* Brighter gold for dark backgrounds */
}

/* --- Navigation — Minimal, Editorial --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1.5rem 0;
  background: rgba(11, 15, 25, 0.5); /* Premium dark glass backdrop for high contrast */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); /* subtle border outline */
  transition: all 0.5s var(--ease-out-expo);
}
.navbar.scrolled {
  background: rgba(253, 251, 247, 0.9); /* var(--cream) translucent */
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(139, 111, 92, 0.08); /* subtle clay outline */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}
.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-links a,
.navbar.scrolled .nav-cta {
  color: var(--ink);
}
.navbar.scrolled .mobile-toggle span {
  background: var(--ink);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.4s var(--ease-out-expo);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 450;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  opacity: 0.8;
  transition: color 0.4s var(--ease-out-expo), opacity 0.4s var(--ease-out-expo);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s var(--ease-out-expo);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active-page {
  opacity: 1;
  color: var(--gold);
}
.nav-links a.active-page::after {
  width: 100%;
  background: var(--gold);
}
.navbar.scrolled .nav-links a.active-page {
  color: var(--clay); /* Darker active color for contrast on light scrolled navbar background */
  opacity: 1;
}
.navbar.scrolled .nav-links a.active-page::after {
  background: var(--clay);
}

.nav-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.4s var(--ease-out-expo);
}
.nav-cta:hover {
  background: var(--white);
  color: var(--ink);
  opacity: 1;
}

.navbar.scrolled .nav-cta {
  border-color: var(--ink);
  color: var(--ink);
}
.navbar.scrolled .nav-cta:hover {
  background: var(--ink);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-out-expo);
}

/* --- Hero — Cinematic, Full-Bleed --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: saturate(0.85) contrast(1.1);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 15, 25, 0.65) 0%, rgba(11, 15, 25, 0) 35%),
              linear-gradient(to top, var(--charcoal) 0%, rgba(11, 15, 25, 0.5) 45%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-2xl);
  max-width: 900px;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: var(--parchment);
  margin-bottom: var(--space-md);
  font-weight: 300;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-pale);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--stone);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}


/* --- Buttons — Modern Webflow Style --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  padding: 0.85rem 2.2rem;
  border: 1px solid transparent;
  border-radius: 100px; /* Modern Webflow pill */
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '→';
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.15rem;
  transition: transform 0.3s var(--ease-out-expo);
  display: inline-block;
}

.btn:hover::after {
  transform: translateX(5px);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 155, 104, 0.25);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.btn-dark {
  background: var(--ink);
  color: var(--parchment);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 14, 20, 0.2);
  opacity: 1;
}

.btn-text {
  background: none;
  padding: 0;
  color: #7A5E4E; /* Dark clay for WCAG 4.5:1 contrast on light background */
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0;
  border: none;
}

.btn-text::after {
  content: '→';
  font-size: 1rem;
  margin-left: 0.4rem;
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-text:hover::after {
  transform: translateX(6px);
}

.btn-text:hover {
  opacity: 1;
  color: var(--ink);
}

/* --- Section Headers — Editorial --- */
.section-header {
  margin-bottom: clamp(2rem, 5vw, var(--space-2xl));
}
.section-header h2 {
  margin-top: var(--space-sm);
}
.section-header p {
  margin-top: var(--space-md);
  max-width: 48ch;
  color: var(--ink); /* Higher contrast for section introductory paragraph */
}

.section-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Stats — Minimal, Large Numbers --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--stone-light);
  border-bottom: 1px solid var(--stone-light);
}

.stat-item {
  text-align: left;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--space-xs);
  font-variant-numeric: tabular-nums;
}
.stat-number em {
  font-style: italic;
  color: var(--clay);
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay); /* Darker clay color for WCAG contrast on parchment */
}

/* --- Feature Cards — Modern Webflow Style --- */
.features-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 991px) {
  .features-editorial {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .features-editorial {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  background: var(--white);
  border: 1px solid rgba(139, 111, 92, 0.12);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.2rem 2.5rem 2.2rem;
  position: relative;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.feature-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(194, 155, 104, 0.08);
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.feature-item p {
  font-size: 0.98rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(194, 155, 104, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 22px !important;
  height: 22px !important;
  display: block;
}

.feature-item .feature-number {
  position: absolute;
  top: 1.8rem;
  left: 2.2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: rgba(194, 155, 104, 0.25);
  display: block;
}

/* --- Process — Editorial Timeline Steps --- */
.process-editorial {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
  margin-top: 3rem;
}

@media (max-width: 991px) {
  .process-editorial {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .process-editorial {
    grid-template-columns: 1fr;
  }
}

.process-step {
  background: var(--white);
  border: 1px solid rgba(139, 111, 92, 0.1);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

/* Timeline dot — shows on mobile connector line */
.process-step::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 1.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--parchment);
  box-shadow: 0 0 0 2px var(--gold);
  display: none; /* hidden by default, shown on mobile */
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(194, 155, 104, 0.06);
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 0.8rem;
  margin-bottom: var(--space-xs);
  color: var(--ink);
}

.process-step p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.process-step .step-num {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clay); /* Changed from gold to clay for readability */
  display: block;
}

/* --- Plan Cards — Editorial, Image-Forward --- */
.plans-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.plan-editorial {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.plan-editorial .plan-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--parchment-cool);
}
.plan-editorial .plan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
  transition: transform 0.6s var(--ease-out-expo), filter 0.6s var(--ease-out-expo);
}
.plan-editorial:hover .plan-image img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.05);
}
.plan-editorial .plan-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.15) 85%, transparent 100%);
  transition: opacity 0.6s var(--ease-out-expo);
}
.plan-editorial:hover .plan-image::after {
  background: linear-gradient(to top, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.8) 60%, rgba(10, 10, 10, 0.25) 90%, transparent 100%);
}

.plan-editorial .plan-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
}
.plan-editorial .plan-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.plan-editorial h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.plan-editorial p {
  font-size: 0.85rem;
  color: var(--stone);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.plan-editorial .plan-cta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.95;
  transition: all 0.4s var(--ease-out-expo);
}
.plan-editorial .plan-cta::after {
  content: '→';
  font-family: var(--font-body);
  font-size: 1.1rem;
  display: inline-block;
  transition: transform 0.3s var(--ease-out-expo);
}
.plan-editorial:hover .plan-cta {
  color: var(--white);
  opacity: 1;
}
.plan-editorial:hover .plan-cta::after {
  transform: translateX(4px);
}

/* --- Two Column — Editorial Asymmetric --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.two-col.narrow-gap {
  gap: var(--space-xl);
}
.two-col.reverse > *:first-child { order: 2; }
.two-col.reverse > *:last-child { order: 1; }

.image-editorial {
  position: relative;
  overflow: hidden;
  background: var(--parchment-cool);
}
.image-editorial img {
  width: 100%;
  height: auto;
  filter: saturate(0.85) contrast(1.02);
  transition: transform 0.8s var(--ease-out-expo);
}
.image-editorial:hover img {
  transform: scale(1.04);
}
.image-editorial::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(139, 111, 92, 0.08) 100%);
  pointer-events: none;
}

/* --- Calculator — Minimal, Dark --- */
.calculator-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}
.calculator-form-side {
  background: var(--parchment-warm);
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calculator-result-side {
  background: var(--charcoal);
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.calculator-result-side::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.form-group {
  margin-bottom: var(--space-md);
}
.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.75rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 0;
  border: none;
  border-bottom: 1px solid var(--stone);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.4s var(--ease-out-expo);
  border-radius: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7A766F; /* Clear, readable placeholder color that doesn't conflict but has >4.5:1 contrast */
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
  box-shadow: 0 4px 12px rgba(184, 149, 106, 0.04), 0 1px 0 var(--gold);
}
.form-group:focus-within label {
  color: var(--gold);
  transition: color 0.3s var(--ease-smooth);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L8 8L14 2' stroke='%238B6F5C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px 8px;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-group textarea::-webkit-resizer {
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 1L1 6M7 3L3 7' stroke='%238B6F5C' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom right;
}

/* Custom Range Input Track & Thumb */
.premium-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--stone-light);
  outline: none;
  margin: 1.5rem 0 1rem;
  border: none !important;
  padding: 0 !important;
}
.premium-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  transition: transform 0.2s var(--ease-smooth), background-color 0.2s;
  border: 2px solid var(--parchment-warm);
  box-shadow: 0 2px 6px rgba(12, 12, 12, 0.15);
}
.premium-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--clay);
}
.premium-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  transition: transform 0.2s var(--ease-smooth), background-color 0.2s;
  border: 2px solid var(--parchment-warm);
  box-shadow: 0 2px 6px rgba(12, 12, 12, 0.15);
}
.premium-range::-moz-range-thumb:hover {
  transform: scale(1.2);
  background: var(--clay);
}

.result-amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--parchment);
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.result-amount em {
  font-style: italic;
  color: var(--gold);
}
.result-label {
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}
.result-detail {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 207, 199, 0.15);
  font-size: 0.85rem;
}
.result-detail span:first-child {
  color: var(--stone);
  letter-spacing: 0.05em;
  font-weight: 300;
}
.result-detail span:last-child {
  color: var(--parchment);
  font-weight: 500;
}

/* --- Testimonials — Editorial Quote Style --- */
.testimonials-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-item {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--stone-light);
}
.testimonial-item .quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  line-height: 0.5;
  color: var(--clay-pale);
  margin-bottom: var(--space-md);
  display: block;
}
.testimonial-item p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
  max-width: 100%;
}
.testimonial-item .author {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.testimonial-item .author-role {
  font-size: 0.75rem;
  color: var(--clay); /* Changed from clay-light for readability */
  margin-top: 0.25rem;
}

/* --- FAQ — Minimal Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--stone-light);
  padding: var(--space-md) 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: var(--space-sm) 0;
}
.faq-question h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  padding-right: var(--space-md);
}
.faq-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-out-expo);
}
.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--clay);
  stroke-width: 1.5;
  fill: none;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out-expo), padding 0.4s var(--ease-out-expo);
}
.faq-item.active .faq-answer {
  max-height: 600px;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}
.faq-answer p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: min(65ch, 100%);
}
.faq-answer p strong {
  color: var(--ink);
  font-weight: 500;
}

/* --- Story Cards — Editorial Layout --- */
.story-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: var(--space-2xl);
}
.story-editorial.reverse > *:first-child { order: 2; }
.story-editorial.reverse > *:last-child { order: 1; }

.story-image-side {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background: var(--parchment-cool);
}
.story-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
  transition: transform 1.5s var(--ease-out-expo);
}
.story-editorial:hover .story-image-side img {
  transform: scale(1.03);
}
.story-content-side {
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--parchment-warm);
}
.story-content-side .story-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--space-md);
}
.story-content-side h3 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: var(--space-md);
  line-height: 1.15;
}
.story-content-side p {
  margin-bottom: var(--space-md);
}
.story-content-side .story-meta {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--stone-light);
}
.story-meta-item strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.story-meta-item span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay); /* Changed from clay-light for readability */
}

/* --- Contact — Editorial Split --- */
.contact-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.contact-info-side {
  background: var(--charcoal);
  padding: var(--space-3xl);
  color: var(--parchment);
}
.contact-info-side h2 {
  color: var(--parchment);
  margin-bottom: var(--space-lg);
}
.contact-info-item {
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(212, 207, 199, 0.1);
}
.contact-info-item:first-of-type {
  border-top: 1px solid rgba(212, 207, 199, 0.1);
}
.contact-info-item h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-pale); /* Lighter gold for high contrast on dark charcoal background */
  margin-bottom: 0.5rem;
}
.contact-info-item p,
.contact-info-item a {
  font-size: 1rem;
  color: var(--stone);
  line-height: 1.6;
}
.contact-info-item a:hover {
  color: var(--parchment);
  opacity: 1;
}

.contact-form-side {
  background: var(--cream);
  padding: var(--space-3xl);
}
.contact-form-side h2 {
  margin-bottom: var(--space-lg);
}

/* --- Footer — Minimal, Architectural --- */
.footer {
  background: var(--charcoal);
  color: var(--stone);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: var(--space-sm);
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--stone);
  max-width: 32ch;
  line-height: 1.6;
}
.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}
.footer-links ul li {
  margin-bottom: 0.75rem;
}
.footer-links ul li a {
  font-size: 0.85rem;
  color: var(--stone);
  transition: color 0.3s var(--ease-out-quart);
}
.footer-links ul li a:hover {
  color: var(--gold);
  opacity: 1;
}
.footer-bottom {
  border-top: 1px solid rgba(212, 207, 199, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--clay-pale);
  letter-spacing: 0.03em;
}

/* --- Sticky CTA — Minimal Pill --- */
.sticky-cta {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: var(--z-sticky-cta);
  display: flex;
  gap: 0;
  background: var(--ink);
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: transform 0.6s var(--ease-out-expo);
}
.sticky-cta.visible {
  transform: translateX(-50%) translateY(0);
}
.sticky-cta a {
  padding: 0.9rem 1.8rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment);
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s var(--ease-out-expo);
  white-space: nowrap;
}
.sticky-cta a:last-child {
  border-right: none;
  background: var(--clay);
}
.sticky-cta a:hover {
  background: var(--parchment);
  color: var(--ink);
  opacity: 1;
}
.sticky-cta a:last-child:hover {
  background: var(--gold);
}

/* --- WhatsApp Float — Refined --- */
.whatsapp-float {
  position: fixed !important;
  bottom: 2rem !important;
  right: 2rem !important;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999 !important;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}
.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* --- Exit Popup — Refined --- */
.exit-popup {
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 12, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: var(--z-popup);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out-expo);
}
.exit-popup.active { opacity: 1; visibility: visible; }
.exit-popup-content {
  background: var(--parchment);
  padding: var(--space-2xl);
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(12, 12, 12, 0.15);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.6s var(--ease-out-expo);
}
.exit-popup.active .exit-popup-content {
  transform: scale(1) translateY(0);
}
.exit-popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--clay);
  transition: color 0.3s;
}
.exit-popup-close:hover { color: var(--ink); }
.exit-popup h3 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}
.exit-popup p {
  margin-bottom: var(--space-lg);
  color: var(--ink-muted);
}

/* --- Notification --- */
.notification {
  position: fixed;
  top: 100px;
  right: 2rem;
  background: var(--cream);
  border: 1px solid var(--stone-light);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.8rem;
  z-index: var(--z-notification);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(120%);
  transition: transform 0.6s var(--ease-out-expo), visibility 0.6s var(--ease-out-expo);
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  visibility: hidden;
  pointer-events: none;
}
.notification.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.notification h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.notification p {
  font-size: 0.8rem;
  color: var(--ink-muted); /* Changed from clay-light for readability */
  margin: 0;
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: var(--z-nav);
  padding: 6rem 3rem 3rem;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-out-expo);
  pointer-events: none;
  visibility: hidden;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  padding: 1rem 0;
  border-bottom: 1px solid var(--stone-light);
  color: var(--ink);
}
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--ink);
}

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--clay);
  z-index: calc(var(--z-nav) + 1);
  width: 0%;
  transition: width 0.1s;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo);
}
.reveal.animate {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
}
.reveal.animate.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Staggered reveals for child items - only active when JS is enabled */
.reveal.animate .feature-item,
.reveal.animate .stat-item,
.reveal.animate .process-step,
.reveal.animate .plan-editorial,
.reveal.animate .testimonial-item {
  opacity: 0;
  transform: translateY(25px);
  filter: blur(4px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo), filter 1s var(--ease-out-expo);
}

.reveal.animate.active .feature-item,
.reveal.animate.active .stat-item,
.reveal.animate.active .process-step,
.reveal.animate.active .plan-editorial,
.reveal.animate.active .testimonial-item {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root {
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 3.5rem;
    --space-2xl: 4.5rem;
    --space-3xl: 5rem;
  }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse > *:first-child { order: 1; }
  .two-col.reverse > *:last-child { order: 2; }
  .features-editorial { grid-template-columns: repeat(2, 1fr); }
  .plans-editorial { grid-template-columns: repeat(2, 1fr); }
  .process-editorial { grid-template-columns: repeat(2, 1fr); }
  .process-editorial::before { display: none; }
  .testimonials-editorial { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .calculator-section { grid-template-columns: 1fr; min-height: auto; }
  .calculator-form-side, .calculator-result-side { padding: 2.5rem 2rem; }
  .story-editorial { grid-template-columns: 1fr; }
  .story-editorial.reverse > *:first-child { order: 1; }
  .story-editorial.reverse > *:last-child { order: 2; }
  .contact-editorial { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  /* Limit stacked image heights in two-col on tablets */
  .two-col .image-editorial { max-height: 380px; overflow: hidden; }
  /* Section header margin reduction */
  .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 768px) {
  :root {
    --space-xs: 0.4rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.75rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
  }
  .section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { max-width: none; }
  body, p { line-height: 1.6; }
  p { max-width: 100%; }
  
  /* Grids: all single column */
  .features-editorial { grid-template-columns: 1fr; gap: 1rem; }
  .plans-editorial { grid-template-columns: 1fr; }
  .testimonials-editorial { grid-template-columns: 1fr; gap: 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  
  /* Plan cards — landscape aspect-ratio on mobile so cards aren't huge */
  .plan-editorial .plan-image { aspect-ratio: 16/9; }
  .plan-editorial .plan-content {
    padding: 1.25rem;
  }
  .plan-editorial h3 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
  }
  .plan-editorial p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  
  /* Timeline process — vertical connector, FLAT on mobile */
  .process-editorial {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 2rem;
    margin-top: 1.5rem;
  }
  .process-editorial::before {
    display: block !important;
    content: '';
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 0.4rem;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold) 0%, var(--stone) 100%);
  }
  /* Remove card appearance on mobile */
  .process-step {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 1.5rem 0.75rem;
    transition: none;
  }
  .process-step:last-child { padding-bottom: 0; }
  .process-step:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
  }
  /* Show the dot */
  .process-step::before { display: block; }
  .process-step h4 { font-size: 1.1rem; margin-top: 0.5rem; margin-bottom: 0.3rem; }
  .process-step p { font-size: 0.9rem; max-width: 100%; }
  /* Hide the step icon circle (text icon is enough with the dot) */
  .process-step .step-icon { display: none; }

  /* Hero adjustments */
  .hero { min-height: 85vh; align-items: center; }
  .hero-content { padding-bottom: 2rem; }
  .hero-subtitle { font-size: 0.95rem; max-width: 100%; margin-bottom: 1.5rem; }
  .hero-actions { gap: 0.75rem; }
  .hero-actions .btn { font-size: 0.82rem; padding: 0.75rem 1.5rem; }
  /* Override hardcoded 140px padding-top on inner page heroes */
  .hero[style*="padding-top:140px"],
  .hero[style*="padding-top: 140px"] { padding-top: 90px !important; }

  /* Calculator — single column, compact */
  .calculator-section { grid-template-columns: 1fr; min-height: auto; }
  .calculator-form-side {
    padding: 1.75rem 1.25rem;
  }
  .calculator-result-side {
    padding: 1.75rem 1.25rem;
  }
  .result-amount { font-size: 2rem; }
  .result-label { margin-bottom: 1rem; }
  .form-group { margin-bottom: 0.875rem; }
  .form-group label { margin-bottom: 0.5rem; }
  
  /* Contact page split */
  .contact-info-side, .contact-form-side { padding: 2rem 1.25rem; }
  
  /* Story editorial — mobile */
  .story-editorial { grid-template-columns: 1fr; margin-bottom: 0; }
  .story-editorial.reverse > *:first-child { order: 1; }
  .story-editorial.reverse > *:last-child { order: 2; }
  .story-editorial + .story-editorial { margin-top: 2rem; border-top: 1px solid var(--stone-light); padding-top: 2rem; }
  .story-content-side { padding: 1.75rem 1.25rem; }
  .story-content-side h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
  .story-content-side .story-tag { margin-bottom: 0.5rem; }
  .story-content-side p { margin-bottom: 0.75rem; }
  .story-image-side { min-height: 220px; max-height: 260px; }
  /* Story meta — wrap at 3 items on mobile */
  .story-content-side .story-meta { gap: 1.25rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; }
  .story-meta-item strong { font-size: 1.2rem; }
  
  /* Two-col stacked */
  .two-col { gap: 1.75rem; }
  .two-col .image-editorial { max-height: 280px; overflow: hidden; }
  
  /* Sticky CTA */
  .sticky-cta { bottom: 0.75rem; }
  .sticky-cta a { padding: 0.65rem 0.9rem; font-size: 0.62rem; }
  
  /* WhatsApp float */
  .whatsapp-float { bottom: 5.5rem !important; right: 1rem !important; width: 46px; height: 46px; }

  /* Feature items — less padding */
  .feature-item { padding: 2rem 1.5rem 1.75rem 1.5rem; }
  
  /* Testimonials — compact */
  .testimonial-item { padding: 1.5rem 0; }
  .testimonial-item p { font-size: 1.05rem; }
  .testimonial-item .quote-mark { font-size: 3rem; }
  
  /* FAQ */
  .faq-question h4 { font-size: 1.1rem; }
  .faq-item { padding: 0.75rem 0; }
  
  /* Footer */
  .footer { padding: 2.5rem 0 1.5rem; }
}

@media (max-width: 480px) {
  :root {
    --space-xs: 0.35rem;
    --space-sm: 0.6rem;
    --space-md: 0.875rem;
    --space-lg: 1.5rem;
    --space-xl: 1.75rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
  }
  .section { padding: 2rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .container { padding: 0 1rem; }
  h1 { line-height: 1.1; }
  h2 { line-height: 1.15; }
  .nav-logo { font-size: 1.1rem; }
  .nav-cta { padding: 0.4rem 0.85rem; font-size: 0.65rem; }
  
  /* Stats — 2 columns still look fine at 480px */
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 1.25rem 1rem; }
  
  /* Footer — full single column below 480px */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  
  /* Plans — image ratio at small widths */
  .plan-editorial .plan-image { aspect-ratio: 4/3; }
  .plan-editorial .plan-content {
    padding: 1rem;
  }
  
  /* Calculator */
  .calculator-form-side, .calculator-result-side { padding: 1.5rem 1rem; }
  .result-amount { font-size: 1.8rem; }
  
  /* Hero */
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero[style*="padding-top:140px"],
  .hero[style*="padding-top: 140px"] { padding-top: 80px !important; }

  /* Sticky CTA — readable on small screens */
  .sticky-cta a:first-child { display: none; }/* Hide 'Speak with Vishal', keep WhatsApp */
  .sticky-cta { border-radius: 100px; }
  .sticky-cta a:last-child { padding: 0.75rem 1.5rem; font-size: 0.7rem; }

  /* WhatsApp float — move up since sticky CTA is now just one button */
  .whatsapp-float { bottom: 5rem !important; }
}

@media (max-width: 360px) {
  .container { padding: 0 0.875rem; }
  .sticky-cta {
    left: 50%;
    transform: translateX(-50%) translateY(120%);
  }
  .sticky-cta.visible {
    transform: translateX(-50%) translateY(0);
  }
  .nav-cta { display: none; }/* Hide consult button at 360px — only hamburger */
}

/* prefers-reduced-motion media query support */
@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.animate {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .reveal.animate .feature-item,
  .reveal.animate .stat-item,
  .reveal.animate .process-step,
  .reveal.animate .plan-editorial,
  .reveal.animate .testimonial-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

/* Scannability & Typographic Highlights */
section p strong, .testimonial-item p strong {
  color: var(--ink);
  font-weight: 600;
}
.section-dark p strong {
  color: var(--gold-pale);
  font-weight: 600;
}

.scannable-list {
  margin-top: 1.5rem;
  padding-left: 0;
}
.scannable-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  list-style: none;
}
.scannable-list li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
  top: -0.1rem;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--parchment); }
::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clay-pale); }

/* --- Selection --- */
::selection { background: var(--gold-pale); color: var(--ink); }

/* --- Grain Texture Overlay --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Partner Logo Marquee / Ticker --- */
.ticker-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 2.25rem 0;
  background: var(--parchment-warm);
  border-top: 1px solid rgba(139, 111, 92, 0.1);
  border-bottom: 1px solid rgba(139, 111, 92, 0.1);
  display: flex;
  margin: 3rem 0;
}

.logo-ticker {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.logo-ticker-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 3.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  opacity: 0.6;
  white-space: nowrap;
  transition: opacity 0.3s var(--ease-out-expo);
}

.logo-ticker-item:hover {
  opacity: 0.9;
}

.logo-ticker-item svg {
  width: 20px;
  height: 20px;
  color: var(--clay); /* Changed from gold to clay for visibility */
}

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

/* Adjust stats section layout spacing for cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 4rem 0;
  border-top: none;
}
@media (max-width: 991px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    padding: 2.5rem 0;
  }
}
@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem 0;
    gap: 0.75rem;
  }
}
.stat-item {
  background: var(--white);
  border: 1px solid rgba(139, 111, 92, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  transition: transform 0.4s var(--ease-out-expo);
}
.stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(194, 155, 104, 0.06);
}
/* --- Recognition Cards (About Page) --- */
.recognition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
@media (max-width: 991px) {
  .recognition-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .recognition-grid {
    grid-template-columns: 1fr;
  }
}

.recognition-card {
  text-align: center;
  padding: 3rem 1.5rem 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s var(--ease-out-expo);
}

.recognition-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(194, 155, 104, 0.12);
}

/* --- Print --- */
@media print {
  .navbar, .sticky-cta, .whatsapp-float, .scroll-progress, .breadcrumbs { display: none; }
}

/* Breadcrumbs Styling */
.breadcrumbs {
  padding: 0.75rem 0;
  background: var(--parchment-warm);
  border-bottom: 1px solid var(--stone-light);
  font-size: 0.8rem;
  font-family: var(--font-body);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--ink-muted);
}
.breadcrumb-item a {
  color: var(--clay);
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb-item a:hover {
  color: var(--ink);
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--stone);
}
.breadcrumb-item.active {
  color: var(--ink-muted);
  font-weight: 500;
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none !important;
  }
}
