/* ============================================================
   AP Estate — Custom Styles
   Theme: White + Gold (Option C)
   ============================================================ */

/* ─── Cinzel font for headings & logo ───────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', Georgia, serif;
  letter-spacing: 0.04em;
}

.font-cinzel, .logo-text, .nav-logo-text {
  font-family: 'Cinzel', Georgia, serif !important;
  letter-spacing: 0.12em;
}

/* ─── Root / Design Tokens ────────────────────────────────── */
:root {
  --gold:        #D4A017;
  --gold-light:  #f0c040;
  --gold-dark:   #a07810;
  --gold-glow:   rgba(212, 160, 23, 0.25);
  --charcoal:    #1a1a2e;
  --charcoal-2:  #2d2d44;
  --gray-soft:   #6b7280;
  --white:       #ffffff;
  --cream:       #fdfcf8;
  --hero-bg:     #1a1a2e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--white);
  color: var(--charcoal);
  font-family: 'Poppins', sans-serif;
}

/* ─── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── Navbar ──────────────────────────────────────────────── */
.navbar-glass {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.navbar-glass.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.15);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

/* Logo text: always dark (light hero) */
.nav-logo-text {
  color: #1a1a2e;
  transition: color 0.4s ease;
}
.navbar-glass.scrolled .nav-logo-text {
  color: #1a1a2e;
}

