/* ========================================
   STAY NASHVILLE — Premium Design System
   ======================================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

/* --- Design Tokens --- */
:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Warm dark palette */
  --page-bg:    #0A0807;
  --section-bg: #111009;
  --card-bg:    #1C1814;
  --card-elevated: #252018;

  /* Champagne gold */
  --gold:       #C9A84C;
  --gold-light: #E0C06A;
  --gold-dark:  #A8872E;
  --gold-10:    rgba(201,168,76,0.10);
  --gold-20:    rgba(201,168,76,0.20);

  /* Text */
  --text-primary:   #F2EDE4;
  --text-secondary: rgba(242,237,228,0.55);
  --text-tertiary:  rgba(242,237,228,0.32);

  /* Borders */
  --border: rgba(242,237,228,0.07);
  --border-gold: rgba(201,168,76,0.22);

  /* Radius */
  --r-pill: 999px;
  --r-card: 24px;
  --r-inner: 18px;
  --r-sm: 12px;
  --r-xs: 8px;

  /* Motion */
  --ease-expo:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-cinematic: cubic-bezier(0.32, 0.72, 0, 1);

  /* Spacing */
  --section-px: 56px;
  --section-py: 96px;
  --gap: 14px;

  /* Legacy aliases used throughout HTML */
  --color-gold:        var(--gold);
  --color-gold-light:  var(--gold-light);
  --color-primary:     var(--text-primary);
  --color-secondary:   var(--text-secondary);
  --color-accent:      var(--gold);
  --color-page-bg:     var(--page-bg);
  --color-section-bg:  var(--section-bg);
  --color-card-bg:     var(--card-bg);
  --color-separator:   var(--border);
  --radius:            var(--r-card);
  --radius-sm:         var(--r-inner);
  --radius-xs:         var(--r-sm);
  --transition-ease-out: var(--ease-expo);
  --transition-bounce:   var(--ease-spring);
}

/* --- Base --- */
html {
  background: var(--page-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Film-grain texture — fixed, GPU-safe, pointer-events-none */
html::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--page-bg);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.01em;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0;
  padding-top: 88px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* --- Typography --- */
h1,h2,h3,h4,h5 { color: var(--text-primary); font-weight: 600; }

h1 {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 68px;
  letter-spacing: -0.03em;
  font-weight: 600;
}
h2 {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 48px;
  letter-spacing: -0.03em;
}
h3 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 34px;
}
h4 {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 25px;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h5 {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s var(--ease-expo); }
a:hover { color: var(--text-primary); }
img { max-width: 100%; display: block; }

/* --- Sections --- */
.section {
  background: var(--section-bg);
  border-radius: var(--r-card);
  padding: var(--section-py) var(--section-px);
  overflow: visible;
  position: relative;
  border: 1px solid var(--border);
}

/* --- Eyebrow label pill --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: var(--gold-10);
  border: 1px solid var(--border-gold);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}

.section-heading { max-width: 680px; margin: 0 auto 18px; }
.section-center { text-align: center; }
.section-desc {
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 16px;
  line-height: 27px;
}

/* ===========================
   NAV — Floating Glass Pill
   =========================== */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1180px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 16px;
  border-radius: var(--r-pill);
  background: rgba(11,9,7,0.72);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  z-index: 200;
  transition: background 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
}

.nav.scrolled {
  background: rgba(10,8,6,0.95);
  box-shadow: 0 8px 48px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 60%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: opacity 0.25s var(--ease-expo);
}
.nav-logo:hover { opacity: 0.8; }

.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #000; font-size: 11px; font-weight: 800; font-style: normal;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(201,168,76,0.3);
  -webkit-text-fill-color: #000;
}

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }

.nav-links a {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  position: relative; padding-bottom: 2px;
  transition: color 0.25s var(--ease-expo);
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 0.35s var(--ease-spring);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  color: #000 !important;
  padding: 9px 20px; border-radius: var(--r-pill);
  font-weight: 700 !important; font-size: 13px; border: none; cursor: pointer;
  font-family: var(--font-body) !important; line-height: 1; letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(201,168,76,0.2);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-expo) !important;
}
.nav-cta:hover { transform: scale(1.05) !important; box-shadow: 0 8px 32px rgba(201,168,76,0.35) !important; }

.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-sep { width: 1px; height: 18px; background: var(--border); flex-shrink: 0; }

