/* ==========================================================================
   Cavallo Estates Nobleton — Luxury Landing Page Stylesheet
   Fonts: Cinzel (Serif), Outfit (Sans-Serif)
   Palette: Deep Onyx / Midnight Slate (#090e1a, #0f172a), Champagne Gold (#d4af37, #c59b27, #f59e0b)
   ========================================================================== */

:root {
  --primary-dark: #090e1a;
  --secondary-dark: #111827;
  --card-dark: #1a2234;
  --gold: #d4af37;
  --gold-hover: #b89728;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --border-dark: rgba(255, 255, 255, 0.1);
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

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

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==================== TOP ANNOUNCEMENT ==================== */
.top-announcement {
  background: linear-gradient(90deg, #1e1b4b, #312e81, #1e1b4b);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 13px;
  padding: 8px 0;
  color: #e0e7ff;
}
.top-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar-cta {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}
.top-bar-cta:hover {
  text-decoration: underline;
}

/* ==================== SITE HEADER ==================== */
.site-header {
  background: rgba(9, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo-cavallo {
  height: 34px;
  width: auto;
  max-width: 145px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-divider {
  width: 1px;
  height: 24px;
  background: var(--border-dark);
  flex-shrink: 0;
}
.brand-logo-builder {
  height: 18px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.88;
  flex-shrink: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14.5px;
  transition: color 0.15s ease;
}
.nav-links a:not(.btn):hover {
  color: var(--gold);
}
.btn-phone-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.btn-phone-header:hover {
  text-decoration: underline;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 15px;
  text-align: center;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: 12px;
}
.btn-block {
  width: 100%;
}
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #b89728 100%);
  color: #090e1a;
  box-shadow: 0 4px 18px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}
.btn-gold-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-gold-outline:hover {
  background: var(--gold-soft);
}
.btn-dark-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
}
.btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  filter: saturate(1.1) brightness(0.95);
  transform: scale(1.01);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 14, 26, 0.82) 0%, rgba(9, 14, 26, 0.45) 50%, rgba(9, 14, 26, 0.78) 100%);
}

/* ==================== EDITORIAL SHOWCASE SECTION ==================== */
.editorial-showcase-section {
  background: linear-gradient(180deg, #090e1a 0%, #0d1424 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: 75px 0;
}
.editorial-showcase-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}
.editorial-media-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
}
.editorial-main-img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.editorial-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(9, 14, 26, 0.88);
  backdrop-filter: blur(6px);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.editorial-content-col h2 {
  font-family: 'Cinzel', serif;
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.editorial-lead {
  font-size: 16.5px;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 14px;
}
.editorial-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}
.editorial-secondary-banner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
}
.editorial-sub-img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.editorial-sub-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 14, 26, 0.94) 100%);
}
.editorial-sub-caption strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
}
.editorial-sub-caption span {
  font-size: 12px;
  color: var(--gold);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.gold-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.hero-tagline {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  font-style: italic;
}
.hero-description {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}
.hero-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.hero-badge-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge-item .badge-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.hero-badge-item strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
}
.hero-badge-item small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==================== REGISTRATION CARD ==================== */
.reg-card {
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.reg-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.reg-card-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}
.reg-card-header p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 5px;
}
.form-control {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background-color: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color 0.15s ease;
}
select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #090e1a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  color: #ffffff;
}
select.form-control option {
  background-color: #090e1a;
  color: #ffffff;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.form-disclaimer {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.45;
  margin-top: 14px;
  text-align: center;
}
.form-status {
  padding: 12px;
  border-radius: 10px;
  font-size: 13.5px;
  margin-top: 12px;
  text-align: center;
}
.form-status.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 90px 0;
}
.section-heading {
  margin-bottom: 50px;
}
.section-heading.text-center {
  text-align: center;
}
.gold-subtitle {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-heading h2 {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}
.section-heading p {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ==================== COLLECTIONS ==================== */
.collections-section {
  background: #0d1424;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.collection-card {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.collection-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
}
.collection-card.featured-card {
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}
.collection-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.collection-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.collection-card:hover .collection-img-wrap img {
  transform: scale(1.05);
}
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 14, 26, 0.85);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.card-badge.gold-badge {
  background: var(--gold);
  color: #090e1a;
  border-color: var(--gold);
}
.collection-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.collection-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.collection-tag {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.collection-bullets {
  list-style: none;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
  flex: 1;
}
.collection-bullets li {
  margin-bottom: 6px;
}

/* ==================== FLOOR PLAN MATRIX TABLE ==================== */
.fp-matrix-wrap {
  margin-top: 48px;
  background: #0d1527;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
.fp-matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fp-matrix-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}
.fp-matrix-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 4px 0 0;
}
.fp-table-responsive {
  overflow-x: auto;
}
.fp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.fp-table th {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  white-space: nowrap;
}
.fp-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  vertical-align: middle;
}
.fp-table tr:last-child td {
  border-bottom: none;
}
.fp-table tr:hover td {
  background: rgba(212, 175, 55, 0.04);
}
.fp-series-name {
  font-weight: 700;
  color: #ffffff;
  display: block;
}
.fp-series-sub {
  font-size: 12.5px;
  color: #94a3b8;
}
.fp-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.fp-unlock-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.fp-unlock-link:hover {
  background: var(--gold);
  color: #090e1a;
}

