@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Raleway:wght@700;800;900&display=swap');

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

:root {
  --navy: #0C234B;
  --navy-dark: #071a38;
  --red: #CC0033;
  --bg: #f4f6fa;
  --card: #ffffff;
  --border: #e2e6ef;
  --text: #111827;
  --muted: #6b7280;
  --radius: 14px;
}

html {
  scroll-behavior: smooth;
}

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  padding-bottom: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ===== HEADER ===== */

.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 20px rgba(0,0,0,0.28);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px 12px 10px;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ua-logo {
  height: 46px;
  width: auto;
  display: block;
  border-radius: 6px;
  flex-shrink: 0;
}

.hero-logo {
  width: 150px;
  height: auto;
  margin: 0 auto 22px;
  border-radius: 12px;
  display: block;
}

.site-header h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

.subtitle {
  font-size: 0.74rem;
  margin: 3px 0 0;
  color: rgba(255,255,255,0.48);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.nav { display: flex; gap: 8px; flex-wrap: nowrap; justify-content: flex-end; align-items: center; }

.nav-bubble {
  background: rgba(255,255,255,0.09);
  padding: 7px 16px;
  border-radius: 999px;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 0.86rem;
  border: 1px solid rgba(255,255,255,0.16);
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.1px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-bubble:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ===== HERO ===== */

.hero-welcome {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
  text-align: center;
  padding: 44px 24px 36px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/backgroundPhoto.jpeg') center/cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

/* Gradient fade at bottom for depth */
.hero-welcome::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(7,26,56,0.55) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero-welcome h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.4px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin: 0 auto 34px;
  max-width: 560px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 0.97rem;
  box-shadow: 0 6px 22px rgba(204,0,51,0.44);
  transition: transform 0.18s, box-shadow 0.18s;
  display: inline-block;
  letter-spacing: 0.1px;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(204,0,51,0.56);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 0.97rem;
  border: 1.5px solid rgba(255,255,255,0.24);
  transition: background 0.18s, color 0.18s;
  display: inline-block;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

/* ===== LISTINGS ===== */

.listings-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 28px 56px;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 26px;
}

.property-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  color: inherit;
}

@media (hover: hover) and (pointer: fine) {
  .property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  }
  .property-card:hover .cover-image { transform: scale(1.04); }
  .property-card:hover .card-cta { background: var(--navy-dark); }
}

.property-images {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #dde0e8;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-images-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(7,26,56,0.52) 100%);
  pointer-events: none;
}

.property-info {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.property-title-card {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.availability-tag {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.73rem;
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
  box-shadow: 0 3px 10px rgba(204,0,51,0.3);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.property-price {
  font-size: 1.65rem;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.property-price span {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}

.property-specs {
  display: flex;
  gap: 7px;
}

.spec {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  padding: 4px 11px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.property-address {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
}

.property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: #eef2ff;
  border: 1px solid #dde5ff;
  color: #3b4a9b;
  padding: 4px 10px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.78rem;
}

.card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px;
  border-radius: 10px;
  margin-top: 6px;
  transition: background 0.18s;
  letter-spacing: 0.2px;
}

/* ===== ABOUT ===== */

.about-section {
  background: #fff;
  padding: 68px 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.about-body {
  font-size: 1.02rem;
  color: #374151;
  line-height: 1.75;
  margin: 0;
  max-width: 680px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin: 0 0 10px;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 28px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.about-content {
  display: flex;
  gap: 44px;
  align-items: center;
  flex-wrap: wrap;
}

.family-photo {
  width: 300px;
  max-width: 100%;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 14px 32px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;
  min-width: 260px;
  color: #374151;
  font-size: 1.02rem;
  line-height: 1.72;
}

.about-text p { margin: 0 0 16px; }
.about-text p:last-child { margin-bottom: 0; }

/* ===== WHAT'S INCLUDED ===== */

.included-section {
  background: #fff;
  padding: 68px 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.included-wrap {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.included-wrap .section-title {
  margin-bottom: 32px;
}

.included-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.included-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef2ff;
  border: 1px solid #dde5ff;
  color: #3b4a9b;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
}

.inc-check {
  color: var(--red);
  font-weight: 900;
  font-size: 0.85rem;
}

/* ===== INFO FOOTER ===== */

.info-footer {
  background: var(--navy);
  color: #fff;
  padding: 32px 28px 40px;
}

.info-footer-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.info-col h2 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.38);
  margin: 0 0 16px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.18s;
}

.contact-link:hover { background: rgba(255,255,255,0.16); }

.zillow-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zillow-btn {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.18s, color 0.18s;
}

.zillow-btn:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.schedule-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(204,0,51,0.38);
  transition: transform 0.18s, box-shadow 0.18s;
  letter-spacing: 0.1px;
}

.schedule-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(204,0,51,0.5);
}

/* ===== SITE FOOTER ===== */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.32);
  padding: 28px 28px 36px;
  text-align: center;
  font-size: 0.84rem;
  letter-spacing: 0.2px;
}
.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-contact-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.18s;
}
.footer-contact-link:hover { color: #fff; }
.footer-divider { color: rgba(255,255,255,0.25); }
.footer-copy { margin: 0; }

/* ===== FLOATING CTA ===== */

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 8px 28px rgba(204,0,51,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.18s, box-shadow 0.18s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  letter-spacing: 0.1px;
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(204,0,51,0.6);
}

/* ===== NAV CALL BUTTON ===== */

.nav-call {
  background: var(--red);
  color: #fff;
  padding: 7px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 4px 14px rgba(204,0,51,0.36);
  transition: transform 0.18s, box-shadow 0.18s;
  letter-spacing: 0.1px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(204,0,51,0.48);
}

/* ===== HERO STATS BAR ===== */

.hero-stats {
  display: flex;
  margin: 28px auto 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  overflow: hidden;
  max-width: 560px;
}

.hero-stat {
  flex: 1;
  padding: 16px 10px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.hero-stat:last-child { border-right: none; }

.hs-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.3px;
}

.hs-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 5px;
}

