/* ================================================================
   MEZZ 42 — PAGE-SPECIFIC STYLES
   ================================================================ */

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 40px;
  margin-top: 122px;
}

.page-hero-short {
  height: 45vh;
  min-height: 320px;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,30,0.7) 0%, rgba(28,28,30,0.3) 60%, rgba(28,28,30,0.15) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: #fff;
}

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero-content p {
  font-size: 17px;
  opacity: 0.85;
  font-weight: 300;
  line-height: 1.6;
}

/* ===== PAGE CTA BANNER ===== */
.page-cta-banner {
  background: var(--charcoal);
  padding: 100px 40px;
  color: #fff;
}

.page-cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  margin-bottom: 12px;
}

.page-cta-banner p {
  font-size: 16px;
  opacity: 0.7;
  font-weight: 300;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--warm-gray);
  position: sticky;
  top: 80px;
  z-index: 50;
}

.filter-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  gap: 0;
  padding: 0 40px;
  overflow-x: auto;
}

.filter-btn {
  background: none;
  border: none;
  padding: 20px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-medium);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.filter-btn.active { color: var(--charcoal); }
.filter-btn.active::after { transform: scaleX(1); }
.filter-btn:hover { color: var(--charcoal); }

/* ===== FLOOR PLANS GRID ===== */
.fp-grid-section {
  padding: 80px 0 120px;
  background: var(--cream);
}

.fp-category { margin-bottom: 80px; }
.fp-category:last-child { margin-bottom: 0; }

.fp-category-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--warm-gray);
}

.fp-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.fp-card {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}

.fp-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.fp-card-image {
  position: relative;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.fp-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.fp-card:hover .fp-card-image img { transform: scale(1.05); }

.fp-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,28,30,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.fp-card:hover .fp-card-overlay { opacity: 1; }

.fp-card-body { padding: 32px; display: flex; flex-direction: column; }

.fp-card-header { margin-bottom: 16px; }

.fp-card-header h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.fp-card-type {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fp-card-stats {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--warm-gray);
  border-bottom: 1px solid var(--warm-gray);
  margin-bottom: 16px;
}

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

.fp-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
}

.fp-stat-label {
  font-size: 11px;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fp-card-desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.fp-card-actions { display: flex; align-items: center; gap: 20px; }

.fp-avail-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== AMENITY DETAIL GRID ===== */
.amenity-detail-section {
  padding: 100px 0;
  background: #fff;
}

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

.amenity-detail-card {
  text-align: center;
  padding: 32px 20px;
}

.amenity-detail-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--warm-gray);
  border-radius: 50%;
  color: var(--gold);
}

.amenity-detail-icon svg { width: 24px; height: 24px; }

.amenity-detail-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.amenity-detail-card p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  font-weight: 300;
}

/* ===== PET SECTION ===== */
.pet-section {
  padding: 120px 0;
  background: #fff;
}

.pet-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pet-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 16px;
}

.pet-content > p {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 28px;
  font-weight: 300;
}

.pet-details { margin-bottom: 0; }

.pet-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--warm-gray);
  font-size: 14px;
}

.pet-detail-row:first-child { border-top: 1px solid var(--warm-gray); }
.pet-detail-row strong { color: var(--charcoal); }
.pet-detail-row span { color: var(--text-medium); }

.pet-image {
  height: 500px;
  overflow: hidden;
}

.pet-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 80px 0 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-block {
  margin-bottom: 60px;
}

.contact-form-block:last-child { margin-bottom: 0; }

.contact-form-block h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.contact-form-block > p {
  font-size: 15px;
  color: var(--text-medium);
  margin-bottom: 28px;
  font-weight: 300;
}

/* LUXURY FORM STYLES */
.luxury-form {}

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

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--soft-white);
  border: 1.5px solid transparent;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* CONTACT SIDEBAR */
.contact-sidebar {}

.contact-info-card {
  background: var(--cream);
  padding: 32px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.contact-note {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 24px;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--warm-gray);
}

.contact-info-row:last-child { border-bottom: none; }

.contact-info-row svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-row strong {
  display: block;
  font-size: 14px;
  color: var(--charcoal);
}

.contact-info-row strong a { color: var(--charcoal); }
.contact-info-row strong a:hover { color: var(--gold); }

.contact-info-row span {
  font-size: 13px;
  color: var(--text-light);
}

