/* =========================================================================
   Priyesh Rawat Events — Theme Stylesheet
   Luxury gold + charcoal palette matching the original brand design.
   ========================================================================= */

:root {
  --gold: #D4AF37;
  --gold-dark: #B8860B;
  --gold-light: #F4E8C1;
  --gold-lighter: #E6CA65;
  /* Brand chrome (navbar / hero / footer / estimator) stays a constant dark tone in both themes */
  --ink: #1A1815;
  --ink-soft: #2C2825;
  --whatsapp: #25D366;
  --whatsapp-dark: #20bd5a;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* ---- Theme tokens (light = default) ---- */
  --bg-warm: #FDFBF7;        /* page background */
  --bg-card: #FFFFFF;        /* card / panel surfaces */
  --bg-section-alt: #FBF6EA; /* alternating section background */
  --bg-chip: #FDFBF7;        /* soft icon-chip background */
  --text-strong: #1A1815;    /* primary body text */
  --text-muted: #5C554E;     /* secondary / helper text */
  --border-card: rgba(212,175,55,.2);
  --border-input: #e5e0d3;
  --scrollbar-track: #F4EFE6;
  --shadow-soft: 0 10px 30px -10px rgba(0,0,0,.06), 0 4px 12px -2px rgba(212,175,55,.08);
  --shadow-strong: 0 20px 40px -15px rgba(212,175,55,.22), 0 8px 24px -4px rgba(0,0,0,.10);
}

/* ---- Dark mode overrides ---- */
:root[data-theme="dark"] {
  --bg-warm: #131110;
  --bg-card: #1D1912;
  --bg-section-alt: #17130E;
  --bg-chip: #241F17;
  --text-strong: #F5EFE3;
  --text-muted: #B7AC9B;
  --border-card: rgba(212,175,55,.28);
  --border-input: #3A3323;
  --scrollbar-track: #1D1912;
  --shadow-soft: 0 10px 30px -10px rgba(0,0,0,.5), 0 4px 12px -2px rgba(212,175,55,.08);
  --shadow-strong: 0 20px 40px -15px rgba(212,175,55,.18), 0 8px 24px -4px rgba(0,0,0,.45);
}

/* Smooth theme transition without animating layout-affecting props */
body, .pre-card, .pre-stats-card, .pre-service-card, .pre-feature-card, .pre-mv-card,
.pre-location-card, .pre-review-card, .pre-review-form, .pre-featured-review,
.pre-filter-pill, .pre-modal, .pre-form-row input, .pre-form-row select, .pre-form-row textarea {
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-warm);
  color: var(--text-strong);
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; margin: 0; padding: 0; }

.pre-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}
@media (min-width: 640px) { .pre-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .pre-container { padding: 0 2rem; } }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: #C5A059; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ---------------------------- Icon set (emoji-based, zero dependencies) ---------------------------- */
[class^="pre-icon-"], [class*=" pre-icon-"] { font-style: normal; line-height: 1; display: inline-block; }
.pre-icon-pin::before, .pre-icon-pin-lg::before { content: "📍"; }
.pre-icon-spark::before, .pre-icon-spark-lg::before { content: "✨"; }
.pre-icon-phone::before, .pre-icon-phone-lg::before { content: "📞"; }
.pre-icon-wa::before { content: "💬"; }
.pre-icon-check::before { content: "✔"; }
.pre-icon-calendar::before { content: "📅"; }
.pre-icon-calendar-check::before { content: "🗓️"; }
.pre-icon-award::before { content: "🏆"; }
.pre-icon-users::before { content: "👥"; }
.pre-icon-bulb::before { content: "💡"; }
.pre-icon-money::before { content: "💰"; }
.pre-icon-clock::before, .pre-icon-clock-lg::before { content: "⏰"; }
.pre-icon-heart::before { content: "❤️"; }
.pre-icon-calc::before { content: "🧮"; }
.pre-icon-star::before { content: "☆"; color: var(--gold); }
.pre-icon-star-fill::before { content: "★"; color: var(--gold); }
.pre-icon-quote::before { content: "❝"; }
.pre-icon-quote-sm::before { content: "❝"; }
.pre-icon-verified::before { content: "✅"; font-size: .75em; }
.pre-icon-arrow::before { content: "→"; }
.pre-icon-mail::before { content: "✉️"; }
.pre-icon-target::before { content: "🎯"; }
.pre-icon-compass::before { content: "🧭"; }
.pre-icon-flower::before { content: "🌸"; }
.pre-icon-music::before { content: "🎵"; }
.pre-icon-camera::before { content: "📷"; }

/* =========================================================================
   Buttons
   ========================================================================= */
