/* ===========================================
   DLZ Properties LLC — Main Stylesheet
   Brand Colors: Maroon #8B1C2C | Navy #1E3472 | Gold #C9A040
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Custom Properties ── */
:root {
  --primary:         #8B1C2C;
  --primary-dark:    #6B1520;
  --primary-light:   #A52535;
  --secondary:       #1E3472;
  --secondary-dark:  #162858;
  --secondary-light: #2A4599;
  --accent:          #C9A040;
  --accent-dark:     #A8832A;
  --accent-light:    #DDB855;
  --bg:              #FAF8F5;
  --bg-dark:         #F0EDE8;
  --white:           #FFFFFF;
  --dark:            #1A1A2E;
  --text:            #2D2D3E;
  --text-light:      #5A5A6E;
  --border:          #E0DDD8;
  --success:         #2D7D46;
  --error:           #C0392B;
  --warning:         #E67E22;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl:  0 20px 50px rgba(0,0,0,0.15);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 24px;

  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-height: 80px;
  --max-w: 1200px;
  --max-w-wide: 1400px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
p { margin-bottom: 1em; color: var(--text-light); }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container      { max-width: var(--max-w);      margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: var(--max-w-wide);  margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex    { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-header h2 { color: var(--dark); margin-bottom: 1rem; }
.section-header p  { max-width: 600px; margin: 0 auto; color: var(--text-light); font-size: 1.05rem; }
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

.btn-primary {
  background: var(--primary); color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(139,28,44,0.25);
}
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(139,28,44,0.35);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--secondary); color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(30,52,114,0.25);
}
.btn-secondary:hover {
  background: var(--secondary-dark); border-color: var(--secondary-dark);
  box-shadow: 0 6px 20px rgba(30,52,114,0.35);
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--accent); color: var(--dark);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(201,160,64,0.35);
}
.btn-accent:hover {
  background: var(--accent-dark); border-color: var(--accent-dark);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15); border-color: var(--white);
}
.btn-outline-primary {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary); color: var(--white);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-dark); }
.btn-full { width: 100%; justify-content: center; }

