/* =============================================================
   PropMax — Premium Real Estate Portal
   Version: 20260529
   Paleta: Azul marino #0A1628 | Dorado #C9A84C | Blanco | Grises
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Colors */
  --navy:    #0A1628;
  --navy-2:  #0e1e38;
  --navy-3:  #152645;
  --gold:    #C9A84C;
  --gold-2:  #dfc06b;
  --gold-3:  #a87e2c;
  --white:   #FFFFFF;
  --cream:   #F8F6F1;
  --gray-1:  #F2F4F7;
  --gray-2:  #E2E8EF;
  --gray-3:  #B8C5D3;
  --gray-4:  #7A8EA4;
  --gray-5:  #4A5C70;
  --text:    #1A2535;
  --muted:   #5E7085;

  /* Semantic */
  --bg:      var(--white);
  --surface: var(--cream);
  --border:  var(--gray-2);
  --accent:  var(--gold);

  /* Typography */
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --gutter:  clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 8vw, 7rem);
  --radius:  12px;
  --radius-lg: 20px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(10,22,40,.08);
  --shadow-md: 0 8px 32px rgba(10,22,40,.12);
  --shadow-lg: 0 24px 64px rgba(10,22,40,.18);
  --shadow-gold: 0 4px 24px rgba(201,168,76,.25);

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Nav */
  --nav-h: 72px;
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4, h5 {
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: var(--serif);
}
input, select, textarea {
  font: inherit;
  color: inherit;
}
::selection { background: var(--gold); color: var(--navy); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }
.container--wide   { max-width: 1520px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--navy); color: var(--white);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Typography
   ============================================================= */
