/* ============================================================
   PFS REALTY GROUP — Landing "Invertir en Miami"
   Paleta: Atlantic Midnight #072031 · Sand Dusk #AA9664
           Coastal Mist #D1D8E5 · Pure Ivory #F2F2F2 · WA #25D366
   ============================================================ */

:root {
  --midnight: #072031;
  --midnight-soft: #0B2C42;
  --sand: #AA9664;
  --sand-light: #C4B284;
  --mist: #D1D8E5;
  --ivory: #F2F2F2;
  --bar-bg: #F5F5F3;
  --wa-green: #25D366;
  --white: #FFFFFF;
  --ink: #072031;
  --radius: 14px;
  --shadow-card: 0 6px 24px rgba(7, 32, 49, 0.10);
  --shadow-card-hover: 0 14px 36px rgba(7, 32, 49, 0.18);
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
body { overflow-x: hidden; } /* salvaguarda anti-scroll horizontal */

body {
  font-family: var(--font);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

/* ---------- Reveal on scroll ----------
   Visible por defecto (fail-safe). JS añade .reveal-hidden
   solo a elementos bajo el fold y la quita al entrar en viewport. */
.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-hidden {
  opacity: 0;
  transform: translateY(26px);
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #051826 0%, var(--midnight) 55%, var(--midnight-soft) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  height: 100%;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--midnight) 0%, rgba(7, 32, 49, 0.35) 20%, rgba(7, 32, 49, 0) 62%),
    linear-gradient(0deg, rgba(7, 32, 49, 0.65) 0%, rgba(7, 32, 49, 0) 30%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 44px 44% 64px 0; /* contenido en el 56% izquierdo, alineado al margen del container */
  max-width: none;
}

.hero__logo {
  width: 180px;
  margin-bottom: 44px;
}

.hero__title {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: 0.01em;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
}
.hero__title .title-miami {
  display: block;
  color: var(--sand);
  font-size: 1.55em;
  letter-spacing: 0.04em;
}

.hero__subtitle {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  color: var(--mist);
  letter-spacing: 0.02em;
}

.hero__lead {
  margin-top: 18px;
  max-width: 40ch;
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--mist);
  padding-left: 16px;
  border-left: 3px solid var(--sand);
}
.hero__lead strong {
  color: var(--sand-light);
  font-weight: 700;
}

/* Beneficios con iconos */
.hero__benefits {
  display: flex;
  gap: 0;
  margin-top: 44px;
}
.hero-benefit {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 0 18px;
}
.hero-benefit + .hero-benefit { border-left: 1px solid rgba(209, 216, 229, 0.25); }
.hero-benefit svg { width: 52px; height: 52px; stroke: var(--sand); }
.hero-benefit p {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

/* Bloque destacado */
.hero__highlight {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  padding: 18px 26px;
  background: rgba(170, 150, 100, 0.08);
}
.hero__highlight svg { width: 44px; height: 44px; flex-shrink: 0; stroke: var(--sand); }
.hero__highlight p {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.hero__highlight strong { color: var(--sand); font-weight: 800; }

/* CTA hero */
.hero__cta { margin-top: 36px; }

/* Buscador MLS minimalista sobre la foto del hero (home), estilo homes.com */
.hero-search {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 6%;
  width: 42%;
  transform: translateY(-50%);
}
.hero-search__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bar-bg);
  border-radius: 100px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
  padding: 8px 8px 8px 6px;
}
.hero-search__op { position: relative; flex: 0 0 auto; max-width: 130px; }
.hero-search__op-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--midnight);
  background: var(--ivory);
  border: 1.5px solid var(--mist);
  border-radius: 100px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.hero-search__op-trigger:focus { outline: none; border-color: var(--sand); }
.hero-search__op.is-open .hero-search__op-trigger { border-color: var(--sand); }
.hero-search__op-chevron { flex: 0 0 auto; width: 12px; height: 12px; stroke: var(--midnight); transition: transform 0.2s ease; }
.hero-search__op.is-open .hero-search__op-chevron { transform: rotate(180deg); }
.hero-search__op-menu {
  position: absolute;
  z-index: 6;
  top: calc(100% + 8px);
  left: 0;
  min-width: 140px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}
.hero-search__op-menu[hidden] { display: none; }
.hero-search__op-menu li { margin: 0; }
.hero-search__op-option {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 9px 14px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--midnight);
  cursor: pointer;
  transition: background 0.15s ease;
}
.hero-search__op-option:hover { background: var(--ivory); }
.hero-search__op-option.is-selected { background: var(--midnight); color: var(--white); }
.hero-search__divider { width: 1px; height: 26px; background: var(--mist); flex: 0 0 auto; }
.hero-search__pin { display: flex; flex: 0 0 auto; }
.hero-search__pin svg { width: 20px; height: 20px; stroke: #5a7187; }
.hero-search__field {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 4px;
}
.hero-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--midnight);
  background: transparent;
}
.hero-search__input:focus { outline: none; }
.hero-search__input::placeholder { color: #8a97a8; }
.hero-search__input::-webkit-search-cancel-button { display: none; }
.hero-search__clear {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #8a97a8;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.hero-search__clear:hover { background: var(--ivory); color: var(--midnight); }
.hero-search__suggestions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  max-height: 320px;
  overflow-y: auto;
}
.hero-search__suggestions[hidden] { display: none; }
.hero-search__suggestions li { margin: 0; }
.hero-search__suggestions li:not(:last-child) { border-bottom: 1px solid rgba(209, 216, 229, 0.45); }
.hero-search__suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}
.hero-search__suggestion:hover,
.hero-search__suggestion.is-active { background: var(--ivory); }
.hero-search__suggestion-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--sand);
}
.hero-search__suggestion-icon svg { width: 15px; height: 15px; stroke: var(--sand); stroke-width: 2; }
.hero-search__suggestion-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hero-search__suggestion-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--midnight);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-search__suggestion-type { font-size: 0.72rem; font-weight: 600; color: #8a97a8; text-transform: uppercase; letter-spacing: 0.04em; }
.hero-search__submit {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--midnight);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease;
}
.hero-search__submit svg { width: 18px; height: 18px; }
.hero-search__submit:hover { background: var(--midnight-soft); }

/* ============================================================
   BOTONES WHATSAPP
   ============================================================ */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--wa-green);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-wa svg { width: 24px; height: 24px; fill: var(--white); flex-shrink: 0; }
.btn-wa:hover {
  background: #1FBF5B;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}
.btn-wa:active { transform: translateY(0); }

.btn-wa--lg { font-size: 1.1rem; padding: 19px 38px; }

/* CTA "¿No encontraste lo que buscas?" */
.nf-cta { padding: 10px 0 56px; }
.nf-cta__box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--midnight-soft); border-radius: 14px; padding: 28px 34px; border: 1px solid rgba(170, 150, 100, 0.35); }
.nf-cta__box h3 { color: #fff; font-size: 1.25rem; margin: 0 0 6px; }
.nf-cta__box p { color: var(--mist); margin: 0; font-size: 0.92rem; max-width: 60ch; }
@media (max-width: 640px) { .nf-cta__box { padding: 22px 20px; } }

/* ============================================================
   SECCIÓN ZONAS
   ============================================================ */
.zones { padding: 84px 0 92px; background: var(--ivory); }

.section-heading { text-align: center; margin-bottom: 54px; }
.section-heading h2 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.section-heading .accent { color: var(--sand); }
.section-heading .section-lead {
  max-width: 60ch;
  margin: 18px auto 0;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  font-weight: 400;
  line-height: 1.6;
  color: #3a566b;
  text-transform: none;
  letter-spacing: 0;
}
.section-heading .section-lead strong { color: var(--sand); font-weight: 700; }
.section-heading .heading-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.section-heading .heading-rule::before,
.section-heading .heading-rule::after {
  content: "";
  width: 64px;
  height: 2px;
  background: var(--sand);
}
.section-heading .heading-rule span {
  width: 8px; height: 8px;
  background: var(--sand);
  transform: rotate(45deg);
}

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

.zone-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.zone-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.zone-card__media {
  position: relative;
  aspect-ratio: 5 / 4;
}
.zone-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.zone-card:hover .zone-card__media img { transform: scale(1.06); }

.zone-card__num {
  position: absolute;
  left: 12px;
  bottom: -16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--midnight);
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(7, 32, 49, 0.3);
  z-index: 1;
}

