/* ============================================================
   Haven Holdings & Investments — Main Stylesheet
   ============================================================ */

:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #A07830;
  --navy:        #0D1B2A;
  --navy-mid:    #162840;
  --navy-light:  #1E3A5F;
  --white:       #FFFFFF;
  --off-white:   #F8F6F1;
  --gray-100:    #F4F4F4;
  --gray-200:    #E8E8E8;
  --gray-400:    #9A9A9A;
  --gray-600:    #555555;
  --gray-800:    #222222;
  --green:       #2E7D5B;
  --green-light: #E8F5EE;
  --red:         #C0392B;
  --red-light:   #FDECEA;
  --yellow-light:#FFF8E1;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.18);
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--gold); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(201,168,76,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { color: var(--white); font-weight: 700; font-size: 1rem; letter-spacing: 0.3px; }
.logo-sub  { color: var(--gold); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.5px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.btn-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: var(--transition) !important;
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(201,168,76,0.4);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 16px 24px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile a:last-child { border-bottom: none; }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0A2540 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.06) 0%, transparent 40%),
    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='%23ffffff' fill-opacity='0.025'%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");
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,27,42,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 120px 24px 80px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 8px 16px;
  border-radius: 100px;
}
#hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero-accent { color: var(--gold); }
.hero-subtitle {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero-subtitle strong { color: var(--gold); }
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 24px 40px;
  flex-wrap: wrap;
}
.stat { text-align: center; padding: 8px 32px; }
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.15);
}
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll a {
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ── SECTION HEADERS ── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
}
.section-header.light h2 { color: var(--white); }
.section-header.light p  { color: rgba(255,255,255,0.75); }
.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(201,168,76,0.25);
}
.section-header.light .section-tag {
  background: rgba(201,168,76,0.15);
  color: var(--gold-light);
  border-color: rgba(201,168,76,0.3);
}

/* ── ABOUT ── */
#about {
  padding: 100px 0;
  background: var(--off-white);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.3);
}
.about-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin-bottom: 20px;
  border: 1px solid rgba(201,168,76,0.2);
}
.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.about-card p {
  color: var(--gray-600);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ── HOW IT WORKS ── */
#how-it-works {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 24px 16px;
}
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  margin-bottom: 16px;
}
.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.step-content p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  line-height: 1.65;
}
.step-arrow {
  color: var(--gold);
  font-size: 1.4rem;
  opacity: 0.5;
  padding-top: 36px;
  flex-shrink: 0;
}
.steps-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.steps-note i { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.steps-note p { color: rgba(255,255,255,0.75); font-size: 0.88rem; line-height: 1.65; }
.steps-note strong { color: var(--gold-light); }

/* ── PROPERTIES ── */
#properties {
  padding: 100px 0;
  background: var(--white);
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.loading-properties {
  grid-column: 1/-1;
  text-align: center;
  color: var(--gray-400);
  padding: 60px;
  font-size: 1.1rem;
}

/* Property Card */
.prop-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,0.3);
}
.prop-img {
  height: 210px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.prop-img img { width: 100%; height: 100%; object-fit: cover; }
.prop-single-img { width: 100%; height: 100%; object-fit: cover; }

/* ── PROPERTY IMAGE CAROUSEL ── */
.prop-carousel {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}
.carousel-track {
  width: 100%; height: 100%;
  position: relative;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(13,27,42,0.62);
  border: 1.5px solid rgba(201,168,76,0.4);
  color: #fff; width: 30px; height: 30px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  transition: background 0.18s, opacity 0.18s;
  opacity: 0; z-index: 5;
}
.prop-img:hover .carousel-btn { opacity: 1; }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-btn:hover { background: rgba(201,168,76,0.75); }
.carousel-dots {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 5;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}
.carousel-count {
  position: absolute; top: 8px; left: 8px;
  background: rgba(13,27,42,0.72);
  color: #fff; font-size: 0.7rem; font-weight: 600;
  padding: 3px 8px; border-radius: 20px;
  display: flex; align-items: center; gap: 4px;
  z-index: 5;
}

.prop-img-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.35);
}
.prop-img-placeholder i { font-size: 3rem; display: block; margin-bottom: 8px; }
.prop-img-placeholder span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.prop-status-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.status-available      { background: var(--green-light); color: var(--green); }
.status-partially      { background: var(--yellow-light); color: #8B6914; }
.status-fully          { background: var(--red-light); color: var(--red); }
.prop-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.prop-type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.prop-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.prop-location {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.prop-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.prop-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--gray-600);
}
.prop-spec i { color: var(--gold-dark); font-size: 0.8rem; }
.prop-financials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.fin-item { background: var(--gray-100); border-radius: var(--radius-sm); padding: 12px; }
.fin-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray-400); display: block; margin-bottom: 4px; }
.fin-value { font-size: 1rem; font-weight: 700; color: var(--navy); }
.fin-value.gold  { color: var(--gold-dark); }
.fin-value.green { color: var(--green); }

/* Shares progress */
.shares-progress { margin-bottom: 20px; }
.shares-progress-header {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 8px;
}
.shares-progress-header .taken { color: var(--gray-600); }
.shares-progress-header .avail { color: var(--green); }
.shares-progress-header .avail.none { color: var(--red); }
.progress-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--green), #4CAF80);
  transition: width 0.8s ease;
}
.progress-fill.full { background: linear-gradient(90deg, var(--red), #e57373); }

.prop-card .btn-invest {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: auto;
}
.prop-card .btn-invest:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px);
}
.prop-card .btn-invest.disabled {
  background: var(--gray-200);
  color: var(--gray-400);
  cursor: not-allowed;
  transform: none;
}