/* ── Badges ── */
.badge {
  display: inline-block; padding: 0.25rem 0.75rem;
  border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-available  { background: #E8F5E9; color: #2D7D46; }
.badge-rented     { background: #FDE8E8; color: #C0392B; }
.badge-upcoming   { background: #FFF3E0; color: #E67E22; }
.badge-short-term { background: #E3EAF8; color: var(--secondary); }
.badge-long-term  { background: #F3E8F5; color: #7B1FA2; }

/* ── Navigation ── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
  height: 68px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-w-wide); margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
}
.nav-logo img { height: 48px; width: auto; transition: var(--transition); }
.navbar.scrolled .nav-logo img { height: 40px; }
.nav-logo-text { line-height: 1.1; }
.nav-logo-text .brand-name {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
  color: var(--primary);
}
.nav-logo-text .brand-sub {
  font-size: 0.65rem; font-weight: 500; color: var(--secondary);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 0.5rem 0.85rem;
  font-size: 0.9rem; font-weight: 500; color: var(--text);
  border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(139,28,44,0.06); }
.nav-link.has-dropdown { padding-right: 1.5rem; }
.nav-link.has-dropdown::after {
  content: '▾'; position: absolute; right: 0.6rem; top: 50%;
  transform: translateY(-50%); font-size: 0.7rem; transition: var(--transition);
}
.nav-item:hover .nav-link.has-dropdown::after { transform: translateY(-50%) rotate(180deg); }

.nav-item { position: relative; }
.nav-item::before {
  content: ''; position: absolute; top: 100%; left: 0; right: 0;
  height: 12px; display: none;
}
.nav-item:hover::before { display: block; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 220px; padding: 0.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: var(--transition);
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-dropdown a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.85rem; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  transition: var(--transition);
}
.nav-dropdown a:hover { color: var(--primary); background: var(--bg); }
.nav-dropdown a i { width: 16px; color: var(--accent); }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: 0.35rem 0; }

.nav-cta { margin-left: 0.5rem; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; padding: 6px;
  border-radius: var(--radius-sm); cursor: pointer;
  border: 1px solid var(--border); background: transparent;
  transition: var(--transition);
}
.nav-hamburger span {
  display: block; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: block; position: fixed; top: var(--nav-height); left: 0;
  width: 100%; height: calc(100vh - var(--nav-height));
  background: var(--white); border-top: 1px solid var(--border);
  overflow-y: auto; padding: 1.5rem; z-index: 999;
  transform: translateX(100%); transition: transform 0.35s ease;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile-section { margin-bottom: 1.5rem; }
.nav-mobile-section h6 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-light);
  margin-bottom: 0.5rem; padding: 0 0.5rem;
}
.nav-mobile a {
  display: block; padding: 0.7rem 0.75rem;
  font-size: 1rem; font-weight: 500; color: var(--text);
  border-radius: var(--radius-md); transition: var(--transition);
  margin-bottom: 0.25rem;
}
.nav-mobile a:hover { color: var(--primary); background: var(--bg); }
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ── Page Offset ── */
.page-top { margin-top: var(--nav-height); }

/* ── Hero ── */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: var(--white); text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(26,26,46,0.75) 0%, rgba(30,52,114,0.65) 50%, rgba(139,28,44,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 800px; padding: 2rem;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(201,160,64,0.2); border: 1px solid rgba(201,160,64,0.4);
  color: var(--accent-light); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero p {
  color: rgba(255,255,255,0.88); font-size: 1.15rem; margin-bottom: 2rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
  background: rgba(26,26,46,0.8); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; divide: var(--border);
}
.hero-stat {
  flex: 1; text-align: center; padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .stat-num {
  font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700;
  color: var(--accent); display: block;
}
.hero-stat .stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Property Hero (inner pages) ── */
.property-hero {
  position: relative; height: 55vh; min-height: 380px;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center; overflow: hidden;
}
.property-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 60%);
}
.property-hero-content {
  position: relative; z-index: 1;
  padding: 2rem; color: var(--white); max-width: var(--max-w-wide); margin: 0 auto; width: 100%;
}
.property-hero-content h1 { color: var(--white); }
.property-hero-content .property-meta {
  display: flex; gap: 1.5rem; margin-top: 0.75rem; flex-wrap: wrap;
}
.property-meta-item {
  display: flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500;
}
.property-meta-item i { color: var(--accent); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 50%, var(--primary) 100%);
  padding: 4rem 0 3rem; color: var(--white);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.4); }

/* ── Property Cards ── */
.property-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
  transition: var(--transition); border: 1px solid var(--border);
}
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.property-card-img {
  position: relative; height: 240px; overflow: hidden; background: var(--bg-dark);
}
.property-card-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.property-card:hover .property-card-img img { transform: scale(1.05); }
.property-card-badges {
  position: absolute; top: 0.75rem; left: 0.75rem;
  display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.property-card-fav {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 0.85rem; transition: var(--transition);
  cursor: pointer; border: none;
}
.property-card-fav:hover { background: var(--white); color: var(--primary); }
.property-card-body { padding: 1.5rem; }
.property-card-location {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-light); margin-bottom: 0.4rem;
}
.property-card-location i { color: var(--primary); margin-right: 0.25rem; }
.property-card-title {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
  color: var(--dark); margin-bottom: 0.75rem; line-height: 1.3;
}
.property-card-details {
  display: flex; gap: 1.25rem; padding: 0.75rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.property-detail {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 500; color: var(--text-light);
}
.property-detail i { color: var(--secondary); font-size: 0.9rem; }
.property-card-price {
  display: flex; align-items: center; justify-content: space-between;
}
.price-tag {
  font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--primary);
}
.price-tag span { font-size: 0.8rem; font-weight: 400; color: var(--text-light); }

/* ── Photo Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 350px 200px;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.gallery-hero-main { grid-row: 1 / 3; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-md);
  background: var(--bg-dark); cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(26,26,46,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 1.5rem; }
.gallery-view-all {
  position: relative; background: rgba(26,26,46,0.75);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem; color: var(--white);
  cursor: pointer; border-radius: var(--radius-md); overflow: hidden;
}
.gallery-view-all img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.gallery-view-all span { font-weight: 600; font-size: 1.1rem; z-index: 1; }
.gallery-view-all small { font-size: 0.8rem; opacity: 0.8; z-index: 1; }

/* ── Lightbox ── */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.95); z-index: 9999;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 85vh;
  border-radius: var(--radius-md); box-shadow: var(--shadow-xl);
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  color: var(--white); font-size: 1.5rem; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--white); font-size: 1.5rem; width: 52px; height: 52px;
  border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-caption {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.8); font-size: 0.9rem; white-space: nowrap;
}