.nav-phone {
  color: var(--text-secondary); font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  text-decoration: none; transition: color 0.25s var(--ease-expo);
  letter-spacing: 0.01em;
}
.nav-phone:hover { color: var(--gold); }

.nav-toggle {
  display: none; background: none;
  border: 1px solid var(--border); color: var(--text-primary);
  font-size: 16px; padding: 7px 12px; border-radius: var(--r-sm); cursor: pointer;
}

/* Mobile nav overlay */
.nav-links.open {
  display: flex; flex-direction: column;
  position: fixed; top: 84px; left: 20px; right: 20px;
  background: rgba(10,8,6,0.97);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 12px 0 24px; gap: 0; z-index: 199;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.nav-links.open li { border-bottom: 1px solid var(--border); }
.nav-links.open li:last-child { border-bottom: none; }
.nav-links.open a { display: block; padding: 14px 28px; font-size: 16px; color: var(--text-secondary); }
.nav-links.open a:hover { color: var(--gold); background: var(--gold-10); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 130px var(--section-px) 100px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 88dvh;
  border-radius: var(--r-card);
}

.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; opacity: 0.72; pointer-events: none;
}

.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(10,8,6,0.12) 0%, rgba(10,8,6,0.38) 45%, rgba(10,8,6,0.82) 100%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 800px; animation: fadeInUp 0.9s var(--ease-expo) forwards; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 700;
  color: var(--gold); padding: 5px 16px; border-radius: var(--r-pill);
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.22);
  margin-bottom: 32px; text-transform: uppercase; letter-spacing: 0.12em;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold); }

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px; line-height: 30px; color: var(--text-secondary);
  max-width: 520px; margin: 0 auto 44px;
}

.hero-buttons { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 56px;
  padding-top: 40px; border-top: 1px solid var(--border);
}

.stat { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700; color: var(--gold);
  display: block; line-height: 1.1; letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 11px; color: var(--text-tertiary); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.09em;
}

/* Hero owner pill */
.hero-owner-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px; padding: 11px 20px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  font-family: var(--font-body); font-size: 13.5px; color: var(--text-secondary);
  cursor: pointer; text-decoration: none;
  transition: background 0.3s var(--ease-expo), border-color 0.3s, color 0.3s;
}
.hero-owner-cta:hover { background: rgba(255,255,255,0.08); border-color: var(--border-gold); color: var(--text-primary); }
.hero-owner-cta .owner-link-arrow { color: var(--gold); font-weight: 700; transition: transform 0.3s var(--ease-spring); }
.hero-owner-cta:hover .owner-link-arrow { transform: translateX(4px); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-expo), background 0.25s var(--ease-expo);
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #000;
  box-shadow: 0 4px 24px rgba(201,168,76,0.22);
}
.btn-primary:hover { box-shadow: 0 8px 36px rgba(201,168,76,0.38); }

.btn-secondary {
  background: #c0392b; color: #fff; border: none; border-color: #c0392b;
  box-shadow: 0 4px 20px rgba(192,57,43,0.25);
}
.btn-secondary:hover { background: #e74c3c; box-shadow: 0 8px 32px rgba(192,57,43,0.38); }

.btn-dark {
  background: rgba(255,255,255,0.06); color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-dark:hover { background: rgba(255,255,255,0.1); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

/* ===========================
   SHOWCASE CAROUSEL
   =========================== */
.showcase { display: flex; flex-direction: column; gap: 24px; }
.showcase-text { max-width: 580px; }
.showcase h2 { margin-bottom: 16px; }
.showcase-image {
  border-radius: var(--r-inner); overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.showcase-image img { width: 100%; display: block; }

#showcase { padding-top: 60px; padding-bottom: 0; }
.showcase-header { text-align: center; margin-bottom: 36px; }
.showcase-wrapper { position: relative; overflow: hidden; border-radius: var(--r-inner); }
.showcase-carousel { display: flex; transition: transform 0.7s var(--ease-cinematic); }
.showcase-slide { min-width: 100%; }
.showcase-slide img { width: 100%; height: 540px; object-fit: cover; display: block; }

.showcase-btn.prev,
.showcase-btn.next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(10,8,6,0.62); border: 1px solid var(--border);
  color: var(--text-primary); border-radius: 50%;
  width: 46px; height: 46px; font-size: 18px; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease-expo), transform 0.3s var(--ease-spring), border-color 0.25s;
}
.showcase-btn.prev { left: 16px; }
.showcase-btn.next { right: 16px; }
.showcase-btn.prev:hover,
.showcase-btn.next:hover {
  background: rgba(201,168,76,0.15); border-color: var(--border-gold);
  transform: translateY(-50%) scale(1.08);
}

#showcase-counter {
  position: absolute; bottom: 16px; right: 20px;
  background: rgba(10,8,6,0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--text-secondary); font-family: var(--font-body);
  font-size: 12px; padding: 4px 12px; border-radius: 20px;
  border: 1px solid var(--border);
}

/* ===========================
   LISTINGS & FILTER TABS
   =========================== */
.listings-note { font-size: 0.85em; opacity: 0.5; }

.prop-filter-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin: 36px 0 20px; padding: 0 16px;
}

