/* ============================================
   HOMERR — Design System
   Pure white + sage green, glassmorphism,
   Instrument Serif + Inter
   ============================================ */

/* --- Tokens --- */
:root {
  --color-bg:           #FAFAF8;
  --color-surface:      #FFFFFF;
  --color-sage-deep:    #2D5A3D;
  --color-sage-mid:     #4A7C5F;
  --color-sage-light:   #7BAE8A;
  --color-sage-tint:    #E8F0EA;
  --color-sage-ghost:   #F2F7F3;
  --color-foreground:   #1A1A1A;
  --color-muted:        #6B7280;
  --color-border:       rgba(45, 90, 61, 0.12);
  --color-glass-bg:     rgba(255, 255, 255, 0.62);
  --color-glass-border: rgba(255, 255, 255, 0.85);
  --color-glass-shadow: rgba(45, 90, 61, 0.08);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(45,90,61,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(45,90,61,0.12), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-glass: 0 8px 32px rgba(45,90,61,0.10), inset 0 1px 0 rgba(255,255,255,0.9);

  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   240ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-foreground);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Gradient Mesh Background --- */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.mesh-orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #C8DFC9 0%, transparent 70%);
  top: -200px; right: -150px;
}

.mesh-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #B8D4BB 0%, transparent 70%);
  bottom: 10%; left: -100px;
}

.mesh-orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #D4E8D0 0%, transparent 70%);
  top: 45%; left: 40%;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Glass Utility --- */
.glass {
  background: var(--color-glass-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--color-glass-border);
  box-shadow: var(--shadow-glass);
}

/* --- Nav --- */
/* ============================================
   MOBILE BOTTOM NAV (Zillow-style floating pill)
   Hidden entirely on desktop; only rendered/relevant below 768px.
   ============================================ */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 14px;
    z-index: 200;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
    padding: 8px 4px;
    justify-content: space-around;
    align-items: center;
  }

  .mobile-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: var(--color-muted);
    font-size: 0.66rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 16px;
    flex: 1;
    min-width: 0;
  }
  .mobile-bottom-nav__item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .mobile-bottom-nav__item svg { flex-shrink: 0; }

  .mobile-bottom-nav__item--active {
    color: var(--color-sage-deep);
  }

  /* Keep page content (and other fixed bottom elements) clear of the floating pill */
  body.has-mobile-bottom-nav {
    padding-bottom: 78px;
  }
}

.glass-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.78);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}

.glass-nav.scrolled {
  box-shadow: 0 2px 20px rgba(45,90,61,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 68px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-shrink: 0;
}

.nav__logo-mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-sage-deep);
  line-height: 1;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-foreground);
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color var(--transition-fast);
  letter-spacing: -0.01em;
}

.nav__link:hover { color: var(--color-foreground); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__hamburger {
  display: none;
  margin-left: auto;
  color: var(--color-foreground);
  padding: 8px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-sage-deep);
  color: #fff;
  border: 1px solid var(--color-sage-deep);
  box-shadow: 0 1px 3px rgba(45,90,61,0.25);
}

.btn--primary:hover {
  background: var(--color-sage-mid);
  border-color: var(--color-sage-mid);
  box-shadow: 0 4px 12px rgba(45,90,61,0.25);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-sage-ghost);
  border-color: var(--color-sage-light);
}

.btn--outline {
  background: transparent;
  color: var(--color-sage-deep);
  border: 1px solid var(--color-sage-deep);
}

.btn--outline:hover {
  background: var(--color-sage-deep);
  color: #fff;
}

.btn--lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn--sm { padding: 7px 14px; font-size: 0.8rem; }

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(4px);
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ============================================
   SKELETON LOADING
   ============================================ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.skeleton {
  background: linear-gradient(90deg,
    #e8ede9 25%,
    #f0f5f1 50%,
    #e8ede9 75%
  );
  background-size: 600px 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: var(--radius-sm);
}

.skeleton--text  { height: 1em; border-radius: 4px; }
.skeleton--title { height: 1.5em; border-radius: 4px; }
.skeleton--image { height: 200px; border-radius: var(--radius-md); }
.skeleton--badge { height: 24px; width: 64px; border-radius: 99px; }