/* ── Availability Calendar ── */
.calendar-wrapper {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-md); overflow: hidden;
  width: 100%; max-width: 100%; min-width: 0;
}
.calendar-header {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.calendar-header h3 { color: var(--white); font-size: 1.15rem; }
.calendar-nav {
  display: flex; gap: 0.75rem; align-items: center;
}
.calendar-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition); cursor: pointer;
  border: 2px solid rgba(255,255,255,0.3); padding: 0;
}
.calendar-nav button:hover {
  background: rgba(255,255,255,0.35);
  border-color: var(--white);
  transform: scale(1.1);
}
.calendar-nav button i {
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
}
.calendar-days-header {
  display: grid; grid-template-columns: repeat(7, 1fr);
  padding: 0.75rem 1rem 0.25rem;
  border-bottom: 1px solid var(--border);
}
.calendar-days-header span {
  text-align: center; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light);
}
.calendar-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  padding: 0.75rem 1rem 1rem; gap: 0.25rem;
  width: 100%; overflow: hidden;
}
.calendar-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: var(--transition); position: relative;
  min-width: 0; overflow: hidden;
}
.calendar-day.empty { cursor: default; }
.calendar-day.today,
.calendar-day.today.unavailable,
.calendar-day.today.available { font-weight: 700; background: #BBDEFB !important; color: #0D47A1 !important; cursor: default; }
.calendar-day.today::after { content: none; }
.calendar-day.available { background: #E8F5E9; color: #2D7D46; }
.calendar-day.available:hover { background: #2D7D46; color: var(--white); }
.calendar-day.unavailable { background: #FDE8E8; color: #C0392B; }
.calendar-day.unavailable { cursor: not-allowed; }
.calendar-day.selected { background: var(--primary); color: var(--white); }
.calendar-day.range { background: rgba(139,28,44,0.12); color: var(--primary); border-radius: 0; }
.calendar-legend {
  display: flex; gap: 1.5rem; padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border); background: var(--bg);
}
.legend-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; color: var(--text-light);
}
.legend-dot { width: 12px; height: 12px; border-radius: 3px; }
.legend-dot.available    { background: #E8F5E9; border: 1px solid #2D7D46; }
.legend-dot.unavailable  { background: #FDE8E8; border: 1px solid #C0392B; }
.legend-dot.today        { background: #BBDEFB; border: 2px solid #0D47A1; }
.legend-dot.range-start  { background: var(--secondary); }
.legend-dot.in-range     { background: rgba(30,52,114,0.15); border: 1px solid var(--secondary); }

/* Range / date-picker states */
.calendar-day.range-start { background: var(--secondary) !important; color: var(--white) !important; }
.calendar-day.range-end   { background: var(--secondary) !important; color: var(--white) !important; }
.calendar-day.in-range    { background: rgba(30,52,114,0.13); color: var(--secondary); border-radius: 4px; }
.calendar-day.in-range:hover { background: rgba(30,52,114,0.22); }

/* Status bar shown below calendar in range mode */
.calendar-status {
  padding: 0.65rem 1.25rem; font-size: 0.82rem;
  border-top: 1px solid var(--border); text-align: center; transition: var(--transition);
}
.calendar-status.hint      { color: var(--text-light); background: var(--bg); }
.calendar-status.selecting { color: var(--secondary); background: rgba(30,52,114,0.05); }
.calendar-status.confirmed { color: #2D7D46; background: #E8F5E9; font-weight: 600; }

/* ── Amenities List ── */
.amenities-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.amenity-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.85rem; background: var(--bg);
  border-radius: var(--radius-md); border: 1px solid var(--border);
  font-size: 0.875rem; font-weight: 500;
}
.amenity-item i { color: var(--accent); font-size: 1rem; width: 18px; }

/* ── Feature Boxes ── */
.feature-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border);
  text-align: center; transition: var(--transition);
}
.feature-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 64px; height: 64px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(201,160,64,0.15), rgba(201,160,64,0.05));
  color: var(--accent);
}
.feature-box h4 { margin-bottom: 0.5rem; }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--dark); margin-bottom: 0.4rem;
}
.form-label .required { color: var(--primary); margin-left: 2px; }
.form-control {
  width: 100%; padding: 0.7rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  background: var(--white); color: var(--text);
  font-size: 0.95rem; transition: var(--transition);
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none; border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(30,52,114,0.1);
}
.form-control::placeholder { color: #AFAFBF; }
.form-control.error { border-color: var(--error); }
.form-control.success { border-color: var(--success); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: 0.78rem; color: var(--text-light); margin-top: 0.3rem; }
.form-error { font-size: 0.78rem; color: var(--error); margin-top: 0.3rem; display: none; }
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-control { border-color: var(--error); }
.form-check {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.75rem 1rem; background: var(--bg);
  border-radius: var(--radius-md); border: 1.5px solid var(--border);
  margin-bottom: 0.75rem; cursor: pointer; transition: var(--transition);
}
.form-check:hover { border-color: var(--secondary); }
.form-check.has-error { border-color: var(--error); background: #FDE8E8; }
.form-check.has-error .form-check-text strong { color: var(--error); }
.form-check input[type="checkbox"],
.form-check input[type="radio"] { margin-top: 3px; accent-color: var(--secondary); flex-shrink: 0; }
.form-check-text { font-size: 0.9rem; }
.form-check-text strong { display: block; color: var(--dark); }
.form-check-text small { color: var(--text-light); font-size: 0.8rem; }
.form-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0; color: var(--text-light); font-size: 0.85rem;
}
.form-divider::before, .form-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.notice-box {
  padding: 1rem 1.25rem; border-radius: var(--radius-md);
  border-left: 3px solid; margin: 1rem 0; font-size: 0.875rem;
}
.notice-box.warning {
  background: #FFF8E1; border-color: var(--warning); color: #795548;
}
.notice-box.info {
  background: #E3EAF8; border-color: var(--secondary); color: var(--secondary-dark);
}
.notice-box.success {
  background: #E8F5E9; border-color: var(--success); color: var(--success);
}
.notice-box strong { display: block; margin-bottom: 0.25rem; }

/* ── Tabs ── */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 2rem; }
.tab-btn {
  padding: 0.75rem 1.5rem; font-size: 0.9rem; font-weight: 600;
  color: var(--text-light); border: none; background: transparent;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Testimonials ── */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-md); position: relative;
}
.testimonial-quote {
  font-size: 2.5rem; color: var(--accent); font-family: Georgia, serif;
  line-height: 1; margin-bottom: 0.5rem;
}
.testimonial-text { font-style: italic; color: var(--text); margin-bottom: 1.25rem; }
.testimonial-stars { color: var(--accent); margin-bottom: 0.75rem; font-size: 0.9rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.testimonial-info strong { display: block; color: var(--dark); font-size: 0.9rem; }
.testimonial-info span { color: var(--text-light); font-size: 0.8rem; }

/* ── Stats ── */
.stats-bar {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 60%, var(--primary) 100%);
  padding: 3rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  text-align: center;
}
.stat-item .stat-number {
  font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700;
  color: var(--accent); display: block; line-height: 1;
}
.stat-item .stat-label {
  color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-top: 0.4rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── Owner Profile ── */
.owner-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 2.5rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); text-align: center;
}
.owner-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--white); margin: 0 auto 1.25rem;
  border: 4px solid var(--accent);
}
.owner-card h3 { margin-bottom: 0.25rem; }
.owner-card .title { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }
.owner-card p { font-size: 0.95rem; }
.owner-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1.25rem; }
.owner-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.85rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600;
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
}
.owner-badge i { color: var(--accent); }