.display-1 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: .96; }
.display-2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.display-3 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.heading-1  { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.heading-2  { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.overline {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =============================================================
   5. Buttons & Badges
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-size: .9rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all .3s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
}
.btn--secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--lg { padding: 1rem 2.5rem; font-size: 1rem; border-radius: 10px; }
.btn--sm { padding: .5rem 1.1rem; font-size: .82rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--icon {
  padding: .75rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  justify-content: center;
}

.badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge--gold   { background: var(--gold); color: var(--navy); }
.badge--new    { background: #22c55e; color: #fff; }
.badge--sale   { background: #3b82f6; color: #fff; }
.badge--rent   { background: #8b5cf6; color: #fff; }

/* =============================================================
   6. Navigation
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.nav.is-scrolled {
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 32px rgba(10,22,40,.3);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.nav__logo-icon {
  width: 36px; height: 36px;
}
.nav__logo .logo-text { display: inline; white-space: nowrap; letter-spacing: 0; word-spacing: 0; }
.nav__logo .logo-text span { color: var(--gold); letter-spacing: 0; }

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color .25s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s var(--ease-out);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__actions {
  display: none;
  align-items: center;
  gap: .75rem;
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav.is-open .nav__hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav.is-open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--navy);
  padding: 2rem var(--gutter);
  overflow-y: auto;
  gap: 1.5rem;
  z-index: 899;
}
.nav.is-open .nav__mobile { display: flex; }
.nav__mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding-block: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* =============================================================
   7. Hero — Homepage
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .5;
  transform: scale(1.08);
  transition: transform 8s var(--ease-soft);
}
.hero.is-ready .hero__bg img { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,22,40,.45) 0%,
    rgba(10,22,40,.25) 50%,
    rgba(10,22,40,.7) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: var(--nav-h);
}
.hero__inner {
  padding-block: 5rem 4rem;
}
.hero__label {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.hero__label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .7; }
}
.hero__title {
  color: #FFFFFF;
  max-width: 14ch;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: normal;
  color: var(--gold);
}
.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--gold);
  max-width: 50ch;
  margin-bottom: 3rem;
  font-weight: 600;
}

/* Search bar */
.search-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 32px 80px rgba(10,22,40,.45);
  max-width: 900px;
  border: 1px solid rgba(255,255,255,.15);
}
.search-bar__tabs {
  display: flex;
  gap: .25rem;
  margin-bottom: 1.25rem;
  background: var(--gray-1);
  padding: .25rem;
  border-radius: 8px;
  width: fit-content;
}
.search-tab {
  padding: .5rem 1.25rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .25s var(--ease-out);
  cursor: pointer;
}
.search-tab.is-active {
  background: var(--navy);
  color: var(--white);
}
.search-bar__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  align-items: end;
}
.search-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.search-field label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.search-field select,
.search-field input {
  height: 52px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding-inline: 1rem;
  font-size: .95rem;
  font-weight: 600;
  background: var(--white);
  color: var(--navy);
  transition: border-color .25s;
  appearance: none;
  -webkit-appearance: none;
}
.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--gold);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}
.hero__stat { color: var(--white); }
.hero__stat-value {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.hero__stat-label {
  font-size: .82rem;
  color: #FFFFFF;
  margin-top: .2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
  font-weight: 500;
}

/* =============================================================
   8. Section Shared
   ============================================================= */
.section { padding-block: var(--section); }
.section__header {
  margin-bottom: 3rem;
}
.section__title {
  color: var(--navy);
  margin-bottom: .75rem;
}
.section__lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 55ch;
}

/* =============================================================
   9. Property Cards
   ============================================================= */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.prop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  position: relative;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.prop-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.prop-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-soft);
}
.prop-card:hover .prop-card__img img { transform: scale(1.06); }
.prop-card__badge {
  position: absolute;
  top: .75rem; left: .75rem;
  z-index: 1;
}
.prop-card__fav {
  position: absolute;
  top: .75rem; right: .75rem;
  z-index: 1;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .25s var(--ease-out);
  border: none;
}
.prop-card__fav:hover { background: var(--white); transform: scale(1.1); }
.prop-card__fav.is-fav svg { fill: #ef4444; stroke: #ef4444; }
.prop-card__body {
  padding: 1.25rem;
}
.prop-card__price {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.prop-card__price span {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: .25rem;
}
.prop-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
  font-family: var(--sans);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prop-card__address {
  font-size: .82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .75rem;
}
.prop-card__meta {
  display: flex;
  gap: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.prop-card__meta-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
}
.prop-card__agent {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-top: .75rem;
  margin-top: .75rem;
  border-top: 1px solid var(--border);
}
.prop-card__agent img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.prop-card__agent-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}

/* List view */
.prop-grid.is-list { grid-template-columns: 1fr; }
.prop-grid.is-list .prop-card {
  display: grid;
  grid-template-columns: 280px 1fr;
}
.prop-grid.is-list .prop-card__img { height: 100%; min-height: 180px; }

/* =============================================================
   10. Cities Grid
   ============================================================= */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.city-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 180px;
  cursor: pointer;
}
.city-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-soft);
}
.city-card:hover img { transform: scale(1.06); }
.city-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.85) 0%, rgba(10,22,40,.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--white);
  transition: background .3s;
}
.city-card:hover .city-card__overlay { background: linear-gradient(to top, rgba(10,22,40,.9) 0%, rgba(10,22,40,.25) 100%); }
.city-card__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.city-card__count { font-size: .8rem; color: var(--gold); font-weight: 500; margin-top: .2rem; }

/* =============================================================
   11. Testimonials
   ============================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease-out);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1rem;
  color: var(--gold);
}
.testimonial-text {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-role { font-size: .78rem; color: var(--muted); }

/* =============================================================
   12. CTA Publish Banner
   ============================================================= */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.25) 0%, transparent 70%);
}
.cta-banner__label { color: var(--gold); }
.cta-banner__title {
  color: var(--white);
  max-width: 20ch;
}
.cta-banner__lead {
  color: rgba(255,255,255,.7);
  max-width: 45ch;
  font-size: .95rem;
}
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* =============================================================
   13. Stats Counter Section
   ============================================================= */
.stats-section {
  background: var(--navy);
  padding-block: 4rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
  color: var(--white);
}
.stat-value {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-top: .5rem;
}

/* =============================================================
   14. Footer
   ============================================================= */
