/* ========================================
   BANANA REAL ESTATE — GLOBAL STYLES
   ======================================== */

/* Hide Framer Badge */
#framer-badge, .framer-badge, [data-framer-badge], div[style*="z-index: 2147483647"], .__framer-badge {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

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

:root {
  --cream: #f5f0e8;
  --dark: #1a1a1a;
  --dark-mid: #2b2b2b;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #ffffff;
  --gray: #888888;
  --light-gray: #f0ece4;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--cream);
  border: none;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

/* -- Base states (hidden) -- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

/* -- Visible states -- */
.reveal-up.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: none;
}

/* -- Delay variants -- */
[data-delay="0"]  { transition-delay: 0ms; }
[data-delay="80"] { transition-delay: 80ms; }
[data-delay="100"]{ transition-delay: 100ms; }
[data-delay="120"]{ transition-delay: 120ms; }
[data-delay="160"]{ transition-delay: 160ms; }
[data-delay="200"]{ transition-delay: 200ms; }
[data-delay="240"]{ transition-delay: 240ms; }
[data-delay="300"]{ transition-delay: 300ms; }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
  background: rgba(245, 240, 232, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-height: var(--nav-height);
  overflow: hidden;
}

.nav-logo-img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  mix-blend-mode: multiply; /* Removes white background from JPG */
  filter: contrast(1.2) brightness(0.95);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  color: var(--dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text small {
  font-size: 8px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  color: var(--cream);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-logo-text small {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-top: 4px;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}

.nav-link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
}

.arrow {
  font-size: 11px;
  margin-left: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  list-style: none;
  min-width: 180px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--dark);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: var(--light-gray);
  color: var(--gold);
}

/* Buy Template Button */
.btn-buy-template {
  flex-shrink: 0;
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.btn-buy-template:hover {
  background: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center;
  overflow: hidden;
}

/* Background */
.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  contain: layout style;
}

.hero-bg-pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
  z-index: 0;
  will-change: opacity, transform;
}

.hero-bg-pic.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.25) 0%,
    rgba(10, 10, 10, 0.10) 40%,
    rgba(10, 10, 10, 0.50) 80%,
    rgba(10, 10, 10, 0.70) 100%
  );
}

/* Framer-style grid overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 48px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(40px, 8vw, 100px); /* Reduced size to fit one line */
  font-weight: 900;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -2px;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 0.15em;
  flex-wrap: nowrap; /* Force one line */
  white-space: nowrap;
  text-transform: uppercase; /* CAPITAL LETTERS */
  margin-bottom: 24px;
}

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.word:nth-child(1) { animation-delay: 0.2s; }
.word:nth-child(2) { animation-delay: 0.38s; }
.word:nth-child(3) { animation-delay: 0.56s; }

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  color: rgba(245, 240, 232, 0.9);
  line-height: 1.6;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s 0.75s ease forwards;
  text-align: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* View Properties Button */
.btn-view-properties {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 240, 232, 0.15);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(245, 240, 232, 0.6);
  color: var(--cream);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeUp 0.8s 0.95s ease forwards;
  /* Center it */
  display: flex;
  width: fit-content;
  margin: 0 auto;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-view-properties:hover {
  background: var(--cream);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn-arrow {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.btn-view-properties:hover .btn-arrow {
  transform: translateX(4px);
}

/* Framer Badge */
.framer-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeUp 0.6s 1.2s ease forwards;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 48px;
  border: 2px solid rgba(245, 240, 232, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0;
  animation: fadeUp 0.6s 1.3s ease forwards;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--cream);
  border-radius: 50%;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(14px); opacity: 0.3; }
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  background: var(--dark);
  padding: 60px 48px;
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  color: var(--gold-light);
}

.stat-label {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.55);
  margin-top: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(245, 240, 232, 0.12);
  flex-shrink: 0;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
  background: var(--cream);
  padding: 100px 48px;
}

.features-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 60px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--gold);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ========================================
   RECENT LISTINGS SECTION
   ======================================== */
.listings-section {
  background: var(--cream);
  padding: 100px 48px;
}

.listings-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.listings-header {
  margin-bottom: 52px;
}

.section-label-dark {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.listings-heading {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
}

/* Grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 52px;
}

/* Property Card */
.prop-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  /* Initial hidden state for scroll animation */
  opacity: 0;
  transform: translateY(30px);
}

.prop-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.prop-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.13);
}