.pre-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  white-space: nowrap;
}
.pre-btn-lg { padding: 1.1rem 2rem; font-size: 1rem; border-radius: 14px; }
.pre-btn-sm { padding: .6rem 1rem; font-size: .8rem; border-radius: 10px; }
.pre-btn-block { width: 100%; }
.pre-btn-gold {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-lighter));
  color: var(--ink);
  box-shadow: 0 10px 25px -8px rgba(212,175,55,.5);
}
.pre-btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 16px 32px -8px rgba(212,175,55,.55); }
.pre-btn-outline {
  border: 1px solid rgba(212,175,55,.45);
  color: var(--gold-light);
  background: transparent;
}
.pre-btn-outline:hover { background: rgba(212,175,55,.1); }
.pre-btn-outline-light {
  border: 1px solid rgba(212,175,55,.35);
  color: var(--gold-light);
}
.pre-btn-outline-light:hover { background: rgba(212,175,55,.12); }
.pre-btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(212,175,55,.5);
  backdrop-filter: blur(6px);
}
.pre-btn-ghost:hover { background: rgba(255,255,255,.18); }
.pre-btn-dark {
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(212,175,55,.4);
}
.pre-btn-dark:hover { background: #000; }
.pre-btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px -6px rgba(37,211,102,.5); }
.pre-btn-whatsapp:hover { background: var(--whatsapp-dark); }

.pre-shimmer { position: relative; overflow: hidden; }
.pre-shimmer::after {
  content: '';
  position: absolute; inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.28) 20%, rgba(255,255,255,.55) 60%, rgba(255,255,255,0));
  animation: pre-shimmer 3s infinite;
}
@keyframes pre-shimmer { 100% { transform: translateX(100%); } }

