/* ============================
   Maverick Homes - Styles
   ============================ */

:root {
  --navy: #1B2A4A;
  --navy-light: #2d4a7a;
  --navy-dark: #0f1a30;
  --maroon: #7B1E2E;
  --maroon-light: #a34455;
  --maroon-dark: #5a1520;
  --gray: #6B7280;
  --gray-light: #F3F4F6;
  --gray-medium: #D1D5DB;
  --white: #FFFFFF;
  --off-white: #F9FAFB;
  --text: #1F2937;
  --text-light: #6B7280;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ============================
   Header / Navigation
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-img {
  height: 60px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--maroon);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--maroon); }
.nav-link:hover::after { width: 100%; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}

.header-phone:hover { color: var(--maroon); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================
   Hero Section
   ============================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 40%, var(--maroon-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(123, 30, 46, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse at 70% 30%, rgba(27, 42, 74, 0.3) 0%, transparent 60%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}

.btn-primary:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(123, 30, 46, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-card {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  padding: 10px 24px;
  font-size: 0.85rem;
  width: 100%;
}

.btn-card:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  transform: translateY(-1px);
}

.btn-full { width: 100%; }

/* ============================
   Stats Bar
   ============================ */
.stats-bar {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-light);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(123, 30, 46, 0.08);
  border-radius: 50%;
  color: var(--maroon);
  margin: 0 auto 10px;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ============================
   Sections (shared)
   ============================ */
.section {
  padding: 100px 0;
}

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

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.text-left { text-align: left; }

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--maroon);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.divider-left { margin-left: 0; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================
   Filter Bar
   ============================ */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--gray-medium);
  background: var(--white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ============================
   Homes Grid
   ============================ */
.homes-section { background: var(--off-white); }

.homes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.home-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.home-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.home-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  padding: 6px 14px;
  background: var(--maroon);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.badge-construction { background: var(--navy); }
.badge-presale { background: #D97706; }

.home-card-image { position: relative; overflow: hidden; }

.home-card-placeholder {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-card-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.home-card-content {
  padding: 24px;
}

.home-card-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.home-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.home-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.home-card-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
}

.home-card-specs span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

/* ============================
   Communities Grid
   ============================ */
.communities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.community-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  cursor: pointer;
  transition: var(--transition);
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.community-card-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.community-card-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  color: var(--white);
}

.community-card-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.community-card-content p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 16px;
}

.community-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  width: fit-content;
}

/* ============================
   Plans Grid
   ============================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.plan-card {
  background: var(--white);
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 36px 20px 28px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.15);
  border-color: var(--navy);
}

.plan-card:hover::before {
  transform: scaleX(1);
}

.plan-card-sqft {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.plan-card-sqft small {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  vertical-align: baseline;
}

.plan-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  font-style: italic;
}

.plan-card-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.plan-card-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.plan-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.plan-spec-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.plan-spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  font-weight: 600;
}

.plan-spec-divider {
  width: 1px;
  height: 32px;
  background: #e5e7eb;
}

@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-card-sqft {
    font-size: 1.6rem;
  }
}

/* ============================
   Build On Your Land Section
   ============================ */
.build-on-land-section {
  background: var(--white);
  padding: 100px 0;
}

.build-land-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.build-land-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--maroon);
  margin-bottom: 12px;
}

.build-land-lead {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 400;
}

.build-land-content > p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.build-land-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.build-land-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.build-land-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(123, 30, 46, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
}

.build-land-feature strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.build-land-feature p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* How It Works Card */
.build-land-visual {
  position: sticky;
  top: 100px;
}

.build-land-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.build-land-card-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon-light);
  margin-bottom: 24px;
}

.build-land-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.build-land-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.build-land-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.build-land-step strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.build-land-step p {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .build-land-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .build-land-visual {
    position: static;
  }
}

@media (max-width: 768px) {
  .build-on-land-section {
    padding: 60px 0;
  }
  .build-land-card {
    padding: 28px;
  }
}

/* ============================
   About Section
   ============================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(123, 30, 46, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
}

.about-feature strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.85rem !important;
  color: var(--text-light) !important;
  margin-bottom: 0 !important;
}

/* ============================
   Process Section
   ============================ */
.process-section {
  background: var(--navy);
  color: var(--white);
}

.process-section .section-title { color: var(--white); }
.process-section .section-subtitle { color: rgba(255,255,255,0.7); }
.process-section .section-divider { background: var(--maroon-light); }

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