.prop-tab {
  padding: 8px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--border-gold); background: var(--gold-10);
  color: var(--text-tertiary); font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600; cursor: pointer;
  letter-spacing: 0.03em; white-space: nowrap;
  transition: all 0.25s var(--ease-expo);
}
.prop-tab:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.14); transform: translateY(-2px); }
.prop-tab.active { background: var(--gold); color: #000; border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,168,76,0.3); transform: translateY(-2px); }

/* Property grid — column of horizontal scroll rows */
.neighborhoods-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 48px;
}

/* Each category row — 4 cards across, all visible */
.prop-group-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Group header — no longer needs grid-column */
.prop-group-header {
  padding: 28px 0 8px;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 4px;
  text-align: left;
  width: 100%;
}
.prop-group-header h3 {
  font-size: 1.15rem; font-weight: 600; color: var(--gold);
  margin: 0; letter-spacing: 0.03em;
  font-family: var(--font-display); font-style: italic;
}

/* Double-Bezel property cards */
.hood-card {
  background: var(--card-bg);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo), border-color 0.4s;
  display: flex; flex-direction: column;
  will-change: transform;
  padding: 5px; padding-bottom: 0;
}
.hood-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.55), 0 0 0 1px var(--border-gold);
  border-color: var(--border-gold);
}

/* Inner carousel — bezel inset */
.carousel-container {
  position: relative; width: 100%; overflow: hidden;
  height: 340px;
  border-radius: 18px;
}
.carousel-track {
  display: flex; height: 100%;
  transition: transform 0.38s var(--ease-cinematic); width: 100%;
}
.carousel-track img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.52); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: white; border: 1px solid rgba(255,255,255,0.12);
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2; font-size: 11px;
  transition: background 0.2s var(--ease-expo), transform 0.3s var(--ease-spring), border-color 0.2s;
}
.carousel-btn:hover { background: rgba(201,168,76,0.22); border-color: var(--border-gold); transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

.hood-card-body { padding: 18px 16px; flex-grow: 1; }
.hood-card h4 { margin-bottom: 6px; }
.hood-card p { font-size: 13px; line-height: 20px; color: var(--text-tertiary); }

/* Card mini-actions */
.card-actions-mini {
  display: flex; justify-content: space-between;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}
.card-airbnb-link {
  color: #FF5A5F; display: flex; align-items: center;
  gap: 5px; font-size: 12.5px; font-weight: 600; text-decoration: none; transition: opacity 0.2s;
}
.card-airbnb-link:hover { opacity: 0.72; }
.airbnb-logo { height: 20px; width: auto; object-fit: contain; }
.card-maps-link {
  color: #22d3ee; display: flex; align-items: center;
  gap: 5px; font-size: 12.5px; font-weight: 600; text-decoration: none; transition: opacity 0.2s;
}
.card-maps-link:hover { opacity: 0.72; }

/* Per-card book buttons */
.prop-book-btn {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  width: calc(100% - 28px); margin: 0 14px 14px;
  padding: 12px 24px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  cursor: pointer; border: none; box-sizing: border-box; text-decoration: none;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s var(--ease-expo), background 0.25s;
}
.prop-book-btn:hover { transform: scale(1.03); }

button.prop-book-btn {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #000;
}
button.prop-book-btn:hover { box-shadow: 0 8px 28px rgba(201,168,76,0.32); }

a.prop-book-btn { background: #c0392b !important; color: #fff !important; }
a.prop-book-btn:hover { background: #e74c3c !important; box-shadow: 0 8px 28px rgba(192,57,43,0.32) !important; }

/* Group headers */
.hood-card { position: relative; }
.prop-owner-badge { display: none; }

.prop-group-header {
  grid-column: 1 / -1; padding: 32px 0 8px;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 10px; text-align: center; width: 100%;
}
.prop-group-header h3 {
  font-size: 1.3rem; font-weight: 600; color: var(--gold);
  margin: 0; letter-spacing: 0.04em;
  font-family: var(--font-display); font-style: italic;
}

/* ===========================
   MAP SEARCH
   =========================== */
#map-search {
  background: var(--page-bg); padding-top: 60px; padding-bottom: 60px;
  border-top: 1px solid var(--border); border-radius: var(--r-card);
}
.map-search-header { text-align: center; max-width: 800px; margin: 0 auto 32px; padding: 0 16px; }
.map-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 20px; }
.map-filters {
  display: flex; flex-wrap: wrap; gap: 14px;
  background: var(--card-bg); padding: 16px 20px;
  border-radius: var(--r-sm); border: 1px solid var(--border); align-items: center;
}
.filter-select {
  padding: 9px 12px; border-radius: var(--r-xs);
  background: var(--card-elevated); color: var(--text-primary);
  border: 1px solid var(--border); font-family: var(--font-body);
}
.filter-label { display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--text-secondary); font-size: 14px; }
.filter-cb { width: 16px; height: 16px; }
#property-map { height: 600px; border-radius: var(--r-inner); border: 1px solid var(--border); z-index: 1; }