.contact-map { margin-bottom: 24px; }

.contact-promo-card {
  background: var(--gold);
  color: #fff;
  padding: 28px;
  border-radius: 8px;
  text-align: center;
}

.contact-promo-card h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  margin: 12px 0 8px;
}

.contact-promo-card p {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 300;
}

/* ===== GALLERY — FILM STRIP INTRO ===== */
.film-intro {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--charcoal);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 122px;
}

.film-strip-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.film-strip {
  display: flex;
  gap: 8px;
  animation: filmScroll 20s linear infinite;
  transform-origin: center;
}

@keyframes filmScroll {
  0% { transform: rotate(0deg) translateX(0); }
  100% { transform: rotate(-360deg) translateX(0); }
}

.film-frame {
  width: 200px;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-lens {
  position: relative;
  z-index: 5;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lens-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.3);
}

.lens-ring:nth-child(1) { width: 160px; height: 160px; }
.lens-ring:nth-child(2) { width: 120px; height: 120px; }
.lens-ring:nth-child(3) { width: 80px; height: 80px; }

.lens-center {
  width: 64px;
  height: 64px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 6;
  cursor: pointer;
  transition: transform 0.3s;
}

.lens-center:hover { transform: scale(1.1); }
.lens-center svg { width: 28px; height: 28px; }

.camera-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s;
}

.camera-flash.flash {
  animation: flashAnim 0.6s ease-out;
}

@keyframes flashAnim {
  0% { opacity: 0.9; }
  100% { opacity: 0; }
}

.film-intro-text {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 6;
}

.film-intro-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
}

.film-skip {
  position: absolute;
  bottom: 32px;
  right: 40px;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.6);
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 6;
  transition: all 0.2s;
}

.film-skip:hover {
  border-color: #fff;
  color: #fff;
}

/* ===== GALLERY GRID ===== */
.gallery-section {
  padding: 80px 0 120px;
  background: #fff;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gallery-filter {
  background: none;
  border: 1.5px solid var(--warm-gray);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 100px;
}

.gallery-filter.active,
.gallery-filter:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 300px;
}

.gallery-item-tall { grid-row: span 2; height: 616px; }
.gallery-item-wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,30,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

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

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 16px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev svg,
.lightbox-next svg { width: 36px; height: 36px; }

.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* ===== RESIDENT PORTAL ===== */
.portal-intro {
  padding: 100px 40px;
  background: #fff;
}

.portal-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 16px;
}

/* PHONE WALKTHROUGH */
.phone-walkthrough {
  padding: 40px 0 120px;
  background: var(--cream);
}

.phone-steps {}

.phone-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--warm-gray);
}

.phone-step:last-child { border-bottom: none; }
.phone-step-reverse { direction: rtl; }
.phone-step-reverse > * { direction: ltr; }

.step-number {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.6;
}

.phone-step-content h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.phone-step-content p {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.7;
  font-weight: 300;
}

/* PHONE MOCKUP */
.phone-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  background: var(--charcoal);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: var(--charcoal);
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  min-height: 500px;
}

.screen-content { padding: 48px 20px 24px; }

.screen-logo {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.screen-content h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  text-align: center;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.screen-content > p {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.screen-input {
  background: var(--soft-white);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.screen-btn {
  background: var(--gold);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

.screen-btn-sm {
  background: var(--gold);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 12px;
}

.screen-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--gold);
  margin-top: 16px;
}

.screen-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
}

.screen-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-back {
  font-size: 20px;
  color: var(--gold);
}

.screen-card {
  background: var(--cream);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.screen-card-label {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.screen-card-amount {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--charcoal);
  display: block;
}

.screen-card-date {
  font-size: 13px;
  color: var(--text-light);
  display: block;
  margin-top: 4px;
}

.screen-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.screen-action {
  text-align: center;
  padding: 12px 4px;
}

.screen-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 16px;
}

.screen-action span {
  font-size: 11px;
  color: var(--text-medium);
}

.screen-pay-method { margin-bottom: 16px; }

.screen-radio {
  padding: 12px 16px;
  background: var(--soft-white);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 8px;
  border: 1.5px solid transparent;
}

.screen-radio.active { border-color: var(--gold); background: rgba(201,169,110,0.08); }

.screen-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dark);
  margin: 12px 0;
}

.screen-check {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--gold);
  background: var(--gold);
  flex-shrink: 0;
}