.process-step {
  text-align: center;
  padding: 32px 24px;
}

.process-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--maroon-light);
  opacity: 0.6;
  margin-bottom: 16px;
  line-height: 1;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* ============================
   CTA Banner
   ============================ */
.cta-banner {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: var(--white);
  color: var(--maroon);
  border-color: var(--white);
}

.cta-buttons .btn-primary:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.cta-buttons .btn-outline {
  border-color: rgba(255,255,255,0.5);
}

.cta-buttons .btn-outline:hover {
  background: var(--white);
  color: var(--maroon);
  border-color: var(--white);
}

/* ============================
   Contact Section
   ============================ */
.contact-section { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-medium);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}

.form-group textarea { resize: vertical; }

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon-light);
}

.contact-info-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.6;
}

/* ============================
   Footer
   ============================ */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0 0;
}

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

.footer-logo {
  height: 100px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--maroon);
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--maroon-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.5;
}

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

.footer-bottom-links a {
  font-size: 0.8rem;
  opacity: 0.5;
  transition: var(--transition);
}

.footer-bottom-links a:hover { opacity: 1; }

/* ============================
   Animations
   ============================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
  .homes-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { height: 350px; }
  .about-image-placeholder { height: 350px; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 40px 24px;
    z-index: 999;
  }

  .nav.open { display: block; }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--gray-light);
  }

  .nav-link::after { display: none; }

  .nav-toggle { display: flex; }
  .header-phone { display: none; }

  .hero { min-height: 80vh; }
  .hero-title { font-size: 2.5rem; }
  .hero-content { padding: 100px 16px 60px; }

  .stats-container { grid-template-columns: 1fr; }
  .homes-grid { grid-template-columns: 1fr; }
  .communities-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: 60px 0; }
  .contact-form { padding: 24px; }
  .community-card-content { padding: 24px; }

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

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; }
}

/* ============================
   Listing Detail Modal
   ============================ */

.listing-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

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

.listing-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s ease;
  position: relative;
}

.listing-modal-overlay.active .listing-modal {
  transform: translateY(0) scale(1);
}

.listing-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
  line-height: 1;
}

.listing-modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.listing-modal-gallery {
  position: relative;
}

.listing-modal-image {
  width: 100%;
  height: 320px;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #1B2A4A 0%, #2d4a7a 100%);
  overflow: hidden;
}

.modal-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s ease;
  line-height: 1;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-nav.hidden { display: none; }

.gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 5;
}

.listing-modal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.listing-modal-body {
  padding: 32px;
}

.listing-modal-header {
  margin-bottom: 8px;
}

.listing-modal-price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.listing-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--dark);
  margin-top: 4px;
  font-weight: 600;
}

.listing-modal-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.listing-modal-specs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}

.listing-modal-spec {
  flex: 1;
  text-align: center;
  padding: 16px 12px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-right: 12px;
}

.listing-modal-spec:last-child {
  margin-right: 0;
}

.listing-modal-spec .spec-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.listing-modal-spec .spec-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.listing-modal-desc {
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 28px;
}

.listing-modal-actions {
  display: flex;
  gap: 12px;
}

.listing-modal-cta {
  flex: 1;
  text-align: center;
}

.listing-modal-share {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.listing-modal-share:hover {
  background: var(--primary);
  color: #fff;
}

.listing-modal-share:hover svg {
  stroke: #fff;
}

/* Modal Responsive */
@media (max-width: 768px) {
  .listing-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .listing-modal {
    max-height: 95vh;
    border-radius: 16px 16px 0 0;
    max-width: 100%;
  }

  .listing-modal-image {
    height: 220px;
    border-radius: 16px 16px 0 0;
  }

  .listing-modal-body {
    padding: 24px;
  }

  .listing-modal-price {
    font-size: 1.6rem;
  }

  .listing-modal-title {
    font-size: 1.2rem;
  }

  .listing-modal-spec .spec-value {
    font-size: 1.2rem;
  }

  .listing-modal-actions {
    flex-direction: column;
  }

  .listing-modal-share {
    justify-content: center;
  }
}

/* ============================
   Floor Plan Detail Section
   ============================ */

.plan-detail-section {
  background: #fff;
}

.plan-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.plan-elevation {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
}

.plan-elevation-img {
  width: 100%;
  height: auto;
  display: block;
}

.plan-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.plan-highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 3px solid var(--maroon);
}

