:root {
  --navy: #001b39;
  --navy-2: #0a2744;
  --gold: #c4984f;
  --gold-2: #d4b06a;
  --gold-deep: #a67c3a;
  --ink: #1a2430;
  --muted: #6b7785;
  --line: #e6ebf0;
  --soft: #f4f6f8;
  --paper: #ffffff;
  --white: #fff;
  --shadow: 0 18px 48px rgba(0, 27, 57, 0.1);
  --heading: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
  --radius: 8px;
  --header-h: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background: var(--paper);
  line-height: 1.55;
}
body.menu-open, body.filter-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.icon { display: inline-block; width: 1.25em; height: 1.25em; flex: 0 0 auto; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }

.skip-link {
  position: absolute; left: 12px; top: -40px; z-index: 100;
  padding: 8px 14px; background: var(--navy); color: white; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.header {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  min-height: var(--header-h); padding: 0 max(28px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 0;
  box-shadow: none;
  transition: background .2s ease, box-shadow .2s ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(0, 27, 57, 0.06);
}
.logo-type { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 27, 57, 0.12);
}
.logo-mark svg { width: 46px; height: 46px; display: block; border-radius: 10px; }
.logo-copy strong {
  display: block; color: var(--navy);
  font-family: var(--heading); font-size: 23px; font-weight: 700; line-height: 1;
  letter-spacing: 0.02em;
}
.logo-copy strong span {
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}
.logo-copy small {
  display: block; margin-top: 5px;
  color: var(--muted); font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.nav {
  display: flex; justify-content: center; gap: 28px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
.nav a { position: relative; padding: 6px 0; color: #334155; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.call-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 6px;
  background: var(--navy); color: white; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.call-pill .icon { width: 15px; height: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; border-radius: 8px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: var(--navy); }

.hero { position: relative; min-height: min(92vh, 820px); overflow: hidden; color: white; }
.hero-media {
  position: absolute; inset: 0;
  background:
    url("assets/hero-wide.jpg") center 42% / cover no-repeat;
  transform: scale(1.03);
  animation: heroZoom 20s ease-out forwards;
  filter: saturate(1.08) contrast(1.05);
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1.03); } }
.hero-overlay {
  position: relative; min-height: min(92vh, 820px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 100px 0 0;
  background:
    linear-gradient(105deg, rgba(0, 18, 36, 0.88) 0%, rgba(0, 27, 57, 0.62) 38%, rgba(0, 27, 57, 0.28) 62%, rgba(0, 27, 57, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 27, 57, 0.12) 0%, rgba(0, 27, 57, 0.35) 55%, rgba(0, 18, 36, 0.78) 100%);
}
.hero-copy {
  width: min(1180px, calc(100% - 48px)); margin: 0 auto;
  padding-bottom: 48px;
  animation: riseIn .9s ease both;
}
.hero h1 {
  max-width: 720px; margin: 0;
  font-family: var(--heading); font-size: clamp(42px, 6.5vw, 68px);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.01em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.hero h1 em { font-style: italic; color: var(--gold-2); }
.lede {
  max-width: 520px; margin: 18px 0 0; font-size: 17px;
  color: rgba(255,255,255,.9); font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-actions .btn-white {
  background: #fff;
  color: var(--navy);
  border: 1px solid #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.hero-actions .btn-white:hover {
  background: #f7f7f7;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.hero-actions .whatsapp .icon { color: #25d366; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 6px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(0, 27, 57, 0.16); }
.btn .icon { width: 16px; height: 16px; }
.whatsapp .icon { color: #25d366; }
.btn-navy { background: var(--navy); color: white; }
.btn-gold { background: var(--gold); color: #1a140c; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-2); }
.btn-white { background: white; color: var(--navy); }
.btn-ghost {
  background: transparent; color: white; border-color: rgba(255,255,255,.4);
}
.btn-ghost.dark { color: var(--navy); border-color: var(--line); background: white; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.text-link .icon { width: 16px; height: 16px; }

.search-card-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 36px;
  padding: 18px 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: riseIn .9s .15s ease both;
}
.search-card {
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.search-fields { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; }
.search-card label { position: relative; }
.field-icon { position: absolute; left: 12px; bottom: 14px; color: var(--navy); pointer-events: none; }
.search-card label:first-child .field-icon { color: var(--gold); }
.field-icon .icon { width: 15px; height: 15px; }
.search-card label select { padding-left: 36px; }
label span { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--soft); color: var(--ink); outline: none;
}
textarea { min-height: 84px; padding-top: 12px; resize: vertical; background: white; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 152, 79, 0.18); background: white; }

.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.light { margin-inline: auto; text-align: center; color: white; }
.section-head h2, .featured-head h2, .locations h2, .testimonials h2 {
  margin: 0; color: var(--navy);
  font-family: var(--heading); font-size: clamp(32px, 4vw, 44px); font-weight: 600; line-height: 1.1;
}
.section-head.light h2 { color: white; }
.section-head.light em { color: var(--gold-2); }
.section-head p, .featured-head p, .locations > p { margin: 10px 0 0; color: var(--muted); }
em { font-style: italic; color: var(--gold); font-family: var(--heading); }

.featured { padding: 72px 0 56px; }
.featured-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: 28px;
}
.featured-head .text-link { margin: 0; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.project-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: white; box-shadow: 0 8px 24px rgba(0, 27, 57, 0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-image { position: relative; aspect-ratio: 1.35 / 1; overflow: hidden; background: var(--soft); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover .project-image img { transform: scale(1.05); }
.status-badge {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  padding: 6px 10px; border-radius: 4px;
  background: rgba(0, 27, 57, 0.88); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.project-body { padding: 16px 16px 18px; }
.project-body h3, .listing-main h3 {
  margin: 0 0 6px; color: var(--navy);
  font-family: var(--heading); font-size: 24px; font-weight: 600; line-height: 1.1;
}
.location { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 13px; }
.text-icon { width: 14px; height: 14px; color: var(--navy); }
.text-icon.gold { color: var(--gold); }
.project-body .meta { display: flex; align-items: center; gap: 7px; margin: 12px 0 8px; color: #334155; font-size: 13px; }
.price { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.price strong { display: block; color: var(--gold-deep); font-size: 20px; font-weight: 800; }
.project-body .btn { width: 100%; border-color: var(--navy); color: var(--navy); background: white; }

.why { padding: 72px 0; background: var(--navy); color: white; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.why article { text-align: center; padding: 8px 10px; }
.ui-icon { display: inline-flex; width: 40px; height: 40px; margin-bottom: 16px; color: var(--gold-2); }
.ui-icon .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.why h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.why p { margin: 0; color: #b8c4d0; font-size: 13px; }

.stats-band { background: var(--soft); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 40px 0; }
.stats-grid div {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  padding: 0 18px; border-left: 1px solid var(--line);
}
.stats-grid div:first-child { border-left: 0; padding-left: 0; }
.stats-grid b { color: var(--gold); font-size: 36px; font-family: var(--heading); font-weight: 600; line-height: 1; }
.stats-grid span { display: block; grid-column: 2; color: #334155; font-size: 13px; font-weight: 600; }
.stat-icon { display: inline-flex; grid-row: span 2; width: 36px; height: 36px; color: var(--gold); }
.stat-icon .icon { width: 30px; height: 30px; }

.locations-lead { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 72px 0; align-items: start; }
.location-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 0; }
.location-grid a {
  display: grid; place-items: center; gap: 8px; min-height: 100px; padding: 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: white;
  color: var(--navy); font-size: 12px; font-weight: 700; text-align: center;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.location-grid a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,27,57,.08); }
.city-icon { display: inline-flex; width: 28px; height: 28px; color: var(--gold); }
.city-icon .icon { width: 26px; height: 26px; }
.locations-all { margin-top: 20px; }

.lead-form {
  padding: 32px 34px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(0, 27, 57, 0.97), rgba(10, 39, 68, 0.92)), url("assets/lead-bg.jpg") center / cover;
  color: white;
}
.lead-form h2 { margin: 0; font-family: var(--heading); font-size: 34px; font-weight: 600; color: white; }
.lead-form h2 em { color: var(--gold-2); }
.lead-form > p { margin: 8px 0 20px; color: #d5dde6; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.full { grid-column: 1 / -1; width: 100%; }
.lead-form .btn.full { margin-top: 12px; }
.lead-form input, .lead-form select, .lead-form textarea { background: white; }
.connect-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); }
.form-status { min-height: 20px; margin: 10px 0 0; font-weight: 600; color: var(--gold-2); }

.testimonials { padding: 20px 0 64px; }
.testimonials .section-head { margin-inline: auto; text-align: center; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-grid article {
  position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: white;
  box-shadow: 0 8px 24px rgba(0, 27, 57, 0.04);
}
.quote-mark {
  display: block; margin-bottom: 8px;
  color: var(--gold); font-family: var(--heading); font-size: 48px; line-height: 0.7;
}
.testimonial-grid p {
  flex: 1; margin: 0;
  font-size: 15px; line-height: 1.55; color: #334155;
}
.client-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.client-row img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #efe8dc; }
.client-row strong { display: block; font-size: 13px; color: var(--navy); }
.client-row span { color: var(--muted); font-size: 12px; }

.bottom-cta-wrap { background: var(--navy); }
.bottom-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 36px 0;
  color: white;
}
.cta-copy { display: flex; align-items: center; gap: 18px; }
.cta-icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0;
  border: 1px solid var(--gold); border-radius: 50%; color: var(--gold);
}
.cta-icon .icon { width: 22px; height: 22px; }
.bottom-cta h2 {
  margin: 0; max-width: 640px;
  font-family: var(--heading); font-size: clamp(24px, 3vw, 32px); font-weight: 500; color: white; line-height: 1.25;
}

.footer { background: #000f1f; color: #c5d0db; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.15fr; gap: 48px; }
.footer-logo .logo-copy strong { color: white; }
.footer-logo .logo-copy strong span { color: var(--gold-2); }
.footer-logo .logo-copy small { color: #9aabbc; }
.footer-logo .logo-mark { box-shadow: none; }
.footer p, .footer a { display: block; margin: 0 0 10px; color: #c5d0db; font-size: 14px; }
.footer h3 { margin: 0 0 16px; color: white; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
}
.social .icon { width: 14px; height: 14px; }
.contact-line { display: flex !important; align-items: flex-start; gap: 10px; }
.contact-line .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--gold); flex: 0 0 16px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  margin-top: 32px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px; color: #8a9aab;
}
.footer-bottom a { display: inline; margin: 0; color: #8a9aab; }
.float-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 50%; background: #25d366; color: white;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.32);
  animation: floatPulse 2.8s ease-in-out infinite;
}
.float-whatsapp .icon { width: 26px; height: 26px; color: white; }
@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.search-banner {
  padding: 48px 0 0;
  background: linear-gradient(90deg, rgba(0, 27, 57, 0.92), rgba(0, 27, 57, 0.65)), url("assets/search-hero.jpg") center / cover;
  color: white;
}
.crumb { margin: 0 0 18px; font-size: 13px; color: rgba(255,255,255,.7); }
.crumb a:hover { color: white; }
.banner-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.banner-row h1 { margin: 0; font-family: var(--heading); font-size: clamp(36px, 5vw, 56px); font-weight: 600; }
.banner-row p { margin: 10px 0 0; font-size: 16px; color: rgba(255,255,255,.78); }
.help-pill {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 18px;
  border: 1px solid rgba(196, 152, 79, 0.55); border-radius: 8px; color: white; font-weight: 600; font-size: 13px;
  background: rgba(0, 27, 57, 0.4);
}
.help-pill .icon { width: 22px; height: 22px; color: var(--gold-2); }
.search-banner .search-card-page {
  position: relative; z-index: 2; margin-bottom: -36px;
  border: 0;
}
.search-page { padding: 64px 0 56px; }
.results-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.filters { align-self: start; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.filter-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; background: var(--navy); color: white;
}
.filter-head h2 { margin: 0; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; }
.filter-head button {
  border: 0; background: transparent; color: var(--gold-2);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}
.filter-group { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.filter-group h3 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
.filter-group label { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 13px; font-weight: 500; }
.filter-group label em { margin-left: auto; color: var(--muted); font-style: normal; font-size: 12px; }
.filter-group input[type="checkbox"] { width: 16px; min-height: 16px; accent-color: var(--navy); }
.filter-group input[type="search"] { margin-bottom: 8px; background: white; }
.filter-actions { padding: 16px 18px; }
.budget-range {
  position: relative; height: 28px; margin: 8px 0 4px;
}
.budget-range .range-track {
  position: absolute; left: 0; right: 0; top: 12px; height: 4px;
  background: #e5e9ef; border-radius: 999px;
}
.budget-range .range-fill {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  background: var(--gold); border-radius: 999px;
}
.budget-range input[type="range"] {
  position: absolute; left: 0; width: 100%; top: 4px; height: 20px; margin: 0;
  background: transparent; pointer-events: none; appearance: none; min-height: 0; padding: 0; border: 0;
}
.budget-range input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 2px solid white; box-shadow: 0 1px 4px rgba(0,0,0,.25);
  pointer-events: auto; cursor: pointer;
}
.budget-range input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 2px solid white; box-shadow: 0 1px 4px rgba(0,0,0,.25);
  pointer-events: auto; cursor: pointer;
}
.budget-labels, .budget-inputs { display: flex; justify-content: space-between; gap: 10px; }
.budget-labels { margin-bottom: 10px; font-size: 11px; color: var(--muted); font-weight: 600; }
.budget-inputs label { display: grid; gap: 4px; flex: 1; margin: 0; }
.budget-inputs input { min-height: 40px; background: white; }

.results-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 4px 0 16px; }
.results-top h2 { margin: 0; font-size: 15px; font-weight: 700; color: var(--navy); }
.results-top h2 span { color: var(--gold); font-family: var(--heading); font-size: 30px; font-weight: 600; }
.results-top label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.results-top select { min-height: 40px; width: auto; background: white; }
.filter-toggle { display: none; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--navy); font-weight: 700; }
.listing-stack { display: grid; gap: 16px; }
.listing-card {
  display: grid; grid-template-columns: 280px 1fr 200px;
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white;
  transition: box-shadow .2s ease;
}
.listing-card:hover { box-shadow: var(--shadow); }
.listing-card.is-featured { outline: 1px solid var(--gold); }
.listing-card .project-image { min-height: 210px; aspect-ratio: auto; }
.listing-card .status-badge { left: 12px; right: auto; }
.listing-main { padding: 24px 26px; }
.listing-main .apt { margin: 12px 0 22px; font-size: 13px; font-weight: 600; }
.listing-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.listing-features div { display: grid; grid-template-columns: 18px 1fr; column-gap: 8px; }
.feature-icon { grid-row: span 2; width: 16px; height: 16px; margin-top: 2px; color: var(--navy); }
.listing-features b { display: block; font-size: 13px; }
.listing-features span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.listing-price {
  display: grid; align-content: center; gap: 12px; padding: 20px;
  border-left: 1px solid var(--line); background: #fafbfc;
}
.listing-price p { margin: 0; color: var(--muted); font-size: 12px; }
.listing-price strong { display: block; color: var(--navy); font-size: 24px; font-family: var(--heading); font-weight: 600; }
.compare { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.compare input { width: 16px; min-height: 16px; }
.photo-pill {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 8px; border: 0; border-radius: 4px; background: rgba(0, 27, 57, 0.86); color: white;
  font-size: 11px; font-weight: 700; cursor: pointer;
}
.photo-pill b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 4px; background: white; color: var(--navy); font-size: 10px; }
.heart-btn {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center;
  width: 36px; height: 36px; border: 0; border-radius: 50%; background: white; color: var(--navy); cursor: pointer;
}
.heart-btn.is-saved { color: #b42318; }
.empty-state { padding: 36px; border: 1px dashed var(--line); border-radius: var(--radius); background: white; }
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 28px;
}
.pagination button {
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 6px; background: white;
  color: var(--navy); font-weight: 700; cursor: pointer;
}
.pagination button.is-active, .pagination button:hover { background: var(--navy); color: white; border-color: var(--navy); }
.pagination span { color: var(--muted); padding: 0 4px; }
.help-cta {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 22px;
  margin: 36px 0 0; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--soft);
}
.help-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: var(--gold); }
.help-icon .icon { width: 28px; height: 28px; }
.help-cta h2 { margin: 0; font-family: var(--heading); font-size: 26px; font-weight: 500; color: var(--navy); }
.help-cta p { margin: 4px 0 0; color: var(--muted); }
.backdrop { display: none; }

/* Detail / lead modal — fits viewport, no scroll */
body.modal-open { overflow: hidden; }
.detail-modal[hidden] { display: none !important; }
.detail-modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 16px;
  overflow: hidden;
}
.detail-scrim {
  position: absolute; inset: 0;
  background: rgba(0, 15, 31, 0.72);
  backdrop-filter: blur(4px);
}
.detail-dialog {
  position: relative; z-index: 1;
  width: min(1100px, calc(100vw - 32px));
  height: min(640px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border-radius: 12px;
  background: white;
  box-shadow: 0 28px 80px rgba(0, 15, 31, 0.35);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}
.detail-modal.is-open .detail-dialog { transform: none; opacity: 1; }
.detail-close {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(0, 27, 57, 0.85); color: white; font-size: 24px; line-height: 1; cursor: pointer;
}
.detail-layout {
  display: grid; grid-template-columns: 1.05fr 1fr;
  height: 100%;
  overflow: hidden;
}
.detail-media {
  display: flex; flex-direction: column; gap: 8px; padding: 12px;
  background: #0b1726; min-height: 0; height: 100%; overflow: hidden;
}
.detail-hero-img {
  flex: 1 1 auto; min-height: 0; overflow: hidden; border-radius: 10px; background: #132338;
}
.detail-hero-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.detail-thumbs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  flex: 0 0 auto; height: 64px;
}
.detail-thumb {
  padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden;
  background: transparent; cursor: pointer; height: 100%;
}
.detail-thumb.is-active, .detail-thumb:hover { border-color: var(--gold); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-panel {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 20px 16px; min-height: 0; height: 100%; overflow: hidden;
}
.detail-status {
  display: inline-block; margin: 0; padding: 4px 8px; border-radius: 4px; width: fit-content;
  background: var(--navy); color: white; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.detail-panel h2 {
  margin: 0; color: var(--navy);
  font-family: var(--heading); font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.1;
}
.detail-panel .location { margin: 0; font-size: 13px; }
.detail-meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 10px;
  margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.detail-meta div { display: grid; grid-template-columns: 16px 1fr; column-gap: 6px; align-items: start; }
.detail-meta .feature-icon { width: 14px; height: 14px; margin-top: 2px; }
.detail-meta b { display: block; font-size: 12px; color: var(--navy); line-height: 1.2; }
.detail-meta span { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; }
.detail-price { margin: 0; color: var(--muted); font-size: 12px; flex: 0 0 auto; }
.detail-price strong { display: inline; margin-left: 4px; color: var(--gold-deep); font-family: var(--heading); font-size: 22px; font-weight: 600; }
.detail-lead {
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft);
  overflow: hidden;
}
.detail-lead h3 { margin: 0; color: var(--navy); font-size: 14px; }
.detail-lead > p { display: none; }
.detail-lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-lead label { display: block; margin: 0; }
.detail-lead label span { margin-bottom: 4px; font-size: 10px; }
.detail-lead input, .detail-lead select, .detail-lead textarea {
  background: white; min-height: 36px; padding: 0 10px; font-size: 13px;
}
.detail-lead textarea { min-height: 48px; padding-top: 8px; resize: none; }
.detail-lead .btn.full { min-height: 40px; margin-top: 2px; flex: 0 0 auto; }
.detail-connect { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 0; flex: 0 0 auto; }
.detail-connect .btn { min-height: 38px; }
.detail-lead .form-status { margin: 0; min-height: 16px; font-size: 12px; color: var(--gold-deep); }

.reveal { opacity: 0; transform: translateY(18px); animation: riseIn .75s ease forwards; }
.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }
.reveal:nth-child(5) { animation-delay: .32s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .project-image img, .btn, .project-card, .hero-media, .float-whatsapp, .hero-copy, .search-card-hero, .detail-dialog {
    animation: none; transition: none; opacity: 1; transform: none;
  }
}

@media (max-width: 1100px) {
  .header { grid-template-columns: auto auto auto; justify-content: space-between; min-height: 72px; padding: 0 16px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: 72px; left: 12px; right: 12px; display: none; flex-direction: column; gap: 0;
    padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: var(--shadow);
  }
  body.menu-open .nav { display: flex; }
  .nav a { padding: 12px 10px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .search-fields { grid-template-columns: repeat(2, 1fr); }
  .search-fields .btn { grid-column: 1 / -1; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .locations-lead, .results-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0 0 0 auto; z-index: 80; width: min(390px, 92vw);
    overflow: auto; border-radius: 0; transform: translateX(102%); transition: transform .2s ease;
  }
  body.filter-open .filters { transform: translateX(0); }
  .backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(0, 27, 57, 0.52); }
  body.filter-open .backdrop { display: block; }
  .filter-toggle { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
  .listing-card { grid-template-columns: 240px 1fr 176px; }
  .detail-dialog { height: min(700px, calc(100dvh - 24px)); }
  .detail-layout { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .call-pill { width: 44px; padding: 0; font-size: 0; gap: 0; }
  .hero, .hero-overlay { min-height: 680px; }
  .hero-overlay {
    padding-top: 56px;
    background: linear-gradient(180deg, rgba(0,27,57,.2) 0%, rgba(0,27,57,.72) 48%, rgba(0,27,57,.92) 100%);
  }
  .hero h1 { font-size: 36px; }
  .hero-copy { padding-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-actions, .connect-row, .search-fields, .project-grid, .why-grid, .stats-grid, .location-grid, .testimonial-grid, .footer-grid { grid-template-columns: 1fr; }
  .featured { padding: 48px 0 36px; }
  .featured-head { flex-direction: column; align-items: flex-start; }
  .project-image { aspect-ratio: 1.4 / 1; }
  .stats-grid div { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .stats-grid div:first-child { border-top: 0; }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-lead { padding: 48px 0; gap: 24px; }
  .lead-form { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .bottom-cta { flex-direction: column; align-items: stretch; text-align: left; gap: 16px; }
  .banner-row, .results-top, .help-cta, .footer-bottom { flex-direction: column; align-items: stretch; }
  .search-banner { padding-top: 28px; }
  .help-pill { justify-content: center; width: 100%; }
  .search-page { padding: 56px 0 40px; }
  .listing-card { grid-template-columns: 1fr; }
  .listing-card .project-image { min-height: 220px; }
  .listing-main { padding: 18px 16px; }
  .listing-features { grid-template-columns: 1fr; gap: 10px; }
  .listing-price { border-left: 0; border-top: 1px solid var(--line); }
  .listing-price .btn { width: 100%; }
  .help-cta { grid-template-columns: 1fr; text-align: center; }
  .help-icon { margin: 0 auto; }
  .search-card-hero { margin-bottom: 16px; padding: 14px; }
  .float-whatsapp {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .detail-modal { padding: 0; align-items: stretch; overflow: hidden; }
  .detail-dialog {
    width: 100%; height: 100dvh; max-height: 100dvh;
    border-radius: 0;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(160px, 34%) 1fr;
    height: 100%;
    overflow: hidden;
  }
  .detail-media { padding: 10px; gap: 6px; }
  .detail-thumbs { height: 48px; }
  .detail-panel { padding: 12px 14px 14px; gap: 6px; overflow: hidden; }
  .detail-panel h2 { font-size: 22px; }
  .detail-meta { gap: 4px 8px; padding: 6px 0; }
  .detail-price strong { font-size: 20px; }
  .detail-lead { padding: 8px 10px; gap: 5px; }
  .detail-lead textarea { min-height: 40px; }
  .detail-lead-row { grid-template-columns: 1fr 1fr; }
  .detail-connect { grid-template-columns: 1fr 1fr; }
  .detail-close { top: 8px; right: 8px; background: rgba(0,0,0,.55); }
}
