/* ══════════════════════════════════════════
   HOME PAGE STYLES
   ══════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,28,18,0.88) 0%,
    rgba(15,45,32,0.75) 50%,
    rgba(10,28,18,0.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}
.hero-content .eyebrow { color: var(--gold-light); margin-bottom: 16px; }
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-video-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}
.play-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
}
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.trust-item {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.7);
}
.trust-item svg { color: var(--gold); }
.trust-sep { color: rgba(255,255,255,0.25); }
.hero-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.hero-slide-dots {
  position: absolute;
  bottom: 36px; right: 5%;
  display: flex; gap: 8px;
  z-index: 2;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 3px;
}

/* ── Stats Strip ──────────────────────────── */
.stats-strip { background: var(--green-dark); }

/* ── Why Section ──────────────────────────── */
.why-section { overflow: hidden; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-features { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bone);
  border: 1px solid var(--bone-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.why-feature h4 { font-size: 0.95rem; color: var(--green-dark); margin-bottom: 4px; }
.why-feature p { font-size: 0.84rem; color: var(--grey); line-height: 1.6; }

.why-image-stack {
  position: relative;
  height: 520px;
}
.why-img-main {
  position: absolute;
  top: 0; right: 0;
  width: 85%;
  height: 70%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.why-img-secondary {
  position: absolute;
  bottom: 0; left: 0;
  width: 60%;
  height: 50%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.why-badge {
  position: absolute;
  bottom: 30px; right: 0;
  background: var(--gold);
  color: var(--green-dark);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 32px rgba(201,164,82,0.4);
}
.why-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.why-badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* ── Featured Estate ──────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.featured-gallery { display: flex; flex-direction: column; gap: 12px; }
.fg-main {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.fg-thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.fg-thumbs img {
  width: 100%; height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0.75;
  transition: var(--transition);
}
.fg-thumbs img:hover { opacity: 1; }

.featured-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--grey);
  margin-bottom: 12px;
}
.featured-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.featured-desc {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 28px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--bone-mid);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { border-color: var(--green-light); box-shadow: var(--shadow); }
.pricing-card.highlight {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fdf9f0, #fff);
}
.pc-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.pc-type { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey); margin-bottom: 4px; }
.pc-size { font-size: 0.78rem; color: var(--green); font-weight: 600; margin-bottom: 8px; }
.pc-price { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.pc-deposit { font-size: 0.7rem; color: var(--grey); }

.featured-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: var(--bone);
  border: 1px solid var(--bone-mid);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.78rem;
  color: var(--grey);
  line-height: 1.5;
  margin-bottom: 24px;
}
.featured-note svg { color: var(--green); flex-shrink: 0; margin-top: 1px; }
.featured-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── How It Works ─────────────────────────── */
.how-section { background: var(--green); }
.how-section .section-subtitle { color: rgba(255,255,255,0.65); }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.process-steps { display: flex; flex-direction: column; gap: 0; }
.step-connector {
  width: 2px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  margin-left: 25px;
}
.process-step .process-step-body p { color: rgba(255,255,255,0.6); }

/* ── Past Estates ─────────────────────────── */
.past-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.past-card {
  background: var(--white);
  border: 1.5px solid var(--bone-mid);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}
.past-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.past-card-header {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--bone);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-bottom: 36px;
}
.sold-badge, .coming-badge {
  position: absolute;
  top: 20px; right: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.sold-badge { background: var(--bone-mid); color: var(--grey); }
.coming-badge { background: var(--green); color: var(--white); }
.past-card h4 { font-size: 1rem; color: var(--green-dark); margin-bottom: 4px; }
.past-card p { font-size: 0.82rem; color: var(--grey); }
.coming-soon-card { border-color: var(--green-light); border-style: dashed; }

/* ── Video ────────────────────────────────── */
.video-section { background: var(--charcoal); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── Testimonials ─────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}

/* ── CTA Banner ───────────────────────────── */
.cta-banner {
  background: var(--green-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23C9A452' fill-opacity='0.06' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.cta-content { position: relative; text-align: center; }
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 16px;
  margin-top: 12px;
}
.cta-content p { color: rgba(255,255,255,0.6); margin-bottom: 36px; font-size: 1.05rem; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .why-grid { gap: 48px; }
  .featured-grid { gap: 40px; }
  .how-grid { gap: 48px; }
  .past-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .why-grid, .featured-grid, .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-image-stack { height: 320px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .past-grid { grid-template-columns: 1fr 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.6rem; }
}
@media (max-width: 480px) {
  .past-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