.screen-textarea {
  background: var(--soft-white);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 12px;
  min-height: 80px;
}

.screen-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border: 2px dashed var(--warm-gray);
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-light);
}

.screen-upload-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* APP DOWNLOAD */
.app-download {
  padding: 100px 40px;
  background: var(--charcoal);
  text-align: center;
  color: #fff;
}

.app-download h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  margin-bottom: 16px;
}

.app-download .chatbot-desc { color: rgba(255,255,255,0.6); }

.app-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 28px;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
}

.app-badge:hover { background: rgba(255,255,255,0.15); }

/* ===== AVAILABILITY TABLE ===== */
.avail-section {
  padding: 60px 0 120px;
  background: #fff;
}

.avail-filters {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  padding: 24px;
  background: var(--cream);
  border-radius: 8px;
}

.avail-filter-group { flex: 1; min-width: 180px; }

.avail-filter-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 6px;
}

.avail-filter-group select,
.avail-filter-group input {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1.5px solid var(--warm-gray);
  border-radius: 4px;
  background: #fff;
  color: var(--text-dark);
  outline: none;
}

.avail-filter-group select:focus,
.avail-filter-group input:focus { border-color: var(--gold); }

.avail-table-wrap { overflow-x: auto; }

.avail-table {
  width: 100%;
  border-collapse: collapse;
}

.avail-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-medium);
  border-bottom: 2px solid var(--charcoal);
}

.avail-table td {
  padding: 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--warm-gray);
  color: var(--text-dark);
}

.avail-table tr:hover { background: var(--cream); }

.avail-plan strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--charcoal);
}

.avail-plan span {
  font-size: 12px;
  color: var(--text-medium);
}

.avail-apply {
  display: inline-block;
  padding: 8px 24px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.avail-apply:hover { background: var(--gold-hover); }

.avail-disclaimer {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
}

/* ===== UNIT CARDS (AVAILABILITY) ===== */
.unit-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.unit-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.4s, transform 0.3s;
}

.unit-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.unit-card-image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.unit-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.unit-card:hover .unit-card-image img { transform: scale(1.04); }

.unit-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--charcoal);
  color: #fff;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.unit-badge-special {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--maroon);
  color: #fff;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.unit-card-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.unit-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.unit-card-header h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.1;
}

.unit-number {
  font-size: 13px;
  color: var(--text-medium);
  margin-top: 4px;
  display: block;
}

.unit-price {
  text-align: right;
}

.unit-price-amount {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.unit-price-label {
  display: block;
  font-size: 12px;
  color: var(--text-medium);
  margin-top: 2px;
}

.unit-specs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--warm-gray);
  border-bottom: 1px solid var(--warm-gray);
}

.unit-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dark);
}

.unit-spec svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.unit-spec-avail span {
  font-weight: 600;
  color: var(--sage);
}

.unit-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.unit-features span {
  padding: 5px 14px;
  background: var(--cream);
  font-size: 12px;
  color: var(--text-dark);
  border-radius: 20px;
  font-weight: 500;
}

.unit-terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.unit-term {
  font-size: 13px;
  color: var(--text-medium);
}

.unit-term strong {
  color: var(--charcoal);
  font-weight: 600;
}

.unit-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.avail-map-section {
  padding: 80px 0 0;
  background: #fff;
}

/* ===== NEIGHBORHOOD SCORES ===== */
.scores-section {
  padding: 80px 0;
  background: #fff;
}

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

.score-card {
  text-align: center;
  padding: 40px 24px;
}

.score-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.score-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 300;
  color: var(--charcoal);
}

.score-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.score-card p {
  font-size: 14px;
  color: var(--text-medium);
  font-weight: 300;
  line-height: 1.5;
}

/* NEIGHBORHOOD DETAIL */
.neighborhood-detail {
  padding: 80px 0 120px;
  background: var(--cream);
}

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

.poi-card {
  background: #fff;
  padding: 32px;
  border-radius: 4px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.poi-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.poi-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.poi-icon svg { width: 22px; height: 22px; }

.poi-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.poi-card p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 16px;
}

.poi-distance {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.neighborhood-map { line-height: 0; }

/* ===== INTERACTIVE NEIGHBORHOOD ===== */
.neighborhood-interactive {
  padding: 80px 0 100px;
  background: #fff;
}

.neighborhood-interactive-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.nhood-map-wrap {
  position: sticky;
  top: 100px;
}

.nhood-map-container {
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.nhood-category {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.nhood-cat-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--warm-gray);
  background: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  border-radius: 24px;
  transition: all 0.2s;
}

.nhood-cat-btn:hover { border-color: var(--gold); color: var(--gold); }
.nhood-cat-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }

.nhood-places {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nhood-place {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.2s;
  cursor: default;
}

.nhood-place:first-child { border-top: 1px solid rgba(0,0,0,0.06); }
.nhood-place:hover { background: var(--cream); margin: 0 -12px; padding: 16px 12px; border-radius: 4px; }

.nhood-place-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nhood-place-icon svg { width: 18px; height: 18px; }

.nh-dining { background: var(--gold-light); color: var(--gold); }
.nh-arts { background: rgba(139,26,26,0.1); color: var(--maroon); }
.nh-outdoors { background: rgba(122,139,111,0.15); color: var(--sage); }
.nh-shop { background: rgba(201,169,110,0.1); color: var(--gold-hover); }

.nhood-place-info {
  flex: 1;
  min-width: 0;
}

.nhood-place-info strong {
  display: block;
  font-size: 14px;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.nhood-place-info span {
  font-size: 12px;
  color: var(--text-medium);
  font-weight: 300;
}

.nhood-distance {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===== EVENTS ===== */
.nhood-events {
  padding: 80px 0 120px;
  background: var(--cream);
}

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

.event-card {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 24px;
  border-radius: 4px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.event-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 12px 8px;
  background: var(--charcoal);
  border-radius: 4px;
  flex-shrink: 0;
}

.event-month {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.event-day {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}

.event-info h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.event-info p {
  font-size: 13px;
  color: var(--text-medium);
  line-height: 1.5;
  font-weight: 300;
  margin-bottom: 8px;
}

.event-location {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ===== SMS POPUP ===== */
.sms-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sms-popup-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.sms-popup {
  background: #fff;
  max-width: 440px;
  width: 90%;
  padding: 48px 40px;
  position: relative;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sms-popup-overlay.visible .sms-popup {
  transform: translateY(0);
}

.sms-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.sms-popup-close:hover { color: var(--charcoal); }

.sms-popup-logo {
  height: 48px;
  margin-bottom: 24px;
}

.sms-popup h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.sms-popup p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 300;
}

.sms-popup-form {
  display: flex;
  gap: 8px;
}

.sms-popup-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1.5px solid var(--warm-gray);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.sms-popup-form input:focus { border-color: var(--gold); }

.sms-popup-form button {
  padding: 14px 24px;
  background: var(--gold);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.sms-popup-form button:hover { background: var(--gold-hover); }

.sms-popup-disclaimer {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 12px;
}

/* ===== LEAD MAGNET ===== */
.lead-magnet {
  padding: 80px 0;
  background: var(--charcoal);
}

.lead-magnet-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 40px;
}

.lead-magnet-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.lead-magnet h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  color: #fff;
  margin-bottom: 16px;
}

.lead-magnet p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 32px;
}

.lead-magnet-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.lead-magnet-form input {
  flex: 1;
  padding: 16px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.lead-magnet-form input::placeholder { color: rgba(255,255,255,0.4); }
.lead-magnet-form input:focus { border-color: var(--gold); }

.lead-magnet-form button {
  padding: 16px 28px;
  background: var(--gold);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.lead-magnet-form button:hover { background: var(--gold-hover); }

/* ===== BLOG ===== */
.blog-featured {
  padding: 80px 0;
  background: #fff;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.blog-featured-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.blog-featured-card:hover .blog-featured-image img { transform: scale(1.04); }

.blog-category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: #fff;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-featured-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  margin-bottom: 16px;
}

.blog-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.blog-featured-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 20px;
}

.blog-featured-content p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.2s;
}

.blog-read-more:hover { gap: 14px; }
.blog-read-more svg { width: 14px; height: 14px; }

.blog-grid-section {
  padding: 0 0 120px;
  background: #fff;
}

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

.blog-card {
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.4s, box-shadow 0.4s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.blog-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.blog-card:hover .blog-card-image img { transform: scale(1.06); }

.blog-card-body {
  padding: 28px;
}

.blog-card-body .blog-date {
  display: block;
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-card-body p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .page-hero { margin-top: 70px; background-attachment: scroll; height: 45vh; padding: 60px 24px; }
  .filter-bar { top: 70px; }
  .filter-bar-inner { padding: 0 16px; }
  .fp-row { grid-template-columns: 1fr; }
  .fp-card { grid-template-columns: 1fr; }
  .fp-card-image { min-height: 240px; }
  .amenity-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .pet-split { grid-template-columns: 1fr; gap: 40px; }
  .pet-image { height: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item-tall { height: 400px; }
  .phone-step { grid-template-columns: 1fr; gap: 40px; }
  .phone-step-reverse { direction: ltr; }
  .film-intro { margin-top: 70px; }
  .scores-grid { grid-template-columns: 1fr; gap: 20px; }
  .poi-grid { grid-template-columns: 1fr; }
  .avail-filters { flex-direction: column; }
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-featured-image { min-height: 280px; }
  .blog-featured-content { padding: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
  .unit-card { grid-template-columns: 1fr; }
  .unit-card-image { min-height: 240px; }
  .unit-card-body { padding: 24px; }
  .unit-actions { flex-direction: column; }
  .neighborhood-interactive-grid { grid-template-columns: 1fr; }
  .nhood-map-wrap { position: static; }
  .nhood-map-container { height: 300px; }
  .events-grid { grid-template-columns: 1fr; }
  .lead-magnet-form { flex-direction: column; }
  .sms-popup { padding: 36px 24px; }
  .sms-popup-form { flex-direction: column; }
}

@media (max-width: 640px) {
  .amenity-detail-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-tall { height: 300px; grid-row: span 1; }
  .gallery-item-wide { grid-column: span 1; }
  .app-badges { flex-direction: column; align-items: center; }
  .events-grid { grid-template-columns: 1fr; }
}

/* ===== VIRTUAL TOUR BANNER ===== */
.virtual-tour-banner {
  padding: 80px 0;
  background: var(--cream);
}

.vt-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.vt-banner-text { max-width: 560px; }

.vt-banner-text p {
  color: #666;
  line-height: 1.7;
  margin-top: 12px;
}

.vt-banner-units {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.vt-banner-units span {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--gold);
  color: var(--charcoal);
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
}

.vt-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.vt-banner-actions .btn-primary,
.vt-banner-actions .btn-outline-dark {
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .vt-banner-inner { flex-direction: column; text-align: center; }
  .vt-banner-units { justify-content: center; }
  .vt-banner-actions { width: 100%; }
}

/* ===== CHATBOT ===== */
.mezz-chat {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-height: 560px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mezz-chat.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mezz-chat-header {
  background: var(--charcoal);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mezz-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mezz-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-heading);
}

.mezz-chat-header strong {
  display: block;
  font-size: 14px;
}

.mezz-chat-status {
  font-size: 11px;
  color: #7ddf7d;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mezz-chat-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ddf7d;
  display: inline-block;
}

.mezz-chat-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.mezz-chat-close:hover { color: #fff; }

.mezz-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
  max-height: 340px;
  background: #f8f7f5;
}

.mezz-chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  animation: chatMsgIn 0.3s ease;
}

@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mezz-chat-bot {
  background: #fff;
  color: var(--charcoal);
  border: 1px solid #eee;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.mezz-chat-user {
  background: var(--charcoal);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.mezz-chat-typing {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
}

.mezz-chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bbb;
  animation: typingDot 1.2s infinite;
}

.mezz-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.mezz-chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1.1); }
}

.mezz-chat-quick {
  display: flex;
  gap: 6px;
  padding: 8px 16px;
  overflow-x: auto;
  border-top: 1px solid #eee;
  background: #fff;
}

.mezz-chat-quick button {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--charcoal);
  font-size: 12px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}

.mezz-chat-quick button:hover {
  background: var(--gold);
  color: #fff;
}

.mezz-chat-footer {
  display: flex;
  padding: 12px;
  gap: 8px;
  border-top: 1px solid #eee;
  background: #fff;
}

.mezz-chat-footer input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 24px;
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.mezz-chat-footer input:focus { border-color: var(--gold); }

.mezz-chat-footer button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.mezz-chat-footer button:hover { background: var(--gold-hover); }

.mezz-chat-mic {
  width: 36px !important;
  height: 36px !important;
  background: transparent !important;
  color: var(--gold);
  border: 2px solid var(--gold) !important;
  border-radius: 50%;
  transition: all 0.3s;
}

.mezz-chat-mic:hover {
  background: rgba(201, 169, 110, 0.1) !important;
}

.mezz-chat-mic.listening {
  background: var(--gold) !important;
  color: #fff;
  animation: micPulse 1.5s ease-in-out infinite;
}

@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(201, 169, 110, 0); }
}