/* Image wrapper */
.prop-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.prop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.prop-card:hover .prop-img {
  transform: scale(1.06);
}

/* Dark overlay on hover */
.prop-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.35s ease;
}

.prop-card:hover .prop-img-overlay {
  background: rgba(0, 0, 0, 0.18);
}

/* Badge */
.prop-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 2;
}

.badge-sale {
  background: var(--gold);
  color: var(--dark);
}

.badge-rent {
  background: #3b82f6;
  color: var(--white);
}

/* Visit Button */
.prop-visit-btn {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.prop-card:hover .prop-visit-btn {
  opacity: 1;
  transform: translateY(0);
}

.prop-visit-btn:hover {
  background: var(--white);
  color: var(--dark);
}

.visit-icon {
  font-size: 10px;
  background: var(--white);
  color: var(--dark);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Property Info */
.prop-info {
  padding: 20px 22px 22px;
}

.prop-address {
  font-size: 11.5px;
  color: var(--gray);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}

.prop-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 12px;
  color: var(--dark-mid);
  font-weight: 500;
  background: var(--light-gray);
  padding: 4px 10px;
  border-radius: 20px;
}

.prop-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
  margin-bottom: 14px;
}

.prop-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.prop-price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.prop-price-mo {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
}

/* CTA */
.listings-cta {
  text-align: center;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-view-more:hover {
  background: var(--dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.btn-arrow-dark {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.btn-view-more:hover .btn-arrow-dark {
  transform: translateX(4px);
}

/* ========================================
   NEIGHBORHOODS SECTION
   ======================================== */
.neighborhoods-section {
  background: var(--light-gray);
  padding: 100px 48px;
}

.neighborhoods-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Two-column header */
.neighborhoods-header {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}

.nbh-label-col {
  flex-shrink: 0;
  padding-top: 6px;
}

.nbh-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--dark);
  text-transform: uppercase;
  white-space: nowrap;
}

.nbh-heading-col {
  flex: 1;
}

.nbh-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
}

/* 3 × 2 Grid */
.nbh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

/* City card (anchor) */
.nbh-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  /* Scroll reveal default */
  opacity: 0;
  transform: translateY(24px);
}

.nbh-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.nbh-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
}

/* Image */
.nbh-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.nbh-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.nbh-card:hover .nbh-img {
  transform: scale(1.07);
}

.nbh-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.35s ease;
}

.nbh-card:hover .nbh-img-overlay {
  background: rgba(0,0,0,0.12);
}

/* Caption row */
.nbh-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--white);
}

.nbh-city-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nbh-state {
  font-weight: 400;
  color: var(--gold);
}

.nbh-arrow {
  font-size: 18px;
  color: var(--dark);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.nbh-card:hover .nbh-arrow {
  transform: translateX(4px);
}

/* CTA Button */
.nbh-cta {
  text-align: center;
}

.btn-view-neighborhoods {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--cream);
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-view-neighborhoods:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.35);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
  background: var(--cream);
  padding: 100px 48px;
}

.services-container {
  max-width: 740px;
  margin: 0 auto;
}

/* Header — centered */
.services-header {
  text-align: center;
  margin-bottom: 56px;
}

.svc-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 20px;
}

.svc-label-dot {
  color: var(--gold);
  font-size: 8px;
}

.svc-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.18;
  letter-spacing: -0.5px;
}

/* Accordion wrapper */
.svc-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Accordion item */
.svc-item {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  transition: background 0.25s ease;
}

.svc-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.svc-item.open {
  background: var(--white);
}

/* Toggle button */
.svc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

/* Plus icon circle */
.svc-plus {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--dark);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.25s ease,
              background 0.25s ease,
              color 0.25s ease;
  line-height: 1;
}

.svc-item.open .svc-plus {
  transform: rotate(45deg);
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* Item title */
.svc-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--dark);
  transition: color 0.2s ease;
}

.svc-toggle:hover .svc-title {
  color: var(--gold);
}

/* Accordion body — height-based reveal */
.svc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-item.open .svc-body {
  max-height: 600px;
}

.svc-body-inner {
  padding: 0 28px 26px calc(32px + 20px + 28px); /* align with title */
}

/* Description text */
.svc-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 24px;
}