.pre-icon-btn {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}
.pre-icon-btn:hover { transform: scale(1.06); }
.pre-icon-btn-whatsapp { background: var(--whatsapp); color: #fff; }
.pre-icon-btn-dark { background: var(--ink); color: var(--gold); border: 1px solid rgba(212,175,55,.5); }
.pre-pulse { animation: pre-pulse 2s infinite; }
@keyframes pre-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================================================================
   Top bar + Navbar
   ========================================================================= */
.pre-top-bar { background: var(--ink); color: var(--gold-light); font-size: .75rem; padding: .5rem 0; border-bottom: 1px solid rgba(212,175,55,.2); }
.pre-top-bar-inner { display: none; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .pre-top-bar-inner { display: flex; } }
.pre-top-left, .pre-top-right { display: flex; align-items: center; gap: 1rem; }
.pre-top-right { font-weight: 500; }
.pre-top-right a { display: inline-flex; align-items: center; gap: .25rem; }
.pre-top-right a:hover { color: #fff; }
.pre-whatsapp-link { color: var(--whatsapp) !important; font-weight: 700; }
.pre-sep { color: rgba(212,175,55,.4); }
@media (max-width: 1023px) { .pre-top-extra { display: none; } }

.pre-navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212,175,55,.15);
  transition: all .3s ease;
}
.pre-navbar.pre-scrolled { padding: .65rem 0; background: rgba(26,24,21,.95); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.pre-navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.pre-brand { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.pre-brand-badge {
  width: 48px; height: 48px; aspect-ratio: 1 / 1; border-radius: 50%;
  background: var(--ink);
  padding: 0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(212,175,55,.3), 0 4px 12px rgba(0,0,0,.35);
}
.pre-brand-badge img {
  width: 100%; height: 100%; aspect-ratio: 1 / 1; border-radius: 50%;
  object-fit: cover; object-position: center;
  background: var(--ink);
  display: block;
  clip-path: circle(50% at 50% 50%);
}
.pre-brand-badge-sm { width: 36px; height: 36px; }
.pre-brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.pre-brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.35rem; color: #fff; white-space: nowrap; }
.pre-brand-tagline { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; white-space: nowrap; }
@media (max-width: 400px) {
  .pre-brand-name { font-size: 1.05rem; }
  .pre-brand-tagline { font-size: .52rem; letter-spacing: .08em; }
  .pre-brand-badge { width: 40px; height: 40px; }
}

.pre-nav-links { display: none; align-items: center; gap: .25rem; }
@media (min-width: 768px) { .pre-nav-links { display: flex; } }
.pre-nav-link { padding: .4rem .75rem; border-radius: 10px; font-size: .875rem; font-weight: 500; color: #d1d5db; transition: all .2s ease; }
.pre-nav-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.pre-nav-link.active { color: var(--gold-lighter); background: rgba(212,175,55,.15); border: 1px solid rgba(212,175,55,.3); }

.pre-nav-actions { display: none; align-items: center; gap: .75rem; }
@media (min-width: 768px) { .pre-nav-actions { display: flex; } }

.pre-nav-right { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

.pre-theme-toggle {
  position: relative;
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(212,175,55,.25);
  transition: background .2s ease, transform .2s ease;
}
.pre-theme-toggle:hover { background: rgba(212,175,55,.18); transform: translateY(-1px); }
.pre-theme-toggle:active { transform: translateY(0) scale(.94); }
.pre-theme-icon { position: absolute; font-size: 1.05rem; line-height: 1; transition: opacity .25s ease, transform .35s cubic-bezier(.16,1,.3,1); }
.pre-theme-icon-moon { opacity: 1; transform: scale(1) rotate(0deg); }
.pre-theme-icon-sun { opacity: 0; transform: scale(.4) rotate(-90deg); }
[data-theme="dark"] .pre-theme-icon-moon { opacity: 0; transform: scale(.4) rotate(90deg); }
[data-theme="dark"] .pre-theme-icon-sun { opacity: 1; transform: scale(1) rotate(0deg); }

.pre-theme-toggle-label {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.pre-theme-toggle-label .pre-theme-toggle { background: rgba(212,175,55,.12); }

.pre-hamburger {
  display: flex; flex-direction: column; gap: 4px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 10px; background: rgba(255,255,255,.1);
}
@media (min-width: 768px) { .pre-hamburger { display: none; } }
.pre-hamburger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all .25s ease; }
.pre-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.pre-hamburger.open span:nth-child(2) { opacity: 0; }
.pre-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.pre-mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 60;
  width: 100%; max-width: 100%;
  background: rgba(26,24,21,.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.5rem; overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .3s cubic-bezier(.16,1,.3,1), visibility 0s linear .3s;
}
.pre-mobile-drawer.open { transform: translateX(0); visibility: visible; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.pre-mobile-drawer-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(212,175,55,.2); }
.pre-mobile-drawer-header .pre-brand-name { display: flex; align-items: center; gap: .5rem; font-size: 1.25rem; }
.pre-drawer-close { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 1.5rem; }
.pre-mobile-nav { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 0; }
.pre-mobile-nav a { padding: .85rem 1rem; border-radius: 14px; font-size: 1.1rem; font-weight: 500; color: var(--bg-warm); border: 1px solid transparent; }
.pre-mobile-nav a:hover { background: rgba(212,175,55,.15); color: var(--gold-lighter); border-color: rgba(212,175,55,.3); }
.pre-mobile-drawer-actions { padding-top: 1.5rem; border-top: 1px solid rgba(212,175,55,.2); display: flex; flex-direction: column; gap: .75rem; }
.pre-mobile-drawer-footer { text-align: center; font-size: .75rem; color: #9ca3af; padding-top: .5rem; }
.pre-drawer-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.4); display: none; }
.pre-drawer-overlay.open { display: block; }

/* =========================================================================
   Hero
   ========================================================================= */
.pre-hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; padding: 1.5rem 0 4rem; background: var(--ink); }
.pre-hero-bg { position: absolute; inset: 0; z-index: 0; }
.pre-hero-bg img,
.pre-hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pre-hero-video {
  filter: blur(3px) brightness(.82) contrast(1.05) saturate(1.05);
  transform: scale(1.1); /* hides blurred edges */
}
.pre-hero-fallback-img {
  position: absolute; inset: 0; z-index: -1;
  filter: brightness(.9) contrast(1.05);
  transform: scale(1.05);
}
/* Respect reduced-motion preference: keep the still frame, don't autoplay */
@media (prefers-reduced-motion: reduce) {
  .pre-hero-video { display: none; }
}
.pre-hero-overlay-1 { position: absolute; inset: 0; background: linear-gradient(to top, var(--ink), rgba(26,24,21,.75), rgba(26,24,21,.5)); }
.pre-hero-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to right, rgba(26,24,21,.9), rgba(26,24,21,.6), transparent); }
.pre-hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.pre-hero-glow-1 { top: 25%; left: 2rem; width: 24rem; height: 24rem; background: rgba(212,175,55,.15); }
.pre-hero-glow-2 { bottom: 2rem; right: 2rem; width: 20rem; height: 20rem; background: rgba(184,134,11,.15); }
@media (max-width: 640px) {
  .pre-hero-glow-1 { left: 0; width: 14rem; height: 14rem; }
  .pre-hero-glow-2 { right: 0; width: 12rem; height: 12rem; }
}
.pre-hero-inner { position: relative; z-index: 10; padding-top: 3rem; padding-bottom: 3rem; }
.pre-hero-content { max-width: 720px; }
.pre-badge-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 999px;
  background: rgba(26,24,21,.8); border: 1px solid rgba(212,175,55,.4);
  backdrop-filter: blur(8px); margin-bottom: 1.5rem; font-size: .8rem; color: var(--gold-light);
}
.pre-hero-title { font-family: var(--font-serif); font-weight: 700; color: #fff; font-size: 2.5rem; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 1.5rem; }
@media (max-width: 480px) { .pre-hero-title { font-size: 1.9rem; } }
@media (min-width: 640px) { .pre-hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .pre-hero-title { font-size: 4.5rem; } }
.pre-hero-sub { font-size: 1.05rem; color: rgba(244,239,230,.9); font-weight: 300; line-height: 1.7; margin: 0 0 2rem; max-width: 640px; }
@media (max-width: 480px) { .pre-hero-sub { font-size: .92rem; } }
@media (min-width: 640px) { .pre-hero-sub { font-size: 1.2rem; } }
.pre-hero-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 2.5rem; font-size: .8rem; color: #e5e7eb; }
@media (min-width: 640px) { .pre-hero-highlights { grid-template-columns: repeat(3,1fr); } }
.pre-highlight-chip { display: flex; align-items: center; gap: .5rem; background: rgba(0,0,0,.4); padding: .65rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.pre-span-2 { grid-column: span 2; }
@media (min-width: 640px) { .pre-span-2 { grid-column: span 1; } }
.pre-hero-ctas { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
@media (min-width: 640px) { .pre-hero-ctas { flex-direction: row; align-items: center; } }
.pre-hero-quick-actions { display: flex; align-items: center; justify-content: center; gap: .75rem; padding-top: .5rem; }
@media (min-width: 640px) { .pre-hero-quick-actions { padding-top: 0; } }
.pre-hero-footline { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: #d1d5db; }

/* =========================================================================
   Stats bar
   ========================================================================= */
.pre-stats-wrap { position: relative; z-index: 20; margin-top: -2rem; }
.pre-stats-card {
  background: var(--bg-card); border: 1px solid rgba(212,175,55,.3); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong); padding: 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (min-width: 768px) { .pre-stats-card { grid-template-columns: repeat(4,1fr); padding: 2rem; } }
.pre-stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: .75rem; }
.pre-stat-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--bg-chip); border: 1px solid rgba(212,175,55,.2); display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; font-size: 1.3rem; }
.pre-stat-value { font-family: var(--font-serif); font-weight: 700; font-size: 2.2rem; background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-lighter)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pre-stat-label { font-size: .9rem; font-weight: 700; margin-top: .25rem; }
.pre-stat-sub { font-size: .75rem; color: var(--text-muted); margin-top: .1rem; }

/* =========================================================================
   Generic section styling
   ========================================================================= */
.pre-section { padding: 5rem 0; position: relative; }
.pre-section-alt { background: var(--bg-section-alt); }
.pre-section-dark { background: var(--ink); color: var(--bg-warm); }
.pre-section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.pre-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem 1rem; border-radius: 999px;
  background: rgba(212,175,55,.15); color: var(--gold-dark); font-weight: 700; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: .75rem;
}
.pre-eyebrow-dark { background: rgba(212,175,55,.2); color: var(--gold-lighter); border: 1px solid rgba(212,175,55,.3); }
.pre-h2 { font-family: var(--font-serif); font-weight: 700; font-size: 2rem; letter-spacing: -.01em; margin: 0; }
@media (min-width: 640px) { .pre-h2 { font-size: 3rem; } }
.pre-h2-light { color: #fff; }
.pre-lead { margin-top: 1rem; font-size: 1rem; color: var(--text-muted); }
@media (min-width: 640px) { .pre-lead { font-size: 1.1rem; } }
.pre-lead-dark { color: #d1d5db; font-weight: 300; }

/* Luxury card base */
.pre-card {
  background: var(--bg-card); border: 1px solid rgba(212,175,55,.18); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft); transition: all .35s cubic-bezier(.16,1,.3,1);
}
.pre-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.45); box-shadow: var(--shadow-strong); }