.zone-card__body {
  padding: 26px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.zone-card__body h3 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--midnight);
}
.zone-card__tag {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sand);
  line-height: 1.4;
  min-height: 2.8em; /* iguala la altura con subtítulos de 2 líneas */
  display: flex;
  align-items: center;
  justify-content: center;
}

.zone-card__bullets {
  list-style: none;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--mist);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zone-card__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #2C4356;
  line-height: 1.4;
}
.zone-card__bullets svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--sand);
}

.zone-card__cta {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--wa-green);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 11px 10px;
  border-radius: 100px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.zone-card__cta svg { width: 16px; height: 16px; fill: var(--white); flex-shrink: 0; }
.zone-card__cta { white-space: nowrap; }

.zone-card__actions {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.zone-card__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 10px;
  border-radius: 100px;
  border: 1.5px solid var(--sand);
  background: transparent;
  color: var(--midnight);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.zone-card__more:hover {
  background: var(--sand);
  color: var(--white);
  transform: translateY(-2px);
}
.zone-card__more:active { transform: translateY(0); }
.zone-card__cta:hover {
  background: #1FBF5B;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}
.zone-card__cta:active { transform: translateY(0); }

/* ============================================================
   POR QUÉ PFS
   ============================================================ */
.why { padding: 84px 0; background: var(--mist); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 10px 22px;
}
.why-item + .why-item { border-left: 1px solid rgba(7, 32, 49, 0.15); }
.why-item svg { width: 56px; height: 56px; stroke: var(--sand); }
.why-item p {
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--midnight);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta { padding: 84px 0 64px; background: var(--ivory); }

.cta__box {
  background: linear-gradient(135deg, #051826 0%, var(--midnight) 60%, var(--midnight-soft) 100%);
  border: 2px solid var(--sand);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 20px 50px rgba(7, 32, 49, 0.25);
}

.cta__box h2 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.cta__box h2 .accent-wa { color: var(--wa-green); }

.cta__subtitle {
  margin-top: 14px;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 500;
  color: var(--sand-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta__btn-wrap { margin-top: 38px; }

/* Sellos */
.cta__seals {
  display: flex;
  justify-content: center;
  margin-top: 46px;
  padding-top: 36px;
  border-top: 1px solid rgba(209, 216, 229, 0.2);
}
.seal {
  flex: 1;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
}
.seal + .seal { border-left: 1px solid rgba(209, 216, 229, 0.2); }
.seal svg { width: 36px; height: 36px; flex-shrink: 0; stroke: var(--sand); }
.seal p {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  line-height: 1.5;
  color: var(--mist);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--midnight);
  padding: 28px 0;
  text-align: center;
}
.footer img { width: 120px; margin-inline: auto; }
.footer p {
  margin-top: 12px;
  color: rgba(209, 216, 229, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP (mobile)
   ============================================================ */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(7, 32, 49, 0.35);
  transition: transform 0.25s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }
.wa-float:hover { transform: scale(1.08); }

/* Mobile SMS variant: JS (see _generator-lib.js SMS_SWAP_SNIPPET) adds
   .is-sms to WhatsApp CTAs on mobile once it swaps their href to sms:.
   Overriding --wa-green here re-colors every button that uses it via
   background: var(--wa-green), without duplicating each button's rules. */
.is-sms { --wa-green: #0A84FF; }
.btn-wa.is-sms { box-shadow: 0 8px 24px rgba(10, 132, 255, 0.35); }
.btn-wa.is-sms:hover { background: #0066CC; box-shadow: 0 12px 30px rgba(10, 132, 255, 0.45); }
.nav-wa.is-sms:hover { background: #0066CC; }
.zone-card__cta.is-sms:hover { background: #0066CC; box-shadow: 0 8px 18px rgba(10, 132, 255, 0.35); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Laptop */
@media (max-width: 1100px) {
  .zones__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .why-item:nth-child(4) { border-left: none; }
}

/* Tablet / Mobile: hero apilado — foto completa arriba fundiéndose al navy */
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; }
  .hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(380px, 72vw, 500px);
    order: -1;
    background: var(--midnight);
  }
  .hero__media img {
    object-fit: cover;
    object-position: center 22%;
  }
  .hero__media::after {
    background:
      linear-gradient(180deg,
        rgba(7, 32, 49, 0.45) 0%,
        rgba(7, 32, 49, 0) 22%,
        rgba(7, 32, 49, 0) 55%,
        rgba(7, 32, 49, 0.85) 86%,
        var(--midnight) 100%);
  }
  .hero__logo {
    position: absolute;
    top: 24px;
    left: 6%;
    width: 132px;
    margin: 0;
    z-index: 2;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
  }
  .hero__inner {
    position: static; /* el logo absoluto se ancla a .hero, no aquí */
    max-width: 100%;
    padding: 0 0 48px;
    margin-top: -56px;
  }

  .hero-search {
    position: relative;
    order: -1;
    top: auto;
    right: auto;
    width: calc(100% - 32px);
    margin: -60px auto 24px;
    transform: none;
  }

  .zones { padding: 64px 0 72px; }
  .zones__grid { grid-template-columns: repeat(2, 1fr); }

  .why { padding: 64px 0; }
  .why__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .why-item { border-left: none !important; }

  .cta__box { padding: 48px 28px; }
  .cta__seals { flex-direction: column; align-items: center; gap: 22px; padding-top: 28px; }
  .seal { border-left: none !important; max-width: none; }
  .seal p { text-align: left; }
}

/* Mobile */
@media (max-width: 560px) {
  .hero__benefits { flex-direction: column; gap: 26px; }
  .hero-benefit { flex-direction: row; text-align: left; gap: 16px; padding: 0; }
  .hero-benefit + .hero-benefit { border-left: none; }
  .hero-benefit svg { width: 44px; height: 44px; flex-shrink: 0; }
  .hero-benefit p br { display: none; }

  .hero__highlight { flex-direction: row; padding: 16px 18px; }
  .hero__title { font-size: 2.1rem; }

  .hero-search { margin-top: -40px; }
  .hero-search__op { max-width: 84px; }
  .hero-search__op-trigger { font-size: 0.72rem; padding: 8px 10px; }
  .hero-search__pin { display: none; }
  .hero-search__input { font-size: 0.85rem; }
  .hero-search__submit { width: 36px; height: 36px; }
  .hero-search__submit svg { width: 15px; height: 15px; }

  .zones__grid { grid-template-columns: 1fr; }
  .zone-card__media { aspect-ratio: 16 / 9; }

  .why__grid { grid-template-columns: 1fr; }

  .btn-wa--lg { font-size: 0.95rem; padding: 16px 26px; }

  .wa-float { display: flex; }
}

/* ============================================================
   SITIO WEB — NAV GLOBAL + SELECTOR DE IDIOMA
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--midnight);
  border-bottom: 1px solid rgba(170, 150, 100, 0.22);
}
/* Evita que el nav fijo tape el destino al saltar a un anclaje del menú */
#zonas, #proyectos, #por-que, #contacto { scroll-margin-top: 88px; }
.nav-inner {
  width: min(1240px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; }

.nav-right { display: flex; align-items: center; gap: 28px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--mist);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.is-active { color: var(--sand); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--sand);
}

.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-switch a { display: inline-flex; align-items: center; gap: 6px; }
.lang-switch a svg.flag { width: 15px; height: 11px; border-radius: 2px; display: block; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); }
.lang-switch a {
  color: var(--mist);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 9px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.lang-switch a.is-active { color: var(--midnight); background: var(--sand); }

.nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-green);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.2s ease;
}
.nav-wa svg { width: 17px; height: 17px; fill: var(--white); }
.nav-wa:hover { background: #1FBF5B; transform: translateY(-1px); }

.nav-right-wrap { display: flex; align-items: center; gap: 20px; }

.nav-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--mist);
}
.nav-share svg { width: 22px; height: 22px; stroke: var(--mist); }
.nav-share:hover svg { stroke: var(--sand); }
/* En escritorio nav-right (links/idiomas/WhatsApp) queda visible en el
   flujo, así que reordenamos para que compartir caiga después de todo
   eso, en la esquina superior derecha. En mobile nav-right sale del
   flujo (position:fixed, ver media query 860px) y el orden de DOM
   entre compartir/hamburguesa ya es el correcto: no tocar ahí. */
@media (min-width: 861px) {
  .nav-share { order: 2; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--mist);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.share-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  background: var(--midnight);
  color: var(--ivory);
  border: 1px solid rgba(170,150,100,0.35);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.share-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: var(--midnight-soft);
  padding: 14px 0;
}
.breadcrumb .container { display: flex; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.breadcrumb a { color: var(--mist); text-decoration: none; }
.breadcrumb a:hover { color: var(--sand); }
.breadcrumb li[aria-current] { color: var(--sand); font-weight: 600; }
.breadcrumb .sep { color: rgba(209,216,229,0.4); }

/* ============================================================
   HERO DE ZONA
   ============================================================ */
.zhero {
  position: relative;
  background: var(--midnight);
}
.zhero__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.zhero__media { position: absolute; inset: 0; overflow: hidden; background: var(--midnight); }
.zhero__fg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.zhero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(7,32,49,0.75) 0%, rgba(7,32,49,0) 42%);
}
.zhero__label {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 28px;
}
.zhero__eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.zhero h1 {
  color: var(--white);
  max-width: 680px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  text-shadow: 0 2px 16px rgba(0,0,0,0.65);
}

/* Panel de contenido debajo de la foto (fondo s\u00f3lido, texto completo) */
.zhero__panel { background: var(--midnight-soft); padding: 40px 0 44px; }
.zhero__tagline {
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 600;
  color: var(--sand-light);
}
.zhero__value {
  margin-top: 14px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--mist);
  max-width: 70ch;
}
.zhero__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.zhero__seals {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.zhero__seals span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--mist);
}
.zhero__seals svg { width: 17px; height: 17px; stroke: var(--sand); }