.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svc-list li {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.svc-list li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.svc-footer {
  margin-top: 32px;
}

.btn-svc-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-svc-action:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-svc-action span {
  font-size: 18px;
}

/* Highlight marks */
mark {
  background: none;
  padding: 0;
}

.hl-gold {
  color: #b8860b;
  font-style: italic;
}

.hl-blue {
  color: #2563eb;
  font-style: italic;
}

/* ========================================
   UNIQUENESS SECTION
   ======================================== */
.uniqueness-section {
  background: var(--cream);
  padding: 100px 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.uniqueness-container {
  max-width: 1280px;
  margin: 0 auto;
}

.uniqueness-header {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  margin-bottom: 80px;
}

.uq-label-col {
  flex-shrink: 0;
  padding-top: 8px;
}

.uq-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--dark);
  text-transform: uppercase;
}

.uq-heading-col {
  flex: 1;
}

.uq-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

/* Grid */
.uq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.uq-card {
  height: 100%;
}

.uq-card-inner {
  height: 100%;
  padding: 0 32px 40px;
  border-left: 1px solid rgba(0, 0, 0, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.uq-card-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 40px;
}

.uq-card-title mark {
  background: var(--light-gray);
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--dark);
}

.uq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.uq-list li {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.uq-list li::before {
  content: "■";
  font-size: 8px;
  margin-top: 4px;
  color: var(--dark);
}

/* ========================================
   COMPARISON SECTION
   ======================================== */
.comparison-section {
  position: relative;
  width: 100%;
  padding: 120px 48px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.comparison-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.comparison-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.comparison-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
}

.comparison-box {
  display: flex;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.comp-column {
  flex: 1;
  padding: 48px 40px;
}

.comp-column.other-agencies {
  background: rgba(255, 255, 255, 0.4);
}

.comp-column.our-agency {
  background: var(--dark);
  color: var(--white);
}

.comp-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.comp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comp-list li {
  font-size: 14px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.our-agency .comp-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-list li:last-child {
  border-bottom: none;
}

.comp-icon {
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.other-agencies .comp-icon {
  color: #ef4444;
}

.our-agency .comp-icon {
  color: #10b981;
}

.other-agencies del {
  color: var(--gray);
  text-decoration: line-through;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews-section {
  padding: 100px 0;
  background: var(--cream);
  overflow: hidden;
}

.reviews-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 48px;
}

.rev-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--dark);
  margin-bottom: 16px;
}

.rev-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
}

.reviews-carousel-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 20px 48px 40px;
  cursor: grab;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  scroll-snap-type: x mandatory;
}

.reviews-carousel-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.reviews-carousel {
  display: flex;
  gap: 24px;
  width: max-content;
}

.rev-card {
  width: 320px;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: center;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  user-select: none;
  -webkit-user-drag: none;
  flex-shrink: 0;
}

.rev-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Video Card Styles */
.video-card .rev-img,
.image-card .rev-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rev-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.8));
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}

.rev-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.rev-quote {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Text Card Styles */
.text-card .rev-card-inner {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fffcf7;
}

.rev-tag mark {
  background: var(--light-gray);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.rev-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark);
  margin-top: 20px;
}

.rev-text-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.rev-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.rev-loc {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 1px;
}

