/* ============================================================
   landing.css — RUM Inmobiliaria
   Adaptado del Doomie de referencia.
   Cambios obligados por reglas del proyecto:
   - Fuentes locales (sin Google Fonts/CDN).
   - Iconos en SVG inline (sin Tabler/CDN).
   Se conservan paleta, estructura y composición del Doomie.
   ============================================================ */

/* ---------- Fuentes locales ---------- */
@font-face {
  font-family: "Montserrat Alternates";
  src: url("../fonts/MontserratAlternates-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Alternates";
  src: url("../fonts/MontserratAlternates-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Questrial";
  src: url("../fonts/Questrial-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --rum-orange: #f26522;
  --rum-orange-mid: #f07840;
  --rum-orange-light: #f5b08a;
  --rum-navy: #1e2a3b;
  --rum-navy-mid: #2e4060;
  --rum-navy-light: #5a6e8a;
  --rum-dark: #2d2d2d;
  --rum-gray-mid: #7a7880;
  --rum-gray: #8f8f8f;
  --rum-light: #f0f0f2;
  --rum-white: #ffffff;
  --font-display: "Montserrat Alternates", sans-serif; /* títulos */
  --font-sub: "Questrial", sans-serif; /* subtítulos */
  --font-body: "Montserrat", sans-serif; /* texto */
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--rum-dark);
  background: var(--rum-white);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}

/* ---------- NAV ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--rum-white);
  border-bottom: 1px solid rgba(30, 42, 59, 0.1);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 52px;
  width: auto;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--rum-navy);
}
.nav-toggle svg {
  width: 26px;
  height: 26px;
}
.nav-close-item {
  display: none;
}
.nav-backdrop {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--rum-navy-mid);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--rum-orange);
}
.btn-nav {
  background: var(--rum-orange) !important;
  color: var(--rum-white) !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.btn-nav:hover {
  background: var(--rum-navy) !important;
  color: var(--rum-white) !important;
}

/* ---------- HERO ---------- */
/* Ancla "Inicio": compensa la barra sticky (68px) para aterrizar en el tope real */
#inicio {
  scroll-margin-top: 68px;
}
.hero {
  background: var(--rum-navy);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 48px;
}
/* Fondo rotativo (capas con crossfade CSS) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 32s infinite;
}
.hero-bg-slide:nth-child(1) {
  animation-delay: 0s;
}
.hero-bg-slide:nth-child(2) {
  animation-delay: 8s;
}
.hero-bg-slide:nth-child(3) {
  animation-delay: 16s;
}
.hero-bg-slide:nth-child(4) {
  animation-delay: 24s;
}
@keyframes heroFade {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 0.3;
  }
  25% {
    opacity: 0.3;
  }
  29% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(30, 42, 59, 0.7) 0%,
    rgba(30, 42, 59, 0.46) 55%,
    rgba(30, 42, 59, 0.25) 100%
  );
}
.hero-bg-lines {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  z-index: 1;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 60px,
    rgba(242, 101, 34, 0.06) 60px,
    rgba(242, 101, 34, 0.06) 61px
  );
}
.hero-accent {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  border: 1px solid rgba(242, 101, 34, 0.15);
  border-radius: 2px;
  z-index: 1;
}
.hero-accent2 {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  border: 1px solid rgba(242, 101, 34, 0.08);
  border-radius: 2px;
  z-index: 1;
}
/* Marca de agua decorativa (blanca) a la derecha del hero, detrás del contenido */
.hero::after {
  content: "";
  position: absolute;
  right: 40px;
  top: 61%;
  transform: translateY(-50%);
  width: 260px;
  max-width: 40%;
  aspect-ratio: 1 / 1;
  background: url("../img/marca-agua-blanco.png") no-repeat center / contain;
  opacity: 1;
  z-index: 3;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}
.hero-eyebrow {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--rum-orange);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  background: url("../img/bullet_naranja.png") no-repeat center / contain;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 700;
  color: var(--rum-white);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--rum-orange-mid);
}
/* Itálica acotada en palabras/frases destacadas de títulos (hereda color y tamaño) */
.section-title em,
.cta-title em {
  font-style: italic;
}
.hero-subtitle {
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}
.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
/* Botones del hero más compactos (acotado, no afecta otros .btn-primary/.btn-outline) */
.hero-btns .btn-primary,
.hero-btns .btn-outline {
  padding: 10px 20px;
  font-size: 13px;
  gap: 6px;
}
.hero-btns svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.btn-primary {
  background: var(--rum-orange);
  color: var(--rum-white);
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.02em;
  border: 1px solid var(--rum-orange);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: transparent;
  color: var(--rum-orange);
}
.btn-outline {
  background: transparent;
  color: var(--rum-white);
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: var(--rum-white);
}

