/* ═══════════════════════════════════════════════════════
   ELITEWISE HOMES LTD — Global Stylesheet
   Design Direction: Luxury Nigerian Real Estate
   Palette: Deep Forest Green · Rich Gold · Bone White · Charcoal
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --green:       #1A4A35;
  --green-dark:  #0F2D20;
  --green-mid:   #245C42;
  --green-light: #2E7A54;
  --gold:        #C9A452;
  --gold-light:  #E2C07A;
  --bone:        #F7F3EC;
  --bone-mid:    #EDE8DF;
  --charcoal:    #1C1C1C;
  --grey:        #6B7280;
  --white:       #FFFFFF;
  --red-badge:   #D64848;

  --font-display: 'DM Serif Display', serif;
  --font-serif:   'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:    4px;
  --radius-lg: 12px;
  --shadow:    0 4px 24px rgba(15,45,32,0.10);
  --shadow-lg: 0 12px 48px rgba(15,45,32,0.18);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--green-dark);
  line-height: 1.15;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 580px;
  line-height: 1.7;
}

/* ── Layout ────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.section { padding: 90px 0; }
.section-dark { background: var(--green-dark); }
.section-bone { background: var(--bone); }
.section-header { margin-bottom: 56px; }
.section-header .eyebrow { margin-bottom: 12px; }
.section-header .section-subtitle { margin-top: 16px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,164,82,0.35);
}
.btn-outline {
  border: 1.5px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}
.btn-outline-green {
  border: 1.5px solid var(--green);
  color: var(--green);
}
.btn-outline-green:hover {
  background: var(--green);
  color: var(--white);
}
.btn-ghost {
  color: var(--gold);
  padding-left: 0;
  padding-right: 0;
  font-weight: 600;
}
.btn-ghost:hover { color: var(--gold-light); letter-spacing: 0.08em; }
.btn svg { transition: transform 0.2s; }
.btn:hover svg { transform: translateX(4px); }

/* ── NAVBAR ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--green-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  height: 64px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.navbar-logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.2;
}
.navbar-logo-text span {
  display: block;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-nav a {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s;
}
.navbar-nav a:hover { color: var(--white); }
.navbar-nav a:hover::after,
.navbar-nav a.active::after { width: 100%; }
.navbar-nav a.active { color: var(--white); }
.navbar-cta {
  padding: 10px 24px;
  font-size: 0.82rem;
}
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.navbar-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── PROMO BANNER ──────────────────────────────────────── */
.promo-banner {
  background: var(--gold);
  color: var(--green-dark);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  position: relative;
  z-index: 1001;
  letter-spacing: 0.02em;
}
.promo-banner strong { font-weight: 700; }
.promo-banner .countdown { display: inline-flex; gap: 4px; align-items: center; margin-left: 8px; }
.promo-banner .cd-unit {
  background: var(--green-dark);
  color: var(--gold);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.6);
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.footer-contact-item .icon {
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ── WHATSAPP FLOAT ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: float-pulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}

/* ── ESTATE CARDS ───────────────────────────────────────── */
.estate-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.estate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.estate-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.estate-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.estate-card:hover .estate-card-img img { transform: scale(1.05); }
.estate-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-active { background: var(--gold); color: var(--green-dark); }
.badge-sold { background: rgba(0,0,0,0.65); color: rgba(255,255,255,0.85); }
.badge-soon { background: var(--green); color: var(--white); }
.estate-card-body { padding: 24px; }
.estate-card-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--grey);
  margin-bottom: 8px;
}
.estate-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.estate-card-desc {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 20px;
}
.estate-card-pricing {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--bone-mid);
  border-bottom: 1px solid var(--bone-mid);
  margin-bottom: 20px;
}
.price-item { text-align: center; }
.price-item .label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey); margin-bottom: 2px; }
.price-item .amount { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--green-dark); }

/* ── STAT BOXES ─────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-box {
  background: var(--green-dark);
  padding: 40px 32px;
  text-align: center;
}
.stat-box .number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── TESTIMONIAL CARDS ──────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--bone-mid);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 8px; left: 24px;
  line-height: 1;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 20px;
  margin-top: 20px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem;
}
.testimonial-author-name { font-weight: 600; font-size: 0.9rem; color: var(--green-dark); }
.testimonial-author-role { font-size: 0.78rem; color: var(--grey); }

/* ── PROCESS STEPS ──────────────────────────────────────── */
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.process-step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.process-step-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.process-step-body p {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.65;
}

/* ── PAGE HERO (inner pages) ──────────────────────────────  */
.page-hero {
  background: var(--green-dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A452' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── UTILITY ─────────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-white { color: var(--white); }
.text-grey { color: var(--grey); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.divider {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 16px 0;
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-up { animation: fadeUp 0.7s ease forwards; }
.animate-fade-in { animation: fadeIn 0.7s ease forwards; }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .navbar-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--green-dark); flex-direction: column; justify-content: center; gap: 24px; z-index: 999; }
  .navbar-nav.open { display: flex; }
  .navbar-nav a { font-size: 1.2rem; }
  .navbar-toggle { display: flex; z-index: 1000; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .navbar-cta { display: none; }
}