/* ── Lead Capture ── */
.lead-capture {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl); padding: 3rem; color: var(--white);
}
.lead-capture h2 { color: var(--white); margin-bottom: 0.75rem; }
.lead-capture p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.lead-form { display: flex; gap: 0.75rem; max-width: 500px; }
.lead-form input {
  flex: 1; padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1); color: var(--white);
  font-size: 0.95rem;
}
.lead-form input::placeholder { color: rgba(255,255,255,0.5); }
.lead-form input:focus { outline: none; border-color: rgba(255,255,255,0.6); }

/* ── Payment Info ── */
.payment-method {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; border: 1px solid var(--border);
  text-align: center; transition: var(--transition);
}
.payment-method:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.payment-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.payment-method h4 { margin-bottom: 0.25rem; }
.payment-method p { font-size: 0.85rem; }
.payment-handle { font-size: 1.1rem; font-weight: 700; color: var(--secondary); margin-top: 0.5rem; }

/* ── Alert / Toast ── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9998;
  background: var(--dark); color: var(--white);
  padding: 1rem 1.5rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: 0.75rem;
  transform: translateY(100px); opacity: 0; transition: var(--transition);
  max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 4px solid var(--success); }
.toast.error   { border-left: 4px solid var(--error); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-icon.success { color: var(--success); }
.toast-icon.error   { color: var(--error); }

/* ── Modal ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 8000;
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto; animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header {
  padding: 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { margin: 0; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  color: var(--text-light); cursor: pointer; transition: var(--transition);
}
.modal-close:hover { background: var(--bg-dark); color: var(--text); }
.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1.25rem 1.5rem; border-top: 1px solid var(--border);
  display: flex; gap: 0.75rem; justify-content: flex-end;
}

/* ── Map ── */
.map-embed {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); height: 360px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ── Info Cards (property details sidebar) ── */
.info-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; margin-bottom: 1.5rem;
}
.info-card-header {
  padding: 1rem 1.25rem; background: var(--secondary);
  display: flex; align-items: center; gap: 0.5rem;
}
.info-card-header h4 { color: var(--white); margin: 0; font-size: 1rem; }
.info-card-header i { color: var(--accent); }
.info-card-body { padding: 1.25rem; }
.info-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 0.6rem 0; border-bottom: 1px solid var(--border); gap: 1rem;
}
.info-row:last-child { border-bottom: none; }
.info-label { font-size: 0.85rem; color: var(--text-light); white-space: nowrap; }
.info-value { font-size: 0.875rem; font-weight: 600; color: var(--dark); text-align: right; }

