/* Lumen Propiedades — demo inmobiliaria (Core Vibe)
   Verde bosque, salvia y arena. DM Serif Display + Plus Jakarta Sans.
   Las "fotos" de las propiedades están dibujadas con CSS. */

@font-face { font-family: "DM Serif Display"; src: url("/demos/_base/fonts/dm-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("/demos/_base/fonts/dm-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/demos/_base/fonts/jakarta-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --verde: #1f3b2d;
  --verde-2: #2c5240;
  --salvia: #e6efe8;
  --salvia-2: #f3f7f4;
  --arena: #e0b56a;
  --arena-2: #ecc888;
  --blanco: #ffffff;
  --texto-2: #51645a;
  --rojo-fav: #e35d5b;
  --linea: rgba(31, 59, 45, 0.12);
  --linea-fuerte: rgba(31, 59, 45, 0.22);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[hidden] { display: none !important; }
body {
  background: var(--blanco);
  color: var(--verde);
  font: 400 1.02rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 3px solid var(--arena); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; }

.wrap { width: min(100% - 2 * clamp(16px, 4vw, 40px), 1240px); margin-inline: auto; }
.kicker { margin-bottom: 14px; color: var(--verde-2); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.2rem, 2.6vw + 1.1rem, 3.4rem); }
h1 em, h2 em { color: var(--verde-2); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.95em 1.6em;
  border: 0;
  border-radius: 999px;
  font: 700 0.96rem/1 var(--sans);
  text-decoration: none;
  transition: background-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.btn--verde { background: var(--verde); color: var(--blanco); }
.btn--verde:hover { background: var(--verde-2); box-shadow: 0 14px 28px -14px rgba(31, 59, 45, 0.6); }
.btn--arena { background: var(--arena); color: var(--verde); }
.btn--arena:hover { background: var(--arena-2); }
.btn--sm { padding: 0.75em 1.2em; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* ---------- Encabezado ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.header.is-scrolled { background: rgba(255, 255, 255, 0.96); border-bottom-color: var(--linea); }
.header__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 36px; height: 36px; }
.logo__arco { fill: var(--verde); }
.logo__sol { fill: var(--arena); }
.logo__linea { fill: none; stroke: var(--salvia); stroke-width: 1.6; }
.logo__texto { font: 400 1.65rem/0.9 var(--serif); }
.logo__texto small { display: block; margin-top: 3px; color: var(--texto-2); font: 700 0.6rem/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav a { padding: 0.5em 0.9em; border-radius: 999px; color: var(--texto-2); font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.nav a:hover { background: var(--salvia-2); color: var(--verde); }
.header__acciones { display: flex; align-items: center; gap: 10px; }
.favs { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border: 1px solid var(--linea-fuerte); border-radius: 999px; font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.favs svg { width: 18px; height: 18px; fill: none; stroke: var(--verde); stroke-width: 2; transition: fill 0.2s, stroke 0.2s; }
.favs.has-favs svg { fill: var(--rojo-fav); stroke: var(--rojo-fav); }
.favs.is-bump svg { animation: pop 0.45s var(--ease); }
.nav-btn { display: none; place-items: center; align-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--linea-fuerte); border-radius: 50%; background: transparent; }
.nav-btn i { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--verde); transition: transform 0.3s var(--ease); }
.nav-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- Dibujo de edificios (fotos de las fichas y vista de la portada) ---------- */
.foto, .vista__ventana { position: relative; overflow: hidden; overflow: clip; container-type: inline-size; background: var(--cielo, linear-gradient(180deg, #bfe0f0, #eaf5fa)); }
.foto::after, .vista__ventana::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: var(--suelo, #cdd6ce); }
.edif {
  --fachada: #e9dcc8;
  --ventana: #b7d3df;
  position: absolute;
  bottom: 9%;
  z-index: 1;
  background:
    repeating-linear-gradient(180deg, transparent 0 6.3cqi, rgba(31, 59, 45, 0.28) 6.3cqi 7cqi),
    repeating-linear-gradient(180deg, var(--fachada) 0 2.6cqi, transparent 2.6cqi 7cqi),
    repeating-linear-gradient(90deg, var(--fachada) 0 2.2cqi, var(--ventana) 2.2cqi 6cqi);
  box-shadow: inset 0 2.6cqi 0 var(--fachada), inset -2.2cqi 0 0 var(--fachada);
  border-radius: 0.8cqi 0.8cqi 0 0;
}
.edif::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 7cqi; height: 9cqi; border-radius: 3.5cqi 3.5cqi 0 0; background: var(--puerta, var(--verde)); transform: translateX(-50%); }
.edif--casa {
  background:
    linear-gradient(var(--ventana), var(--ventana)) 16% 36% / 22% 28% no-repeat,
    linear-gradient(var(--ventana), var(--ventana)) 84% 36% / 22% 28% no-repeat,
    var(--fachada);
  box-shadow: none;
  border-radius: 0;
}
.edif--casa::before { content: ""; position: absolute; left: -8%; right: -8%; bottom: 100%; height: 50%; background: var(--techo, #8a5a3c); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.arbol {
  position: absolute;
  bottom: 9%;
  z-index: 2;
  width: 14cqi;
  height: 25cqi;
  background:
    radial-gradient(circle 6.4cqi at 50% 6.6cqi, var(--hoja, #5f8a5c) 97%, transparent 100%),
    radial-gradient(circle 4.6cqi at 28% 11.5cqi, var(--hoja-2, #4d7a4c) 97%, transparent 100%),
    radial-gradient(circle 4.6cqi at 72% 11.5cqi, var(--hoja-2, #4d7a4c) 97%, transparent 100%),
    linear-gradient(#6b4f3a, #6b4f3a) 50% 100% / 1.4cqi 52% no-repeat;
}

.foto--1 { --cielo: linear-gradient(180deg, #bfe0f0, #eaf5fa); }
.foto--1 .edif--a { left: 12%; width: 40%; height: 74%; --fachada: #c8a978; --ventana: #f3ead7; }
.foto--1 .edif--b { left: 50%; width: 34%; height: 58%; --fachada: #e9dcc8; --ventana: #a9cbd9; }
.foto--1 .arbol { left: 80%; }
.foto--2 { --cielo: linear-gradient(180deg, #f6d9b8, #fcefe0); }
.foto--2 .edif--a { left: 30%; width: 36%; height: 66%; --fachada: #9fb8a5; --ventana: #fff1d6; }
.foto--2 .edif--b { left: 8%; width: 26%; height: 46%; --fachada: #d7cbb8; --ventana: #f6e3c3; }
.foto--2 .arbol { left: 72%; }
.foto--3 { --cielo: linear-gradient(180deg, #9fc7e6, #dceefa); }
.foto--3 .edif--a { left: 36%; width: 38%; height: 84%; --fachada: #d7d2c6; --ventana: #8fb4cc; }
.foto--3 .edif--b { left: 8%; width: 30%; height: 52%; --fachada: #e0b56a; --ventana: #fff3d6; }
.foto--3 .arbol { left: 78%; }
.foto--4 { --cielo: linear-gradient(180deg, #2c4a5a, #6c8fa0 65%, #e9b98a); --suelo: #3d4c45; }
.foto--4 .edif--a { left: 18%; width: 38%; height: 72%; --fachada: #3b4f44; --ventana: #ffd98a; --puerta: #ffd98a; }
.foto--4 .edif--b { left: 56%; width: 30%; height: 56%; --fachada: #4e6458; --ventana: #f6c76e; --puerta: #f6c76e; }
.foto--4 .arbol { left: 3%; --hoja: #2f5a3f; --hoja-2: #24492f; }
.foto--5 { --cielo: linear-gradient(180deg, #cfe6d3, #f2f8f2); }
.foto--5 .edif--a { left: 24%; width: 48%; height: 46%; --fachada: #f1e4cf; --ventana: #9fc3c9; --techo: #b5683f; }
.foto--5 .arbol { left: 76%; }
.foto--6 { --cielo: linear-gradient(180deg, #a9d3ea, #e6f4fb); --suelo: #9cc28f; }
.foto--6 .edif--a { left: 25%; width: 50%; height: 44%; --fachada: #ffffff; --ventana: #8db7c9; --techo: var(--verde); }
.foto--6 .arbol { left: 5%; }
.foto--6 .arbol--2 { left: 81%; --hoja: #6f9a66; }
.foto--7 { --cielo: linear-gradient(180deg, #f3c6c0, #fde8e0); }
.foto--7 .edif--a { left: 38%; width: 30%; height: 80%; --fachada: #f6f3ec; --ventana: #c9a4a0; }
.foto--7 .edif--b { left: 10%; width: 26%; height: 60%; --fachada: #e0b56a; --ventana: #fff2d8; }
.foto--7 .arbol { left: 74%; }
.foto--8 { --cielo: linear-gradient(180deg, #d9e7f0, #f4f8fb); }
.foto--8 .edif--a { left: 10%; width: 40%; height: 42%; --fachada: #e7c9a6; --ventana: #6f8f86; --techo: #6b4f3a; }
.foto--8 .edif--b { left: 54%; width: 32%; height: 64%; --fachada: #c8d3cb; --ventana: #f4f7f4; }
.foto--8 .arbol { left: 84%; }

/* ---------- Portada ---------- */
.hero { padding: 20px 0 0; }
.hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px;
  background: linear-gradient(160deg, var(--salvia), #f7faf7);
}
.hero h1 { font-size: clamp(3rem, 4.6vw + 1rem, 5.4rem); line-height: 1; }
.hero h1 em { display: block; }
.hero__lead { max-width: 46ch; margin-top: 22px; color: var(--texto-2); font-size: clamp(1.03rem, 0.3vw + 1rem, 1.15rem); }

.buscador { margin-top: 30px; }
.buscador__op { display: inline-flex; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--linea); border-radius: 999px; background: var(--blanco); }
.buscador__op label { position: relative; cursor: pointer; }
.buscador__op input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.buscador__op span { display: block; padding: 0.5em 1.2em; border-radius: 999px; font-size: 0.92rem; font-weight: 700; transition: background-color 0.2s, color 0.2s; }
.buscador__op input:checked + span { background: var(--verde); color: var(--blanco); }
.buscador__op input:focus-visible + span { outline: 3px solid var(--arena); outline-offset: 2px; }
.buscador__campos {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 8px 8px 22px;
  border: 1px solid var(--linea);
  border-radius: 24px;
  background: var(--blanco);
  box-shadow: 0 24px 48px -28px rgba(31, 59, 45, 0.4);
}
.buscador__campo { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: center; min-width: 0; padding: 4px 14px 4px 0; border-right: 1px solid var(--linea); }
.buscador__campo + .buscador__campo { padding-left: 6px; border-right: 0; }
.buscador__campo label { color: var(--texto-2); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.buscador__campo select { width: 100%; padding: 2px 22px 2px 0; border: 0; background: transparent; font-weight: 700; appearance: none; cursor: pointer; }
.buscador__campo::after { content: ""; position: absolute; right: 18px; bottom: 14px; width: 7px; height: 7px; border-right: 2px solid var(--verde); border-bottom: 2px solid var(--verde); transform: rotate(45deg); pointer-events: none; }
.buscador__campo + .buscador__campo::after { right: 6px; }
.buscador .btn { flex-shrink: 0; border-radius: 18px; }

.vista { position: relative; width: min(100%, 440px); margin-inline: auto; }
.vista__ventana {
  --cielo: linear-gradient(180deg, #f6d9b8, #fcefe0 55%, #eef5ef);
  --suelo: #b9d1bd;
  aspect-ratio: 4 / 4.8;
  border: 12px solid var(--blanco);
  border-radius: 999px 999px 28px 28px;
  box-shadow: 0 40px 70px -40px rgba(31, 59, 45, 0.55);
}
.vista__sol { position: absolute; top: 16%; left: 50%; width: 30cqi; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #ffe8b0, var(--arena) 70%); box-shadow: 0 0 60px 20px rgba(224, 181, 106, 0.45); transform: translateX(-50%); animation: sol 8s ease-in-out infinite; }
.vista__e1 { left: 4%; width: 32%; height: 52%; --fachada: #9fb8a5; --ventana: #fff1d6; }
.vista__e2 { left: 33%; width: 36%; height: 68%; --fachada: var(--verde); --ventana: #ffd98a; --puerta: #ffd98a; }
.vista__e3 { left: 66%; width: 30%; height: 44%; --fachada: var(--arena); --ventana: #fff8e6; }
.vista__a1 { left: 0; }
.vista__a2 { left: 84%; }
.vista__card {
  position: absolute;
  bottom: 10%;
  left: -12%;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--blanco);
  box-shadow: 0 24px 44px -20px rgba(31, 59, 45, 0.45);
  font-size: 0.86rem;
  color: var(--texto-2);
  animation: flotar 6s ease-in-out infinite;
}
.vista__card b { color: var(--verde); font: 400 1.55rem/1.1 var(--serif); }
.vista__tag { justify-self: start; margin-bottom: 4px; padding: 0.2em 0.7em; border-radius: 999px; background: var(--arena); color: var(--verde); font-size: 0.72rem; font-weight: 800; }
@keyframes sol { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6%); } }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 30px clamp(28px, 5vw, 64px) 0; }
.cifras li { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cifras b { font: 400 2.2rem/1 var(--serif); }
.cifras span { color: var(--texto-2); font-size: 0.95rem; }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(80px, 9vw, 128px) 0; }
.seccion--salvia { background: var(--salvia); }
.seccion--verde { background: var(--verde); color: var(--blanco); }
.seccion--verde .kicker { color: var(--arena); }
.cabecera { max-width: 680px; margin-bottom: clamp(32px, 4vw, 50px); }
.cabecera--centro { margin-inline: auto; text-align: center; }
.cabecera--fila { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; max-width: none; }
.nota { margin-top: 22px; color: var(--texto-2); font-size: 0.84rem; }
.nota--centro { text-align: center; }

/* ---------- Propiedades ---------- */
.resultados { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.resultados__texto { font-weight: 700; }
.resultados__limpiar { padding: 0; border: 0; background: none; color: var(--verde-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.orden { position: relative; }
.orden select { min-height: 44px; padding: 0 2.6em 0 1.1em; border: 1px solid var(--linea-fuerte); border-radius: 999px; background: var(--blanco); font-weight: 600; appearance: none; cursor: pointer; }
.campo--select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 2px solid var(--verde); border-bottom: 2px solid var(--verde); transform: rotate(45deg); pointer-events: none; }

.props { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.prop {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow: clip;
  border: 1px solid var(--linea);
  border-radius: 24px;
  background: var(--blanco);
  scroll-margin-top: 110px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.prop:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(31, 59, 45, 0.45); }
.prop:target, .prop.is-destacada { box-shadow: 0 0 0 3px var(--arena), 0 30px 60px -34px rgba(31, 59, 45, 0.45); }
.prop.is-destacada { animation: resaltar 1.2s var(--ease); }
@keyframes resaltar { 0% { transform: scale(1); } 30% { transform: scale(1.03); } 100% { transform: scale(1); } }
.prop .foto { aspect-ratio: 4 / 3; }
.prop__op { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 0.3em 0.8em; border-radius: 999px; background: var(--blanco); font-size: 0.76rem; font-weight: 800; }
.prop__op--alquiler { background: var(--arena); }
.fav { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); transition: transform 0.2s; }
.fav:hover { transform: scale(1.08); }
.fav svg { width: 20px; height: 20px; fill: none; stroke: var(--verde); stroke-width: 2; transition: fill 0.2s, stroke 0.2s; }
.fav[aria-pressed="true"] svg { fill: var(--rojo-fav); stroke: var(--rojo-fav); animation: pop 0.45s var(--ease); }
.prop__info { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 18px; }
.prop__precio { font: 400 1.6rem/1.1 var(--serif); }
.prop__precio small { color: var(--texto-2); font: 600 0.82rem var(--sans); }
.prop h3 { margin-top: 6px; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.prop__barrio { color: var(--texto-2); font-size: 0.9rem; }
.prop__datos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.prop__datos li { padding: 0.3em 0.65em; border-radius: 8px; background: var(--salvia-2); font-size: 0.8rem; font-weight: 600; }
.prop__link { display: inline-flex; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.prop__link span { transition: transform 0.3s var(--ease); }
.prop__link:hover span { transform: translateX(4px); }
.sin-resultados { margin-top: 10px; padding: 24px; border-radius: 18px; background: var(--salvia-2); color: var(--texto-2); text-align: center; }

/* ---------- Mapa ---------- */
.mapa-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.mapa-copy > p:not(.kicker) { margin-top: 16px; color: var(--texto-2); }
.leyenda { display: flex; gap: 20px; margin-top: 22px; font-weight: 600; }
.leyenda li { display: flex; align-items: center; gap: 8px; }
.leyenda__punto { width: 14px; height: 14px; border-radius: 50%; background: var(--verde); }
.leyenda__punto--alquiler { background: var(--arena); }
.mapa { position: relative; overflow: hidden; overflow: clip; aspect-ratio: 4 / 3; border: 10px solid var(--blanco); border-radius: 30px; background: #dde8df; box-shadow: 0 40px 70px -46px rgba(31, 59, 45, 0.5); }
.mapa::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(255, 255, 255, 0.9) 52px 56px),
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(255, 255, 255, 0.9) 52px 56px);
  transform: rotate(-14deg);
}
.mapa__rio { position: absolute; top: -40%; right: -32%; width: 72%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(200deg, #9fc9dc, #c4e0ec); }
.mapa__rio span { position: absolute; bottom: 24%; left: 14%; color: #3d6b80; font: italic 400 1rem var(--serif); transform: rotate(-38deg); }
.mapa__parque { position: absolute; top: 40%; left: 60%; width: 22%; height: 18%; border-radius: 45% 55% 50% 50%; background: #a8cfa0; }
.mapa__avenida { position: absolute; top: 60%; left: -10%; right: -10%; height: 10px; background: #fff4dc; box-shadow: 0 0 0 2px rgba(224, 181, 106, 0.45); transform: rotate(-26deg); }
.mapa__barrio { position: absolute; color: rgba(31, 59, 45, 0.5); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.mapa__barrio--nunez { top: 8%; left: 8%; }
.mapa__barrio--belgrano { top: 36%; left: 46%; }
.mapa__barrio--colegiales { top: 62%; left: 4%; }
.mapa__barrio--palermo { top: 80%; left: 64%; }
.mapa__barrio--caballito { top: 90%; left: 6%; }
.pin {
  position: absolute;
  z-index: 2;
  padding: 0.35em 0.75em;
  border-radius: 999px;
  background: var(--verde);
  color: var(--blanco);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 16px -8px rgba(31, 59, 45, 0.6);
  transform: translate(-50%, -100%);
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.pin::after { content: ""; position: absolute; top: 100%; left: 50%; border: 6px solid transparent; border-top-color: var(--verde); transform: translateX(-50%); }
.pin:hover, .pin:focus-visible { z-index: 3; transform: translate(-50%, -100%) scale(1.12); }
.pin--alquiler { background: var(--arena); color: var(--verde); }
.pin--alquiler::after { border-top-color: var(--arena); }
.pin--1 { top: 66%; left: 58%; }
.pin--2 { top: 82%; left: 40%; }
.pin--3 { top: 34%; left: 34%; }
.pin--4 { top: 74%; left: 80%; }
.pin--5 { top: 54%; left: 24%; }
.pin--6 { top: 18%; left: 28%; }
.pin--7 { top: 94%; left: 22%; }
.pin--8 { top: 46%; left: 12%; }

/* ---------- Crédito ---------- */
.credito { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.credito__intro { margin-top: 16px; color: var(--texto-2); font-size: 1.06rem; }
.calc { display: grid; gap: 22px; margin-top: 30px; }
.calc__campo { min-width: 0; margin: 0; padding: 0; border: 0; }
.calc__campo > label, .calc__plazos legend { display: flex; justify-content: space-between; margin-bottom: 8px; padding: 0; font-weight: 700; }
.calc__campo output { color: var(--verde-2); font: 400 1.25rem/1 var(--serif); }
.calc input[type="range"] { width: 100%; height: 28px; accent-color: var(--verde); cursor: pointer; }
.calc__usd { display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--linea-fuerte); border-radius: 16px; background: var(--blanco); transition: border-color 0.2s, box-shadow 0.2s; }
.calc__usd:focus-within { border-color: var(--verde); box-shadow: 0 0 0 4px rgba(31, 59, 45, 0.12); }
.calc__usd span { color: var(--texto-2); font-weight: 700; }
.calc__usd input { flex: 1; min-width: 0; min-height: 54px; border: 0; background: transparent; font-size: 1.15rem; font-weight: 700; outline: none; }
.calc__usd--tasa { width: min(100%, 200px); }
.calc__plazos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.calc__plazos legend { grid-column: 1 / -1; float: left; width: 100%; }
.calc__plazos label { position: relative; display: block; margin: 0; cursor: pointer; }
.calc__plazos input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.calc__plazos span { display: block; padding: 0.75em 0; border: 1px solid var(--linea-fuerte); border-radius: 14px; font-size: 0.92rem; font-weight: 700; text-align: center; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.calc__plazos label:hover span { border-color: var(--verde); }
.calc__plazos input:checked + span { border-color: var(--verde); background: var(--verde); color: var(--blanco); }
.calc__plazos input:focus-visible + span { outline: 3px solid var(--arena); outline-offset: 2px; }

.cuota { padding: clamp(26px, 4vw, 46px); border-radius: 32px; background: var(--verde); color: var(--blanco); box-shadow: 0 40px 80px -44px rgba(31, 59, 45, 0.7); }
.cuota__label { color: var(--arena); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.cuota__valor { margin: 8px 0 24px; font: 400 clamp(3.2rem, 4vw + 1.4rem, 5rem)/1 var(--serif); font-variant-numeric: lining-nums; }
.cuota__barra { overflow: hidden; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.cuota__barra span { display: block; height: 100%; border-radius: inherit; background: var(--arena); transform: scaleX(var(--p, 0.25)); transform-origin: left; transition: transform 0.4s var(--ease); }
.cuota__datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.cuota__datos dt { color: rgba(255, 255, 255, 0.68); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.cuota__datos dd { margin-top: 2px; font-weight: 700; }
.cuota__nota { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.72); font-size: 0.82rem; }

/* ---------- Tasaciones ---------- */
.tasar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.tasar__pasos { margin-top: 30px; }
.tasar__pasos li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.tasar__pasos li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.tasar__pasos b { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--arena); color: var(--verde); font: 400 1.25rem/1 var(--serif); }
.form-tasar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; padding: clamp(22px, 3vw, 34px); border-radius: 30px; background: var(--blanco); color: var(--verde); }
.campo { position: relative; }
.campo--full { grid-column: 1 / -1; }
.campo label { display: block; margin-bottom: 6px; font-size: 0.86rem; font-weight: 700; }
.campo input, .campo select { width: 100%; min-height: 50px; padding: 0.7em 1em; border: 1px solid var(--linea-fuerte); border-radius: 14px; background: var(--salvia-2); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.campo input:focus, .campo select:focus { border-color: var(--verde); background: var(--blanco); box-shadow: 0 0 0 4px rgba(31, 59, 45, 0.12); outline: none; }
.campo select { appearance: none; padding-right: 2.6em; cursor: pointer; }
.campo.campo--select::after { top: auto; bottom: 21px; margin-top: 0; }
.form-tasar .btn { min-height: 54px; margin-top: 4px; }
.form-nota { color: var(--texto-2); font-size: 0.8rem; text-align: center; }

/* ---------- Testimonios ---------- */
.testimonios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.testimonios li { display: flex; flex-direction: column; padding: 30px; border-radius: 26px; background: var(--salvia-2); }
.testimonios blockquote { font: italic 400 1.35rem/1.35 var(--serif); }
.testimonios p { margin-top: auto; padding-top: 18px; color: var(--texto-2); font-size: 0.9rem; }
.testimonios b { color: var(--verde); }

/* ---------- Pie ---------- */
.footer { padding: 56px 0 32px; background: var(--verde); color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.logo--claro { color: var(--blanco); }
.logo--claro .logo__arco { fill: var(--salvia); }
.logo--claro .logo__linea { stroke: var(--verde); }
.logo--claro .logo__texto small { color: rgba(255, 255, 255, 0.6); }
.footer__legal { flex-basis: 100%; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.82rem; }
.footer__legal a { color: var(--arena); }

@media (prefers-reduced-motion: reduce) {
  .vista__sol, .vista__card, .prop.is-destacada, .fav[aria-pressed="true"] svg, .favs.is-bump svg { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .props { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero__panel, .mapa-grid, .credito, .tasar { grid-template-columns: minmax(0, 1fr); }
  .vista { width: min(100%, 380px); }
  .vista__card { left: -4%; }
  .props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonios { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav-btn { display: grid; }
  .js .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: calc(100dvh - 76px);
    margin: 0;
    padding: 18px clamp(16px, 4vw, 40px) 30px;
    border-top: 1px solid var(--linea);
    background: var(--blanco);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0s linear 0.3s;
  }
  .js .nav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .js .nav a { padding: 0.5em 0; border-radius: 0; border-bottom: 1px solid var(--linea); color: var(--verde); font: 400 2rem/1.2 var(--serif); }
  .js .nav a:hover { background: none; }
  html:not(.js) .nav { display: none; }
  .header__acciones { margin-left: auto; }
}
@media (max-width: 640px) {
  .hero__panel { padding: 26px 18px 30px; border-radius: 28px; }
  .buscador__campos { flex-direction: column; padding: 10px; border-radius: 22px; }
  .buscador__campo { padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--linea); }
  .buscador__campo + .buscador__campo { padding-left: 10px; }
  .buscador__campo::after, .buscador__campo + .buscador__campo::after { right: 14px; bottom: 18px; }
  .buscador .btn { width: 100%; min-height: 50px; }
  .cifras { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 26px 4px 0; }
  .props { grid-template-columns: minmax(0, 1fr); }
  .mapa { aspect-ratio: 1; border-width: 6px; }
  .pin { font-size: 0.7rem; padding: 0.3em 0.6em; }
  .cuota__datos { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .form-tasar { grid-template-columns: minmax(0, 1fr); }
  .calc__plazos span { font-size: 0.84rem; }
}
@media (max-width: 480px) {
  .header .btn--sm { display: none; }
  .header__in { gap: 12px; }
  .vista__card { left: 0; padding: 10px 14px; }
  .vista__card b { font-size: 1.3rem; }
}
