/* =============================================================================
   Marisol Estates — Design System
   Premium, editorial real-estate aesthetic. Warm ivory neutrals + antique
   gold accent (matched to the brand mark), generous whitespace, confident
   serif display type paired with a clean grotesque for UI text.
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #FBF8F2;
  --color-surface: #FFFFFF;
  --color-ink: #231F1A;
  --color-ink-soft: #5C5148;
  --color-muted: #948573;
  --color-border: #EAE1D3;
  --color-accent: #8B6423;       /* antique gold, matched to the logo mark */
  --color-accent-dark: #6E4F1B;
  --color-accent-light: #F5EBD6;
  --color-gold: #A67C3D;         /* brighter gold for decorative accents */
  --color-danger: #B3413B;
  --color-success: #2E7D4F;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(35, 31, 26, 0.06), 0 1px 2px rgba(35, 31, 26, 0.08);
  --shadow-md: 0 8px 24px rgba(35, 31, 26, 0.08);
  --shadow-lg: 0 20px 48px rgba(35, 31, 26, 0.14);

  --container-max: 1280px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; color: var(--color-ink-soft); }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 0.75em;
  display: inline-block;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn-outline:hover { background: var(--color-ink); color: #fff; }
.btn-light { background: #fff; color: var(--color-accent); }
.btn-light:hover { background: var(--color-accent-light); }
.btn-sm { padding: 9px 18px; font-size: 0.84rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--color-accent);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contacts a:hover { color: #fff; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.12); transition: background 0.2s; }
.topbar-social a:hover { background: rgba(255,255,255,0.25); }
.topbar-social svg { width: 13px; height: 13px; fill: #fff; }

/* --------------------------------------------------------------------------
   Main header
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--color-accent); display: flex; align-items: center; gap: 8px; }
.logo .dot { color: var(--color-gold); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; font-size: 0.94rem; color: var(--color-ink-soft); transition: color 0.15s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--color-accent); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-gold); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--color-ink); border-radius: 2px; }

.profile-dropdown { position: relative; }
.profile-trigger { display: flex; align-items: center; gap: 8px; background: var(--color-accent-light); border: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--color-accent); }
.profile-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: #fff; box-shadow: var(--shadow-lg); border-radius: var(--radius-md); min-width: 190px; padding: 8px; border: 1px solid var(--color-border); }
.profile-dropdown.open .profile-menu { display: block; }
.profile-menu a, .profile-menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 0.9rem; border: none; background: none; }
.profile-menu a:hover, .profile-menu button:hover { background: var(--color-bg); }

.mobile-nav { display: none; position: fixed; inset: 0; background: rgba(35,31,26,0.5); z-index: 200; }
.mobile-nav.open { display: block; }
.mobile-nav-panel { position: absolute; top: 0; right: 0; width: min(86vw, 340px); height: 100%; background: #fff; padding: 24px; overflow-y: auto; z-index: 1; }
.mobile-nav-panel .nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-panel .nav-links a:not(.btn) {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--color-border);
  color: var(--color-ink) !important; font-weight: 600; font-size: 1.02rem; text-align: center; opacity: 1;
}
.mobile-nav-panel .nav-links a:not(.btn):hover,
.mobile-nav-panel .nav-links a:not(.btn).active { color: var(--color-accent) !important; }
.mobile-nav-panel .nav-links li { text-align: center; }
.mobile-nav-panel .nav-links .btn-primary { color: #fff !important; justify-content: center; text-align: center; }
.mobile-nav-panel .nav-links .btn-outline { color: var(--color-ink) !important; justify-content: center; text-align: center; }
.mobile-nav-panel form { text-align: center; }
.mobile-nav-close { background: none; border: none; font-size: 1.6rem; float: right; color: var(--color-ink); }

@media (max-width: 960px) {
  .main-nav > .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .profile-dropdown { display: none; }
}

/* --------------------------------------------------------------------------
   Hero carousel
   -------------------------------------------------------------------------- */
.hero { position: relative; height: 92vh; min-height: 560px; overflow: hidden; color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; z-index: 0; }
.hero-slide.active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(35,31,26,0.45) 0%, rgba(35,31,26,0.6) 45%, rgba(35,31,26,0.82) 100%); }
.hero-content { position: absolute; inset: 0; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-bottom: 90px; }
.hero-text { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-text .eyebrow { color: var(--color-gold); font-size: 1.05rem; letter-spacing: 0.18em; font-weight: 700; }
.hero-text h1 { color: #fff; }
.hero-text p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 560px; margin-left: auto; margin-right: auto; }

.hero-rotating-line { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: rgba(255,255,255,0.9); margin: 0 0 6px; }
.hero-rotating-word { display: inline-block; color: var(--color-gold); font-weight: 600; min-width: 7ch; text-align: left; }
.hero-rotating-word.swap-out { animation: heroWordOut 0.35s ease forwards; }
.hero-rotating-word.swap-in { animation: heroWordIn 0.35s ease forwards; }
@keyframes heroWordOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-8px); } }
@keyframes heroWordIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero-rotating-word.swap-out, .hero-rotating-word.swap-in { animation: none; } }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.btn-outline-light { border-color: rgba(255,255,255,0.6); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--color-ink); border-color: #fff; }
@media (max-width: 560px) { .hero-cta-row { flex-direction: column; width: 100%; } .hero-cta-row .btn { width: 100%; justify-content: center; } }