.plan-highlight-item svg {
  color: var(--maroon);
  flex-shrink: 0;
}

.plan-highlight-item div {
  display: flex;
  flex-direction: column;
}

.plan-highlight-item strong {
  font-size: 1rem;
  color: var(--navy);
}

.plan-highlight-item span {
  font-size: 0.85rem;
  color: #777;
}

.plan-cta {
  margin-top: 0.5rem;
  text-align: center;
}

.plan-floors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.plan-floor h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}

.plan-floor-img-wrapper {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  padding: 1rem;
  margin-bottom: 1rem;
}

.plan-floor-img {
  width: 100%;
  height: auto;
  display: block;
}

.plan-floor-rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.plan-floor-rooms span {
  background: #f0f0f0;
  color: var(--navy);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .plan-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .plan-floors {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================
   Modal Floor Plan Detail
   ============================ */

.modal-plan-detail {
  margin-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
  padding-top: 1.5rem;
}

.modal-plan-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.modal-plan-header p {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 1.25rem;
}

.modal-plan-elevation {
  border-radius: 10px;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid #eee;
  margin-bottom: 1.25rem;
}

.modal-plan-elevation img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-plan-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.modal-plan-highlight {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--maroon);
}

.modal-plan-highlight strong {
  font-size: 0.9rem;
  color: var(--navy);
}

.modal-plan-highlight span {
  font-size: 0.75rem;
  color: #888;
}

.modal-plan-floors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.modal-plan-floor h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.75rem;
}

.modal-plan-floor img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 0.5rem;
  background: #fff;
  margin-bottom: 0.75rem;
}

.modal-plan-rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.modal-plan-rooms span {
  background: #f0f0f0;
  color: var(--navy);
  padding: 0.25rem 0.6rem;
  border-radius: 16px;
  font-size: 0.7rem;
  font-weight: 500;
}

@media (max-width: 600px) {
  .modal-plan-highlights {
    grid-template-columns: 1fr;
  }

  .modal-plan-floors {
    grid-template-columns: 1fr;
  }
}

/* ============================
   Plan Image Lightbox
   ============================ */

.plan-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.plan-lightbox.active {
  display: flex;
}

.plan-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.plan-lightbox-close:hover {
  opacity: 1;
}

.plan-lightbox-img {
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

/* ============================
   Warranty Request Page
   ============================ */

.warranty-section {
  padding: 140px 0 80px;
  background: var(--off-white);
  min-height: 100vh;
}

.warranty-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.warranty-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.warranty-header p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

.warranty-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.warranty-form-section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-light);
}

.warranty-form-section-title:first-child {
  margin-top: 0;
}

.warranty-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.warranty-form-row-3 {
  grid-template-columns: 2fr 1fr 1fr;
}

.required {
  color: var(--maroon);
}

.file-upload-area {
  position: relative;
  border: 2px dashed var(--gray-medium);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.file-upload-area:hover {
  border-color: var(--navy);
  background: rgba(27, 42, 74, 0.02);
}

.file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  pointer-events: none;
}

.file-upload-label svg {
  color: var(--navy);
}

.file-upload-label small {
  font-size: 0.8rem;
  color: var(--gray-medium);
}

.warranty-submit {
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  font-size: 1rem;
  background: var(--maroon);
  border-color: var(--maroon);
}

.warranty-submit:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
}

@media (max-width: 768px) {
  .warranty-section {
    padding: 120px 0 60px;
  }

  .warranty-form-wrapper {
    padding: 24px;
  }

  .warranty-form-row,
  .warranty-form-row-3 {
    grid-template-columns: 1fr;
  }

  .warranty-header h1 {
    font-size: 2rem;
  }
}

/* ============================
   Financing / Preferred Lenders
   ============================ */

.lenders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.lender-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lender-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.lender-card-icon {
  width: 72px;
  height: 72px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.lender-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.lender-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.lender-contact {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.lender-apply-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--maroon);
  border-color: var(--maroon);
  margin-top: auto;
}

.lender-apply-btn:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
}

.financing-note {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ============================
   Legal Pages
   ============================ */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--maroon);
  text-decoration: underline;
}

.financing-note p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.financing-note a {
  color: var(--maroon);
  font-weight: 600;
  text-decoration: none;
}

.financing-note a:hover {
  text-decoration: underline;
}