/* Login button: gold outline always */
.nav-login {
  border-color: #D4A017 !important;
  color: #D4A017 !important;
  transition: border-color 0.4s ease, color 0.4s ease, background 0.4s ease;
}
.nav-login:hover,
.navbar-glass.scrolled .nav-login:hover {
  background: #D4A017 !important;
  color: #1a1a2e !important;
}
.navbar-glass .nav-text { color: var(--charcoal); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero-video-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Star canvas — hidden on light theme */
.hero-canvas {
  display: none;
}

/* Light background matching below sections */
.hero-bg-dark {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(212,160,23,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(212,160,23,0.04) 0%, transparent 50%),
    linear-gradient(160deg, #ffffff 0%, #fdfcf8 60%, #faf8f2 100%);
}

/* Two-column split */
.hero-split {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1280px;
  padding: 110px 64px 60px;
  gap: 64px;
}

/* LEFT: globe video */
.hero-split-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-globe-frame {
  width: 460px;
  height: 460px;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212,160,23,0.25),
    0 8px 48px rgba(212,160,23,0.15),
    0 24px 80px rgba(0,0,0,0.08);
}
.hero-globe-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* RIGHT: text */
.hero-split-right {
  flex: 1 1 auto;
  max-width: 520px;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.hero-eyebrow-left {
  justify-content: flex-start;
}
.hero-line-short {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-eyebrow-text {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(212,160,23,0.8);
  white-space: nowrap;
}

/* Headline */
.hero-headline {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.22;
  color: var(--charcoal);
  letter-spacing: 0.05em;
  margin-bottom: 0;
  text-shadow: none;
}
.hero-headline-left { text-align: left; }
.hero-headline-gold {
  color: var(--gold);
  text-shadow: none;
}

/* Gold divider */
.hero-gold-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}
.hero-gold-divider-left { justify-content: flex-start; }
.hero-gold-divider .hdl {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
}
.hero-gold-divider .hdr {
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-diamond {
  font-size: 0.55rem;
  color: var(--gold);
}

/* Subtext */
.hero-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.97rem;
  color: #555;
  line-height: 1.85;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-sub-left { text-align: left; max-width: 440px; }

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px rgba(212,160,23,0.08);
}
.hero-stats-left { justify-content: flex-start; }
.hero-stat { flex: 1; text-align: center; }
.hero-stat-num {
  display: block;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #888;
}
.hero-stat-sep {
  width: 1px;
  height: 34px;
  background: rgba(212,160,23,0.25);
  margin: 0 8px;
  flex-shrink: 0;
}

/* CTA */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.hero-cta-left { justify-content: flex-start; }
.hero-btn-outline {
  border: 1.5px solid rgba(26,26,46,0.25);
  color: var(--charcoal);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,160,23,0.06);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  opacity: 0.5;
  padding-bottom: 28px;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
  .hero-split {
    flex-direction: column;
    padding: 100px 24px 40px;
    gap: 32px;
    text-align: center;
  }
  .hero-split-right { max-width: 100%; }
  .hero-globe-frame { width: 280px; height: 280px; }
  .hero-headline-left,
  .hero-sub-left { text-align: center; }
  .hero-eyebrow-left,
  .hero-gold-divider-left,
  .hero-cta-left,
  .hero-stats-left { justify-content: center; }
  .hero-sub-left { max-width: 100%; }
  .hero-line-short { display: none; }
}
@media (max-width: 640px) {
  .hero-headline { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero-stats { padding: 14px 16px; }
  .hero-stat-num { font-size: 1.1rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta a { width: 100%; max-width: 300px; justify-content: center; }
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-gold {
  background: linear-gradient(135deg, #D4A017, #f0c040, #D4A017);
  background-size: 200% 200%;
  color: #1a1a2e;
  font-weight: 700;
  cursor: pointer;
  transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-gold:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.5);
}
.btn-gold:active { transform: translateY(0); }

.btn-gold-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-ghost {
  border: 2px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-whatsapp:hover { background: #20b558; transform: translateY(-1px); }

.btn-facebook {
  background: #1877f2;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-facebook:hover { background: #1468d0; transform: translateY(-1px); }

/* ─── Badge ───────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(212, 160, 23, 0.5);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: rgba(212, 160, 23, 0.1);
}

/* ─── Logo Video ─────────────────────────────────────────── */
.logo-video-wrapper {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(212, 160, 23, 0.35),
    0 0 120px rgba(212, 160, 23, 0.15);
  border: 2px solid rgba(212, 160, 23, 0.5);
}
.logo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
@media (max-width: 480px) {
  .logo-video-wrapper { width: 160px; height: 160px; }
}

/* ─── Globe (fallback) ────────────────────────────────────── */
.globe-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
}
.globe {
  width: 100px; height: 100px;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(212,160,23,0.3) 0%, rgba(212,160,23,0.08) 40%, rgba(26,26,46,0.6) 100%);
  border: 1.5px solid rgba(212,160,23,0.4);
  animation: globePulse 4s ease-in-out infinite;
}
.globe-ring {
  position: absolute; top: 50%; left: 50%;
  width: 130px; height: 40px;
  margin-left: -65px; margin-top: -20px;
  border-radius: 50%;
  border: 2px solid var(--gold); opacity: 0.6;
  animation: spinRing 8s linear infinite;
  transform-style: preserve-3d;
}
.globe-ring.ring-2 {
  width: 110px; height: 34px;
  margin-left: -55px; margin-top: -17px;
  border-color: rgba(212,160,23,0.4);
  animation: spinRing 12s linear infinite reverse;
}
@keyframes globePulse {
  0%,100% { box-shadow: 0 0 40px rgba(212,160,23,0.15); }
  50%      { box-shadow: 0 0 60px rgba(212,160,23,0.3); }
}
@keyframes spinRing {
  from { transform: rotateX(75deg) rotateZ(0deg); }
  to   { transform: rotateX(75deg) rotateZ(360deg); }
}

/* ─── Countdown ───────────────────────────────────────────── */
.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: #fff;
  border: 2px solid rgba(212, 160, 23, 0.25);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.countdown-box span {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.countdown-box small {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-soft);
  margin-top: 4px;
}
.countdown-sep {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.4;
  align-self: center;
  animation: blink 1s step-start infinite;
}
@keyframes blink { 0%,100% { opacity: 0.4; } 50% { opacity: 0.1; } }

@media (max-width: 480px) {
  .countdown-box { width: 72px; height: 72px; }
  .countdown-box span { font-size: 1.6rem; }
  .countdown-sep { display: none; }
}

/* ─── Section backgrounds ─────────────────────────────────── */
.section-white  { background: #ffffff; }
.section-cream  { background: #fdfcf8; }
.section-dark   { background: var(--charcoal); }
.section-gold   {
  background: linear-gradient(135deg, #D4A017 0%, #f0c040 50%, #D4A017 100%);
}

/* ─── Feature cards ───────────────────────────────────────── */
.feature-card {
  background: #ffffff;
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(212,160,23,0.15);
}

.icon-box {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #D4A017, #f0c040);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-box svg { color: #1a1a2e !important; }

/* ─── Step cards ──────────────────────────────────────────── */
.step-card { padding: 2rem; }
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4A017, #f0c040);
  color: var(--charcoal);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(212,160,23,0.4);
}

/* ─── Glass card (now white card) ────────────────────────── */
.glass-card {
  background: #ffffff;
  border: 1px solid rgba(212, 160, 23, 0.12);
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

/* ─── Form elements ───────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 11px 16px;
  color: var(--charcoal);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-input::placeholder { color: #9ca3af; }
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.12);
  background: #fff;
}
.form-input.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.form-input.uppercase { text-transform: uppercase; }

.form-hint {
  display: block;
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 4px;
}

.form-error {
  display: block;
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 4px;
  min-height: 1rem;
}

.form-checkbox {
  width: 16px; height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--gold);
  background: transparent;
  accent-color: var(--gold);
  cursor: pointer;
}

/* ─── Registration form section ───────────────────────────── */
.register-section {
  background: linear-gradient(180deg, #fdfcf8 0%, #fff8e8 100%);
}

/* ─── Sneak peek — old (removed) ─────────────────────────── */
.sneak-card-REMOVED {
  display: none;
}

/* ─── Sneak peek section ──────────────────────────────────── */
.peek-section {
  background: linear-gradient(180deg, #faf9f6 0%, #f5f2ea 100%);
  padding: 96px 0;
}
.peek-eyebrow {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.peek-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.peek-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #6b6b7b;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Peek cards ──────────────────────────────────────────── */
.peek-card {
  background: #ffffff;
  border: 1px solid rgba(212,160,23,0.18);
  border-radius: 20px;
  padding: 36px 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.peek-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.peek-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(212,160,23,0.1), 0 4px 16px rgba(0,0,0,0.06);
  border-color: rgba(212,160,23,0.38);
}
.peek-card:hover::before { opacity: 1; }
.peek-card--featured {
  border-color: rgba(212,160,23,0.38);
  box-shadow: 0 8px 32px rgba(212,160,23,0.1);
}
.peek-card--featured::before { opacity: 1; }

/* Icon */
.peek-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212,160,23,0.12), rgba(212,160,23,0.04));
  border: 1px solid rgba(212,160,23,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}
.peek-icon-wrap svg {
  width: 26px;
  height: 26px;
}

/* Confidential badge */
.peek-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,160,23,0.08);
  border: 1px solid rgba(212,160,23,0.22);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.peek-lock {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

/* Title & description */
.peek-card-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.peek-card-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}
.peek-card-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(212,160,23,0.35), transparent);
}

/* ─── Sneak peek cards ────────────────────────────────────── */
.sneak-card {
  position: relative;
  background: var(--charcoal);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 20px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.sneak-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.sneak-overlay {
  position: absolute; inset: 0;
  background: rgba(26, 26, 46, 0.82);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
}
.sneak-content { padding: 1.5rem; position: relative; z-index: 1; }

/* ─── Trust signals ───────────────────────────────────────── */
.trust-bar {
  background: var(--charcoal);
}
.trust-item { color: rgba(255,255,255,0.65); transition: color 0.2s ease; }
.trust-item:hover { color: var(--gold); }

/* ─── Stat cards ──────────────────────────────────────────── */
.stat-card {
  background: #ffffff;
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(212,160,23,0.15);
}

/* ─── Referral box ────────────────────────────────────────── */
.referral-box {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(212,160,23,0.3);
  color: #fff;
}

/* ─── Referral code box (success screen) ─────────────────── */
.referral-code-box {
  background: linear-gradient(135deg, rgba(212,160,23,0.08), rgba(212,160,23,0.04));
  border: 2px solid rgba(212,160,23,0.4);
  border-radius: 16px;
  padding: 1.5rem;
}

/* ─── Success checkmark ───────────────────────────────────── */
.success-check svg {
  animation: checkBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes checkBounce {
  0%   { transform: scale(0) rotate(-45deg); opacity: 0; }
  60%  { transform: scale(1.2) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg);  opacity: 1; }
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
}

/* ─── Login / Admin page backgrounds ─────────────────────── */
.auth-page {
  background: linear-gradient(135deg, #fdfcf8 0%, #fff8e8 100%);
  min-height: 100vh;
}

/* ─── Admin dashboard ─────────────────────────────────────── */
.admin-page { background: #f4f4f8; }
.admin-page .stat-card { background: #fff; }

/* ─── Table rows ──────────────────────────────────────────── */
.glass-card table tr:hover td { background: rgba(212,160,23,0.03); }

/* ─── Scrollbar in tables ─────────────────────────────────── */
.overflow-x-auto::-webkit-scrollbar { height: 4px; }
.overflow-x-auto::-webkit-scrollbar-thumb { background: rgba(212,160,23,0.4); border-radius: 2px; }

/* ─── Gold divider line ───────────────────────────────────── */
.gold-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: none;
  margin: 0;
}


/* ============================================================
   AP Estate Full Site — Additional Styles
   ============================================================ */

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --cream:   #faf9f6;
  --cream2:  #f5f3ee;
  --charcoal:#1a1a2e;
  --gold:    #D4A017;
  --gold-lt: rgba(212,160,23,0.12);
  --grey:    #6b7280;
  --blue:    #1e3a5f;
}

/* ─── Site Nav ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(250,249,246,0.95);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
  backdrop-filter: blur(10px);
}
.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom-color: rgba(212,160,23,0.15);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: #1a1a2e;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: color .2s, background .2s;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active { font-weight: 600; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 8px 0;
  min-width: 200px;
  list-style: none;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #1a1a2e;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.dropdown-menu li a:hover { background: var(--gold-lt); color: var(--gold); }

/* Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-login-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  text-decoration: none;
  transition: background .2s, color .2s;
  font-family: 'Poppins', sans-serif;
}
.nav-login-btn:hover { background: var(--gold); color: #fff; }
.nav-dashboard-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  background: var(--gold);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
  font-family: 'Poppins', sans-serif;
}
.nav-dashboard-btn:hover { opacity: 0.88; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile */
.mobile-menu-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
}
.mobile-menu-overlay.open { display: block; }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -280px;
    width: 260px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 90px 24px 32px;
    z-index: 999;
    transition: right .3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-link { display: block; padding: 12px 0; border-radius: 0; border-bottom: 1px solid #f0ece3; font-size: 15px; }
  .dropdown-menu {
    display: block !important;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    background: transparent;
  }
  .dropdown-menu li a { padding: 8px 0; font-size: 13px; color: var(--grey); }
  .nav-login-btn, .nav-dashboard-btn { display: none; }
}

/* ─── Page hero banner ───────────────────────────────────── */
.page-hero {
  padding: 130px 24px 70px;
  text-align: center;
  background: linear-gradient(160deg, #ffffff 0%, #fdfcf8 50%, #faf8f2 100%);
  border-bottom: 1px solid rgba(212,160,23,0.12);
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.page-hero-eyebrow::before, .page-hero-eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.2;
}
.page-hero p {
  font-size: 16px;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Section wrapper ────────────────────────────────────── */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-py    { padding-top: 80px; padding-bottom: 80px; }
.section-title-sm {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--charcoal);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 580px;
}

/* ─── Property card ─────────────────────────────────────── */
.prop-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212,160,23,0.15);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.prop-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f0ece3;
}
.prop-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.prop-card:hover .prop-card-img img { transform: scale(1.04); }
.prop-card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f3ee, #ede8df);
}
.prop-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-new-launch         { background: var(--gold); color: #fff; }
.badge-under-construction { background: #2563eb; color: #fff; }
.badge-available          { background: #16a34a; color: #fff; }
.badge-land               { background: var(--blue); color: #fff; }

.prop-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.prop-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.prop-card-location {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.prop-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0ece3;
}
.prop-card-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prop-card-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--grey);
  margin-top: 10px;
}
.prop-card-meta span { display: flex; align-items: center; gap: 4px; }

/* ─── Properties grid ───────────────────────────────────── */
.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ─── Filter tabs ───────────────────────────────────────── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-tab {
  padding: 8px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(212,160,23,0.3);
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  background: transparent;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ─── Property detail ───────────────────────────────────── */
.prop-detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  border-radius: 20px;
  overflow: hidden;
}
.prop-detail-gallery-main {
  position: relative;
  height: 440px;
  overflow: hidden;
  cursor: pointer;
}
.prop-detail-gallery-main img { width:100%; height:100%; object-fit:cover; }
.prop-detail-gallery-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prop-detail-gallery-thumb {
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.prop-detail-gallery-thumb img { width:100%; height:100%; object-fit:cover; transition: transform .3s; }
.prop-detail-gallery-thumb:hover img { transform: scale(1.05); }
.gallery-more-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 700;
}

/* Info card */
.prop-info-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(212,160,23,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 28px;
  position: sticky;
  top: 88px;
}
.prop-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f5f3ee;
  font-size: 14px;
}
.prop-spec-row:last-child { border-bottom: none; }
.prop-spec-label { color: var(--grey); }
.prop-spec-value { font-weight: 600; color: var(--charcoal); }

/* ─── Booking form ───────────────────────────────────────── */
.booking-form-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(212,160,23,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 32px;
}
.booking-form-card .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e5e1d8;
  border-radius: 10px;
  background: #faf9f6;
  font-size: 14px;
  color: var(--charcoal);
  font-family: 'Poppins', sans-serif;
  transition: border-color .2s;
  outline: none;
}
.booking-form-card .form-input:focus { border-color: var(--gold); }
.booking-form-card .form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
}
.btn-gold-full {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #D4A017, #f0c040);
  color: #1a1a2e;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: opacity .2s;
}
.btn-gold-full:hover { opacity: 0.88; }

/* ─── FAQ accordion ─────────────────────────────────────── */
.faq-item {
  background: #fff;
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  font-family: 'Poppins', sans-serif;
  user-select: none;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-lt);
  border: 1px solid rgba(212,160,23,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); }
.faq-item.open .faq-icon svg { color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--grey);
  line-height: 1.75;
}

/* ─── Site Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: #fff;
  padding-top: 64px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 14px;
  line-height: 1.5;
}
.footer-contact a { color: #9ca3af; text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; }
.footer-social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.footer-social-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 12px;
  color: #4b5563;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ─── WhatsApp float ─────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 500;
  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.4);
  color: #fff;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }

/* ─── About page ─────────────────────────────────────────── */
.about-stat {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(212,160,23,0.15);
}
.about-stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  font-family: 'Cinzel', serif;
}
.about-stat-label {
  font-size: 13px;
  color: var(--grey);
  font-family: 'Poppins', sans-serif;
}
.team-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(212,160,23,0.15);
  overflow: hidden;
  text-align: center;
  padding: 28px 20px;
  transition: box-shadow .2s;
}
.team-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.team-card-photo {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin: 0 auto 14px;
}
.team-card-photo-placeholder {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--gold-lt);
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 2rem;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

/* ─── Contact page ───────────────────────────────────────── */
.contact-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(212,160,23,0.15);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow .2s;
}
.contact-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); }
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gold-lt);
  border: 1px solid rgba(212,160,23,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

/* ─── Lightbox (simple) ──────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  color: #fff; font-size: 36px; cursor: pointer; line-height: 1;
  background: none; border: none;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 32px; cursor: pointer;
  background: rgba(255,255,255,0.1); border: none;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }

/* ─── Utility ───────────────────────────────────────────── */
.page-body { padding-top: 70px; }
.text-gold  { color: var(--gold); }
.text-charcoal { color: var(--charcoal); }
.bg-cream   { background: var(--cream); }
.bg-cream2  { background: var(--cream2); }
.gold-line {
  display: inline-block;
  width: 40px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