/* ---------- SECTION BASE ---------- */
section {
  padding: 96px 48px;
}
.section-eyebrow {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rum-orange);
  margin-bottom: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  background: url("../img/bullet_naranja.png") no-repeat center / contain;
}
.section-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--rum-navy);
  line-height: 1.15;
  margin-bottom: 24px;
}
.section-body {
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 400;
  color: var(--rum-gray);
  line-height: 1.8;
  max-width: 560px;
}

/* ---------- SEC 1 — Intro ---------- */
.sec-intro {
  background: var(--rum-white);
}
.sec-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.sec-intro-visual {
  position: relative;
  height: 360px;
}
.intro-box-bg {
  position: absolute;
  inset: 0;
  background: var(--rum-light);
  border-radius: 4px;
  overflow: hidden;
}
.intro-box-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-box-accent {
  position: absolute;
  bottom: -36px;
  right: -36px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--rum-orange-light);
  border-radius: 4px;
}
.intro-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.intro-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--rum-navy-light);
  opacity: 0.4;
}
.intro-placeholder span {
  font-size: 12px;
  color: var(--rum-gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Marca de agua naranja decorativa (esquina inferior derecha del bloque visual) */
.sec-intro-visual::after {
  content: "";
  position: absolute;
  right: -66px;
  bottom: -66px;
  width: 150px;
  height: 150px;
  background: url("../img/marca-agua-naranja.png") no-repeat center / contain;
  opacity: 1;
  z-index: 4;
  pointer-events: none;
}

/* ---------- SEC 2 — MVV ---------- */
.sec-mvv {
  background: var(--rum-navy);
}
.sec-mvv .section-eyebrow {
  color: var(--rum-orange-mid);
}
.sec-mvv .section-eyebrow::before {
  background-color: transparent;
}
.sec-mvv .section-title {
  color: var(--rum-white);
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: visible;
  margin-top: 48px;
}
.mvv-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.02);
  padding: 40px 36px;
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    background 0.32s ease,
    border-radius 0.32s ease;
}
/* El selector compuesto vence al 'transform: none' del revelado (3 clases) para que el zoom sí aplique tras el scroll */
/* Hover Opción B: ficha flotante suave (redondeada solo en activo), sin anillo duro; el bloque sigue continuo en reposo */
.mvv-card:hover,
.mvv-card.mvv-anim.mvv-in:hover {
  transform: translateY(-8px) scale(1.07);
  transform-origin: center;
  z-index: 5;
  background: rgba(242, 101, 34, 0.1);
  border-radius: 18px;
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(242, 101, 34, 0.2),
    0 0 28px rgba(242, 101, 34, 0.2);
}
/* Revelado al entrar en pantalla (clase inicial la agrega landing.js; sin JS los cuadros se ven normales) */
.mvv-card.mvv-anim {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    border-radius 0.35s ease;
}
.mvv-card.mvv-anim.mvv-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .mvv-card,
  .mvv-card:hover {
    transition: none;
    transform: none;
  }
  .mvv-card.mvv-anim {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.mvv-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rum-orange);
  margin-bottom: 20px;
  font-weight: 600;
}
.mvv-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  font-weight: 400;
}
.mvv-valores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.valor-tag {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* ---------- SEC 3 — Stats ---------- */
.sec-stats {
  background: var(--rum-light);
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}
/* Marca de agua naranja decorativa, arriba a la derecha y DETRÁS del contenido.
   Anclada a .sec-stats-inner (contenedor 1100px centrado) para alinear igual que la de "Quiénes somos". */
.sec-stats-inner::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -66px;
  width: 150px;
  height: 150px;
  background: url("../img/marca-agua-naranja.png") no-repeat center / contain;
  opacity: 1;
  z-index: -1;
  pointer-events: none;
}
.sec-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.sec-stats-text {
  max-width: 560px;
  margin-bottom: 56px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(30, 42, 59, 0.12);
  border-radius: 6px;
  overflow: hidden;
}
.stat-card {
  padding: 44px 40px;
  border-right: 1px solid rgba(30, 42, 59, 0.12);
  position: relative;
}
.stat-card:last-child {
  border-right: none;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--rum-navy);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span {
  color: var(--rum-orange);
}
.stat-number .stat-value {
  display: inline-block;
  color: var(--rum-navy);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px;
  color: var(--rum-gray);
  font-weight: 400;
  letter-spacing: 0.05em;
}
.pending-note {
  font-size: 11px;
  color: var(--rum-orange-mid);
  margin-top: 6px;
  font-style: italic;
}