/* Leaflet popups */
.leaflet-popup-content-wrapper {
  background: var(--card-bg); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
}
.leaflet-popup-tip { background: var(--card-bg); }
.leaflet-popup-content { margin: 10px; line-height: 1.4; }

.map-loc-popup { max-height: 460px; overflow-y: auto; width: 320px; padding-right: 8px; }
.map-loc-popup::-webkit-scrollbar { width: 4px; }
.map-loc-popup::-webkit-scrollbar-track { background: var(--card-bg); }
.map-loc-popup::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }

.map-loc-count {
  text-align: center; font-size: 11px; color: var(--gold); font-weight: 700;
  margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.map-prop-card img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--r-xs); margin-bottom: 10px; }
.map-prop-card h4 { font-size: 15px; margin: 0 0 4px; color: var(--gold); font-weight: 600; line-height: 1.3; }
.map-prop-card p { font-size: 12.5px; margin: 0 0 10px; color: var(--text-secondary); }

.map-popup-btn {
  width: 100%; display: inline-block; text-align: center;
  padding: 9px 14px; font-size: 13px; border-radius: var(--r-pill);
  font-weight: 600; cursor: pointer; border: none; text-decoration: none;
  box-sizing: border-box; font-family: var(--font-body);
}
.map-popup-btn.btn-primary { background: var(--gold); color: #000; }
.map-popup-btn.btn-secondary { background: #c0392b; color: #fff; }

.map-attraction-popup { text-align: center; padding: 4px 8px; min-width: 130px; }
.map-attraction-popup .attract-icon { font-size: 22px; display: block; margin-bottom: 3px; }
.map-attraction-popup strong { color: #22d3ee; font-size: 14px; }
.map-attraction-popup span { font-size: 11px; color: var(--text-secondary); display: block; margin-top: 2px; }

.map-legend {
  background: rgba(10,8,6,0.92); border: 1px solid var(--border);
  border-radius: var(--r-xs); padding: 8px 12px; color: var(--text-primary);
  font-size: 12px; line-height: 1.7;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.legend-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; background: #22d3ee; border: 2px solid #fff; flex-shrink: 0; }

/* ===========================
   SERVICES — 3D Carousel
   =========================== */
.services { text-align: center; }
.services-3d-wrap { position: relative; overflow: hidden; border-radius: var(--r-inner); }
.services-scene { perspective: 2000px; perspective-origin: 50% 50%; height: 420px; position: relative; }
.services-ring {
  width: 100%; height: 100%; position: relative;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease-cinematic);
}
.service-panel {
  position: absolute; width: 260px; height: 320px;
  left: 50%; top: 50%; margin-left: -130px; margin-top: -160px;
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(220px);
  background: var(--card-bg); border-radius: 20px; padding: 32px 24px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  backface-visibility: hidden; cursor: pointer; will-change: transform, opacity;
  transition: border-color 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo), opacity 0.5s var(--ease-expo);
}
.service-panel.active {
  border-color: var(--border-gold);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.1);
}
.sp-icon { font-size: 38px; line-height: 1; }
.service-panel h4 { font-size: 16px; color: var(--text-primary); margin: 0; font-weight: 600; font-family: var(--font-body); }
.service-panel p { font-size: 13px; line-height: 21px; color: var(--text-secondary); margin: 0; }

.services-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.svc-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-10); border: 1px solid var(--border-gold);
  color: var(--gold); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease-expo), transform 0.3s var(--ease-spring); flex-shrink: 0;
}
.svc-arrow:hover { background: rgba(201,168,76,0.2); transform: scale(1.1); }
.svc-dots { display: flex; gap: 8px; align-items: center; }
.svc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); border: none; padding: 0; cursor: pointer;
  transition: background 0.3s var(--ease-expo), transform 0.3s var(--ease-spring);
}
.svc-dot.active { background: var(--gold); transform: scale(1.5); }
.svc-hint { text-align: center; font-size: 12.5px; color: var(--text-tertiary); margin-top: 12px; letter-spacing: 0.02em; }