/* ===== LISTINGS HEADER ===== */

.listings-header {
  margin-bottom: 32px;
}

/* ===== PRICE NOTE ===== */

.price-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: -4px 0 0;
  font-weight: 500;
}

/* ===== AVAILABILITY TAG VARIANTS ===== */

.availability-tag.tag-open {
  background: #16a34a;
  box-shadow: 0 3px 10px rgba(22,163,74,0.28);
}

.availability-tag.tag-limited {
  background: #d97706;
  box-shadow: 0 3px 10px rgba(217,119,6,0.28);
}

/* ===== WHY US SECTION ===== */

.why-us-section {
  background: var(--navy);
  padding: 56px 28px 48px;
}

.why-us-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label-light {
  color: rgba(255,255,255,0.5);
}

.section-title-light {
  color: #fff;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px;
}

.why-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.why-card-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin: 0;
}

/* ===== CONTACT SECTION HEADER ===== */

.contact-section-header {
  max-width: 1100px;
  margin: 0 auto 20px;
}

/* ===== DETAIL PAGE SHARED ===== */

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

.detail-hero {
  background: #fff;
  padding: 32px 0 44px;
  border-bottom: 1px solid var(--border);
}

.detail-headline-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.detail-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}

.detail-subtitle {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 500;
  margin: 0;
}

.back-bubble {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.back-bubble:hover {
  background: #eef0f8;
  border-color: #c8ccdf;
}

/* ===== SLIDER ===== */

.slider-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.48);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.slider-btn:hover { background: rgba(0,0,0,0.72); }
.slider-btn.left { left: 14px; }
.slider-btn.right { right: 14px; }

.slider-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0,0,0,0.54);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.5px;
}

/* ===== DETAIL INFO SECTION ===== */

.detail-info-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.detail-stats-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 24px;
  min-width: 110px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex: 1;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.4px;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 5px;
  display: block;
}

.stat-pill.price .stat-value { color: var(--red); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 40px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.amenity-check {
  color: var(--red);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

.detail-cta-section {
  background: var(--navy);
  border-radius: 18px;
  padding: 42px 36px;
  text-align: center;
  color: #fff;
}

.detail-cta-section h3 {
  margin: 0 0 10px;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.detail-cta-section p {
  color: rgba(255,255,255,0.66);
  margin: 0 0 28px;
  font-size: 1rem;
}

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

.cta-btn-primary {
  background: var(--red);
  color: #fff;
  font-weight: 900;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(204,0,51,0.42);
  transition: transform 0.15s;
  display: inline-block;
}

.cta-btn-primary:hover { transform: translateY(-2px); }

.cta-btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: background 0.15s;
  display: inline-block;
}

.cta-btn-secondary:hover { background: rgba(255,255,255,0.18); }

/* ===== DETAIL PAGE v2 — TWO COLUMN ===== */

.detail-page {
  background: var(--bg);
  padding: 28px 24px 60px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-nav-row {
  display: flex;
  align-items: center;
}

/* Right sticky info panel */
.detail-panel {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 26px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-panel-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.12;
}

.detail-panel-address {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  margin: -6px 0 0;
}

.detail-panel-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1;
}

.detail-panel-price span {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}

.detail-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.quick-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 6px;
  text-align: center;
}

.qs-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.qs-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 4px;
}

.detail-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.detail-panel-desc {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.7;
  margin: 0;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-tag {
  background: #eef2ff;
  border: 1px solid #dde5ff;
  color: #3b4a9b;
  padding: 4px 10px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.76rem;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 2px;
}

.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(204,0,51,0.34);
  transition: transform 0.18s, box-shadow 0.18s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  letter-spacing: 0.1px;
}

.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204,0,51,0.46);
}

.btn-email {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  transition: background 0.18s, border-color 0.18s;
}