.footer {
  background: var(--navy-2);
  color: rgba(255,255,255,.75);
  padding-block: 4rem 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer__brand .nav__logo { color: var(--white); margin-bottom: 1rem; }
.footer__brand p { font-size: .9rem; line-height: 1.7; }
.footer__heading {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer__links a {
  font-size: .88rem;
  transition: color .25s;
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
  text-align: center;
  font-size: .82rem;
}
.footer__social {
  display: flex;
  gap: .75rem;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease-out);
  font-size: .8rem;
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }

/* =============================================================
   15. Listing Page
   ============================================================= */
.listing-hero {
  background: var(--navy);
  padding-block: calc(var(--nav-h) + 2.5rem) 2.5rem;
}
.listing-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.listing-hero p { color: rgba(255,255,255,.65); margin-top: .5rem; }

.listing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 2.5rem;
}

/* Filters sidebar */
.filters-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.filters-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.filters-panel__title {
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--sans);
}
.filter-group { margin-bottom: 1.5rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
  display: block;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.filter-chip {
  padding: .4rem .9rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--ease-out);
  background: var(--white);
}
.filter-chip.is-active, .filter-chip:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.range-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.range-inputs input {
  height: 42px;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding-inline: .75rem;
  font-size: .85rem;
  transition: border-color .25s;
}
.range-inputs input:focus { outline: none; border-color: var(--gold); }

/* Results toolbar */
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.results-count { font-size: .9rem; color: var(--muted); }
.results-count strong { color: var(--text); }
.view-toggle {
  display: flex;
  gap: .35rem;
}
.view-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.view-btn.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.sort-select {
  height: 38px;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding-inline: .75rem;
  font-size: .85rem;
  cursor: pointer;
  background: var(--white);
  transition: border-color .25s;
}
.sort-select:focus { outline: none; border-color: var(--gold); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding-top: 2rem;
}
.page-btn {
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  transition: all .2s;
}
.page-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.page-btn:hover:not(.is-active) {
  border-color: var(--gold);
  color: var(--gold);
}

/* =============================================================
   16. Property Detail Page
   ============================================================= */
.detail-hero {
  padding-top: var(--nav-h);
  background: var(--cream);
}
.gallery-slider {
  position: relative;
  background: var(--navy);
  height: clamp(280px, 55vw, 580px);
  overflow: hidden;
}
.gallery-slider__track {
  display: flex;
  height: 100%;
  transition: transform .5s var(--ease-out);
}
.gallery-slider__slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}
.gallery-slider__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-slider__btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
  z-index: 2;
}
.gallery-slider__btn:hover { background: var(--white); transform: translateY(-50%) scale(1.05); }
.gallery-slider__btn--prev { left: 1rem; }
.gallery-slider__btn--next { right: 1rem; }
.gallery-slider__dots {
  position: absolute;
  bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem;
  z-index: 2;
}
.gallery-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all .25s;
}
.gallery-dot.is-active {
  background: var(--white);
  transform: scale(1.3);
}
.gallery-thumbs {
  display: flex;
  gap: .5rem;
  padding: 1rem;
  overflow-x: auto;
  background: var(--navy);
}
.gallery-thumb {
  flex-shrink: 0;
  width: 80px; height: 60px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: .6;
  border: 2px solid transparent;
  transition: all .25s;
}
.gallery-thumb.is-active { opacity: 1; border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 2.5rem;
  align-items: start;
}
.detail-main { }
.detail-sidebar { }

.detail-header {
  margin-bottom: 1.5rem;
}
.detail-price {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
}
.detail-price span { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.detail-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-block: .5rem;
}
.detail-address {
  display: flex; align-items: center; gap: .4rem;
  color: var(--muted); font-size: .9rem;
}
.detail-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-block: 1.25rem;
}
.detail-meta-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600;
  color: var(--text);
}
.detail-meta-item svg { color: var(--gold); }
.detail-desc h3 { margin-bottom: .75rem; font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
.detail-desc p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
  margin-top: .75rem;
}
.amenity-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .88rem; color: var(--text);
}
.amenity-item svg { color: var(--gold); flex-shrink: 0; }