/* Property card skeleton */
.property-card-skeleton {
  background: var(--color-glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
}

.property-card-skeleton .sk-image { height: 210px; }
.property-card-skeleton .sk-body  { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.property-card-skeleton .sk-title { height: 18px; width: 75%; }
.property-card-skeleton .sk-sub   { height: 13px; width: 50%; }
.property-card-skeleton .sk-price { height: 20px; width: 40%; }
.property-card-skeleton .sk-tags  { display: flex; gap: 8px; }
.property-card-skeleton .sk-tag   { height: 24px; width: 56px; border-radius: 99px; }

/* ============================================
   PROPERTY CARD
   ============================================ */
.property-card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  position: relative;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(123, 174, 138, 0.4);
}

.property-card__image {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.property-card:hover .property-card__image img {
  transform: scale(1.04);
}

.property-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.95);
  color: var(--color-sage-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}

.property-card__save {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-muted);
}

.property-card__save:hover { color: #E53E3E; background: rgba(255,255,255,0.98); }

.property-card__body { padding: 18px 20px 20px; }

.property-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.property-card__location {
  font-size: 0.82rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.property-card__price {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--color-sage-deep);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.property-card__price span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-muted);
}

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

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-sage-mid);
  background: var(--color-sage-ghost);
  border: 1px solid var(--color-sage-tint);
  border-radius: 99px;
  padding: 4px 11px;
  letter-spacing: -0.01em;
}

/* ============================================
   MAP HERO (Zillow-style split map/list view)
   ============================================ */
.map-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}

.map-hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-sage-ghost);
}

.map-hero__canvas.leaflet-container { font-family: var(--font-body); z-index: 1; }

/* Slim search bar pinned across the top of the map */
.map-hero__topbar {
  position: absolute;
  top: 84px;
  left: 24px;
  right: 420px;
  z-index: 10;
  max-width: 640px;
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: 0 12px 40px var(--color-glass-shadow);
}

.map-hero__topbar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.map-hero__topbar-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-foreground);
}

.map-hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  align-items: center;
}

/* Right-docked synced listings sidebar */
.map-hero__list {
  position: absolute;
  top: 68px;
  right: 0;
  bottom: 0;
  width: 400px;
  z-index: 10;
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-left: 1px solid var(--color-glass-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}

.map-hero__list--collapsed {
  transform: translateX(100%);
}

/* Drag handle — only shown/usable on mobile bottom-sheet layout */
.map-hero__list-handle {
  display: none;
  flex-shrink: 0;
  padding: 10px 0 6px;
  cursor: grab;
  touch-action: none;
}
.map-hero__list-handle-bar {
  width: 40px;
  height: 4px;
  border-radius: 99px;
  background: var(--color-border);
  margin: 0 auto;
}

/* Desktop collapse toggle — docked to the sidebar's left edge */
.map-list-collapse-btn {
  position: absolute;
  z-index: 11;
  top: 50%;
  right: 400px;
  transform: translate(50%, -50%);
  width: 28px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sage-deep);
  cursor: pointer;
  transition: right 0.28s cubic-bezier(0.4,0,0.2,1);
}
.map-list-collapse-btn:hover { background: var(--color-sage-tint); }
.map-list-collapse-btn--collapsed { right: 0; }
.map-list-collapse-btn--collapsed svg { transform: rotate(180deg); }
.map-list-collapse-btn svg { transition: transform 0.28s ease; }

.map-hero__list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.map-hero__list-count {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-foreground);
}

.map-hero__list-sub {
  font-size: 0.74rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.map-hero__list-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-sage-deep);
  text-decoration: none;
  white-space: nowrap;
}
.map-hero__list-link:hover { text-decoration: underline; }

.map-hero__list-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Compact horizontal card for the sidebar list */
.map-list-card {
  display: flex;
  gap: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px;
  cursor: pointer;
  transition: all var(--transition-base);
}
.map-list-card:hover {
  border-color: rgba(123, 174, 138, 0.5);
  box-shadow: var(--shadow-sm);
}
.map-list-card--active {
  border-color: var(--color-sage-deep);
  box-shadow: 0 0 0 2px var(--color-sage-tint);
}

