/* Base Reset & Variables */
:root {
  --primary-color: #d4af37; /* Luxury Gold */
  --primary-hover: #f1c40f;
  --gold-soft: #e8cf82;     /* Champagne — large gold numerals */
  --bg-dark: #121614; /* Deep Forest/Charcoal */
  --text-main: #f8f9fa;
  --text-muted: #b0b8c1;
  --glass-bg: rgba(18, 22, 20, 0.75); /* Higher opacity for strict contrast */
  --success: #5cb888; /* Muted emerald — status only, never money */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  /* The stagnant parallax background with darker overlay for contrast */
  background-image: 
    linear-gradient(to bottom, rgba(18, 22, 20, 0.85), rgba(18, 22, 20, 0.95)),
    url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?q=80&w=2500&auto=format&fit=crop');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, .badge {
  font-family: 'Cormorant Garamond', serif;
}

/* Liquid Glass Utility (Strict Contrast) */
.liquid-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(212, 175, 55, 0.05);
  border-radius: 20px;
}

/* ─── Reveal Animations ───
   Hidden states only apply when JS is running (html.js) so the page
   is never blank if the script fails to load. */
.js .reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* Slide from left */
.js .reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
/* Slide from right */
.js .reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}
/* Scale in */
.js .reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── Sticky CTA ─── */
.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--primary-color), #b8962e);
  color: #000;
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
  z-index: 9999;
  transform: translateY(100px) scale(0.9);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease,
              box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.sticky-cta.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.sticky-cta:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.55);
}

/* Navbar — centered logo, links row beneath */
.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 720px;
  z-index: 1000;
  border-radius: 28px;
  padding: 0.75rem 2rem 0.9rem;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.nav-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  position: absolute;
  top: 0.35rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* General Layout */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-size: 3.1rem;
  text-align: center;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.15rem;
}

.text-center { text-align: center; }
.highlight { color: var(--primary-color); }

/* Buttons */
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), #b8962e);
  color: #111;
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}
.full-width { width: 100%; }

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
}

.ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, rgba(0,0,0,0) 70%);
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.7; }
  50%  { transform: translate(-50%, -48%) scale(1.1); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.25); opacity: 0.25; }
}

/* ─── Hero staggered entrance ─── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content .badge    { animation: heroFadeUp 0.8s 0.2s cubic-bezier(0.16,1,0.3,1) both; }
.hero-content h1        { animation: heroFadeUp 0.8s 0.45s cubic-bezier(0.16,1,0.3,1) both; }
.hero-content .location { animation: heroFadeUp 0.8s 0.65s cubic-bezier(0.16,1,0.3,1) both; }
.hero-content .hook     { animation: heroFadeUp 0.8s 0.82s cubic-bezier(0.16,1,0.3,1) both; }
.hero-content .cta-btn  { animation: heroFadeUp 0.8s 1.0s  cubic-bezier(0.16,1,0.3,1) both; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  text-align: center;
  border-radius: 20px;
}
.hero-logo {
  height: 90px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}
.badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212,175,55,0.4);
  padding-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(3.1rem, 5.5vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.12;
  color: #fff;
  letter-spacing: 0.01em;
}

.location {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.hook {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 3rem;
  color: #fff;
}
.hook strong {
  color: var(--gold-soft);
  font-weight: 700;
}

/* Legacy Section */
.legacy-text {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
  line-height: 1.8;
}

/* Horizontal Timeline */
.timeline-container {
  padding: 3rem;
  margin-bottom: 3rem;
}
.timeline-container h3 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.1rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.horizontal-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
}
/* Static track */
.horizontal-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 1;
}
/* Animated progress fill */
.horizontal-timeline::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #b8962e, var(--primary-color));
  z-index: 1;
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.horizontal-timeline.animate-line::after {
  width: 78%; /* up to last completed step */
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step-dot {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid rgba(255,255,255,0.2);
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.timeline-step.completed .step-dot,
.timeline-step.imminent .step-dot {
  opacity: 0;
  transform: scale(0.5);
}
.timeline-step.completed.pop .step-dot {
  opacity: 1;
  transform: scale(1);
}
.timeline-step.imminent.pop .step-dot {
  opacity: 1;
  transform: scale(1);
}

.timeline-step.completed .step-dot {
  border-color: var(--success);
  color: var(--success);
  background: rgba(92, 184, 136, 0.08);
}

.timeline-step.imminent .step-dot {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.timeline-step p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

/* ─── Growth Stat Tiles ─── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.stat-tile {
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
}
.stat-label {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.5;
}
.stat-label small {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

/* ─── Cards ─── */
.card {
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 800px;
}
.card:hover {
  transform: translateY(-8px) rotateX(1.5deg);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.08);
}
.card h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.card p {
  color: #fff;
  font-size: 1.05rem;
}

.tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.tag-hover {
  background: rgba(0,0,0,0.5);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.12);
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.35s ease,
              color 0.35s ease,
              transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  cursor: default;
}
.tag-hover i {
  color: var(--primary-color);
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.tag-hover:hover {
  background: var(--primary-color);
  color: #000;
  transform: translateY(-5px) scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(212,175,55,0.35);
}
.tag-hover:hover i {
  color: #000;
  transform: scale(1.2) rotate(-8deg);
}

/* Investment Math Section */
.investment-math .container {
  position: relative;
  text-align: center;
}

.floating-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), #b8962e);
  color: #111;
  padding: 0.9rem 1.9rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
  margin-bottom: 2.5rem;
  z-index: 10;
}