/* Agent card */
.agent-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}
.agent-card__header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem;
}
.agent-card__img {
  width: 64px; height: 64px;
  border-radius: 50%; object-fit: cover;
  flex-shrink: 0;
}
.agent-card__name { font-weight: 700; font-size: 1rem; margin-bottom: .2rem; }
.agent-card__role { font-size: .82rem; color: var(--muted); }
.agent-card__actions { display: flex; flex-direction: column; gap: .6rem; }

/* Contact form (sidebar) */
.contact-form-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--white);
}
.contact-form-card h3 { color: var(--white); margin-bottom: 1.25rem; font-size: 1.1rem; font-family: var(--sans); font-weight: 700; }
.form-group { margin-bottom: 1rem; }
.form-group label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); display: block; margin-bottom: .4rem; }
.form-control {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: .75rem 1rem;
  color: var(--white);
  font-size: .9rem;
  transition: border-color .25s;
  resize: vertical;
}
.form-control::placeholder { color: rgba(255,255,255,.35); }
.form-control:focus { outline: none; border-color: var(--gold); }

/* Map placeholder */
.map-placeholder {
  background: var(--gray-1);
  border-radius: var(--radius-lg);
  height: 240px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .75rem;
  color: var(--muted);
  border: 2px dashed var(--border);
  margin-block: 1.5rem;
}
.map-placeholder svg { opacity: .4; }

/* =============================================================
   17. Publish Form (multi-step)
   ============================================================= */
.publish-hero {
  background: var(--navy);
  padding-block: calc(var(--nav-h) + 2rem) 2rem;
  text-align: center;
}
.publish-hero h1 { color: var(--white); }
.publish-hero p { color: rgba(255,255,255,.65); margin-top: .5rem; }

.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2rem var(--gutter);
  overflow-x: auto;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  min-width: 80px;
  opacity: .45;
  transition: opacity .35s;
}
.step-item.is-active { opacity: 1; }
.step-item.is-done { opacity: .75; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gray-2);
  border: 3px solid var(--gray-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .88rem;
  color: var(--muted);
  transition: all .3s var(--ease-out);
  position: relative;
  z-index: 1;
}
.step-item.is-active .step-num {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(10,22,40,.12);
}
.step-item.is-done .step-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.step-line {
  width: 60px; height: 3px;
  background: var(--gray-2);
  border-radius: 2px;
  margin-top: -1.4rem;
  transition: background .3s;
}
.step-line.is-done { background: var(--gold); }
.step-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  margin-top: .25rem;
}
.step-item.is-active .step-label { color: var(--navy); }

.publish-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem var(--gutter) 4rem;
}
.form-step {
  display: none;
}
.form-step.is-active { display: block; }
.form-step__title {
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.form-step__sub {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.form-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: .4rem;
}
.form-input {
  width: 100%;
  height: 48px;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding-inline: 1rem;
  font-size: .9rem;
  background: var(--white);
  transition: border-color .25s;
}
.form-input:focus { outline: none; border-color: var(--gold); }
.form-textarea {
  width: 100%;
  height: 120px;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .9rem;
  resize: vertical;
  transition: border-color .25s;
}
.form-textarea:focus { outline: none; border-color: var(--gold); }
.form-select {
  width: 100%;
  height: 48px;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding-inline: 1rem;
  font-size: .9rem;
  background: var(--white);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235E7085' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  transition: border-color .25s;
}
.form-select:focus { outline: none; border-color: var(--gold); }

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.type-option {
  position: relative;
  cursor: pointer;
}
.type-option input { position: absolute; opacity: 0; }
.type-option-label {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: all .25s var(--ease-out);
  font-weight: 600;
  font-size: .9rem;
}
.type-option input:checked + .type-option-label {
  border-color: var(--navy);
  background: rgba(10,22,40,.04);
  color: var(--navy);
}
.type-option-label svg { color: var(--gold); }

/* Photo upload */
.photo-upload-area {
  border: 3px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  background: var(--gray-1);
  margin-bottom: 1.25rem;
}
.photo-upload-area:hover { border-color: var(--gold); background: rgba(201,168,76,.04); }
.photo-upload-area.is-dragover { border-color: var(--gold); background: rgba(201,168,76,.08); }
.photo-upload-area input[type="file"] { display: none; }
.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}
.photo-preview-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-2);
}
.photo-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview-item__remove {
  position: absolute; top: .35rem; right: .35rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(239,68,68,.9);
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: .7rem;
  border: none;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

/* =============================================================
   18. Login / Register Page
   ============================================================= */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}