.mezz-chat-avatar svg { border-radius: 50%; }

.mezz-quick-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0;
  animation: chatMsgIn 0.3s ease;
}

.mezz-quick-bar button {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--charcoal);
  font-size: 12px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}

.mezz-quick-bar button:hover {
  background: var(--gold);
  color: #fff;
}

.mezz-chat-voice-toggle {
  width: 30px !important;
  height: 30px !important;
  background: transparent !important;
  color: var(--gold);
  border: none !important;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.mezz-chat-voice-toggle:hover { opacity: 1; background: transparent !important; }

.mezz-chat-voice-toggle.muted {
  opacity: 0.3;
}

.chat-widget.active {
  background: var(--charcoal) !important;
  transform: scale(1.05);
}

.chat-widget.chat-nudge {
  animation: chatNudge 1.2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.5);
}

.chat-nudge-label {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--charcoal);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px 12px 0 12px;
  font-size: 14px;
  font-family: var(--font-body);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 9998;
  animation: nudgeFadeIn 0.5s ease-out forwards;
  border: 1px solid var(--gold);
  max-width: 220px;
}

.chat-nudge-label::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 16px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--charcoal);
}

@keyframes chatNudge {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.5); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 12px rgba(201, 169, 110, 0); }
}

@keyframes nudgeFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ANIMATED MAP OVERLAY ===== */
.nhood-map-container {
  position: relative;
  overflow: hidden;
}