.investment-math .subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.animated-math-block {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(0,0,0,0.4);
  padding: 2.5rem 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: left;
}

.math-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.1rem 0;
  font-size: 1.35rem;
  gap: 1rem;
}
.math-row + .math-row {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.math-row .label {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
}
.math-row .label small {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.75;
}
.math-row .value {
  font-weight: 700;
  font-family: 'Cormorant Garamond', serif;
  color: #fff;
  white-space: nowrap;
}

.slashed {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.7;
}

.entry-row {
  font-size: 1.6rem;
}
.entry-row .label {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}
.math-row .value.entry-value {
  color: var(--gold-soft);
  font-size: 2.9rem;
  line-height: 1;
}

.detail-row .value.credit {
  color: var(--success);
  font-weight: 600;
}
.total-row .value {
  color: var(--gold-soft);
}

/* Rest of CSS... */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  border-radius: 20px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16,1,0.3,1), opacity 0.6s ease;
  opacity: 0.85;
}
.gallery-item:hover img {
  transform: scale(1.08);
  opacity: 1;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.gallery-item:hover::after {
  opacity: 1;
}
.item-overlay {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, transparent);
  color: #fff;
}
.item-overlay h4 {
  color: var(--primary-color);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.item-overlay p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}

/* Conversion Form */
.conversion-box {
  max-width: 650px;
  margin: 0 auto;
  padding: 4rem;
}
.conversion-box h2 {
  font-size: 2.6rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
}
.urgency-clip {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  color: #fff;
  margin: 2rem 0;
  text-align: center;
  font-size: 1.1rem;
  position: relative;
}
.urgency-clip strong {
  color: var(--primary-color);
}
.urgency-clip small {
  display: block;
  margin-top: 0.5rem;
  color: var(--text-muted);
}
.form-group { margin-bottom: 1.5rem; }
.form-subhead {
  margin: 2rem 0 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.25rem;
}
@media (max-width: 560px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}
.form-group label {
  display: block; margin-bottom: 0.5rem; color: #ddd;
  font-size: 0.9rem; letter-spacing: 0.5px;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 1.25rem;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(0,0,0,0.6);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15), 0 4px 12px rgba(0,0,0,0.3);
}

/* ─── In Memoriam ─── */
.memorial-section { padding: 3rem 0; }
.memorial-section .container { padding: 3rem 2rem; }
.memorial-title {
  font-size: 2.3rem;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 1rem;
}
.memorial-text {
  color: var(--text-main);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 0.5rem;
}
.memorial-text strong { color: var(--gold-soft); }

.footer { text-align: center; padding: 2rem; margin: 2rem; }