/* ── Listing Platforms ── */
.platform-logos {
  display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap;
}
.platform-logo {
  padding: 0.75rem 1.25rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 700; color: var(--text);
  transition: var(--transition);
}
.platform-logo:hover { border-color: var(--secondary); color: var(--secondary); box-shadow: var(--shadow-sm); }

/* ── Fair Housing ── */
.fair-housing-notice {
  background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.25rem;
  display: flex; align-items: flex-start; gap: 1rem; font-size: 0.82rem;
}
.fair-housing-badge {
  flex-shrink: 0; width: 52px; height: 52px;
  border-radius: var(--radius-sm); background: var(--secondary);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); line-height: 1.1;
}
.fair-housing-badge .fh-top { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.05em; }
.fair-housing-badge .fh-main { font-size: 1.1rem; font-weight: 900; }
.fair-housing-text strong { display: block; margin-bottom: 0.2rem; }
.fair-housing-text { color: var(--text-light); }

/* ── Admin ── */
.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}
.admin-login-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 2.5rem; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-xl);
}
.admin-sidebar {
  width: 260px; flex-shrink: 0; background: var(--dark);
  height: 100vh; position: fixed; top: 0; left: 0;
  display: flex; flex-direction: column; overflow-y: auto;
}
.admin-logo {
  padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-logo img { height: 40px; filter: brightness(10); }
.admin-nav { padding: 1rem; flex: 1; }
.admin-nav-section { margin-bottom: 1.5rem; }
.admin-nav-section h6 {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  padding: 0 0.5rem; margin-bottom: 0.4rem;
}
.admin-nav a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 0.75rem; border-radius: var(--radius-md);
  color: rgba(255,255,255,0.65); font-size: 0.875rem;
  transition: var(--transition); margin-bottom: 0.15rem;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,0.1); color: var(--white);
}
.admin-nav a i { width: 16px; }
.admin-main {
  margin-left: 260px; min-height: 100vh; background: var(--bg);
}
.admin-header {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.admin-content { padding: 2rem; }
.admin-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
}
.admin-card-header {
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-card-header h3 { margin: 0; font-size: 1.05rem; }
.admin-card-body { padding: 1.5rem; }
.admin-stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  margin-bottom: 2rem;
}
.admin-stat {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 1.5rem;
}
.admin-stat .num {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
  display: block; color: var(--primary);
}
.admin-stat .label { font-size: 0.8rem; color: var(--text-light); }
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left; padding: 0.75rem 1rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-light); background: var(--bg); border-bottom: 1px solid var(--border);
}
td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg); }