/* ============================================================
   SECCIONES DE CONTENIDO DE ZONA
   ============================================================ */
.zsection { padding: 78px 0; }
.zsection--ivory { background: var(--ivory); }
.zsection--mist { background: var(--mist); }
.zsection--white { background: var(--white); }

.zsection__head { max-width: 760px; margin-bottom: 44px; }
.zsection__head.center { margin-inline: auto; text-align: center; }
.zsection__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sand);
  margin-bottom: 12px;
}
.zsection__head h2 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.zsection__head p {
  margin-top: 14px;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.6;
  color: #3a566b;
}

.zlead {
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  color: #21384a;
  max-width: 70ch;
  margin-bottom: 8px;
}
.zlead strong { color: var(--midnight); }

/* Dos columnas: inversionista / residente */
.why-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 40px;
}
.why-col {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 30px;
  border-top: 4px solid var(--sand);
}
.why-col h3 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.why-col h3 svg { width: 30px; height: 30px; stroke: var(--sand); flex-shrink: 0; }
.why-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.why-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  line-height: 1.5;
  color: #2c4356;
}
.why-col li svg { width: 17px; height: 17px; stroke: var(--sand); flex-shrink: 0; margin-top: 3px; }
.why-col li strong { color: var(--midnight); }

/* Grid de tarjetas informativas (invertir / comprar / rentar) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.info-card__media { aspect-ratio: 4 / 3; }
.info-card__media img { width: 100%; height: 100%; object-fit: cover; }
.info-card__body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.info-card__body h3 {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--midnight);
}
.info-card__kicker {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sand);
}
.info-card__body p { font-size: 0.92rem; line-height: 1.55; color: #3a566b; }

/* Lista simple con check (comprar / rentar en formato compacto) */
.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 12px;
}
.check-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 26px;
  border-left: 4px solid var(--sand);
}
.check-card h3 {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--midnight);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-card h3 svg { width: 26px; height: 26px; stroke: var(--sand); flex-shrink: 0; }
.check-card p { font-size: 0.92rem; line-height: 1.55; color: #3a566b; }

/* Ubicación y conectividad */
.loc-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.loc-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.loc-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.98rem; line-height: 1.5; color: #21384a; }
.loc-list li svg { width: 24px; height: 24px; stroke: var(--sand); flex-shrink: 0; margin-top: 2px; }
.loc-list li strong { color: var(--midnight); }

/* Placeholder con franjas + monospace */
.ph {
  position: relative;
  background: repeating-linear-gradient(45deg, #dee3eb 0, #dee3eb 11px, #d5dbe5 11px, #d5dbe5 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #62748a;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 16px;
  border-radius: var(--radius);
}
.ph--map { aspect-ratio: 4 / 3; }
.loc-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.loc-map iframe { display: block; width: 100%; height: 100%; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--midnight);
  padding: 22px 56px 22px 24px;
  position: relative;
  line-height: 1.4;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sand);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 24px 24px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #3a566b;
}

/* ============================================================
   FOOTER DEL SITIO
   ============================================================ */
.site-footer { background: var(--midnight); color: var(--mist); padding: 56px 0 28px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(209,216,229,0.15);
}
.site-footer__brand img { height: 46px; margin-bottom: 18px; }
.site-footer__brand p { font-size: 0.88rem; line-height: 1.6; color: rgba(209,216,229,0.7); max-width: 32ch; }
.site-footer__social { display: flex; gap: 12px; margin-top: 20px; }
.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(170,150,100,0.4);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-footer__social a:hover { background: var(--sand); border-color: var(--sand); }
.site-footer__social svg { width: 18px; height: 18px; stroke: var(--sand); transition: stroke 0.2s ease; }
.site-footer__social a:hover svg { stroke: var(--midnight); }
.site-footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sand);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--mist); text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--white); }
.site-footer__bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(209,216,229,0.5);
}

/* ============================================================
   RESPONSIVE — SITIO
   ============================================================ */