.rev-pfp {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 6px;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  background: var(--dark);
  border-radius: 10px;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
  padding: 100px 48px;
  background: var(--cream);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.faq-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.faq-subheading {
  font-size: 16px;
  color: var(--gray);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-toggle {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s ease;
}

.faq-toggle:hover {
  color: var(--gold);
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.4s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-body {
  max-height: 300px;
}

.faq-content {
  padding: 0 32px 32px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 48px 40px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 80px;
  margin-bottom: 40px;
}

.footer-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 32px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-links a span {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.3);
}

/* Subscribe */
.footer-subscribe {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 14px;
  display: flex;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-input {
  flex: 1;
  background: none;
  border: none;
  padding: 0 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.sub-btn {
  background: var(--white);
  color: var(--dark);
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.sub-btn:hover {
  background: var(--gold);
  color: var(--dark);
}

/* Main */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 2px;
  color: var(--white);
}

.footer-socials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}

/* Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nbh-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .uq-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 60px;
  }
}


@media (max-width: 768px) {
  .nav-links,
  .btn-buy-template {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    padding: 100px 32px 40px;
    gap: 12px;
    z-index: 999;
    overflow-y: auto;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .nav-links.open li {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: menuFadeIn 0.5s forwards;
  }

  .nav-links.open .nav-link {
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
  }

  @keyframes menuFadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links.open li:nth-child(1) { animation-delay: 0.1s; }
  .nav-links.open li:nth-child(2) { animation-delay: 0.15s; }
  .nav-links.open li:nth-child(3) { animation-delay: 0.2s; }
  .nav-links.open li:nth-child(4) { animation-delay: 0.25s; }
  .nav-links.open li:nth-child(5) { animation-delay: 0.3s; }
  .nav-links.open li:nth-child(6) { animation-delay: 0.35s; }

  .hamburger {
    z-index: 1000;
  }

  .scrolled .hamburger span {
    background: var(--dark);
  }

  .nav-links.open ~ .hamburger span {
    background: var(--white) !important;
  }

  .hero-content {
    padding: 0 24px 80px;
  }

  .hero-headline {
    letter-spacing: -1px;
    gap: 0.15em;
  }

  .stats-container {
    flex-wrap: wrap;
    gap: 36px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 1 1 calc(50% - 18px);
  }

  .listings-grid {
    grid-template-columns: 1fr;
  }

  .listings-section {
    padding: 60px 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-section,
  .stats-section {
    padding: 60px 24px;
  }

  .nbh-grid {
    grid-template-columns: 1fr;
  }

  .neighborhoods-section {
    padding: 60px 24px;
  }

  .neighborhoods-header {
    flex-direction: column;
    gap: 16px;
  }

  .uniqueness-header {
    flex-direction: column;
    gap: 16px;
  }

  .uq-grid {
    grid-template-columns: 1fr;
  }

  .uq-card-inner {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 1);
    padding: 32px 0 40px;
    min-height: auto;
  }

  .comparison-box {
    flex-direction: column;
  }

  .comparison-section {
    padding: 60px 24px;
  }

  .reviews-carousel-wrapper {
    padding: 20px 24px 40px;
  }

  .footer {
    padding: 60px 24px 40px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* Footer Subscribe Responsive */
  .footer-subscribe {
    flex-direction: column;
    background: none;
    border: none;
    padding: 0;
    gap: 12px;
  }

  .sub-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    width: 100%;
  }

  .sub-btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    flex-direction: column;
    gap: 0;
  }
}

/* ========================================
   LEGAL PAGES (Privacy & Terms)
   ======================================== */
.legal-hero {
  background: var(--dark);
  padding: 160px 48px 100px;
  text-align: center;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  text-transform: uppercase;
}

.legal-content-section {
  padding: 100px 48px;
  background: var(--cream);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark-mid);
}

.legal-text h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin: 48px 0 24px;
  color: var(--dark);
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 4px;
}

.legal-text p {
  margin-bottom: 24px;
}

.legal-text ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.legal-text li {
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 120px 24px 60px;
  }
  .legal-content-section {
    padding: 60px 24px;
  }
}

/* ========================================
   SUBMIT PROPERTY SECTION
   ======================================== */
.submit-section {
  background: var(--cream);
  padding: 100px 48px;
}

.submit-container {
  max-width: 900px;
  margin: 0 auto;
}

.submit-header {
  text-align: center;
  margin-bottom: 60px;
}

.submit-subheading {
  font-size: 16px;
  color: var(--gray);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.submit-form {
  background: var(--white);
  padding: 48px;
  border-radius: 24px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fcfcfc;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
}

.form-footer {
  margin-top: 40px;
  text-align: center;
}

.btn-submit-form {
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 16px 48px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-submit-form:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(201, 168, 76, 0.3);
}

@media (max-width: 768px) {
  .submit-section {
    padding: 60px 24px;
  }
  .submit-form {
    padding: 32px 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
}

/* ========================================
   MODAL POPUP
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--cream);
  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  padding: 48px;
  position: relative;
  transform: translateY(40px);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--dark);
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
  color: var(--gold);
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  margin: 12px 0 8px;
}

.modal-header p {
  font-size: 14px;
  color: var(--gray);
}

.modal-form .form-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .modal-content {
    padding: 40px 24px;
  }
  .modal-form .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Thank You Modal Specific */
#thank-you-modal {
  z-index: 10000;
}

.thank-you-content {
  text-align: center;
  max-width: 450px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(201, 168, 76, 0.3);
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.check-mark {
  font-family: Arial, sans-serif;
  font-size: 40px;
  color: var(--white);
  transform: rotate(45deg) scaleX(-1);
  margin-top: -5px;
  margin-left: 5px;
}

@keyframes scaleUp {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

#thank-you-msg {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 32px;
}