/* ---------- SEC 4 — Propiedades ---------- */
.sec-props {
  background: var(--rum-white);
}
.sec-props-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.props-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Panel de filtros (GET) */
.filters {
  background: var(--rum-light);
  border: 1px solid rgba(30, 42, 59, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 32px;
}
.filters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 16px;
}
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.filter-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rum-navy-mid);
  text-transform: uppercase;
}
.filter-field input,
.filter-field select {
  padding: 9px 10px;
  border: 1px solid rgba(30, 42, 59, 0.2);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--rum-dark);
  background: var(--rum-white);
}
.filter-field input:focus,
.filter-field select:focus {
  outline: 2px solid var(--rum-orange-light);
  outline-offset: 1px;
}
.filter-tags {
  grid-column: 1 / -1;
}
.filter-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 4px;
}
.filter-tags-list label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--rum-dark);
}
.filters-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn-filter {
  background: var(--rum-navy);
  color: #fff;
  border: 1px solid var(--rum-navy);
  padding: 8px 18px;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
/* Icono del botón Filtrar con tamaño explícito (el SVG del helper no trae width/height) */
.btn-filter svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.btn-filter:hover {
  background: var(--rum-orange);
  border-color: var(--rum-orange);
}
.btn-clear {
  background: transparent;
  color: var(--rum-navy-mid);
  border: 1px solid rgba(30, 42, 59, 0.2);
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-clear:hover {
  border-color: var(--rum-orange);
  color: var(--rum-orange);
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prop-card {
  border: 1px solid rgba(30, 42, 59, 0.1);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.25s;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.prop-card:hover {
  box-shadow: 0 8px 32px rgba(30, 42, 59, 0.1);
}
.prop-img {
  height: 200px;
  background: var(--rum-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prop-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prop-img .placeholder-ic {
  width: 40px;
  height: 40px;
  color: var(--rum-navy-light);
  opacity: 0.35;
}
/* Marca de agua decorativa (logo) en la esquina inferior derecha del área de imagen.
   z-index 1: por debajo de badges/tipo/botones (z-index 2). No intercepta clics. */
.prop-img::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  height: 35%;
  aspect-ratio: 1 / 1;
  background: url("../img/marca-agua-blanco.png") no-repeat center / contain;
  z-index: 1;
  pointer-events: none;
}
.prop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 2;
}
.badge-disponible {
  background: #1e2a3b;
  color: #fff;
}
.badge-remate {
  background: var(--rum-orange);
  color: #fff;
}
.badge-vendida {
  background: #8f8f8f;
  color: #fff;
}
.badge-rentada {
  background: var(--rum-navy-light);
  color: #fff;
}
.prop-tipo {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--rum-navy);
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}
.prop-img-btns {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  opacity: 0;
  transition: opacity 0.2s;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  padding: 12px;
  gap: 8px;
  z-index: 2;
}
.prop-card:hover .prop-img-btns {
  opacity: 1;
}
.img-btn {
  flex: 1;
  font-size: 11px;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
/* Iconos de los botones de tarjeta con tamaño explícito (los SVG del helper no traen width/height) */
.img-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.img-btn-fotos {
  background: rgba(255, 255, 255, 0.9);
  color: var(--rum-navy);
}
.img-btn-fotos[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.img-btn-visita {
  background: var(--rum-orange);
  color: #fff;
}
.prop-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prop-type {
  font-size: 12px;
  color: var(--rum-orange);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}
.prop-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--rum-navy);
  margin-bottom: 6px;
}
.prop-loc {
  font-size: 12px;
  color: var(--rum-gray);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}
.prop-loc svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.prop-price {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--rum-navy);
}
.prop-op {
  font-size: 11px;
  color: var(--rum-gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.prop-resumen {
  font-size: 13px;
  color: var(--rum-gray);
  line-height: 1.5;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.img-btn-detalle {
  text-decoration: none;
}
.prop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(30, 42, 59, 0.08);
}
.prop-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--rum-navy-mid);
}
.prop-meta-item svg {
  width: 15px;
  height: 15px;
  color: var(--rum-orange);
}
.prop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.prop-tag {
  font-size: 11px;
  color: var(--rum-navy-mid);
  background: var(--rum-light);
  border-radius: 12px;
  padding: 3px 10px;
}
.props-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--rum-gray);
  font-size: 15px;
  grid-column: 1 / -1;
}
.props-caption {
  margin-top: 40px;
  font-size: 14px;
  color: var(--rum-gray);
  line-height: 1.8;
  font-weight: 400;
  max-width: 1100px;
  border-left: 2px solid var(--rum-orange-light);
  padding-left: 20px;
}