.auth-visual {
  display: none;
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.auth-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
}
.auth-visual-overlay {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem;
  background: rgba(10,22,40,.5);
  color: var(--white);
}
.auth-visual-overlay h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.auth-visual-overlay p { color: rgba(255,255,255,.7); max-width: 35ch; }
.auth-form-side {
  display: flex; align-items: center; justify-content: center;
  padding: 2rem var(--gutter);
  background: var(--white);
}
.auth-box {
  width: 100%;
  max-width: 420px;
}
.auth-logo { margin-bottom: 2.5rem; }
.auth-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
}
.auth-tab {
  flex: 1; text-align: center;
  padding-block: .75rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all .25s;
}
.auth-tab.is-active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.auth-form { display: none; }
.auth-form.is-active { display: block; }
.auth-form .form-group { margin-bottom: 1.25rem; }
.auth-form .form-label { color: var(--text); }
.auth-form .form-input {
  background: var(--gray-1);
  border-color: var(--gray-2);
}
.auth-divider {
  text-align: center;
  position: relative;
  margin-block: 1.5rem;
  color: var(--muted);
  font-size: .82rem;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1px;
  background: var(--border);
}
.auth-divider span {
  position: relative;
  background: var(--white);
  padding-inline: .75rem;
}
.auth-google {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  width: 100%; padding: .75rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-weight: 600; font-size: .9rem;
  cursor: pointer;
  transition: all .25s;
  background: var(--white);
}
.auth-google:hover { border-color: var(--gold); }
.auth-link { color: var(--gold); text-decoration: underline; font-size: .88rem; }
.auth-footer-text { font-size: .82rem; color: var(--muted); margin-top: 1rem; text-align: center; }

/* =============================================================
   19. Dashboard
   ============================================================= */
.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}
.dashboard-sidebar {
  background: var(--navy);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: .35rem;
}
.dash-nav-logo { margin-bottom: 2rem; }
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}
.dash-nav-item:hover { background: rgba(255,255,255,.08); color: var(--white); }
.dash-nav-item.is-active { background: rgba(201,168,76,.15); color: var(--gold); }
.dash-nav-item svg { flex-shrink: 0; }