/* =========================================================================
   About
   ========================================================================= */
.pre-about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .pre-about-grid { grid-template-columns: 5fr 7fr; gap: 3.5rem; } }
.pre-about-media { position: relative; }
.pre-about-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-strong); border: 4px solid var(--bg-card); }
.pre-about-img-wrap img { width: 100%; height: 480px; object-fit: cover; }
@media (min-width: 640px) { .pre-about-img-wrap img { height: 540px; } }
.pre-about-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), transparent 60%); }
.pre-about-img-caption { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; color: #fff; }
.pre-eyebrow-light { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 700; }
.pre-about-img-caption h3 { font-family: var(--font-serif); font-size: 1.5rem; margin: .25rem 0; }
.pre-about-img-caption p { font-size: .8rem; color: #e5e7eb; margin: 0; }
.pre-about-badge {
  position: absolute; bottom: -1.5rem; right: 1rem;
  background: var(--ink); color: #fff; padding: 1.25rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong); border: 1px solid rgba(212,175,55,.4);
  display: flex; align-items: center; gap: 1rem;
}
.pre-about-badge-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.pre-about-badge-year { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: var(--gold-lighter); display: block; }
.pre-about-badge-sub { font-size: .75rem; color: #d1d5db; }
.pre-about-copy { display: flex; flex-direction: column; gap: 1.5rem; }
.pre-mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pre-mv-card { background: var(--bg-card); border: 1px solid rgba(212,175,55,.2); border-radius: 16px; padding: 1.25rem; }
.pre-mv-card i { font-size: 1.4rem; }
.pre-mv-card h4 { font-family: var(--font-serif); margin: .5rem 0 .35rem; }
.pre-mv-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.pre-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.pre-tag { font-size: .75rem; font-weight: 600; padding: .4rem .9rem; border-radius: 999px; background: rgba(212,175,55,.12); color: var(--gold-dark); border: 1px solid rgba(212,175,55,.25); }

/* =========================================================================
   Services
   ========================================================================= */
.pre-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .pre-services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pre-services-grid { grid-template-columns: repeat(3,1fr); } }
.pre-service-card { background: var(--bg-card); border: 1px solid rgba(212,175,55,.18); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 1.75rem; transition: all .3s ease; }
.pre-service-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.5); box-shadow: var(--shadow-strong); }
.pre-service-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--bg-chip); border: 1px solid rgba(212,175,55,.25); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.pre-service-card h3 { font-family: var(--font-serif); font-size: 1.35rem; margin: 0 0 .5rem; }
.pre-service-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 1rem; }
.pre-service-link { font-size: .8rem; font-weight: 700; color: var(--gold-dark); display: inline-flex; align-items: center; gap: .35rem; }
.pre-service-link:hover { text-decoration: underline; }