.map-list-card__img {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.map-list-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.map-list-card__body { min-width: 0; padding: 2px 0; }
.map-list-card__price {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-sage-deep);
}
.map-list-card__price span { font-weight: 400; color: var(--color-muted); font-size: 0.72rem; }
.map-list-card__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-list-card__loc {
  font-size: 0.74rem;
  color: var(--color-muted);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-list-card__dist {
  font-size: 0.72rem;
  color: var(--color-sage-deep);
  font-weight: 600;
  margin-top: 3px;
}

/* "Use my location" control */
.map-locate-btn {
  position: absolute;
  z-index: 10;
  bottom: 24px;
  right: 424px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sage-deep);
  cursor: pointer;
  transition: all var(--transition-base);
}
.map-locate-btn:hover { background: var(--color-sage-tint); }
.map-locate-btn--loading { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* User location dot */
.map-user-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4285F4;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(66,133,244,0.25), 0 2px 6px rgba(0,0,0,0.3);
  position: relative;
}
.map-user-dot::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(66,133,244,0.18);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Custom pin marker */
.map-pin {
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--color-sage-deep);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(45,90,61,0.35);
  transform: rotate(-45deg);
  transition: transform 0.15s ease, background 0.15s ease;
}
.map-pin:hover, .map-pin--active {
  background: var(--color-sage-light);
  transform: rotate(-45deg) scale(1.15);
}

/* Cluster bubble */
.map-cluster {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-sage-deep);
  color: #fff;
  border: 3px solid rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(45,90,61,0.3);
}

/* Popup card */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(45,90,61,0.18);
}
.leaflet-popup-content { margin: 0; width: 220px !important; }
.leaflet-popup-tip { display: none; }

.map-popup {
  display: block;
  text-decoration: none;
  color: inherit;
}
.map-popup img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.map-popup__body { padding: 10px 12px 12px; }
.map-popup__price {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-sage-deep);
}
.map-popup__price span { font-weight: 400; color: var(--color-muted); font-size: 0.75rem; }
.map-popup__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-popup__loc { font-size: 0.75rem; color: var(--color-muted); margin-top: 2px; }

/* Stats strip below the map hero (moved out of the floating panel) */
.stats-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 900px) {
  .map-hero { height: 100vh; min-height: 480px; }
  .map-hero__canvas { position: absolute; inset: 0; height: 100%; }

  .map-hero__topbar {
    position: absolute;
    top: 84px; left: 16px; right: 16px;
    max-width: none;
    padding: 12px 16px;
  }
  .map-hero__tags { display: none; } /* keep the mobile topbar compact */

  .map-locate-btn { bottom: 130px; right: 16px; }
  .map-scroll-hint { display: none; } /* touch scroll/pinch works natively, no click-to-zoom gate needed */
  .map-list-collapse-btn { display: none; } /* replaced by the drag handle on mobile */

  /* Bottom sheet overlays the map instead of pushing it up */
  .map-hero__list {
    position: absolute;
    top: auto;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 50vh; /* JS overrides this and drives it via drag */
    max-height: 86vh;
    border-left: none;
    border-top: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
  }
  .map-hero__list--collapsed { transform: none; } /* collapse button is desktop-only; ignore on mobile */

  .map-hero__list-handle {
    display: block;
  }
}


/* ============================================
   LANDING PAGE (legacy hero — retained for reference)
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sage-mid);
  background: var(--color-sage-ghost);
  border: 1px solid var(--color-sage-tint);
  border-radius: 99px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-sage-light);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-foreground);
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--color-sage-deep);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--color-border);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-foreground);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero__stat-label {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 4px;
}

/* Hero visual */
.hero__visual {
  position: relative;
}

.hero__card-stack {
  position: relative;
  height: 480px;
}

.hero__card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__card--main {
  width: 100%;
  height: 380px;
  top: 0; left: 0;
  z-index: 3;
}

.hero__card--main img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero__card--float {
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--color-glass-border);
  padding: 18px 22px;
  z-index: 4;
}

.hero__card--price {
  bottom: 50px; left: -28px;
  width: 190px;
}

.hero__card--verified {
  top: 28px; right: -20px;
  width: 180px;
}

.hero__card-price-label { font-size: 0.72rem; color: var(--color-muted); margin-bottom: 2px; }
.hero__card-price-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-sage-deep);
  letter-spacing: -0.02em;
}
.hero__card-price-sub { font-size: 0.7rem; color: var(--color-muted); }