.hero-nav { position: absolute; bottom: 190px; right: 24px; z-index: 4; display: flex; gap: 10px; }
@media (min-width: 960px) { .hero-nav { right: 5%; } }
.hero-nav button { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.hero-nav button:hover { background: rgba(255,255,255,0.3); }

.hero-indicators { position: absolute; bottom: 190px; left: 24px; z-index: 4; display: flex; gap: 8px; }
@media (min-width: 960px) { .hero-indicators { left: 5%; } }
.hero-indicators button { width: 28px; height: 3px; background: rgba(255,255,255,0.4); border: none; border-radius: 2px; transition: background 0.2s; }
.hero-indicators button.active { background: #fff; }

/* Hero search bar */
.hero-search { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 4; padding: 0 24px; }
.hero-search form { max-width: var(--container-max); margin: 0 auto; background: rgba(255,255,255,0.97); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 14px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 10px; }
.hero-search select, .hero-search input { border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.9rem; background: #fff; color: var(--color-ink); width: 100%; }
.hero-search .btn { justify-content: center; }
@media (max-width: 960px) { .hero-search form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hero-search { bottom: 16px; } .hero-search form { grid-template-columns: 1fr; padding: 12px; } .hero { height: 100vh; } .hero-content { padding-bottom: 260px; } .hero-nav, .hero-indicators { display: none; } }

/* --------------------------------------------------------------------------
   About section
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-image { aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* --------------------------------------------------------------------------
   Region cards
   -------------------------------------------------------------------------- */
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.region-grid.centered-last { justify-content: center; }
@media (max-width: 860px) { .region-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.region-card { display: block; position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); background: var(--color-border); }
.region-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.region-card:hover img { transform: scale(1.06); }
.region-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(35,31,26,0.85) 100%); }
.region-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; color: #fff; }
.region-card-body h3 { color: #fff; margin: 0 0 2px; font-size: 1.1rem; }
.region-card-body span { font-size: 0.8rem; opacity: 0.85; }

/* --------------------------------------------------------------------------
   Property cards
   -------------------------------------------------------------------------- */
.property-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; min-width: 0; }
.property-grid.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.property-grid > * { min-width: 0; }
@media (max-width: 1080px) { .property-grid, .property-grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .property-grid, .property-grid.grid-3 { grid-template-columns: minmax(0, 1fr); } }

.property-card { background: var(--color-surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: box-shadow 0.2s, transform 0.2s; }
.property-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.property-card-media { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--color-border); }
.property-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.property-badge { position: absolute; top: 12px; left: 12px; background: var(--color-accent); color: #fff; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 10px; border-radius: 999px; }
.property-badge.rent { background: var(--color-gold); }
.property-status { position: absolute; top: 12px; right: 12px; background: rgba(35,31,26,0.75); color: #fff; font-size: 0.7rem; padding: 4px 10px; border-radius: 999px; text-transform: capitalize; }
.property-card-body { padding: 18px; }
.property-price { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-accent); margin-bottom: 4px; }
.property-title {
  font-size: 1rem; font-weight: 600; margin: 0 0 4px; color: var(--color-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.3; min-height: 2.6em;
}
.property-location {
  font-size: 0.82rem; color: var(--color-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.property-specs { display: flex; flex-wrap: nowrap; gap: 12px; font-size: 0.8rem; color: var(--color-ink-soft); border-top: 1px solid var(--color-border); padding-top: 12px; overflow-x: auto; }
.property-specs span { display: flex; align-items: center; gap: 4px; white-space: nowrap; flex-shrink: 0; }

.property-list-item { display: grid; grid-template-columns: 130px 1fr; gap: 14px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.property-list-item .property-card-media { aspect-ratio: 1/1; }
.property-list-item .property-card-body { padding: 12px; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial-carousel { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card { flex: 0 0 100%; max-width: 640px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); padding: 40px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.testimonial-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; }
.testimonial-stars { color: var(--color-gold); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-message { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: var(--color-ink); }
.testimonial-name { font-weight: 700; margin-top: 12px; }
.testimonial-location { color: var(--color-muted); font-size: 0.85rem; }
.testimonial-nav { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.testimonial-nav button { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--color-border); }
.testimonial-nav button.active { background: var(--color-accent); }

/* --------------------------------------------------------------------------
   Contact / forms
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
@media (max-width: 480px) { .form-card { padding: 20px; } }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 0.94rem; background: #fdfcfa;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--color-accent); outline: none; }
.form-errors { color: var(--color-danger); font-size: 0.82rem; margin-top: 4px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .two-col { grid-template-columns: 1fr; } }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: #E4F3E9; color: var(--color-success); }
.alert-error { background: #FBEAE9; color: var(--color-danger); }

/* --------------------------------------------------------------------------
   WhatsApp floating button
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,0.72); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.site-footer .logo { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 15px; height: 15px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; }
.footer-bottom a { color: var(--color-gold); font-weight: 600; }

/* --------------------------------------------------------------------------
   Page hero (internal pages)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; height: 320px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero::before { content:''; position: absolute; inset: 0; background: rgba(35,31,26,0.6); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 10px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; margin: 0; }

/* --------------------------------------------------------------------------
   Properties listing page
   -------------------------------------------------------------------------- */
.properties-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
@media (max-width: 960px) { .properties-layout { display: block; } }

.filter-sidebar {
  flex: 0 0 280px;
  width: 280px;
  max-width: 280px;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 24px; position: sticky; top: 96px;
  box-sizing: border-box; overflow-wrap: break-word; overflow-x: hidden;
}
.filter-sidebar * { box-sizing: border-box; max-width: 100%; }
.filter-sidebar select,
.filter-sidebar input:not([type="range"]),
.filter-sidebar textarea {
  width: 100%; max-width: 100%;
}
.filter-sidebar .price-range { display: flex; gap: 8px; align-items: center; }
.filter-sidebar .price-range input { min-width: 0; flex: 1; }

.properties-main {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
}

.filter-group { margin-bottom: 22px; }
.filter-group summary { font-weight: 600; cursor: pointer; margin-bottom: 10px; list-style: none; display: flex; justify-content: space-between; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; margin-bottom: 8px; color: var(--color-ink-soft); }
.price-range { display: flex; gap: 8px; align-items: center; }

.mobile-filter-trigger { display: none; }
@media (max-width: 960px) {
  .filter-sidebar { position: fixed; inset: 0 0 0 auto; width: min(90vw, 380px); max-width: none; z-index: 250; border-radius: 0; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
  .filter-sidebar.open { transform: translateX(0); }
  .filter-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 240; }
  .filter-backdrop.open { display: block; }
  .mobile-filter-trigger { display: inline-flex; }
}

.results-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.results-count { font-size: 0.9rem; color: var(--color-muted); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--color-border); font-size: 0.88rem; flex-shrink: 0; }
.pagination .current { background: var(--color-accent); color: #fff; border-color: var(--color-accent); font-weight: 700; }
.pagination a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pagination-ellipsis { border: none !important; color: var(--color-muted); min-width: 20px !important; }
@media (max-width: 480px) {
  .pagination { gap: 6px; }
  .pagination a, .pagination span { min-width: 32px; height: 32px; font-size: 0.8rem; }
}

.empty-state { text-align: center; padding: 60px 20px; color: var(--color-muted); }
.loading-state { text-align: center; padding: 60px 20px; color: var(--color-muted); }

@media (max-width: 640px) {
  .property-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Property detail
   -------------------------------------------------------------------------- */
.gallery { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.gallery-main { position: relative; aspect-ratio: 16/9; background: #eee; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { position: absolute; left: 16px; bottom: 16px; background: rgba(35,31,26,0.65); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: 0.6; border: 2px solid transparent; flex-shrink: 0; }
.gallery-thumbs img.active { opacity: 1; border-color: var(--color-accent); }

.detail-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .detail-layout { grid-template-columns: 1fr; } }

.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
@media (max-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
.spec-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 16px; text-align: center; }
.spec-item strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--color-accent); }
.spec-item span { font-size: 0.78rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.amenity-list { display: flex; flex-wrap: wrap; gap: 10px; }
.amenity-chip { background: var(--color-accent-light); color: var(--color-accent); padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; }

.sticky-card { position: sticky; top: 96px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }

/* --------------------------------------------------------------------------
   Auth pages
   -------------------------------------------------------------------------- */
.auth-wrapper { max-width: 460px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.skeleton { background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%); background-size: 400% 100%; animation: skeleton-loading 1.4s ease infinite; border-radius: var(--radius-sm); }
@keyframes skeleton-loading { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.lazy-fade { opacity: 0; transition: opacity 0.4s ease; }
.lazy-fade.loaded { opacity: 1; }

/* =============================================================================
   V2 — Ultra-luxury redesign additions
   ============================================================================= */

/* --------------------------------------------------------------------------
   Scroll-reveal (lightweight, IntersectionObserver-driven — see main.js)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: .08s; }
.reveal-delay-2.in-view { transition-delay: .16s; }
.reveal-delay-3.in-view { transition-delay: .24s; }
.reveal-delay-4.in-view { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Header v2 — logo left / nav centered / actions right
   -------------------------------------------------------------------------- */
.site-header .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.site-header .logo-slot { justify-self: start; display: flex; align-items: center; }
.site-header .logo-slot img { height: 64px; width: auto; max-width: 220px; object-fit: contain; padding: 4px 10px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.6); }
.site-header .logo-slot .logo { font-size: 1.4rem; }
.main-nav { grid-column: 2; justify-self: center; gap: 0; }
.nav-actions { grid-column: 3; justify-self: end; }
@media (max-width: 640px) { .site-header .logo-slot img { height: 48px; max-width: 170px; } }
@media (max-width: 960px) {
  .site-header .container { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
}

/* --------------------------------------------------------------------------
   Standalone auth layout (split screen, no header/footer)
   -------------------------------------------------------------------------- */
.auth-screen { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
@media (max-width: 900px) { .auth-screen { grid-template-columns: 1fr; } }

.auth-visual { position: relative; height: 100vh; overflow: hidden; color: #fff; }
@media (max-width: 900px) { .auth-visual { display: none; } }
.auth-bg-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.auth-bg-slide.active { opacity: 1; }
.auth-visual::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(35,31,26,.2) 0%, rgba(35,31,26,.8) 100%); }
.auth-visual-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 56px; }
.auth-visual-brand { position: absolute; top: 40px; left: 56px; z-index: 2; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.auth-visual-brand img { height: 52px; padding: 4px 10px; background: rgba(255,255,255,0.7); border-radius: 6px; }

.auth-testimonial { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-lg); padding: 28px; max-width: 460px; }
.auth-testimonial-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.auth-testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.4); }
.auth-location-tag { font-size: 0.76rem; color: rgba(255,255,255,0.65); display: block; margin-top: 2px; }
.auth-testimonial .testimonial-stars { color: var(--color-gold); margin-bottom: 10px; }
.auth-testimonial p { color: rgba(255,255,255,0.92); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; margin: 0; }
.auth-testimonial .testimonial-name { color: #fff; font-weight: 700; }
.auth-testimonial-nav { display: flex; gap: 8px; margin-top: 16px; }
.auth-testimonial-nav button { width: 22px; height: 3px; border: none; background: rgba(255,255,255,0.35); border-radius: 2px; }
.auth-testimonial-nav button.active { background: #fff; }

.auth-form-side {
  display: flex; align-items: center; justify-content: center; padding: 40px 24px;
  background: radial-gradient(circle at 30% 20%, var(--color-accent-light) 0%, var(--color-bg) 55%);
}
.auth-form-inner {
  width: 100%; max-width: 420px; background: rgba(255,255,255,0.7); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.6); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 44px 36px;
}
@media (max-width: 460px) { .auth-form-inner { padding: 32px 22px; background: rgba(255,255,255,0.9); } }
.auth-form-inner .logo { display: block; text-align: center; margin-bottom: 8px; font-size: 1.7rem; }
.auth-form-inner .logo img { height: 56px; margin: 0 auto; }
.auth-subtitle { text-align: center; color: var(--color-muted); margin-bottom: 32px; }

/* Floating label inputs */
.field-float { position: relative; margin-bottom: 20px; }
.field-float input {
  width: 100%; padding: 20px 16px 8px; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 0.96rem;
  background: #fdfcfa; transition: border-color 0.2s, box-shadow 0.2s;
}
.field-float label {
  position: absolute; left: 16px; top: 16px; color: var(--color-muted); font-size: 0.95rem;
  pointer-events: none; transition: all 0.18s ease; background: transparent;
}
.field-float input:focus { border-color: var(--color-accent); outline: none; box-shadow: 0 0 0 4px var(--color-accent-light); }
.field-float input:focus + label,
.field-float input:not(:placeholder-shown) + label {
  top: 6px; font-size: 0.72rem; color: var(--color-accent); font-weight: 600; letter-spacing: 0.02em;
}
.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-switch { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--color-ink-soft); }
.auth-switch a { color: var(--color-accent); font-weight: 700; }

/* --------------------------------------------------------------------------
   Hero — ambient slideshow polish + elevated search
   -------------------------------------------------------------------------- */
.hero-search form { box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 24px 60px rgba(35,31,26,0.18); border: 1px solid rgba(255,255,255,0.6); }
.hero-search select, .hero-search input { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.hero-search select:focus, .hero-search input:focus { border-color: var(--color-accent); outline: none; box-shadow: 0 0 0 3px var(--color-accent-light); }

/* --------------------------------------------------------------------------
   About v2 — asymmetrical image grid + stat metrics
   -------------------------------------------------------------------------- */
.about-grid-v2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about-grid-v2 { grid-template-columns: 1fr; gap: 32px; } }
.about-image-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 460px; }
.about-image-grid .tile-a { grid-row: 1 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-image-grid .tile-b, .about-image-grid .tile-c { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-image-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.about-image-grid a:hover img, .about-image-grid div:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .about-image-grid { grid-template-columns: 1fr 1fr; height: 320px; } }

.stat-row { display: flex; gap: 40px; margin: 28px 0; flex-wrap: wrap; }
.stat-item { min-width: 110px; }
.stat-item strong {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px;
  font-family: var(--font-display); font-weight: 600; line-height: 1.1; color: var(--color-accent);
}
.stat-item .stat-prefix { font-size: 1.1rem; font-weight: 600; }
.stat-item .counter { font-size: 2rem; font-weight: 600; }
.stat-item .stat-suffix { font-size: 1.3rem; font-weight: 600; }
.stat-item span:not(.counter):not(.stat-prefix):not(.stat-suffix) { display: block; margin-top: 4px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); }
@media (max-width: 640px) {
  .stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .stat-item { min-width: 0; }
  .stat-item .stat-prefix { font-size: 0.95rem; }
  .stat-item .counter { font-size: 1.5rem; }
  .stat-item .stat-suffix { font-size: 1.1rem; }
}
@media (max-width: 360px) { .stat-row { grid-template-columns: 1fr 1fr; gap: 20px 12px; } }
.stat-row .stat-item:last-child:nth-child(odd) { grid-column: 1 / -1; text-align: center; }
.stat-row .stat-item:last-child:nth-child(odd) strong { justify-content: center; }

/* --------------------------------------------------------------------------
   Luxury property card v2 — image slider dots + hover zoom + tags
   -------------------------------------------------------------------------- */
.property-card { position: relative; }
.property-card-media { cursor: pointer; }
.property-card-media img { transition: transform 0.6s cubic-bezier(.2,.8,.3,1); }
.property-card:hover .property-card-media img { transform: scale(1.08); }
.property-card-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; opacity: 0; transition: opacity 0.2s; }
.property-card:hover .property-card-dots { opacity: 1; }
.property-card-dots button { width: 6px; height: 6px; border-radius: 50%; border: none; background: rgba(255,255,255,0.55); padding: 0; }
.property-card-dots button.active { background: #fff; }
.property-card-quickview {
  position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(255,255,255,0.92); border: none;
  border-radius: 999px; padding: 7px 14px; font-size: 0.74rem; font-weight: 700; opacity: 0; transform: translateY(-6px);
  transition: all 0.2s; letter-spacing: 0.02em;
}
.property-card:hover .property-card-quickview { opacity: 1; transform: translateY(0); }
.property-badge.off-market { background: var(--color-ink); }

/* --------------------------------------------------------------------------
   Quick view modal
   -------------------------------------------------------------------------- */
.qv-modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(35,31,26,0.6); z-index: 500; align-items: center; justify-content: center; padding: 24px; }
.qv-modal-backdrop.open { display: flex; }
.qv-modal { background: #fff; border-radius: var(--radius-lg); max-width: 780px; width: 100%; max-height: 88vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-lg); }
@media (max-width: 720px) { .qv-modal { grid-template-columns: 1fr; } }
.qv-modal img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.qv-modal-body { padding: 28px; position: relative; }
.qv-modal-close { position: absolute; top: 14px; right: 14px; background: var(--color-bg); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Testimonials v2 — 3-up desktop carousel with verified tag
   -------------------------------------------------------------------------- */
.testimonial-grid-track { display: flex; gap: 24px; transition: transform 0.5s ease; }
.testimonial-grid-track .testimonial-card { flex: 0 0 calc(33.333% - 16px); max-width: none; margin: 0; }
@media (max-width: 960px) { .testimonial-grid-track .testimonial-card { flex: 0 0 calc(50% - 12px); } }
@media (max-width: 640px) { .testimonial-grid-track .testimonial-card { flex: 0 0 100%; } }
.verified-tag { display: inline-flex; align-items: center; gap: 4px; background: var(--color-accent-light); color: var(--color-accent); font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-top: 8px; letter-spacing: 0.02em; }

/* --------------------------------------------------------------------------
   Contact teaser card (homepage)
   -------------------------------------------------------------------------- */
.contact-teaser-card { background: var(--color-ink); color: rgba(255,255,255,0.85); border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .contact-teaser-card { grid-template-columns: 1fr; padding: 32px; } }
@media (max-width: 560px) { .contact-teaser-card { padding: 20px; border-radius: var(--radius-md); gap: 28px; } .contact-teaser-card .form-card { padding: 18px; } }
.contact-teaser-card h2, .contact-teaser-card .eyebrow { color: #fff; }
.contact-teaser-chips { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.contact-chip { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 10px 18px; font-size: 0.9rem; }
.contact-chip .icon-circle { width: 30px; height: 30px; border-radius: 50%; background: var(--color-gold); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }
.contact-teaser-card .form-card { background: #fff; }

/* --------------------------------------------------------------------------
   Custom pill toggles (property type filter)
   -------------------------------------------------------------------------- */
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-toggle {
  border: 1px solid var(--color-border); background: #fff; border-radius: 999px; padding: 8px 16px;
  font-size: 0.82rem; font-weight: 600; color: var(--color-ink-soft); transition: all 0.15s;
}
.pill-toggle:hover { border-color: var(--color-accent); }
.pill-toggle.active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* --------------------------------------------------------------------------
   Custom select (styled native select)
   -------------------------------------------------------------------------- */
.select-styled {
  appearance: none; -webkit-appearance: none; width: 100%; padding: 12px 38px 12px 14px;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff;
  font-family: inherit; font-size: 0.9rem; color: var(--color-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234A554F'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  cursor: pointer;
}
.select-styled:focus { border-color: var(--color-accent); outline: none; }

/* --------------------------------------------------------------------------
   Dual price range slider
   -------------------------------------------------------------------------- */
.range-slider { position: relative; height: 40px; margin-top: 8px; }
.range-slider .track { position: absolute; top: 18px; left: 0; right: 0; height: 4px; background: var(--color-border); border-radius: 2px; }
.range-slider .track-fill { position: absolute; top: 18px; height: 4px; background: var(--color-accent); border-radius: 2px; }
.range-slider input[type="range"] {
  position: absolute; top: 10px; left: 0; width: 100%; -webkit-appearance: none; appearance: none;
  background: transparent; pointer-events: none; margin: 0; height: 20px;
}
.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: all; width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-accent); border: 3px solid #fff; box-shadow: var(--shadow-sm); cursor: pointer; margin-top: 1px;
}
.range-slider input[type="range"]::-moz-range-thumb {
  pointer-events: all; width: 18px; height: 18px; border-radius: 50%; background: var(--color-accent);
  border: 3px solid #fff; box-shadow: var(--shadow-sm); cursor: pointer;
}
.range-values { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--color-ink-soft); margin-top: 4px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Buy page — hub sections
   -------------------------------------------------------------------------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 860px) { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }
.process-step { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px 22px; }
.process-step .step-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--color-accent-light); -webkit-text-stroke: 1.5px var(--color-accent); color: transparent; display: block; margin-bottom: 8px; }

.off-market-banner { background: linear-gradient(120deg, var(--color-ink) 0%, #2b352f 100%); border-radius: var(--radius-lg); padding: 40px; color: #fff; margin-bottom: 32px; }
.off-market-banner .eyebrow { color: var(--color-gold); }
.off-market-banner h2, .off-market-banner p { color: #fff; }
.off-market-banner p { color: rgba(255,255,255,0.75); }

/* --------------------------------------------------------------------------
   Sell page — valuation widget
   -------------------------------------------------------------------------- */
.valuation-widget { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.valuation-progress-track { height: 4px; background: var(--color-border); position: relative; overflow: hidden; }
.valuation-progress-fill { position: absolute; top: 0; left: 0; height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--color-gold), var(--color-accent)); transition: width 0.4s cubic-bezier(.2,.7,.3,1); }
.valuation-steps-indicator { display: flex; background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.valuation-steps-indicator span { flex: 1; text-align: center; padding: 14px 8px; font-size: 0.78rem; font-weight: 600; color: var(--color-muted); border-bottom: 2px solid transparent; transition: color 0.25s ease; }
.valuation-steps-indicator span.active { color: var(--color-accent); border-color: var(--color-accent); }
.valuation-steps-indicator span.done { color: var(--color-ink); }
.valuation-body { padding: 40px 36px; }
.valuation-body .form-row, .valuation-body .field-float { margin-bottom: 22px; }
.valuation-body .two-col { gap: 20px; }
.valuation-step { display: none; }
.valuation-step.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.valuation-nav { display: flex; justify-content: space-between; margin-top: 28px; }
.valuation-result { text-align: center; padding: 20px 0; }
.valuation-result .amount { font-family: var(--font-display); font-size: 2.4rem; color: var(--color-accent); }
.valuation-result .range { color: var(--color-muted); margin-top: 4px; }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px; text-align: center; }
.benefit-card .icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--color-accent-light); color: var(--color-accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.3rem; }

.case-study-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4/5; box-shadow: var(--shadow-sm); }
.case-study-card img { width: 100%; height: 100%; object-fit: cover; }
.case-study-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(35,31,26,0.9) 100%); }
.case-study-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; color: #fff; }
.case-study-body .sold-price { font-family: var(--font-display); font-size: 1.4rem; }
.case-study-body h3 { color: #fff; font-size: 1rem; margin: 4px 0; }
.case-study-body span { font-size: 0.78rem; opacity: 0.8; }

/* --------------------------------------------------------------------------
   Contact page v2 — map + address chips
   -------------------------------------------------------------------------- */
.contact-map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); filter: grayscale(0.15) contrast(1.05); margin-bottom: 24px; }
.contact-map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }
.office-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 16px; }
.office-card h3 { margin-bottom: 6px; }
.office-card .office-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.office-card .office-meta span { background: var(--color-bg); border-radius: 999px; padding: 5px 12px; font-size: 0.8rem; color: var(--color-ink-soft); }

/* --------------------------------------------------------------------------
   Agent cards
   -------------------------------------------------------------------------- */
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .agent-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .agent-grid { grid-template-columns: 1fr; } }
.agent-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.agent-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.agent-card .agent-title { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 10px; }
.agent-card .agent-stats { font-size: 0.78rem; color: var(--color-gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }

/* --------------------------------------------------------------------------
   FAQ accordion (Contact page)
   -------------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 18px 22px; }
.faq-item summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--color-accent); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 12px 0 0; font-size: 0.92rem; }