@media (max-width: 980px) {
  .why-cols { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .check-grid { grid-template-columns: 1fr; }
  .loc-wrap { grid-template-columns: 1fr; gap: 26px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-right {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--midnight);
    border-bottom: 1px solid rgba(170,150,100,0.22);
    padding: 8px 0 18px;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  body.nav-open .nav-right { transform: translateY(0); }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(1240px, 92%);
    margin-inline: auto;
  }
  .nav-links a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(209,216,229,0.12);
    font-size: 0.92rem;
  }
  .nav-links a.is-active::after { display: none; }
  .lang-switch {
    width: min(1240px, 92%);
    margin: 16px auto 0;
    justify-content: flex-start;
  }
  .nav-wa {
    width: min(1240px, 92%);
    margin: 16px auto 0;
    justify-content: center;
    padding: 14px 16px;
    font-size: 0.9rem;
  }
  .zhero__frame { aspect-ratio: 4 / 3; max-height: 420px; }
  .zhero__label { padding-bottom: 18px; }
  .zhero__panel { padding: 30px 0 34px; }
}

@media (max-width: 560px) {
  .info-grid { grid-template-columns: 1fr; }
  .zsection { padding: 56px 0; }
}

/* ============================================================
   HOME — PROPIEDADES PREMIUM DESTACADAS
   ============================================================ */
.featured {
  padding: 88px 0;
  background: linear-gradient(135deg, #051826 0%, var(--midnight) 60%, var(--midnight-soft) 100%);
  color: var(--white);
}
.featured .section-heading h2 { color: var(--white); }
.featured__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sand);
  margin-bottom: 14px;
}
.featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 24px;
  margin-top: 8px;
}
.featured__cta { margin-top: 44px; text-align: center; }
.btn-outline {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sand);
  border: 1.5px solid var(--sand);
  border-radius: 100px;
  padding: 15px 34px;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-outline:hover { background: var(--sand); color: var(--midnight); }
@media (max-width: 980px) { .featured__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .featured__grid { grid-template-columns: 1fr; } .featured { padding: 60px 0; } }

/* --- Carrusel de proyectos (curado) --- */
.featured__carousel { position: relative; margin-top: 8px; }
.proj-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.proj-track::-webkit-scrollbar { display: none; }
.proj-card {
  flex: 0 0 clamp(240px, 26%, 320px);
  scroll-snap-align: start;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.proj-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--midnight-soft);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.proj-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-card:hover .proj-card__media { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0,0,0,0.4); }
.proj-card__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0 8px;
}
.proj-card__logo { max-height: 46px; max-width: 78%; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.92; }
.proj-card__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.25;
}
.proj-card__loc {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sand);
}
.proj-nav {
  position: absolute;
  top: calc(50% - 40px);
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--midnight);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.proj-nav:hover { background: var(--white); transform: translateY(-50%) scale(1.06); }
.proj-nav--prev { left: -10px; }
.proj-nav--next { right: -10px; }
.proj-nav[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .proj-card { flex-basis: 76%; }
  .proj-nav--prev { left: 2px; }
  .proj-nav--next { right: 2px; }
}

/* ============================================================
   PÁGINA DE PROYECTO (landing premium)
   ============================================================ */
.proj-facts-bar { background: var(--midnight); border-top: 1px solid rgba(170,150,100,0.25); }
.proj-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.proj-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 18px;
  text-align: center;
}
.proj-fact + .proj-fact { border-left: 1px solid rgba(209,216,229,0.14); }
.proj-fact span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sand);
}
.proj-fact strong { font-size: 1.02rem; font-weight: 700; color: var(--white); }

/* Highlights: tarjetas con icono + texto */
.proj-hl .check-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-left: 4px solid var(--sand);
}
.proj-hl .check-card svg { width: 22px; height: 22px; stroke: var(--sand); flex-shrink: 0; margin-top: 2px; }
.proj-hl .check-card p { font-size: 0.96rem; line-height: 1.5; color: #2c4356; font-weight: 500; }

/* Amenidades: grid de chips con check */
.amen-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 26px;
}
.amen-grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #21384a;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mist);
}
.amen-grid li svg { width: 18px; height: 18px; stroke: var(--sand); flex-shrink: 0; margin-top: 2px; }