.hero__card-verified-icon {
  width: 32px; height: 32px;
  background: var(--color-sage-ghost);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.hero__card-verified-title { font-size: 0.82rem; font-weight: 600; color: var(--color-foreground); }
.hero__card-verified-sub   { font-size: 0.72rem; color: var(--color-muted); }

/* Search bar */
.hero__search {
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-glass);
  max-width: 560px;
  margin-bottom: 20px;
}

.hero__search input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-foreground);
  outline: none;
}

.hero__search input::placeholder { color: var(--color-muted); }

/* Features section */
.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sage-mid);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-foreground);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
}

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

.feature-card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--color-sage-ghost);
  border: 1px solid var(--color-sage-tint);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-sage-deep);
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-foreground);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* Featured listings section */
.featured { padding: 80px 0 100px; }

.featured__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

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

/* CTA section */
.cta-section {
  padding: 80px 0 100px;
}

.cta-card {
  background: var(--color-sage-deep);
  border-radius: var(--radius-xl);
  padding: 80px 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,174,138,0.3) 0%, transparent 70%);
  top: -200px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.cta-card .btn--primary {
  background: #fff;
  color: var(--color-sage-deep);
  border-color: #fff;
  flex-shrink: 0;
}

.cta-card .btn--primary:hover {
  background: var(--color-sage-tint);
  border-color: var(--color-sage-tint);
  color: var(--color-sage-deep);
}

/* ============================================
   LISTINGS PAGE
   ============================================ */
.listings-page {
  padding: 100px 0 80px;
}

.listings-page__header {
  margin-bottom: 36px;
}

.listings-page__title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  color: var(--color-foreground);
  margin-bottom: 8px;
}

.listings-page__sub {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.listings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar filters */
.filters-sidebar {
  background: var(--color-glass-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-md);
}

.filters-title {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.filter-group { margin-bottom: 28px; }

.filter-group__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 12px;
  display: block;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-chip {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 99px;
  padding: 6px 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--color-sage-ghost);
  color: var(--color-sage-deep);
  border-color: var(--color-sage-light);
}

.range-input { width: 100%; accent-color: var(--color-sage-deep); }

.filter-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 6px;
}

/* Search + sort bar */
.listings-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  background: var(--color-glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-foreground);
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-input:focus { border-color: var(--color-sage-light); }
.search-input::placeholder { color: var(--color-muted); }

.sort-select {
  height: 44px;
  padding: 0 16px;
  background: var(--color-glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-foreground);
  outline: none;
  cursor: pointer;
}

.listings-count {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 20px;
}

/* ============================================
   PROPERTY DETAIL PAGE
   ============================================ */
.detail-page { padding: 100px 0 80px; }

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--color-muted);
  margin-bottom: 28px;
}

.detail-breadcrumb a:hover { color: var(--color-sage-deep); }
.detail-breadcrumb span { color: var(--color-border); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.detail-gallery {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 32px;
}

.detail-gallery__main {
  height: 440px;
  position: relative;
  overflow: hidden;
}

.detail-gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
}

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

.detail-gallery__thumb {
  height: 90px;
  overflow: hidden;
  cursor: pointer;
}

.detail-gallery__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.detail-gallery__thumb:hover img { transform: scale(1.06); }

.detail-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--color-foreground);
  line-height: 1.2;
  margin-bottom: 8px;
}

.detail-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.detail-specs {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 28px;
}

.detail-spec { text-align: center; }
.detail-spec-value { font-size: 1.3rem; font-weight: 600; color: var(--color-foreground); letter-spacing: -0.02em; }
.detail-spec-label { font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }

.detail-description {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.detail-amenities {
  margin-bottom: 32px;
}

.detail-amenities-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-foreground);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-foreground);
}

.amenity-item svg { color: var(--color-sage-mid); flex-shrink: 0; }

/* Inquiry card */
.inquiry-card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-glass);
}

.inquiry-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-sage-deep);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.inquiry-price span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-muted);
}

.inquiry-divider {
  height: 1px;
  background: var(--color-border);
  margin: 20px 0;
}

.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-foreground);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-foreground);
  outline: none;
  transition: border-color var(--transition-fast);
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-sage-light);
  box-shadow: 0 0 0 3px rgba(123,174,138,0.15);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--color-muted); }

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-page { padding: 90px 0 80px; }

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.dashboard-greeting {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  color: var(--color-foreground);
}