/* ── APPLICATION FORM ── */
#apply {
  padding: 100px 0;
  background: var(--off-white);
}
.form-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.form-sidebar {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: sticky;
  top: 90px;
  color: var(--white);
}
.form-sidebar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--gold);
}
.summary-block { margin-bottom: 28px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
}
.summary-row span:first-child { color: rgba(255,255,255,0.6); }
.summary-row span:last-child { color: var(--white); font-weight: 600; max-width: 55%; text-align: right; font-size: 0.82rem; }
.summary-row.total {
  border-bottom: none;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(201,168,76,0.3);
}
.summary-row.total span:first-child { color: var(--gold-light); font-weight: 600; }
.summary-row.total span:last-child { color: var(--gold); font-size: 1.1rem; font-weight: 700; }

.profit-share-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(201,168,76,0.08));
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 22px;
}
.profit-share-callout i {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.profit-share-callout strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.profit-share-callout span {
  color: rgba(255,255,255,0.6);
  font-size: 0.76rem;
  line-height: 1.45;
  display: block;
}

.share-meter-wrap { margin-bottom: 24px; }
.share-meter-wrap p { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.share-meter {
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 6px;
}
.share-meter-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.5s ease;
}
.share-meter-labels { display: flex; justify-content: space-between; font-size: 0.75rem; }
.share-meter-labels span:first-child { color: rgba(255,255,255,0.5); }
.share-meter-labels span:last-child  { color: var(--gold-light); }

.sidebar-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 20px;
}
.sidebar-note i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.sidebar-note p { color: rgba(255,255,255,0.6); font-size: 0.8rem; line-height: 1.5; }
.sidebar-contact { font-size: 0.83rem; }
.sidebar-contact p { color: rgba(255,255,255,0.5); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.sidebar-contact p i { color: var(--gold); }
.sidebar-contact a { display: block; color: var(--gold-light); font-weight: 500; margin-bottom: 4px; transition: color var(--transition); }
.sidebar-contact a:hover { color: var(--white); }

/* Form Sections */
#investorForm {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.form-section {
  padding: 36px 40px;
  border-bottom: 1px solid var(--gray-200);
}
.form-section:last-of-type { border-bottom: none; }
.form-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 28px;
}
.form-step-num {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-row.three-col { grid-template-columns: 2fr 1fr 1fr; }
.form-group { margin-bottom: 20px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
}
.req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.field-help { font-size: 0.78rem; color: var(--gray-400); }
.field-error { font-size: 0.78rem; color: var(--red); min-height: 16px; display: block; }

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold-dark);
  cursor: pointer;
}
.checkbox-group label {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray-600);
  cursor: pointer;
}
.checkbox-group label strong { color: var(--gray-800); }
.tooltip-icon {
  display: inline-block;
  margin-left: 4px;
  color: var(--gold-dark);
  cursor: help;
  font-size: 0.85rem;
}

.terms-box {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 24px;
  border-left: 4px solid var(--gold);
}
.terms-box p {
  color: var(--gray-600);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.terms-box p:last-child { margin-bottom: 0; }

.form-submit-area {
  padding: 28px 40px;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.deposit-reminder {
  display: flex;
  align-items: center;
  gap: 14px;
}
.deposit-reminder i { font-size: 2rem; color: var(--gold); }
.deposit-reminder strong { display: block; font-size: 1.05rem; color: var(--navy); }
.deposit-reminder span { font-size: 0.8rem; color: var(--gray-400); display: block; }
#submit-total { color: var(--gold-dark); }
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(201,168,76,0.3);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.45);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── SUCCESS MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.8);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  animation: modalIn 0.35s ease;
}
@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.modal-icon { font-size: 3.5rem; color: var(--green); margin-bottom: 20px; }
.modal-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.modal-box > p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.65; }
.modal-details {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.modal-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.88rem;
}
.modal-detail-row:last-child { border-bottom: none; }
.modal-detail-row span:first-child { color: var(--gray-400); }
.modal-detail-row span:last-child  { font-weight: 600; color: var(--navy); }
.status-pending {
  background: var(--yellow-light);
  color: #8B6914;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}
.modal-sub { color: var(--gray-600); font-size: 0.85rem; margin-bottom: 28px !important; }

/* ── FOOTER ── */
#footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.7; margin-top: 16px; max-width: 300px; }
.footer-brand .nav-logo { margin-bottom: 0; }
.footer-links h4,
.footer-contact h4 {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--gold-light); }
.footer-contact p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact p i { color: var(--gold); }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--gold);
  color: var(--navy);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-bottom: 6px; }
.footer-disclaimer { font-size: 0.72rem !important; max-width: 700px; margin: 0 auto !important; line-height: 1.5; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .form-wrapper { grid-template-columns: 1fr; }
  .form-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-stats { padding: 20px 16px; }
  .stat { padding: 8px 16px; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding-top: 0; padding: 4px 0; }
  .form-section { padding: 28px 20px; }
  .form-submit-area { padding: 20px; flex-direction: column; align-items: stretch; text-align: center; }
  .deposit-reminder { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-row.three-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .properties-grid { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .modal-box { padding: 32px 24px; }
}