.dashboard-main {
  background: var(--gray-1);
  overflow-y: auto;
}
.dashboard-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.dash-topbar-user {
  display: flex; align-items: center; gap: .75rem;
}
.dash-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.dashboard-content {
  padding: 2rem var(--gutter);
  max-width: 1100px;
}
.dashboard-greeting {
  margin-bottom: 2rem;
}
.dashboard-greeting h1 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-family: var(--serif);
  color: var(--navy);
}
.dashboard-greeting p { color: var(--muted); }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.kpi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.kpi-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kpi-value {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-block: .2rem;
}
.kpi-change {
  font-size: .78rem;
  font-weight: 600;
  padding: .2rem .5rem;
  border-radius: 4px;
}
.kpi-change.up { background: #dcfce7; color: #16a34a; }
.kpi-change.down { background: #fee2e2; color: #dc2626; }

.my-props-section { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.my-props-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.my-props-header h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; }

.prop-table { width: 100%; border-collapse: collapse; }
.prop-table th, .prop-table td {
  padding: .9rem 1rem;
  text-align: left;
  font-size: .85rem;
  border-bottom: 1px solid var(--border);
}
.prop-table th { font-weight: 700; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; background: var(--gray-1); }
.prop-table tr:last-child td { border-bottom: none; }
.prop-table tr:hover td { background: var(--gray-1); }
.prop-table__img { width: 56px; height: 44px; border-radius: 6px; object-fit: cover; }
.status-chip {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.status-chip--active { background: #dcfce7; color: #16a34a; }
.status-chip--pending { background: #fef9c3; color: #a16207; }
.status-chip--paused { background: var(--gray-1); color: var(--muted); }

.chart-placeholder {
  background: var(--gray-1);
  border-radius: var(--radius);
  height: 120px;
  display: flex; align-items: flex-end;
  gap: .35rem;
  padding: 1rem;
  overflow: hidden;
}
.chart-bar {
  flex: 1;
  background: var(--navy);
  border-radius: 4px 4px 0 0;
  opacity: .15;
  transition: opacity .3s;
}
.chart-bar.is-highlight { opacity: 1; background: var(--gold); }

/* =============================================================
   20. Modal
   ============================================================= */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,22,40,.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  transform: scale(.95) translateY(10px);
  transition: transform .3s var(--ease-out);
  position: relative;
}
.modal-overlay.is-open .modal-box { transform: none; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-1);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background .2s;
}
.modal-close:hover { background: var(--gray-2); }
.modal-title { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; margin-bottom: 1.5rem; }

/* =============================================================
   21. Custom Cursor (desktop only)
   ============================================================= */
.cursor-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity .25s, width .2s, height .2s, background .2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity .25s;
}
body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring { opacity: 1; }
.cursor-dot.is-hover { width: 12px; height: 12px; background: var(--navy); }
.cursor-ring.is-hover { width: 52px; height: 52px; border-color: var(--navy); opacity: .5; }

/* =============================================================
   22. Toast notifications
   ============================================================= */
.toast-container {
  position: fixed;
  bottom: 2rem; right: 2rem;
  display: flex; flex-direction: column;
  gap: .75rem;
  z-index: 2000;
}
.toast {
  background: var(--navy);
  color: var(--white);
  padding: .85rem 1.25rem;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .75rem;
  transform: translateX(120%);
  transition: transform .4s var(--ease-out);
  min-width: 280px;
  max-width: 360px;
}
.toast.is-visible { transform: none; }
.toast--success { border-left: 4px solid #22c55e; }
.toast--error { border-left: 4px solid #ef4444; }
.toast--info { border-left: 4px solid var(--gold); }

/* =============================================================
   23. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .nav__links, .nav__actions { display: flex; }
  .nav__hamburger { display: none; }

  .search-bar__fields { grid-template-columns: 1fr 1fr 1fr auto; }

  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .city-card { height: 220px; }

  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }

  .cta-banner { flex-direction: row; align-items: center; justify-content: space-between; }

  .auth-page { grid-template-columns: 1fr 1fr; }
  .auth-visual { display: block; }

  .detail-layout { grid-template-columns: 1fr 360px; }
  .detail-sidebar { position: sticky; top: calc(var(--nav-h) + 1rem); }

  .amenities-grid { grid-template-columns: repeat(3, 1fr); }

  .kpi-grid { grid-template-columns: repeat(4, 1fr); }

  .dashboard-layout { grid-template-columns: 240px 1fr; }
  .dashboard-sidebar { display: flex; }
}

@media (min-width: 960px) {
  .listing-layout { grid-template-columns: 280px 1fr; }

  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }

  .cities-grid { grid-template-columns: repeat(3, 1fr); }

  .photo-preview-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .search-bar__fields { grid-template-columns: 2fr 1fr 1fr 1fr auto; }
  .cities-grid { grid-template-columns: repeat(6, 1fr); }
}

/* =============================================================
   24. Reduced motion (only intrusive)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero__bg img { transform: none; transition: none; }
  .hero__label-dot { animation: none; }
}

/* =============================================================
   25. Page transitions (View Transitions API)
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .5s;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(root) { animation-name: fadeOutRight; }
::view-transition-new(root) { animation-name: fadeInLeft; }
@keyframes fadeOutRight { to { opacity: 0; transform: translateX(20px); } }
@keyframes fadeInLeft  { from { opacity: 0; transform: translateX(-20px); } }

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