.map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.map-pin {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  z-index: 3;
}

.map-pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.map-pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  z-index: 1;
  animation: pinPulse 2s ease-out infinite;
}

@keyframes pinPulse {
  0% { width: 14px; height: 14px; opacity: 0.6; }
  100% { width: 50px; height: 50px; opacity: 0; }
}

.map-pin-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: var(--charcoal);
  color: #fff;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.map-pin-label::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--charcoal);
}

.map-pin:hover .map-pin-label { opacity: 1; }

.map-pin[data-cat="dining"] .map-pin-dot,
.map-pin[data-cat="dining"] .map-pin-pulse { background: #e74c3c; }
.map-pin[data-cat="entertainment"] .map-pin-dot,
.map-pin[data-cat="entertainment"] .map-pin-pulse { background: #9b59b6; }
.map-pin[data-cat="outdoors"] .map-pin-dot,
.map-pin[data-cat="outdoors"] .map-pin-pulse { background: #27ae60; }
.map-pin[data-cat="shopping"] .map-pin-dot,
.map-pin[data-cat="shopping"] .map-pin-pulse { background: #3498db; }

.map-pin-home .map-pin-dot {
  background: var(--gold) !important;
  width: 20px;
  height: 20px;
  border-width: 3px;
}

.map-pin-home .map-pin-pulse {
  background: var(--gold) !important;
  animation-duration: 1.6s;
}

.map-pin-home .map-pin-label {
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 12px;
  opacity: 1;
}

.map-pin-home .map-pin-label::after { border-top-color: var(--gold); }

.map-pin.pin-enter {
  animation: pinDrop 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2) forwards;
}

@keyframes pinDrop {
  0% { opacity: 0; transform: translateY(-30px) scale(0); }
  60% { transform: translateY(4px) scale(1.1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.map-connect-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform-origin: left center;
  opacity: 0;
  z-index: 1;
  animation: lineGrow 0.8s ease forwards;
}

@keyframes lineGrow {
  0% { width: 0; opacity: 0; }
  100% { opacity: 0.3; }
}

@media (max-width: 1024px) {
  .mezz-chat { width: 340px; bottom: 90px; right: 16px; }
}

@media (max-width: 640px) {
  .mezz-chat { width: calc(100vw - 32px); right: 16px; bottom: 80px; max-height: 480px; }
  .mezz-chat-body { min-height: 200px; max-height: 260px; }
}

/* Phones: stack floor-plan card actions instead of squeezing them side by side */
@media (max-width: 640px) {
  .fp-card-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .fp-card-actions .btn-outline-dark { justify-content: center; width: 100%; }
  .fp-avail-link { text-align: center; }
}