/* ==================== FEATURES ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-box {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 26px;
  transition: border-color 0.15s ease;
}
.feature-box:hover {
  border-color: var(--gold);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.feature-box h4 {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.feature-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==================== LOCATION ==================== */
.location-section {
  background: #0d1424;
  border-top: 1px solid var(--border-dark);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.location-text h2 {
  font-family: 'Cinzel', serif;
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}
.lead-text {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.proximity-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proximity-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 18px;
  background: var(--card-dark);
  border-radius: 12px;
  border: 1px solid var(--border-dark);
}
.proximity-item .dist {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.proximity-item strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
}
.proximity-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.location-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  min-height: 360px;
}
.location-img {
  width: 100%;
  height: 440px;
  display: block;
  object-fit: cover;
}
.location-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 14, 26, 0.96) 100%);
}
.location-caption strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
}
.location-caption span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==================== THE BUILDER ==================== */
.builder-section {
  padding: 70px 0;
  text-align: center;
}
.builder-logo-lg {
  height: auto;
  width: 300px;
  max-width: 78%;
  object-fit: contain;
  margin: 0 auto 18px;
  display: block;
}
.builder-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}
.builder-bio {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==================== FINAL CTA ==================== */
.final-cta-section {
  background: radial-gradient(circle at center, #1e1b4b 0%, #090e1a 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 70px 0;
  text-align: center;
}
.final-cta-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}
.final-cta-content p {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 24px;
}

/* ==================== FOOTER ==================== */
.footer {
  background: #050811;
  border-top: 1px solid var(--border-dark);
  padding: 50px 0 90px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.footer-divider {
  color: var(--gold);
  font-size: 18px;
}
.footer-builder-logo {
  height: 18px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  opacity: 0.85;
}
.footer-location {
  font-size: 14.5px;
  color: #cbd5e1;
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 14px;
}
.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.footer-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.footer-links span {
  color: #475569;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #64748b;
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}
.footer-disclaimer a {
  color: #94a3b8;
  text-decoration: underline;
}

/* ==================== STICKY MOBILE BOTTOM BAR ==================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 14, 26, 0.98);
  backdrop-filter: blur(10px);
  padding: 8px 10px;
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  z-index: 999;
}
.mobile-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}
.mobile-btn-call {
  background: #1e293b;
  color: #ffffff;
  border: 1px solid #334155;
}
.mobile-btn-vip {
  background: linear-gradient(135deg, #d4af37, #b89728);
  color: #090e1a;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}
.mobile-btn-wa {
  background: #25d366;
  color: #ffffff;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
/* Tablet & Medium Screens (<= 1024px) */
@media (max-width: 1024px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a:not(.btn):not(.btn-phone-header) {
    display: none;
  }
  .hero-section {
    padding: 44px 0 60px;
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 720px;
    margin: 0 auto;
  }
  .hero-text-col {
    text-align: center;
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-badges-grid {
    text-align: left;
  }
  .reg-card {
    max-width: 600px;
    margin: 0 auto;
  }
  .section {
    padding: 68px 0;
  }
  .section-heading {
    margin-bottom: 38px;
  }
  .section-heading h2,
  .location-text h2,
  .builder-section h2,
  .final-cta-content h2,
  .editorial-content-col h2 {
    font-size: 30px;
  }
  .editorial-showcase-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 680px;
    margin: 0 auto;
  }
  .editorial-content-col {
    text-align: center;
  }
  .editorial-sub-caption {
    text-align: left;
  }
  .editorial-main-img {
    height: 360px;
  }
  .collections-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
    gap: 24px;
  }
  .collection-img-wrap {
    height: 250px;
  }
  .fp-matrix-wrap {
    padding: 24px 18px;
  }
  .fp-table th,
  .fp-table td {
    padding: 11px 8px;
    font-size: 12.5px;
  }
  .fp-table th {
    font-size: 10.5px;
    white-space: normal;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 680px;
    margin: 0 auto;
  }
  .location-text {
    text-align: center;
  }
  .proximity-list {
    text-align: left;
  }
  .location-img {
    height: 360px;
  }
}

/* Mobile Phones (<= 680px) */
@media (max-width: 680px) {
  .container {
    padding: 0 16px;
  }
  .top-announcement {
    display: block;
    font-size: 11.5px;
    padding: 6px 0;
    text-align: center;
  }
  .top-bar-flex {
    justify-content: center;
    gap: 6px;
  }
  .top-bar-cta {
    display: none;
  }
  .site-header {
    padding: 10px 0;
  }
  .header-container {
    gap: 8px;
  }
  .brand-group {
    gap: 8px;
  }
  .brand-logo-cavallo {
    height: 24px;
    max-width: 105px;
  }
  .brand-divider {
    height: 18px;
  }
  .brand-logo-builder {
    height: 12px;
    max-width: 115px;
  }
  .btn-phone-header {
    display: none !important;
  }
  .site-header .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .hero-section {
    padding: 28px 0 44px;
  }
  .gold-tag {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.2;
  }
  .hero-tagline {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .hero-description {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .hero-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hero-badge-item {
    padding: 10px 10px;
    gap: 8px;
    align-items: flex-start;
  }
  .hero-badge-item .badge-icon {
    font-size: 18px;
    margin-top: 2px;
  }
  .hero-badge-item strong {
    font-size: 13px;
    line-height: 1.25;
  }
  .hero-badge-item small {
    font-size: 11px;
    line-height: 1.3;
    margin-top: 2px;
  }
  .reg-card {
    padding: 22px 18px;
    border-radius: 14px;
  }
  .reg-card-header h2 {
    font-size: 20px;
  }
  .reg-card-header p {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .form-control {
    height: 42px;
    font-size: 14px;
    padding: 0 12px;
  }
  .section {
    padding: 50px 0;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .gold-subtitle {
    font-size: 11px;
  }
  .section-heading h2,
  .location-text h2,
  .builder-section h2,
  .final-cta-content h2,
  .editorial-content-col h2 {
    font-size: 24px;
    line-height: 1.25;
  }
  .editorial-main-img {
    height: 260px;
  }
  .editorial-lead,
  .editorial-body {
    font-size: 14.5px;
    line-height: 1.55;
  }
  .editorial-sub-img {
    height: 150px;
  }
  .section-heading p,
  .lead-text,
  .builder-bio,
  .final-cta-content p {
    font-size: 14.5px;
    line-height: 1.55;
  }
  .collection-img-wrap {
    height: 200px;
  }
  .collection-body {
    padding: 18px;
  }
  .collection-body h3 {
    font-size: 19px;
  }
  /* Stacked Luxury Cards for Floor Plan Table on Mobile */
  .fp-matrix-wrap {
    margin-top: 32px;
    padding: 20px 14px;
  }
  .fp-matrix-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }
  .fp-matrix-header h3 {
    font-size: 19px;
  }
  .fp-matrix-header .btn {
    width: 100%;
  }
  .fp-table,
  .fp-table tbody,
  .fp-table tr,
  .fp-table td {
    display: block;
    width: 100%;
  }
  .fp-table thead {
    display: none;
  }
  .fp-table tr {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
  }
  .fp-table tr:last-child {
    margin-bottom: 0;
  }
  .fp-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: right;
    font-size: 13px;
  }
  .fp-table td:first-child {
    display: block;
    text-align: left;
    padding-top: 0;
    padding-bottom: 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }
  .fp-table td:first-child::before {
    display: none;
  }
  .fp-table td:last-child {
    border-bottom: none;
    padding-bottom: 2px;
    padding-top: 10px;
  }
  .fp-table td::before {
    content: attr(data-label);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-align: left;
    flex-shrink: 0;
  }
  .fp-unlock-link {
    padding: 6px 12px;
    font-size: 12px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-box {
    padding: 20px;
  }
  .proximity-item {
    padding: 12px 14px;
    gap: 12px;
  }
  .location-media {
    min-height: 240px;
  }
  .location-img {
    height: 260px;
  }
  .btn-lg {
    padding: 14px 24px;
    font-size: 15.5px;
    width: 100%;
    max-width: 340px;
  }
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 400px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .brand-logo-builder {
    max-width: 95px;
  }
}