.btn-email:hover {
  background: #edf0ff;
  border-color: #b8c3f5;
}

.zillow-ref {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  gap: 4px;
  transition: color 0.18s;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(107,114,128,0.4);
}

.zillow-ref:hover { color: var(--navy); }

/* ===== MAP EMBED ===== */

.map-embed {
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  z-index: 0;
  position: relative;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Leaflet map popup overrides */
.leaflet-popup-content-wrapper {
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14) !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  border: 1px solid var(--border) !important;
  padding: 0 !important;
}
.leaflet-popup-content {
  font-size: 0.84rem !important;
  line-height: 1.55 !important;
  color: var(--text) !important;
  margin: 14px 16px !important;
}
.leaflet-popup-content strong { color: var(--navy); }
.leaflet-popup-content a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.leaflet-popup-content a:hover { color: var(--red); }
.leaflet-popup-tip { background: #fff !important; }
.leaflet-container { font-family: 'Inter', -apple-system, sans-serif !important; }
.leaflet-control-zoom a {
  font-family: 'Inter', -apple-system, sans-serif !important;
  color: var(--navy) !important;
  border-color: var(--border) !important;
}

@media (max-width: 680px) {
  .map-embed { height: 220px; }
}

/* ===== LIGHTBOX ===== */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 94vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
  line-height: 1;
}

.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ===== RESPONSIVE ===== */

/* Desktop: info panel on top, carousel below */
@media (min-width: 921px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-panel {
    order: -1;
    position: static;
    display: grid;
    grid-template-columns: 300px 1fr;
    column-gap: 48px;
    row-gap: 12px;
    align-items: start;
  }
  .detail-panel .detail-panel-desc {
    grid-column: 2;
    grid-row: 1 / span 5;
    align-self: start;
  }
  .detail-panel > .detail-divider:first-of-type {
    display: none;
  }
  .detail-panel > .detail-divider,
  .detail-panel .detail-tags,
  .detail-panel .map-embed,
  .detail-panel .detail-actions {
    grid-column: 1 / -1;
  }
}

/* Tablet / iPad */
@media (max-width: 920px) {
  .detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .detail-panel { position: static; }
}

@media (max-width: 680px) {
  .hero-logo { width: 110px; margin-bottom: 16px; }
  .ua-logo { height: 32px; }
  .site-header h1 { font-size: 0.95rem; letter-spacing: 1px; }
  .subtitle { display: none; }
  .header-content { padding: 10px 16px 10px 10px; gap: 10px; }
  .hero-welcome { padding: 32px 20px 28px; }
  .hero-welcome h2 { font-size: 1.85rem; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 0.98rem; }

  .listings-section { padding: 32px 18px 40px; }
  .listings-grid { grid-template-columns: 1fr; }

  .hero-stats { max-width: 100%; margin-top: 24px; }
  .hs-value { font-size: 1rem; }

  .why-us-section { padding: 48px 20px; }
  .why-us-grid { grid-template-columns: 1fr; }

  .contact-section-header { margin-bottom: 28px; }

  .about-section { padding: 48px 20px; }
  .about-content { flex-direction: column; }
  .family-photo { width: 100%; }

  .info-footer { padding: 28px 20px 36px; }
  .info-footer-wrap { grid-template-columns: 1fr; gap: 20px; }

  .detail-hero { padding: 22px 0 32px; }
  .detail-headline-row { flex-direction: column; }
  .slider-card { aspect-ratio: 4/3; max-height: 300px; }

  .detail-info-section { padding: 28px 18px 48px; }
  .detail-stats-bar { gap: 8px; }
  .stat-pill { padding: 12px 14px; min-width: 80px; }
  .stat-value { font-size: 1.25rem; }

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

  .detail-cta-section { padding: 30px 20px; }
  .detail-cta-section h3 { font-size: 1.35rem; }

  /* two-column detail → single column on mobile */
  .detail-page { padding: 18px 16px 52px; }
  .detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .detail-panel { position: static; padding: 20px; }
  .detail-quick-stats { grid-template-columns: repeat(3, 1fr); }
  .detail-panel-title { font-size: 1.3rem; }
  .detail-panel-price { font-size: 1.7rem; }
}

/* ===== TOUCH-FRIENDLY INTERACTIVE ELEMENTS ===== */

.property-card,
.contact-link,
.zillow-btn,
.schedule-btn,
.btn-email,
.zillow-ref,
.card-cta,
.footer-contact-link {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ===== VERY SMALL PHONES (≤390px) ===== */

@media (max-width: 390px) {
  .nav-bubble,
  .nav-call {
    font-size: 0.78rem;
    padding: 7px 12px;
  }
  .hs-label,
  .qs-label {
    font-size: 0.72rem;
  }
  .hs-value,
  .qs-value {
    font-size: 1rem;
  }
  .site-header h1 {
    font-size: 0.92rem;
    letter-spacing: 1px;
  }
}