.service-panel-0 { --i: 0; }
.service-panel-1 { --i: 1; }
.service-panel-2 { --i: 2; }
.service-panel-3 { --i: 3; }
.service-panel-4 { --i: 4; }
.service-panel-5 { --i: 5; }

/* ===========================
   TEAM
   =========================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }

.team-card {
  background: var(--card-bg); border-radius: var(--r-card);
  padding: 5px; padding-bottom: 0;
  text-align: center; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo), border-color 0.4s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px var(--border-gold); border-color: var(--border-gold); }
.team-card-body { padding: 22px 26px 26px; }

.team-photo { width: 100%; height: 260px; object-fit: cover; object-position: top; display: block; border-radius: 18px; }
.team-photo--dylan { object-position: 50% 15%; }

.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gold-10); margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; color: var(--gold);
  border: 1px solid var(--border-gold);
}
.team-card h4 { margin-bottom: 4px; }
.team-card .role { font-size: 11px; color: var(--gold); margin-bottom: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.team-card p { font-size: 13.5px; line-height: 22px; }

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  text-align: center; padding: 80px var(--section-px);
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  border-radius: var(--r-card);
}
.cta-banner h2 { color: #000; font-style: italic; }
.cta-banner p { color: rgba(0,0,0,0.62); font-size: 17px; max-width: 480px; }
.cta-banner .btn { margin-top: 8px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ===========================
   SOCIAL
   =========================== */
.social-section { text-align: center; }
.social-grid { display: flex; justify-content: center; gap: 20px; margin-top: 48px; flex-wrap: wrap; }

.social-card {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px;
  border-radius: var(--r-card); padding: 36px 48px;
  text-decoration: none; color: #fff;
  transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
  position: relative; overflow: hidden;
  min-height: 340px; min-width: 260px;
  background-size: cover; background-position: center;
  border: 1px solid var(--border);
}
.social-card::before { content: ''; position: absolute; inset: 0; transition: opacity 0.5s var(--ease-expo); z-index: 0; }
.social-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 32px 80px rgba(0,0,0,0.65); color: #fff; }
.social-card:hover::before { opacity: 0.85; }
.social-card > * { position: relative; z-index: 1; }
.social-card .social-icon { color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.social-card h4 { font-size: 22px; margin: 0; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.5); font-family: var(--font-display); font-style: italic; }
.social-card p { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; }

.social-follow-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 9px 20px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  background: rgba(255,255,255,0.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25); color: #fff;
  transition: background 0.25s var(--ease-expo), border-color 0.25s;
}
.social-card:hover .social-follow-btn { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.45); }

.social-instagram {
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(131,58,180,0.4) 70%, rgba(193,53,132,0.25) 100%),
              url('Stay Nashville Photo Highlights/Best Photos/18ABFernAveuePool-Deck-21.jpg') center/cover no-repeat;
}
.social-tiktok {
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 60%, rgba(0,242,234,0.12) 100%),
              url('Stay Nashville Photo Highlights/Best Photos/Rooftop TV.png') center/cover no-repeat;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: 36px var(--section-px);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--section-bg); border: 1px solid var(--border);
  border-radius: var(--r-card); flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .name { color: var(--text-primary); font-weight: 700; font-size: 15px; font-family: var(--font-display); font-style: italic; }