/* Precio + características */
.price-block { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 34px; align-items: stretch; }
.price-hero {
  background: linear-gradient(150deg, var(--midnight) 0%, var(--midnight-soft) 100%);
  border-radius: 18px; padding: 34px 32px; color: var(--white);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
  box-shadow: var(--shadow-card);
}
.price-hero__label { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-light); }
.price-hero__num { font-family: var(--font-display, Georgia, serif); font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.05; }
.price-hero .btn-wa { margin-top: 18px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; align-content: center; }
.feat-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 18px 6px; border-bottom: 1px solid var(--mist);
}
.feat-k { font-size: 15px; color: #5a6b78; letter-spacing: .02em; }
.feat-v { font-size: 17px; color: var(--ink); font-weight: 600; text-align: right; }
.price-note { margin-top: 22px; font-size: 13.5px; color: #7a8791; max-width: 780px; line-height: 1.55; }

/* Estructura de pagos */
.pay-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pay-step {
  background: var(--white); border: 1px solid var(--mist); border-radius: 14px;
  padding: 26px 18px 22px; text-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: var(--shadow-card);
}
.pay-step__n {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sand); color: var(--white); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pay-step__pct { font-family: var(--font-display, Georgia, serif); font-size: 30px; font-weight: 700; color: var(--ink); }
.pay-step__t { font-size: 13.5px; color: #5a6b78; line-height: 1.35; }

/* Galería — slider */
.gallery-slider { position: relative; max-width: 760px; margin: 0 auto; }
.gallery-slider__viewport { overflow: hidden; border-radius: 16px; box-shadow: var(--shadow-card); }
.gallery-slider__track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.gallery-slide { flex: 0 0 100%; aspect-ratio: 16/9; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--midnight);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.gallery-nav:hover { background: var(--white); transform: translateY(-50%) scale(1.06); }
.gallery-nav--prev { left: 14px; }
.gallery-nav--next { right: 14px; }
.gallery-nav[disabled] { opacity: 0; pointer-events: none; }
.gallery-dots { display: flex; justify-content: center; gap: 9px; margin-top: 16px; }
.gallery-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: var(--sand, #cbb892); opacity: .4; cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.gallery-dot.is-active { opacity: 1; transform: scale(1.25); }

/* Video del proyecto */
.proj-video { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-card); background: #0b1220; aspect-ratio: 16/9; max-width: 960px; margin: 0 auto; }
.proj-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0b1220; }

@media (max-width: 860px) {
  .price-block { grid-template-columns: 1fr; gap: 22px; }
  .pay-steps { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .gallery-slide { aspect-ratio: 4/3; }
}

/* Banner de urgencia */
.proj-urgency { background: var(--ivory); padding: 20px 0 60px; }
.proj-urgency__box {
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-light) 100%);
  border-radius: 18px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.proj-urgency__box h2 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--midnight);
  line-height: 1.15;
}
.proj-urgency__box p { margin-top: 8px; font-size: 1rem; color: #3a2f18; max-width: 46ch; }

/* Barra sticky de conversión */
.proj-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  background: var(--midnight);
  border-top: 1px solid rgba(170,150,100,0.3);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.proj-sticky.show { transform: translateY(0); }
.proj-sticky__name { color: var(--mist); font-weight: 600; font-size: 0.92rem; }
@media (max-width: 640px) {
  .proj-facts { grid-template-columns: repeat(2, 1fr); }
  .proj-fact:nth-child(2) { border-left: none; }
  .proj-fact:nth-child(3) { border-top: 1px solid rgba(209,216,229,0.14); }
  .proj-fact:nth-child(4) { border-top: 1px solid rgba(209,216,229,0.14); }
  .amen-grid { grid-template-columns: 1fr; }
  .proj-urgency__box { padding: 30px 24px; }
  .proj-sticky__name { display: none; }
}
@media (max-width: 980px) { .amen-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   LISTADOS MLS / IDX (Trestle) — tarjetas de propiedad
   ============================================================ */
.zone-map { height: 540px; border-radius: 14px; overflow: hidden; margin-bottom: 26px; box-shadow: var(--shadow-card); background: var(--mist); position: relative; z-index: 0; }
.zone-map .leaflet-container { font-family: var(--font); }
.zone-map__chips { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 1100; display: flex; gap: 8px; }
.zone-map__chips button { padding: 11px 24px; border-radius: 24px; border: 0; background: #fff; color: var(--midnight); font-family: var(--font); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 2px 12px rgba(7, 32, 49, 0.28); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.zone-map__chips button.is-active { background: var(--midnight); color: var(--sand-light); }
.zone-map__note { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 1100; background: rgba(7, 32, 49, 0.85); color: #fff; padding: 9px 18px; border-radius: 20px; font-size: 0.82rem; white-space: nowrap; }
@media (max-width: 560px) { .zone-map { height: 400px; } .zone-map__chips button { padding: 10px 18px; } }
/* Encabezados de las dos formas de búsqueda (mapa / listado) */
.zone-search-label { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 16px; }
.zone-search-label h3 { font-size: 1.15rem; font-weight: 800; color: var(--midnight); margin: 0; }
.zone-search-label h3 svg { width: 18px; height: 18px; vertical-align: -2px; margin-right: 8px; }
.zone-search-label p { margin: 0; color: #5a7187; font-size: 0.9rem; }
.zone-search-label--list { margin-top: 34px; }
/* CTA ancla hacia la búsqueda de propiedades */
.zhero__searchlink { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 13px 26px; border-radius: 26px; background: var(--sand); color: #fff; font-weight: 700; font-size: 0.9rem; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); transition: background 0.2s ease; }
.zhero__searchlink:hover { background: var(--sand-light); }
.btn-anchor { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 28px; border: 2px solid var(--sand); color: var(--sand-light); font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.btn-anchor:hover { background: var(--sand); color: #fff; }
.listings__search {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.listings__search input {
  flex: 1;
  min-width: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 14px 18px;
  border: 1.5px solid var(--mist);
  border-radius: 100px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.listings__search input:focus {
  outline: none;
  border-color: var(--sand);
  box-shadow: 0 0 0 3px rgba(170, 150, 100, 0.18);
}
.listings__search-btn {
  flex-shrink: 0;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--midnight);
  border: none;
  border-radius: 100px;
  padding: 0 26px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.listings__search-btn:hover { background: var(--midnight-soft); transform: translateY(-1px); }
.listings__searchnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--mist);
  border-left: 4px solid var(--sand);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: var(--midnight);
}
.listings__searchnote span { font-weight: 600; }
.listings__searchnote button {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--sand);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 2px;
}
.listings__searchnote button:hover { color: var(--midnight); }
@media (max-width: 560px) {
  .listings__search { flex-direction: column; }
  .listings__search-btn { padding: 13px 26px; }
}
.listings__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.listings__tab {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--midnight);
  background: var(--white);
  border: 1.5px solid #cfd6e2;
  border-radius: 100px;
  padding: 11px 22px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.listings__tab:hover { border-color: var(--sand); }
.listings__tab.is-active {
  background: var(--midnight);
  color: var(--white);
  border-color: var(--midnight);
}

/* Barra de filtros */
.listings__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.lf { display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; min-width: 140px; }
.lf > span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5a7187;
}
.lf select {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--midnight);
  background: var(--ivory);
  border: 1.5px solid #cfd6e2;
  border-radius: 8px;
  padding: 11px 12px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23AA9664' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.lf select:focus { outline: none; border-color: var(--sand); }
.lf__clear {
  flex: 0 0 auto;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--midnight);
  background: none;
  border: none;
  cursor: pointer;
  padding: 11px 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lf__clear:hover { color: var(--sand); }

/* Paginación */
.listings__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}
.lp__btn {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--midnight);
  background: var(--white);
  border: 1.5px solid #cfd6e2;
  border-radius: 100px;
  padding: 11px 22px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lp__btn:hover:not(:disabled) { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.lp__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.lp__info { font-size: 0.88rem; font-weight: 600; color: #5a7187; }
.listings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.listing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.listing-card[data-open-detail] { cursor: pointer; }
.listing-card__view {
  position: absolute;
  right: 12px;
  top: 12px;
  background: rgba(7, 32, 49, 0.82);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.listing-card:hover .listing-card__view { opacity: 1; transform: translateY(0); }
.listing-card__media { position: relative; height: 230px; flex: 0 0 230px; background: var(--mist); overflow: hidden; }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-card__price {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--midnight);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
}
.listing-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.listing-card__addr { font-weight: 700; color: var(--midnight); font-size: 0.95rem; line-height: 1.35; }
.listing-card__specs { font-size: 0.85rem; color: #5a7187; font-weight: 600; }
.listing-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wa-green);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 100px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.listing-card__cta:hover { background: #1FBF5B; transform: translateY(-2px); }
.listings__status { text-align: center; color: #5a7187; font-size: 0.98rem; line-height: 1.6; padding: 28px 12px; max-width: 56ch; margin-inline: auto; }
.listings__disclaimer { margin-top: 18px; font-size: 0.74rem; color: #8a99a8; line-height: 1.5; }
@media (max-width: 980px) { .listings__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .listings__grid { grid-template-columns: 1fr; } }

/* ============================================================
   BÚSQUEDA DE PROPIEDADES (propiedades.html / en/properties.html /
   pt/imoveis.html) — filtros, orden, unidades/moneda, vistas
   cuadrícula/lista/mapa. Ver assets/dtf-listings.js.
   ============================================================ */
.dtf-search-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dtf-search-wrap { position: relative; flex: 1 1 320px; max-width: 420px; }
.dtf-search-form {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--mist);
  border-radius: 100px;
  background: var(--bar-bg);
  overflow: hidden;
}
.dtf-search-field {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 4px;
}
.dtf-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 13px 18px;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--midnight);
  background: transparent;
}
.dtf-search-input:focus { outline: none; }
.dtf-search-clear {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #8a97a8;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.dtf-search-clear:hover { background: var(--ivory); color: var(--midnight); }
.dtf-search-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: none;
  background: var(--midnight);
  color: var(--white);
  cursor: pointer;
}
.dtf-search-btn:hover { background: var(--sand); color: var(--midnight); }
.dtf-search-btn svg { width: 18px; height: 18px; }
.zones__mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1.5px solid var(--mist);
  border-radius: 100px;
  background: var(--bar-bg);
  flex: 0 0 auto;
}
.zones__mode-btn {
  border: none;
  background: transparent;
  border-radius: 100px;
  padding: 9px 20px;
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--midnight);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.zones__mode-btn:hover:not(.is-active) { background: var(--ivory); }
.zones__mode-btn.is-active { background: var(--midnight); color: var(--white); }
@media (max-width: 640px) {
  .zones__mode-toggle { width: 100%; justify-content: center; }
  .zones__mode-btn { flex: 1; }
}
.dtf-search__suggestions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
  max-height: 320px;
  overflow-y: auto;
}
.dtf-search__suggestions[hidden] { display: none; }
.dtf-search__suggestions li { margin: 0; }
.dtf-search__suggestions li:not(:last-child) { border-bottom: 1px solid rgba(209, 216, 229, 0.45); }
.dtf-search__suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}
.dtf-search__suggestion:hover,
.dtf-search__suggestion.is-active { background: var(--ivory); }
.dtf-search__suggestion-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--sand);
}
.dtf-search__suggestion-icon svg { width: 15px; height: 15px; stroke: var(--sand); stroke-width: 2; }
.dtf-search__suggestion-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dtf-search__suggestion-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--midnight);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dtf-search__suggestion-type { font-size: 0.72rem; font-weight: 600; color: #8a97a8; text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 640px) {
  .dtf-search-wrap { max-width: none; flex-basis: 100%; }
}

.dtf-topbar__right { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.dtf-util { position: relative; }
.dtf-util__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--midnight);
  cursor: pointer;
}
.dtf-util__label { color: rgba(7,32,49,0.6); }
.dtf-util__icon { display: flex; align-items: center; transition: transform 0.2s ease; }
.dtf-util__icon svg { width: 12px; height: 12px; }
.dtf-util.is-open .dtf-util__icon { transform: rotate(180deg); }
.dtf-util__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 160px;
  background: var(--ivory);
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(7,32,49,0.2);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.dtf-util.is-open .dtf-util__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dtf-util__option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 16px;
  font-family: var(--font);
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--midnight);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.dtf-util__option:hover { background-color: var(--white); }
.dtf-util__option.is-selected { font-weight: 700; }
.dtf-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 4px 0 20px; }
.dtf-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--midnight);
  cursor: pointer;
}
.dtf-filters-toggle__icon { display: flex; align-items: center; }
.dtf-filters-toggle__icon svg { width: 17px; height: 17px; }
.dtf-sort { position: relative; }
.dtf-sort__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  font-family: var(--font);
  cursor: pointer;
}
.dtf-sort__label { font-size: 0.85rem; font-weight: 600; color: #5a7187; }
.dtf-sort__value { font-size: 0.85rem; font-weight: 700; color: var(--midnight); }
.dtf-sort__icon { display: flex; align-items: center; color: var(--midnight); transition: transform 0.2s ease; }
.dtf-sort__icon svg { width: 16px; height: 16px; }
.dtf-sort.is-open .dtf-sort__icon { transform: rotate(180deg); }
.dtf-sort__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 280px;
  background: var(--ivory);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(7,32,49,0.2);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.dtf-sort.is-open .dtf-sort__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dtf-sort__option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding: 13px 22px;
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--midnight);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.dtf-sort__option:hover { background-color: var(--white); }
.dtf-sort__option.is-selected { font-weight: 700; }