/* =========================================================================
   Why choose us
   ========================================================================= */
.pre-features-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .pre-features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pre-features-grid { grid-template-columns: repeat(3,1fr); } }
.pre-feature-card { background: var(--bg-card); border: 1px solid rgba(212,175,55,.2); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 2rem; transition: all .3s ease; }
.pre-feature-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.45); box-shadow: var(--shadow-strong); }
.pre-feature-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--bg-chip); border: 1px solid rgba(212,175,55,.3); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.5rem; }
.pre-feature-card h3 { font-family: var(--font-serif); font-size: 1.4rem; margin: 0 0 .75rem; }
.pre-feature-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* =========================================================================
   Cost estimator
   ========================================================================= */
.pre-estimator-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .pre-estimator-grid { grid-template-columns: 7fr 5fr; } }
.pre-estimator-controls { background: var(--ink-soft); padding: 1.75rem; border-radius: var(--radius-lg); border: 1px solid rgba(212,175,55,.3); display: flex; flex-direction: column; gap: 1.5rem; }
.pre-est-field label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: .5rem; }
.pre-est-field-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.pre-est-field-head span { font-size: .9rem; font-weight: 700; color: var(--gold-lighter); }
.pre-est-pills { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (min-width: 640px) { .pre-est-pills { grid-template-columns: repeat(3,1fr); } }
.pre-est-pill { padding: .7rem; border-radius: 12px; font-size: .75rem; font-weight: 700; text-align: center; border: 1px solid rgba(255,255,255,.1); background: rgba(26,24,21,.6); color: #d1d5db; transition: all .2s ease; }
.pre-est-pill.active, .pre-est-pill:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
input[type="range"] { width: 100%; height: 6px; background: var(--ink); border-radius: 999px; appearance: none; cursor: pointer; accent-color: var(--gold); }
.pre-est-range-labels { display: flex; justify-content: space-between; font-size: .68rem; color: #9ca3af; margin-top: .35rem; }
.pre-est-tiers { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 640px) { .pre-est-tiers { grid-template-columns: repeat(3,1fr); } }
.pre-est-tier { text-align: left; padding: .75rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(26,24,21,.6); color: #d1d5db; }
.pre-est-tier strong { display: block; font-size: .75rem; color: var(--gold-lighter); }
.pre-est-tier span { display: block; font-size: .65rem; margin-top: .25rem; color: #9ca3af; }
.pre-est-tier.active { background: linear-gradient(135deg, rgba(184,134,11,.4), rgba(212,175,55,.2)); border-color: var(--gold); color: #fff; }
.pre-est-tier.active strong { color: var(--gold-lighter); }
.pre-est-checks { display: flex; flex-direction: column; gap: .5rem; }
.pre-est-check { display: flex; align-items: center; gap: .75rem; padding: .75rem; border-radius: 12px; background: rgba(26,24,21,.6); border: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.pre-est-check input { width: 16px; height: 16px; accent-color: var(--gold); }
.pre-est-check span { font-size: .8rem; color: #e5e7eb; }

.pre-estimator-result {
  background: linear-gradient(160deg, var(--ink-soft), var(--ink) 60%, var(--ink-soft));
  padding: 2rem; border-radius: var(--radius-lg); border: 1px solid rgba(212,175,55,.4);
  box-shadow: var(--shadow-strong); position: sticky; top: 7rem;
}
.pre-estimator-result h3 { font-family: var(--font-serif); font-size: 1.5rem; color: #fff; margin: .35rem 0 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(212,175,55,.2); }
.pre-est-price-box { background: var(--ink); padding: 1.5rem; border-radius: 16px; border: 1px solid rgba(212,175,55,.3); text-align: center; margin-bottom: 1.25rem; }
.pre-est-price-box > span:first-child { font-size: .7rem; color: #9ca3af; display: block; }
#pre-est-price { font-family: var(--font-serif); font-weight: 700; font-size: 1.8rem; color: var(--gold-lighter); margin: .5rem 0; }
.pre-est-price-box > span:last-child { font-size: .68rem; color: #9ca3af; }
.pre-est-summary { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: .5rem; font-size: .78rem; color: #d1d5db; }
.pre-est-summary li { display: flex; align-items: center; gap: .5rem; }
.pre-est-note { font-size: .65rem; text-align: center; color: #9ca3af; margin-top: .75rem; }

/* =========================================================================
   Gallery
   ========================================================================= */
.pre-gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.pre-filter-pill { padding: .5rem 1.1rem; border-radius: 999px; font-size: .8rem; font-weight: 600; border: 1px solid rgba(212,175,55,.3); background: var(--bg-card); color: var(--text-muted); transition: all .2s ease; }
.pre-filter-pill.active, .pre-filter-pill:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.pre-gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .pre-gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pre-gallery-grid { grid-template-columns: repeat(3,1fr); } }
.pre-gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/3; }
.pre-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pre-gallery-item:hover img { transform: scale(1.08); }
.pre-gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; color: #fff; opacity: 0; transition: opacity .3s ease; }
.pre-gallery-item:hover .pre-gallery-overlay { opacity: 1; }
.pre-gallery-cat { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-lighter); font-weight: 700; }
.pre-gallery-overlay h4 { font-family: var(--font-serif); font-size: 1.15rem; margin: .25rem 0; }
.pre-gallery-overlay p { font-size: .72rem; color: #e5e7eb; margin: 0; }

/* =========================================================================
   Testimonials — Featured card + Infinite dual-direction marquee
   ========================================================================= */
.pre-featured-review { max-width: 860px; margin: 0 auto 4rem; background: var(--bg-card); border: 1px solid rgba(212,175,55,.3); border-radius: var(--radius-lg); box-shadow: var(--shadow-strong); padding: 2.5rem; position: relative; }
.pre-featured-review .pre-icon-quote { position: absolute; top: 1.5rem; left: 1.5rem; font-size: 3rem; color: rgba(212,175,55,.2); }
.pre-featured-stars { display: flex; gap: .25rem; margin-bottom: 1.25rem; font-size: 1.2rem; }
.pre-featured-text { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; line-height: 1.6; margin: 0 0 1.5rem; }
.pre-featured-footer { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid #f3f4f6; }
@media (min-width: 640px) { .pre-featured-footer { flex-direction: row; align-items: center; justify-content: space-between; } }
.pre-featured-footer h3 { font-family: var(--font-serif); font-size: 1.5rem; margin: 0; }
.pre-featured-meta { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--text-muted); margin-top: .35rem; }
.pre-pill-gold { padding: .15rem .6rem; border-radius: 8px; background: rgba(212,175,55,.15); color: var(--gold-dark); font-weight: 700; }
.pre-verified { font-size: .7rem; color: #9ca3af; font-weight: 500; }

.pre-marquee-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.pre-marquee-viewport {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.pre-marquee-track { display: flex; width: max-content; animation-timing-function: linear; animation-iteration-count: infinite; will-change: transform; }
@keyframes pre-marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pre-marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.pre-marquee-left { animation-name: pre-marquee-left; }
.pre-marquee-right { animation-name: pre-marquee-right; }
.pre-marquee-viewport:hover .pre-marquee-track { animation-play-state: paused; }

.pre-review-card {
  flex-shrink: 0; width: 320px; margin: 0 .75rem;
  background: var(--bg-card); border: 1px solid rgba(212,175,55,.2); border-radius: var(--radius-md);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.08); padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
}
@media (min-width: 640px) { .pre-review-card { width: 360px; } }
.pre-review-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.5); box-shadow: 0 16px 32px -12px rgba(212,175,55,.25); }
.pre-review-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.pre-review-stars { display: flex; gap: .1rem; font-size: .85rem; }
.pre-icon-quote-sm { font-size: 1.4rem; color: rgba(212,175,55,.2); }
.pre-review-text { font-size: .85rem; color: var(--text-strong); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.pre-review-footer { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; margin-top: 1rem; border-top: 1px solid #f3f4f6; }
.pre-review-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light)); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; color: var(--ink); }
.pre-review-info { min-width: 0; }
.pre-review-info h4 { font-size: .85rem; margin: 0; display: flex; align-items: center; gap: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pre-review-info p { font-size: .68rem; color: var(--text-muted); margin: .1rem 0 0; display: flex; align-items: center; gap: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pre-dot { color: #d1d5db; }
.pre-marquee-hint { text-align: center; font-size: .75rem; color: var(--text-muted); margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  .pre-marquee-track { animation: none !important; }
}

/* =========================================================================
   Review form
   ========================================================================= */
.pre-review-form-wrap { max-width: 640px; }
.pre-review-form { background: var(--bg-card); border: 1px solid rgba(212,175,55,.25); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.pre-form-row { display: flex; flex-direction: column; gap: .4rem; }
.pre-form-row label { font-size: .75rem; font-weight: 700; color: var(--text-strong); }
.pre-form-row input, .pre-form-row select, .pre-form-row textarea {
  padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--border-input); background: var(--bg-warm);
  font-family: inherit; font-size: .9rem; color: var(--text-strong); width: 100%;
}
.pre-form-row input:focus, .pre-form-row select:focus, .pre-form-row textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.15); }
.pre-star-rating { display: flex; gap: .35rem; font-size: 1.8rem; }
.pre-star-rating i { cursor: pointer; transition: transform .15s ease; }
.pre-star-rating i:hover { transform: scale(1.15); }
.pre-star-rating i.pre-star-active::before { content: "★"; color: var(--gold); }

/* =========================================================================
   Location
   ========================================================================= */
.pre-location-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .pre-location-grid { grid-template-columns: 3fr 2fr; } }
.pre-location-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-strong); border: 1px solid rgba(212,175,55,.2); min-height: 340px; }
.pre-location-map iframe { width: 100%; height: 100%; min-height: 340px; }
.pre-location-info { display: flex; flex-direction: column; gap: 1.25rem; }
.pre-location-card { background: var(--bg-card); border: 1px solid rgba(212,175,55,.2); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 1.5rem; }
.pre-location-card i { font-size: 1.6rem; }
.pre-location-card h4 { font-family: var(--font-serif); font-size: 1.2rem; margin: .5rem 0 .25rem; }
.pre-location-card p { font-size: .85rem; color: var(--text-muted); margin: 0 0 .5rem; }
.pre-location-card a { font-size: .8rem; font-weight: 700; color: var(--gold-dark); display: inline-flex; align-items: center; gap: .35rem; }
.pre-open-badge { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--whatsapp); background: rgba(37,211,102,.12); padding: .25rem .7rem; border-radius: 999px; }

/* =========================================================================
   Final CTA
   ========================================================================= */
.pre-final-cta { background: linear-gradient(135deg, var(--ink), var(--ink-soft), var(--ink)); padding: 5rem 0; text-align: center; }
.pre-final-cta-inner { max-width: 640px; margin: 0 auto; }
.pre-final-cta i.pre-icon-spark-lg { font-size: 2.5rem; }
.pre-final-cta h2 { font-family: var(--font-serif); color: #fff; font-size: 2.2rem; margin: 1rem 0; }
@media (min-width: 640px) { .pre-final-cta h2 { font-size: 2.75rem; } }
.pre-final-cta p { color: #d1d5db; font-size: 1rem; margin: 0 0 2rem; }
.pre-final-cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .pre-final-cta-actions { flex-direction: row; align-items: center; } }

/* =========================================================================
   Footer
   ========================================================================= */
.pre-footer { background: var(--ink); color: #d1d5db; padding: 4rem 0 0; }
.pre-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .pre-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pre-footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }
.pre-footer-brand-name { display: flex; align-items: center; gap: .5rem; font-size: 1.4rem; color: #fff; }
.pre-footer-brand p { font-size: .85rem; margin: .85rem 0 1.25rem; color: #9ca3af; }
.pre-footer-socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.pre-footer-socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(212,175,55,.2); transition: all .2s ease; }
.pre-footer-socials a:hover { background: rgba(212,175,55,.15); border-color: var(--gold); transform: translateY(-2px); }
.pre-footer-socials a i { color: var(--gold-lighter); font-size: 1rem; }
.pre-footer-socials a svg { width: 17px; height: 17px; fill: var(--gold-lighter); }
.pre-footer-col h4 { color: var(--gold-lighter); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 1rem; }
.pre-footer-col a, .pre-footer-col p { display: block; font-size: .85rem; color: #9ca3af; margin-bottom: .65rem; }
.pre-footer-col a:hover { color: var(--gold-lighter); }
.pre-footer-col p a { display: inline; margin: 0; }
.pre-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; padding-bottom: 1.5rem; display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; font-size: .75rem; color: #6b7280; }
@media (min-width: 640px) { .pre-footer-bottom { flex-direction: row; justify-content: space-between; } }
.pre-footer-credit a { color: var(--gold-lighter); font-weight: 600; transition: color .2s ease; }
.pre-footer-credit a:hover { color: var(--gold); text-decoration: underline; }
.pre-heart { color: #e25555; }

/* =========================================================================
   Sticky Mobile CTA + Modal
   ========================================================================= */
.pre-sticky-mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
  display: grid; grid-template-columns: repeat(3,1fr);
  align-items: stretch;
  gap: 1px;
  background: rgba(212,175,55,.25);
  border-top: 1px solid rgba(212,175,55,.25);
  box-shadow: 0 -10px 30px rgba(0,0,0,.25);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 768px) { .pre-sticky-mobile-cta { display: none; } }
.pre-sticky-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem; min-height: 58px; padding: .6rem .25rem; font-size: .68rem; font-weight: 700;
  color: #d1d5db; background: var(--ink); text-align: center; line-height: 1.1;
}
.pre-sticky-btn i { font-size: 1.2rem; line-height: 1; }
.pre-sticky-btn span { white-space: nowrap; }
.pre-sticky-call { color: var(--gold-lighter); }
.pre-sticky-whatsapp { background: var(--whatsapp); color: #fff; }
.pre-sticky-book { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); color: var(--ink); }
body.pre-has-sticky-cta { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) { body.pre-has-sticky-cta { padding-bottom: 0; } }

.pre-modal-overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.6);
  display: none; align-items: center; justify-content: center; padding: 1rem;
  backdrop-filter: blur(4px);
}
.pre-modal-overlay.open { display: flex; }
.pre-modal {
  background: var(--bg-card); border-radius: var(--radius-lg); max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 2rem; position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.pre-modal-close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-warm); font-size: 1.4rem; color: var(--text-muted); }
.pre-modal-header { margin-bottom: 1.5rem; }
.pre-modal-header h3 { font-family: var(--font-serif); font-size: 1.75rem; margin: .5rem 0; }
.pre-modal-header p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.pre-modal-form { display: flex; flex-direction: column; gap: 1rem; }
.pre-modal-note { font-size: .68rem; color: #9ca3af; text-align: center; margin: 0; }

/* Fade-in utility for the mobile drawer */
@keyframes pre-fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================================
   Mobile-friendliness refinements
   ========================================================================= */
@media (max-width: 767px) {
  .pre-section { padding: 3rem 0; }
  .pre-section-head { margin-bottom: 2.25rem; }
  .pre-hero { min-height: auto; padding: 1.25rem 0 3rem; }
  .pre-hero-inner { padding-top: 2rem; padding-bottom: 1rem; }
  .pre-badge-pill { font-size: .72rem; padding: .45rem .85rem; line-height: 1.35; }
  .pre-hero-ctas .pre-btn { width: 100%; }
  .pre-hero-quick-actions { gap: .6rem; }
  .pre-stats-card { padding: 1.1rem; gap: 1rem; }
  .pre-stat-value { font-size: 1.7rem; }
  .pre-final-cta { padding: 3.5rem 0; }
  .pre-footer { padding: 3rem 0 0; }
  .pre-footer-grid { gap: 2rem; padding-bottom: 2rem; }
  .pre-modal { padding: 1.5rem; max-height: 85vh; }
  .pre-review-form { padding: 1.5rem; }
  .pre-estimator-controls { padding: 1.25rem; }
  .pre-estimator-result { padding: 1.5rem; }
  /* Sticky result card only makes sense once columns sit side-by-side (see 1024px breakpoint) */
  .pre-estimator-result { position: static; }
  .pre-gallery-filters { gap: .4rem; }
  .pre-filter-pill { padding: .45rem .9rem; font-size: .75rem; }
}

/* Buttons: never let long labels overflow their container on narrow phones */
.pre-btn { white-space: normal; text-align: center; line-height: 1.25; }
@media (max-width: 400px) {
  .pre-btn-lg { padding: .95rem 1.25rem; font-size: .92rem; }
}

/* Prevent any accidental horizontal scroll from full-bleed / negative-margin elements */
.pre-main, section { max-width: 100vw; overflow-x: clip; }