/* ── Footer ── */
footer {
  background: var(--dark); color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand img { height: 88px; filter: brightness(10); }
.footer-brand .brand-name { font-family: var(--font-heading); font-size: 1.1rem; color: var(--white); }
.footer-brand .brand-sub { font-size: 0.65rem; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-col h5 { color: var(--white); font-size: 0.9rem; margin-bottom: 1.25rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.5rem;
  color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 0.75rem;
}
.footer-contact-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--transition);
}
.social-btn:hover { background: var(--accent); color: var(--dark); }

/* ── Utilities ── */
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.gap-2 { gap: 0.5rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; }
.text-primary   { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent    { color: var(--accent) !important; }
.text-muted     { color: var(--text-light) !important; }
.bg-primary   { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-accent    { background: var(--accent); }
.bg-light     { background: var(--bg); }
.bg-dark      { background: var(--dark); }
.bg-white     { background: var(--white); }
.rounded-lg { border-radius: var(--radius-lg); }
.border     { border: 1px solid var(--border); }
.shadow-md  { box-shadow: var(--shadow-md); }
.p-4  { padding: 1rem; }    .p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }    .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.font-heading { font-family: var(--font-heading); }
.fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; }
.d-none { display: none; }
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }

/* ── Animations ── */
.fade-in { animation: fadeIn 0.6s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.slide-up { animation: slideUp 0.5s ease both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  /* ── Navigation ── */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* ── Grids ── */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* ── Hero ── */
  .hero {
    min-height: 75vh;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }
  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-eyebrow { font-size: 0.72rem; padding: 0.35rem 0.75rem; }

  /* Hero stats: drop below buttons as a full-width bar */
  .hero-stats {
    position: static;
    background: rgba(26,26,46,0.95);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    flex-shrink: 0;
  }
  .hero-stat {
    padding: 0.85rem 0.25rem;
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: none;
  }
  .hero-stat:last-child { border-right: none; }
  .hero-stat .stat-num { font-size: 1.2rem; }
  .hero-stat .stat-label { font-size: 0.65rem; }

  /* ── Available Banners ── */
  .available-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .available-banner .btn { align-self: stretch; text-align: center; justify-content: center; }

  /* ── Lead Capture (Waitlist / Notify section) ── */
  .lead-capture { padding: 2rem 1.25rem; }
  .lead-capture > div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.75rem !important;
  }
  .lead-form {
    flex-direction: column;
    max-width: 100%;
  }
  .lead-form input[style*="width:140px"] {
    width: 100% !important;
    flex: 1 !important;
  }

  /* ── Sections ── */
  .section { padding: 3rem 0; }
  .section-sm { padding: 2rem 0; }
  .section-header { margin-bottom: 2.5rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* ── Stats bar ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Gallery ── */
  .gallery-hero { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-hero-main { grid-row: auto; }

  /* ── Property card details ── */
  .property-card-details { flex-wrap: wrap; gap: 0.75rem; }

  /* ── Property hero (inner pages) ── */
  .property-hero { height: 45vh; min-height: 280px; }

  /* ── Admin ── */
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }

  /* ── CTA banner buttons ── */
  .cta-banner div[style*="display:flex"] {
    flex-direction: column !important;
    align-items: center !important;
  }
  .cta-banner .btn { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 480px) {
  /* ── Typography ── */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.2rem; }

  /* ── Hero ── */
  .hero { min-height: 70vh; }
  .hero p { font-size: 0.95rem; }
  .hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.08em; }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-btns .btn { width: 100%; justify-content: center; }

  /* ── Container padding ── */
  .container, .container-wide { padding: 0 1rem; }

  /* ── Lead capture ── */
  .lead-capture { padding: 1.5rem 1rem; border-radius: var(--radius-lg); }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item .stat-number { font-size: 2rem; }

  /* ── Tabs ── */
  .tabs { flex-wrap: wrap; }
  .tab-btn { padding: 0.6rem 1rem; font-size: 0.82rem; }

  /* ── Calendar ── */
  .calendar-grid { gap: 0; }
  .calendar-day { font-size: 0.78rem; }
  .calendar-legend { flex-wrap: wrap; gap: 0.75rem; }

  /* ── Admin ── */
  .admin-stat-grid { grid-template-columns: 1fr; }

  /* ── Property card image height ── */
  .property-card-img { height: 200px; }

  /* ── Page hero ── */
  .page-hero { padding: 2.5rem 0 2rem; }

  /* ── Footer bottom links ── */
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
}