.dtf-layout { display: flex; align-items: flex-start; margin-bottom: 32px; }
.dtf-filters-panel {
  width: 0;
  opacity: 0;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 0;
  transition: width 0.35s ease, opacity 0.28s ease, margin-right 0.35s ease;
}
.dtf-filters-panel.is-open { width: 260px; opacity: 1; margin-right: 36px; }
.dtf-filters-panel__inner { width: 260px; }
.dtf-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 20px;
  border-bottom: 1px solid rgba(7,32,49,0.14);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--midnight);
}
.dtf-switch {
  position: relative;
  width: 40px;
  height: 23px;
  flex-shrink: 0;
  border-radius: 100px;
  border: 1.5px solid var(--midnight);
  background: var(--white);
  padding: 0;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.2s ease;
}
.dtf-switch__knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--midnight); transition: transform 0.2s ease, background-color 0.2s ease; }
.dtf-switch.is-on { background-color: var(--midnight); }
.dtf-switch.is-on .dtf-switch__knob { transform: translateX(17px); background-color: var(--white); }
.dtf-facet { border-bottom: 1px solid rgba(7,32,49,0.14); }
.dtf-facet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--midnight);
  cursor: pointer;
}
.dtf-facet__plus { font-size: 1.15rem; font-weight: 400; line-height: 1; color: var(--midnight); transition: transform 0.2s ease; }
.dtf-facet.is-open .dtf-facet__plus { transform: rotate(45deg); }
.dtf-facet__body { max-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 0 4px; transition: max-height 0.3s ease; }
.dtf-facet.is-open .dtf-facet__body { max-height: 260px; padding: 0 4px 18px; }
.dtf-chk2 { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--midnight); cursor: pointer; }
.dtf-chk2 input {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1.5px solid var(--midnight);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.dtf-chk2 input:checked { background: var(--midnight); }
.dtf-chk2 input:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -1px;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.dtf-facet--zone.is-open .dtf-facet__body { max-height: 380px; }
.dtf-zone-link {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--midnight);
  text-decoration: none;
  cursor: pointer;
}
.dtf-zone-link:hover { text-decoration: underline; }

.dtf-main { flex: 1 1 auto; min-width: 0; }
.dtf-main.dtf-main--split { flex-basis: 0; }
.dtf-bar__left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.dtf-results-count { font-size: 0.82rem; font-weight: 600; color: var(--midnight); margin-left: auto; }
.dtf-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  box-sizing: border-box;
  border: 1.5px solid rgba(7,32,49,0.25);
  border-radius: 100px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  background-color: var(--ivory);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--midnight);
  white-space: nowrap;
  cursor: pointer;
  margin: 0;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
button.dtf-pill:not(.dtf-view-btn):hover { border-color: var(--midnight); }
button.dtf-view-btn.is-active { background-color: var(--midnight); border-color: var(--midnight); color: var(--white); }
button.dtf-view-btn:not(.is-active):hover { border-color: var(--midnight); }
.dtf-pill__icon { display: flex; align-items: center; color: inherit; }
.dtf-pill__icon svg { width: 16px; height: 16px; }

.dtf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.dtf-grid.dtf-grid--list { display: block; }
.dtf-grid .proj-card { gap: 14px; }
/* .proj-card__media defaults to a tall 3:4 portrait crop with rounded
   corners for the home carousel's curated photos; MLS listing photos
   read better landscape, matching the reference layout. */
.dtf-grid .proj-card__media { aspect-ratio: 4 / 3; border-radius: 0; }
/* .proj-card__name/__loc were built for the dark home-carousel background
   (.featured overrides them back to dark text there); this grid sits on a
   light section, so it needs its own dark/legible override. */
.dtf-grid .proj-card__name { font-size: 1.05rem; color: var(--midnight); text-transform: uppercase; }
.dtf-grid .proj-card__loc { font-size: 0.62rem; }
.dtf-grid .proj-card__stats { margin-top: 10px; padding-top: 12px; }
.dtf-grid .proj-stat strong { font-size: 0.82rem; }
.dtf-grid .proj-stat span { font-size: 0.58rem; }
.dtf-grid .proj-card__price { font-size: 0.85rem; padding: 11px 12px; }

/* Sub-elementos de .proj-card usados por assets/dtf-listings.js (precio,
   overlay "Ver detalles", fila de stats) — no existían antes porque el
   carrusel de proyectos curados de home no los necesita. */