/* Estado "Cargando" del catálogo (filtros AJAX) */
.props-wrap {
  position: relative;
}
.catalogo-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
}
.props-wrap.is-loading .catalogo-loader {
  display: flex;
}
.props-wrap.is-loading .props-grid {
  opacity: 0.45;
  transition: opacity 0.15s;
  pointer-events: none;
}
.spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(30, 42, 59, 0.15);
  border-top-color: var(--rum-orange);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- SEC 5 — CTA ---------- */
.sec-cta {
  background: var(--rum-orange);
  padding: 100px 48px;
  text-align: center;
}
.sec-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  color: var(--rum-white);
  margin-bottom: 16px;
}
.cta-sub {
  font-family: var(--font-sub);
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}
.btn-cta-white {
  background: var(--rum-white);
  color: var(--rum-orange);
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Icono WhatsApp del CTA con tamaño explícito (el SVG del helper no trae width/height) */
.btn-cta-white svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.btn-cta-white:hover {
  background: transparent;
  color: var(--rum-white);
  border-color: var(--rum-white);
}

/* ---------- SEC 6 — FAQ ---------- */
.sec-faq {
  background: var(--rum-white);
}
.sec-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.faq-list {
  margin-top: 48px;
  border-top: 1px solid rgba(30, 42, 59, 0.1);
}
.faq-item {
  border-bottom: 1px solid rgba(30, 42, 59, 0.1);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--rum-navy);
  letter-spacing: 0.01em;
}
.faq-q svg {
  width: 18px;
  height: 18px;
  color: var(--rum-orange);
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-q.open svg {
  transform: rotate(45deg);
}
.faq-a {
  font-size: 14px;
  color: var(--rum-gray);
  line-height: 1.8;
  font-weight: 400;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s;
  padding-bottom: 0;
}
.faq-a.open {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--rum-navy);
  padding: 64px 48px 36px;
  position: relative;
  overflow: hidden;
}
/* Marca de agua decorativa (blanca) al extremo derecho del footer, detrás del contenido */
footer::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: 10px;
  width: 150px;
  aspect-ratio: 1 / 1;
  background: url("../img/marca-agua-blanco.png") no-repeat center / contain;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
  align-items: start;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo img {
  height: 52px;
  width: auto;
}
.footer-cta-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-phone {
  font-size: 15px;
  color: var(--rum-orange-mid);
  font-weight: 400;
  text-decoration: none;
}
.footer-phone:hover {
  color: var(--rum-orange);
}
.footer-contact-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}
.footer-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rum-orange);
  color: var(--rum-white);
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 28px;
  transition: background 0.2s;
  letter-spacing: 0.03em;
}
.footer-btn-wa:hover {
  background: var(--rum-orange-mid);
}
.footer-btn-wa svg {
  width: 18px;
  height: 18px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.2s;
}
.social-btn svg {
  width: 18px;
  height: 18px;
}
.social-btn:hover {
  border-color: var(--rum-orange);
  color: var(--rum-orange);
}
.social-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}
.footer-credits {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-powered {
  display: inline-flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-powered:hover {
  opacity: 1;
}
.footer-powered img {
  width: 125px;
  height: 55px;
  object-fit: contain;
}
/* .footer-nav es un <nav>: se anula la regla global de elemento nav{} (fondo blanco, sticky, alto, borde) para integrarlo al footer oscuro */
.footer-nav {
  background: transparent;
  position: static;
  height: auto;
  padding: 0;
  border-bottom: none;
  z-index: auto;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--rum-orange);
}

/* ---------- MODAL GALERÍA ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 21, 33, 0.92);
  padding: 24px;
}
.modal.open {
  display: flex;
}
.modal-content {
  position: relative;
  max-width: 980px;
  width: 100%;
}
.modal-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 6px;
  object-fit: contain;
  background: #000;
}
.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--rum-orange);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(13, 21, 33, 0.35);
}
.modal-close svg {
  width: 20px;
  height: 20px;
}
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--rum-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-nav svg {
  width: 22px;
  height: 22px;
}
.modal-prev {
  left: -60px;
}
.modal-next {
  right: -60px;
}
.modal-counter {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin-top: 14px;
  letter-spacing: 0.05em;
}

/* ---------- MODAL DETALLES ---------- */
.modal-detalle {
  max-width: 1160px;
  width: 100%;
  background: var(--rum-white);
  border-radius: 8px;
  max-height: 88vh;
  overflow: hidden;
}
.modal-detalle .modal-close {
  top: 12px;
  right: 12px;
}
.modal-body {
  max-height: 88vh;
  overflow-y: auto;
}
.detalle-cargando {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.detalle-error {
  padding: 40px;
  text-align: center;
  color: var(--rum-gray);
  font-size: 16px;
}
.detalle {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 0;
}
.detalle-galeria {
  background: var(--rum-navy);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detalle-main-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d1521;
  border-radius: 6px;
  overflow: hidden;
  min-height: 360px;
}
.detalle-main {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}
.detalle-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--rum-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detalle-nav svg {
  width: 20px;
  height: 20px;
}
.detalle-prev {
  left: 10px;
}
.detalle-next {
  right: 10px;
}
.detalle-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.detalle-thumb {
  width: 60px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #0d1521;
}
.detalle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detalle-thumb.is-active {
  border-color: var(--rum-orange);
}
.detalle-sinfotos {
  background: var(--rum-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 280px;
  color: var(--rum-gray);
  font-size: 13px;
}
.detalle-sinfotos .placeholder-ic svg {
  width: 44px;
  height: 44px;
  color: var(--rum-navy-light);
  opacity: 0.4;
}
.detalle-info {
  padding: 28px 30px;
}
.detalle-tipo {
  font-size: 12px;
  color: var(--rum-orange);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.detalle-titulo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--rum-navy);
  margin-bottom: 10px;
  line-height: 1.2;
}
.detalle-loc {
  font-size: 13px;
  color: var(--rum-gray);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
}
.detalle-loc svg {
  width: 15px;
  height: 15px;
}
.detalle-precio {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--rum-navy);
  margin-bottom: 12px;
}
.detalle-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.detalle-badges .prop-badge {
  position: static;
}
.detalle-op {
  font-size: 12px;
  color: var(--rum-gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.detalle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(30, 42, 59, 0.1);
  border-bottom: 1px solid rgba(30, 42, 59, 0.1);
}
.detalle-desc {
  margin: 18px 0;
}
.detalle-desc-corta {
  font-size: 14px;
  color: var(--rum-navy-mid);
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 12px;
}
.detalle-desc-completa {
  font-size: 14px;
  color: var(--rum-gray);
  line-height: 1.8;
}
.detalle-tags {
  margin: 16px 0;
}
.detalle-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rum-orange);
  color: var(--rum-white);
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.2s;
}
.detalle-wa:hover {
  background: var(--rum-orange-mid);
}
.detalle-wa svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 760px) {
  .detalle {
    grid-template-columns: 1fr;
  }
  .detalle-main {
    max-height: 44vh;
  }
  .detalle-info {
    padding: 22px 20px;
  }
  .detalle-titulo {
    font-size: 22px;
  }
  .modal-detalle .modal-close {
    top: 10px;
    right: 10px;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sec-intro-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sec-intro-visual::after {
    width: 110px;
    height: 110px;
    right: -8px;
    bottom: -8px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .filters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-prev {
    left: 8px;
  }
  .modal-next {
    right: 8px;
  }
  .modal-close {
    top: 8px;
    right: 8px;
  }
}
@media (min-width: 761px) and (max-width: 980px) {
  .detalle {
    grid-template-columns: 1.3fr 1fr;
  }
  .detalle-main {
    max-height: 60vh;
  }
}
@media (max-width: 760px) {
  nav {
    padding: 0 20px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82%, 300px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 16px 22px 28px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    box-shadow: -8px 0 30px rgba(13, 21, 33, 0.25);
    z-index: 210;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links li {
    padding: 10px 0;
  }
  .nav-close-item {
    display: flex;
    justify-content: flex-end;
    padding: 0 0 4px;
  }
  .nav-close {
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--rum-navy);
    display: inline-flex;
    padding: 6px;
  }
  .nav-close svg {
    width: 24px;
    height: 24px;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(13, 21, 33, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease;
    z-index: 200;
  }
  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
  body.nav-open {
    overflow: hidden;
  }
  .btn-nav {
    text-align: center;
  }
  section {
    padding: 64px 20px;
  }
  .nav-logo img {
    height: 44px;
  }
  .footer-logo img {
    height: 44px;
  }
  .hero {
    padding: 64px 20px;
  }
  .hero::after {
    width: 150px;
    opacity: 1;
    right: 12px;
    top: 75%;
  }
  .hero-btns svg {
    width: 28px;
    height: 28px;
  }
  .hero-title {
    font-size: 40px;
  }
  .mvv-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .sec-stats-inner::after {
    width: 90px;
    height: 90px;
    top: -34px;
    right: -8px;
  }
  .mvv-card:active {
    background: rgba(242, 101, 34, 0.12);
  }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(30, 42, 59, 0.12);
  }
  .stat-card:last-child {
    border-bottom: none;
  }
  .props-grid {
    grid-template-columns: 1fr;
  }
  .filters-grid {
    grid-template-columns: 1fr;
  }
  .sec-cta {
    padding: 72px 20px;
  }
  .cta-title {
    font-size: 34px;
  }
  .section-title {
    font-size: 30px;
  }
  footer {
    padding: 48px 20px 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  footer::after {
    width: 90px;
  }
  .footer-powered img {
    width: 100px;
    height: 60px;
  }
}