/* ─── Responsive / Mobile ─── */
@media (max-width: 768px) {
  /* Fixed backgrounds jank on mobile Safari */
  body { background-attachment: scroll; }

  /* Navbar: centered logo + hamburger */
  .navbar { width: 95%; padding: 0.6rem 1.2rem; top: 0.5rem; border-radius: 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-top: 0.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 0;
    font-size: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  /* Hero */
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero-content { padding: 2rem 1.5rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hook { font-size: 1.1rem; }

  /* Section titles */
  .section-title { font-size: 2rem; }

  /* Container */
  .container { padding: 2rem 1rem; }

  /* Grid */
  .grid-2 { grid-template-columns: 1fr; }

  /* Timeline: vertical on mobile */
  .horizontal-timeline { flex-direction: column; gap: 1.5rem; }
  .horizontal-timeline::before { width: 2px; height: 100%; top: 0; left: 24px; }
  .horizontal-timeline::after  { width: 2px; height: 78%; top: 0; left: 24px; }
  .horizontal-timeline.animate-line::after { height: 78%; width: 2px; }
  .timeline-step { display: flex; align-items: center; text-align: left; }
  .step-dot { margin: 0 1.5rem 0 0; flex-shrink: 0; width: 44px; height: 44px; }

  /* Math block */
  .math-row { font-size: 1.1rem; }
  .math-row .label { font-size: 0.95rem; }
  .entry-row .label { font-size: 1.05rem; }
  .entry-value { font-size: 1.9rem; }
  .animated-math-block { padding: 1.5rem; }

  /* Badge */
  .floating-badge { font-size: 1rem; padding: 0.75rem 1.25rem; }

  /* Form */
  .conversion-box { padding: 2.5rem 1.5rem; }

  /* Sticky CTA */
  .sticky-cta { right: 1rem; bottom: 1rem; padding: 0.75rem 1.1rem; font-size: 0.85rem; }

  /* Cards: disable 3D tilt on touch */
  .card:hover { transform: translateY(-4px); }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 4/3; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.9rem; }
  .section-title { font-size: 1.7rem; }
}

/* ─── WhatsApp Float Button ─── */
.whatsapp-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 9998;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}
@media (max-width: 768px) {
  .whatsapp-btn { bottom: 4.5rem; right: 1rem; width: 46px; height: 46px; font-size: 1.4rem; }
}

/* ─── Press / Authority Strip ─── */
.press-strip {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 1.5rem 2rem;
  background: rgba(212,175,55,0.06);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.press-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  white-space: nowrap;
}
.press-logos {
  display: flex;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.press-logos span {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
}
.press-logos span i { color: var(--primary-color); }
.press-logos span:hover { color: #fff; }

/* ─── Interactive Lot Map ─── */
.lot-map-wrapper {
  padding: 2.5rem;
  position: relative;
}
.lot-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.lot-cell {
  aspect-ratio: 1.4;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.lot-cell.available {
  background: rgba(92,184,136,0.10);
  border-color: rgba(92,184,136,0.35);
  color: var(--success);
}
.lot-cell.reserved {
  background: rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,0.3);
  color: var(--primary-color);
}
.lot-cell.sold {
  background: rgba(255,71,87,0.12);
  border-color: rgba(255,71,87,0.3);
  color: #ff4757;
  opacity: 0.6;
  cursor: not-allowed;
}
.lot-cell:not(.sold):hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.lot-cell.active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}
.lot-cell span { font-size: 0.7rem; opacity: 0.7; }
.lot-legend {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  align-items: center;
}
.legend-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  margin-right: 0.4rem;
}
.legend-dot.available { background: var(--success); }
.legend-dot.reserved  { background: var(--primary-color); }
.legend-dot.sold      { background: #ff4757; }

/* Lot Popup */
.lot-popup {
  display: none;
  padding: 2rem;
  margin-top: 1.5rem;
  position: relative;
  animation: popupIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.lot-popup.open { display: block; }
@keyframes popupIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.lot-popup h4 {
  font-size: 1.7rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.lot-popup p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #fff;
}
.lot-popup p i { color: var(--primary-color); margin-right: 0.5rem; }
.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.popup-close:hover { background: rgba(255,255,255,0.15); color: #fff; }
#popupStatus.available { color: var(--success); }
#popupStatus.reserved  { color: var(--primary-color); }
#popupStatus.sold      { color: #ff4757; }
@media (max-width: 768px) {
  .lot-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Location / Map Section ─── */
.map-wrapper {
  padding: 1.5rem;
  position: relative;
}
.map-overlay-info {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.75rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}
.map-overlay-info p { color: #fff; }
.map-overlay-info i { color: var(--primary-color); margin-right: 0.5rem; }

/* ─── FAQ Accordion ─── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open {
  border-color: rgba(212,175,55,0.3);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--primary-color); }
.faq-q i {
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
  color: var(--primary-color);
}
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1), padding 0.3s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}
.faq-a p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* ─── Form Enhancements ─── */
.lead-capture textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.lead-capture textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.selected-lot-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 10px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  animation: popupIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.clear-lot {
  margin-left: auto;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text-muted);
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.clear-lot:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ─── 4-Column Gallery ─── */
.gallery-4 {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .gallery-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Footer Content ─── */
.footer-content {
  text-align: center;
}
.footer a:hover {
  opacity: 0.8;
}