.proj-card__price {
  width: 100%;
  background: #EFEFEF;
  color: var(--midnight);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 12px;
  margin-top: 4px;
}
.proj-card__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  background: rgba(7,32,49,0.72);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.proj-card__media:hover .proj-card__hover { opacity: 1; }
.proj-card__stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(7,32,49,0.14);
  margin-top: 14px;
  padding-top: 16px;
}
.proj-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-right: 1px solid rgba(7,32,49,0.14);
}
.proj-stat:last-child { border-right: none; }
.proj-stat strong { font-size: 0.92rem; font-weight: 700; color: var(--midnight); white-space: nowrap; }
.proj-stat span {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(7,32,49,0.55);
  white-space: nowrap;
}
.dtf-skel {
  height: 300px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, #e2e2e2 30%, #f2f2f2 50%, #e2e2e2 70%);
  background-size: 200% 100%;
  animation: dtfShimmer 1.6s ease-in-out infinite;
}
@keyframes dtfShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.dtf-note { margin-top: 4px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--sand); text-align: center; }

.dtf-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(7,32,49,0.1);
}
.dtf-pager__size { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--midnight); }
.dtf-pager__size-opts { display: flex; gap: 6px; }
.dtf-pager__size-opt {
  padding: 6px 13px;
  border-radius: 100px;
  border: 1.5px solid rgba(7,32,49,0.25);
  background: none;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--midnight);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.dtf-pager__size-opt.is-selected { background-color: var(--midnight); border-color: var(--midnight); color: var(--white); }
.dtf-pager__size-opt:not(.is-selected):hover { border-color: var(--midnight); }
.dtf-pager__nav { display: flex; align-items: center; gap: 14px; }
.dtf-pager__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(7,32,49,0.25);
  background: var(--ivory);
  color: var(--midnight);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.dtf-pager__btn svg { width: 16px; height: 16px; }
.dtf-pager__btn:hover:not(:disabled) { border-color: var(--midnight); }
.dtf-pager__btn:disabled { opacity: 0.35; cursor: default; }
.dtf-pager__info { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--midnight); white-space: nowrap; }
.dtf-pager__page-input {
  width: 46px;
  padding: 5px 4px;
  border-radius: 8px;
  border: 1.5px solid rgba(7,32,49,0.25);
  background: var(--ivory);
  color: var(--midnight);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}
.dtf-pager__page-input::-webkit-outer-spin-button,
.dtf-pager__page-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dtf-pager__page-input:focus { outline: none; border-color: var(--midnight); }

.dtf-split.is-map { display: flex; align-items: flex-start; gap: 24px; width: 100%; }
.dtf-split.is-map .dtf-split__list { flex: 1 1 0; min-width: 0; }
.dtf-split__map { display: none; }
.dtf-split.is-map .dtf-split__map {
  display: block;
  position: sticky;
  top: 24px;
  flex: 1 1 0;
  min-width: 0;
  height: 640px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.dtf-split.is-map .dtf-grid { grid-template-columns: repeat(2, 1fr); }
.dtf-split__map .leaflet-popup-content { font-family: var(--font); font-size: 0.85rem; line-height: 1.5; }
.dtf-split__map .leaflet-popup-content a { color: var(--midnight); font-weight: 700; }
.dtf-map-pin span {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 100px;
  background: var(--midnight);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(7,32,49,0.3);
  transform: translate(-50%, -100%);
}
.dtf-map-pin span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--midnight);
  transform: translateX(-50%);
}