.footer-brand .address { font-size: 12.5px; color: var(--text-tertiary); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12.5px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { font-size: 11.5px; width: 100%; text-align: center; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 8px; color: var(--text-tertiary); }

/* ===========================
   BOOKING MODAL
   =========================== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  z-index: 1000; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }

.modal-box {
  background: var(--card-bg); border-radius: var(--r-card);
  border: 1px solid var(--border); padding: 40px;
  width: 100%; max-width: 560px; position: relative;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 80px rgba(0,0,0,0.65);
}
.modal-box h3 { margin-bottom: 8px; }
.modal-box > p { color: var(--text-secondary); margin-bottom: 24px; font-size: 15px; }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 24px; color: var(--text-secondary); cursor: pointer; line-height: 1; transition: color 0.2s; }
.modal-close:hover { color: var(--text-primary); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-row input, .form-row select { width: 100%; }
.form-label-group { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--text-secondary); }
.form-label-group input { width: 100%; }

.modal-box input, .modal-box select, .modal-box textarea {
  background: var(--section-bg); border: 1px solid var(--border);
  border-radius: var(--r-xs); padding: 12px 14px; color: var(--text-primary);
  font-family: var(--font-body); font-size: 14px; width: 100%; box-sizing: border-box;
  transition: border-color 0.25s var(--ease-expo);
}
.modal-box input:focus, .modal-box select:focus, .modal-box textarea:focus { outline: none; border-color: var(--gold); }
.modal-box input[type="date"] { color-scheme: light; }
.modal-box textarea { resize: vertical; margin-bottom: 0; }
.modal-box select option { background: var(--card-bg); }

.btn-full { width: 100%; margin-top: 8px; }
.modal-sm { max-width: 480px; }
.modal-title-sm { margin-bottom: 6px; }
.modal-desc { margin-bottom: 24px; color: var(--text-secondary); font-size: 0.95rem; }
.host-list { display: flex; flex-direction: column; gap: 14px; }
.avatar-purple { background: linear-gradient(135deg, #c084fc, #818cf8); }

/* Host picker cards */
.host-picker-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--section-bg); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 16px 20px;
  text-decoration: none; color: var(--text-primary);
  transition: border-color 0.25s var(--ease-expo), background 0.25s, transform 0.25s var(--ease-spring);
}
.host-picker-card:hover { border-color: var(--border-gold); background: var(--gold-10); transform: translateY(-2px); color: var(--text-primary); }
.host-picker-avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #000; }
.host-picker-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.host-picker-info strong { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.host-picker-info span { font-size: 12.5px; color: var(--text-secondary); }
.host-picker-arrow { font-size: 18px; color: var(--text-secondary); transition: color 0.2s var(--ease-expo), transform 0.25s var(--ease-spring); }
.host-picker-card:hover .host-picker-arrow { color: var(--gold); transform: translateX(4px); }

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.hero-content { animation: fadeInUp 0.9s var(--ease-expo) forwards; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  h1 { font-size: 48px; line-height: 52px; }
  h2 { font-size: 34px; line-height: 40px; }
  :root { --section-px: 36px; --section-py: 72px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .prop-group-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 36px; line-height: 40px; }
  h2 { font-size: 28px; line-height: 34px; }
  :root { --section-px: 24px; --section-py: 56px; }
  body { padding-top: 80px; }
  .nav { width: calc(100% - 24px); height: 56px; top: 12px; }
  .nav-links { display: none; }
  .nav-phone, .nav-sep { display: none; }
  .nav-toggle { display: block; }
  .hero { padding-top: 72px; padding-bottom: 64px; min-height: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .prop-group-row { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 24px; }
  .footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .section-desc { margin-bottom: 36px; }
  .prop-group-header { padding: 20px 0 8px; }
  #property-map { height: 420px !important; }
  .showcase-slide img { height: 320px !important; }
  .hero-subtitle { font-size: 16px; line-height: 26px; }
  .stat-number { font-size: 30px; }
  .section { border-radius: 16px; }
  .card-actions-mini { flex-direction: column; gap: 10px; align-items: flex-start !important; }
  .nav-links.open { top: 78px; left: 12px; right: 12px; }
}

@media (max-width: 640px) {
  h1 { font-size: 30px; line-height: 35px; }
  :root { --section-px: 20px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  #property-map { height: 340px !important; }
  .showcase-slide img { height: 260px !important; }
  .map-filters { flex-direction: column; }
  .map-filters select { width: 100%; }
  .modal-box { margin: 12px; max-height: calc(100dvh - 24px); padding: 28px 20px; }
  .social-card { min-width: unset; width: 100%; min-height: 280px; padding: 32px 36px; }
  .social-grid { gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
}