.dashboard-greeting span { color: var(--color-sage-deep); font-style: italic; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-md);
}

.stat-card__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-foreground);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card__change {
  font-size: 0.78rem;
  color: #4CAF50;
  display: flex;
  align-items: center;
  gap: 3px;
}

.stat-card__change--down { color: #E53E3E; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}

.dashboard-panel {
  background: var(--color-glass-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.panel-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-foreground);
  letter-spacing: -0.02em;
}

.listing-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}

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

.listing-row__img {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.listing-row__img img { width: 100%; height: 100%; object-fit: cover; }

.listing-row__info { flex: 1; min-width: 0; }

.listing-row__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-row__loc { font-size: 0.78rem; color: var(--color-muted); }

.listing-row__status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
}

.status--active   { background: #E6F7EC; color: #27AE60; }
.status--pending  { background: #FFF8E6; color: #F59E0B; }
.status--inactive { background: #F5F5F5; color: #9E9E9E; }

.inquiry-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.inquiry-item:last-child { border-bottom: none; }
.inquiry-item__name { font-size: 0.88rem; font-weight: 600; color: var(--color-foreground); margin-bottom: 2px; }
.inquiry-item__msg  { font-size: 0.8rem; color: var(--color-muted); line-height: 1.5; }
.inquiry-item__time { font-size: 0.72rem; color: var(--color-muted); margin-top: 6px; }

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  background: var(--color-sage-deep);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.auth-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=900&q=80') center/cover;
  opacity: 0.35;
}

.auth-visual__content { position: relative; z-index: 2; }
.auth-visual__quote {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.auth-visual__author { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  background: var(--color-bg);
}

.auth-form-inner { width: 100%; max-width: 420px; }

.auth-logo { margin-bottom: 48px; }

.auth-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--color-foreground);
  margin-bottom: 8px;
}

.auth-sub {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 36px;
}

.auth-sub a { color: var(--color-sage-deep); font-weight: 500; }

.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.role-option {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.role-option:hover { border-color: var(--color-sage-light); background: var(--color-sage-ghost); }
.role-option.selected { border-color: var(--color-sage-deep); background: var(--color-sage-ghost); }
.role-option__icon { font-size: 1.5rem; margin-bottom: 6px; }
.role-option__label { font-size: 0.85rem; font-weight: 600; color: var(--color-foreground); }
.role-option__sub   { font-size: 0.75rem; color: var(--color-muted); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

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

.form-link {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 20px;
}

.form-link a { color: var(--color-sage-deep); font-weight: 500; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-foreground);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 28px;
  margin-top: 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand .nav__logo-mark { color: var(--color-sage-light); }
.footer__brand .nav__logo-text { color: #fff; }

.footer__tagline {
  font-size: 0.85rem;
  margin-top: 10px;
  color: rgba(255,255,255,0.5);
}

.footer__col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
}

.footer__col a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner       { grid-template-columns: 1fr; }
  .hero__visual      { display: none; }
  .features__grid    { grid-template-columns: repeat(2, 1fr); }
  .listings-grid     { grid-template-columns: repeat(2, 1fr); }
  .stats-row         { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid    { grid-template-columns: 1fr; }
  .detail-layout     { grid-template-columns: 1fr; }
  .auth-page         { grid-template-columns: 1fr; }
  .auth-visual       { display: none; }
  .footer__inner     { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav__links        { display: none; }
  .nav__actions      { display: none; }
  .nav__hamburger    { display: flex; }
  .hero__title       { font-size: 2.4rem; }
  .features__grid    { grid-template-columns: 1fr; }
  .listings-layout   { grid-template-columns: 1fr; }
  .filters-sidebar   { display: none; }
  .listings-grid     { grid-template-columns: 1fr; }
  .stats-row         { grid-template-columns: 1fr 1fr; }
  .cta-card          { grid-template-columns: 1fr; padding: 48px 36px; }
  .footer__inner     { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__title       { font-size: 2rem; }
  .hero__stats       { flex-wrap: wrap; gap: 24px; }
  .detail-specs      { flex-wrap: wrap; gap: 16px; }
  .amenities-grid    { grid-template-columns: 1fr; }
}