.dtf-table-wrap { width: 100%; overflow-x: auto; border: 1px solid rgba(7,32,49,0.12); border-radius: 8px; }
.dtf-table { width: 100%; min-width: 940px; border-collapse: collapse; font-family: var(--font); }
.dtf-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5a7187;
  background: var(--ivory);
  white-space: nowrap;
}
.dtf-table tbody tr { border-bottom: 1px solid rgba(7,32,49,0.1); transition: background-color 0.15s ease; }
.dtf-table tbody tr:last-child { border-bottom: none; }
.dtf-table tbody tr:hover { background-color: rgba(170,150,100,0.1); }
.dtf-table tbody td { padding: 14px 16px; font-size: 0.85rem; color: var(--midnight); white-space: nowrap; }
.dtf-table__addr a { color: var(--midnight); font-weight: 700; text-decoration: none; }
.dtf-table__addr a:hover { text-decoration: underline; }
.dtf-table__price { font-weight: 800; }
.dtf-table__photos { display: inline-flex; align-items: center; gap: 6px; color: #5a7187; }
.dtf-table__photos svg { width: 15px; height: 15px; flex-shrink: 0; }
.dtf-table__fav { background: none; border: none; padding: 0; cursor: pointer; display: flex; color: rgba(7,32,49,0.3); }
.dtf-table__fav svg { width: 18px; height: 18px; }
.dtf-table__fav.is-fav { color: #c0455a; }
.dtf-table__fav.is-fav svg { fill: currentColor; }

@media (max-width: 980px) {
  .dtf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .dtf-filters-panel.is-open { width: 220px; margin-right: 24px; }
  .dtf-filters-panel__inner { width: 220px; }
}
@media (max-width: 640px) {
  .dtf-grid { grid-template-columns: 1fr; }
  .dtf-layout { flex-direction: column; }
  .dtf-filters-panel { width: 100%; margin-right: 0; }
  .dtf-filters-panel.is-open { width: 100%; margin-right: 0; margin-bottom: 24px; }
  .dtf-filters-panel__inner { width: 100%; }
  .dtf-split.is-map { flex-direction: column; }
  .dtf-split.is-map .dtf-split__map { position: static; height: 360px; }
  .dtf-split.is-map .dtf-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PÁGINA DE PROPIEDAD (estilo Zillow)
   ============================================================ */
.prop { background: var(--ivory); min-height: 60vh; }
.prop__loading { padding: 90px 0; text-align: center; color: #5a7187; font-size: 1.05rem; }

.pp-gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 8px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 16px 0;
}
.pp-gallery__main {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px 0 0 14px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #0b1a26;
}
.pp-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.pp-gallery__mainwrap { position: relative; }
.pp-gallery__mainwrap .pp-gallery__main { width: 100%; height: 100%; display: block; }
.pp-gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(11, 26, 38, 0.55); color: #fff; font-size: 1.7rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
  transition: background 0.2s ease;
}
.pp-gallery__arrow:hover { background: rgba(11, 26, 38, 0.8); }
.pp-gallery__arrow--prev { left: 12px; }
.pp-gallery__arrow--next { right: 12px; }
.pp-gallery__count {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  background: rgba(11, 26, 38, 0.6); color: #fff;
  padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; pointer-events: none;
}
.pp-gallery__main:hover img { transform: scale(1.03); }
.pp-gallery__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 8px;
  position: relative;
}
.pp-gallery__cell {
  position: relative;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #0b1a26;
  min-height: 90px;
}
.pp-gallery__cell:nth-child(2) { border-radius: 0 14px 0 0; }
.pp-gallery__cell:last-child { border-radius: 0 0 14px 0; }
.pp-gallery__cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.pp-gallery__cell:hover img { transform: scale(1.05); }
.pp-gallery__more {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(7, 32, 49, 0.82);
  color: var(--white);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 8px 14px;
  border-radius: 100px;
  pointer-events: none;
}

.pp-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 44px;
  padding-top: 40px;
  padding-bottom: 72px;
  align-items: start;
}
.pp-main { min-width: 0; }
.pp-head { padding-bottom: 26px; border-bottom: 1px solid var(--mist); margin-bottom: 30px; }
.pp-price { font-size: 2.3rem; font-weight: 800; color: var(--midnight); line-height: 1; }
.pp-addr { font-size: 1.25rem; font-weight: 600; color: #21384a; margin-top: 10px; line-height: 1.35; }
.pp-specs { margin-top: 14px; font-size: 1.05rem; color: #3a566b; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pp-specs strong { color: var(--midnight); font-weight: 800; }
.pp-dot { color: var(--sand); margin: 0 10px; }

.pp-section { margin-bottom: 44px; }
.pp-section h2 {
  font-size: 1.18rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--midnight);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mist);
  position: relative;
}
.pp-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 3px;
  background: var(--sand);
}
.pp-section > p { font-size: 1.05rem; line-height: 1.75; color: #33536b; white-space: pre-line; max-width: 68ch; }
.pp-section > p + small { display: block; margin-top: 10px; color: #94a4b3; font-style: italic; }
.pp-map { width: 100%; height: 400px; border: 0; border-radius: 14px; display: block; box-shadow: var(--shadow-card); }
@media (max-width: 560px) { .pp-map { height: 300px; } }

/* Calculadora de financiación */
.pp-calc__wrap { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 8px; }
.pp-calc__viz { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pp-calc__donut { width: 200px; height: 200px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: conic-gradient(#2A6FDB 0deg 360deg); position: relative; }
.pp-calc__donut::after { content: ""; position: absolute; width: 132px; height: 132px; border-radius: 50%; background: #fff; }
.pp-calc__donut span, .pp-calc__donut small { position: relative; z-index: 1; }
.pp-calc__donut span { font-size: 1.4rem; font-weight: 800; color: var(--midnight); }
.pp-calc__donut small { font-size: 0.8rem; color: #5a7187; }
.pp-calc__legend { list-style: none; display: flex; flex-direction: column; gap: 11px; width: 100%; }
.pp-calc__legend li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #3a566b; }
.pp-calc__legend i { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.pp-calc__legend span { flex: 1; }
.pp-calc__legend b { color: var(--midnight); font-weight: 700; }
.pp-calc__form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pp-calc__grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; min-width: 0; }
.pp-calc__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pp-calc__field > span { font-size: 0.82rem; font-weight: 700; color: var(--midnight); }
.pp-calc__input { display: flex; align-items: center; border: 1px solid var(--mist); border-radius: 10px; overflow: hidden; background: #fff; transition: border-color 0.2s ease; }
.pp-calc__input:focus-within { border-color: var(--sand); }
.pp-calc__input input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font-family: var(--font); font-size: 1rem; color: var(--ink); outline: none; -moz-appearance: textfield; }
.pp-calc__input input::-webkit-outer-spin-button, .pp-calc__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-calc__input em { padding: 0 14px; color: #9aa8b6; font-style: normal; }
.pp-calc__disc { margin-top: 18px; font-size: 0.74rem; color: #8a99a8; line-height: 1.5; }
.pp-similar { margin-top: 24px; padding-top: 44px; border-top: 1px solid var(--mist); }
.pp-similar .zsection__head { margin-bottom: 26px; }
.pp-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 28px; }
.pp-chip { display: flex; align-items: flex-start; gap: 11px; background: none; border: 0; padding: 0; color: #2c4356; font-size: 0.96rem; line-height: 1.4; font-weight: 500; }
.pp-chip::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; border-radius: 50%; background: rgba(170, 150, 100, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23AA9664' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5'/%3E%3C/svg%3E") center/13px no-repeat; }
@media (max-width: 1024px) { .pp-calc__wrap { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .pp-calc__wrap { grid-template-columns: 1fr; } }

.pp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.pp-fact {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--mist);
  font-size: 0.95rem;
}
.pp-fact span { color: #5a7187; }
.pp-fact strong { color: var(--midnight); text-align: right; font-weight: 700; }

/* Sidebar de contacto sticky */
.pp-side { position: sticky; top: 92px; min-width: 0; }
.pp-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--sand);
  padding: 28px 26px;
}
.pp-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--midnight); margin-bottom: 10px; line-height: 1.3; }
.pp-card p { font-size: 0.92rem; line-height: 1.6; color: #3a566b; margin-bottom: 20px; }
.pp-card__wa { width: 100%; justify-content: center; }
.pp-card__call {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 13px;
  border: 1.5px solid var(--midnight);
  border-radius: 100px;
  color: var(--midnight);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.pp-card__call:hover { background: var(--midnight); color: var(--white); }
.pp-card__agent { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--mist); }
.pp-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--midnight);
  color: var(--sand);
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pp-card__agent strong { display: block; color: var(--midnight); font-size: 0.95rem; }
.pp-card__agent small { color: #5a7187; font-size: 0.82rem; }

/* Lightbox */
.pp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5, 18, 28, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.pp-lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 46px; height: 46px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff; font-size: 1.8rem; cursor: pointer;
}
.pp-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff; font-size: 2rem; cursor: pointer;
}
.pp-lightbox__prev { left: 24px; }
.pp-lightbox__next { right: 24px; }
.pp-lightbox__nav:hover, .pp-lightbox__close:hover { background: rgba(255,255,255,0.25); }
.pp-lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.9rem; font-weight: 600; }

@media (max-width: 980px) {
  .pp-wrap { grid-template-columns: 1fr; gap: 30px; }
  .pp-side { position: static; }
}
@media (max-width: 640px) {
  .pp-calc__grid2 { grid-template-columns: 1fr; }
  .pp-specs { flex-wrap: wrap; }
  .pp-gallery { grid-template-columns: 1fr; }
  .pp-gallery__main { border-radius: 14px; aspect-ratio: 16 / 11; }
  .pp-gallery__side { display: none; }
  .pp-price { font-size: 1.9rem; }
  .pp-addr { font-size: 1.1rem; }
  .pp-facts { grid-template-columns: 1fr; }
  .pp-lightbox__nav { width: 44px; height: 44px; }
}

/* ============================================================
   POR QUÉ PFS (página de proyecto)
   ============================================================ */
.whypfs {
  padding: 88px 0;
  background: linear-gradient(135deg, #051826 0%, var(--midnight) 60%, var(--midnight-soft) 100%);
  color: var(--white);
}
.whypfs .section-heading h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.whypfs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.whypfs-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(170,150,100,0.28);
  border-radius: 14px;
}
.whypfs-item svg { width: 46px; height: 46px; stroke: var(--sand); }
.whypfs-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sand-light);
  letter-spacing: 0.02em;
}
.whypfs-item p { font-size: 0.86rem; line-height: 1.55; color: var(--mist); }
.whypfs-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  flex-wrap: wrap;
}
.whypfs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 56px;
  text-align: center;
}
.whypfs-stat + .whypfs-stat { border-left: 1px solid rgba(209,216,229,0.22); }
.whypfs-stat__num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--sand);
  line-height: 1;
}
.whypfs-stat__lbl {
  font-size: 0.9rem;
  color: var(--mist);
  max-width: 26ch;
  line-height: 1.5;
}
.zones__grid--compact { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.zones__grid--compact .zone-card__media { aspect-ratio: 4 / 3; }

@media (max-width: 1100px) {
  .whypfs-grid { grid-template-columns: repeat(3, 1fr); }
  .zones__grid--compact { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .whypfs { padding: 60px 0; }
  .whypfs-grid { grid-template-columns: 1fr; }
  .whypfs-stat { padding: 18px 24px; }
  .whypfs-stat + .whypfs-stat { border-left: none; border-top: 1px solid rgba(209,216,229,0.22); }
  .zones__grid--compact { grid-template-columns: 1fr 1fr; }
}
