/* Luppi Propiedades — concepto "La lupa" (Leomak.Soft) */
@font-face { font-family: "Sora"; src: url("fonts/sora-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Sora"; src: url("fonts/sora-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ciruela: #4b1d3f; --ciruela-2: #632956; --ambar: #e8a33d; --papel: #f4f1f3; --tinta: #1f1a1d; --suave: #5b5257; --borde: #e4d9cc;
  --display: "Sora", "Arial Black", sans-serif; --cuerpo: "Public Sans", system-ui, sans-serif; --ancho: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section { scroll-margin-top: 5rem; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 1.0625rem/1.6 var(--cuerpo); }
svg { display: block; max-width: 100%; }
a { color: var(--ciruela); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--ambar); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.franja { margin: 0; padding: .55rem 1rem; background: var(--tinta); color: #f2ece6; font-size: .8125rem; text-align: center; }
.cabecera { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem clamp(1rem, 4vw, 2.5rem); background: var(--ciruela); color: #fff; }
.marca { display: flex; align-items: center; gap: .5rem; font: 800 1.6rem/1 var(--display); color: #fff; text-decoration: none; }
.marca small { font: 600 .72rem var(--cuerpo); letter-spacing: .18em; text-transform: uppercase; color: var(--ambar); align-self: flex-end; }
.marca-lente { width: 22px; height: 22px; border: 3px solid var(--ambar); border-radius: 50%; position: relative; }
.marca-lente::after { content: ""; position: absolute; width: 10px; height: 3px; background: var(--ambar); right: -9px; bottom: -4px; rotate: 45deg; }
.cabecera nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 1.6rem; }
.cabecera nav a { color: #f3e6ef; text-decoration: none; font-weight: 600; display: inline-block; padding: .8rem 0; }
@media (min-width: 820px) { .cabecera nav ul { display: flex; } }
.kicker { font: 600 .8rem/1.4 var(--cuerpo); letter-spacing: .16em; text-transform: uppercase; color: var(--ciruela-2); margin: 0 0 .7rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; margin: 0; color: var(--ciruela); letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 7.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
.palabra { display: inline-block; white-space: nowrap; perspective: 600px; }
.letra { display: inline-block; transform-origin: 50% 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.5rem; border-radius: 12px; font: 600 1rem var(--cuerpo); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s; }
.btn-ambar { background: var(--ambar); color: var(--tinta); } .btn-ambar:hover { background: #f2b85d; }
.btn-linea { border-color: var(--ciruela); color: var(--ciruela); } .btn-linea:hover { background: var(--ciruela); color: #fff; }
.btn-ciruela { background: var(--ciruela); color: #fff; } .btn-ciruela:hover { background: var(--ciruela-2); }
.hero { max-width: var(--ancho); margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem) 2.5rem; display: grid; gap: 2.5rem; align-items: center; }
.bajada { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--suave); max-width: 33rem; margin: 1.2rem 0 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 960px) { .hero { grid-template-columns: 1fr 1fr; min-height: calc(100svh - 120px); } }
/* El plano y la lupa que lo agranda. */
.lupa { position: relative; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 22px 44px rgba(75, 29, 63, .18); touch-action: pan-y; cursor: zoom-in; }
.lupa figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .8rem; background: rgba(31, 26, 29, .72); color: #fff; font-size: .8rem; }
.p-fondo { fill: #efe6da; }
.p-calles path { stroke: #fffaf2; stroke-width: 7; fill: none; }
.p-avenida { stroke: #f6d39a; stroke-width: 12; fill: none; }
.p-plaza { fill: #b9c9a6; }
.p-ria { fill: #9fc0c9; }
.pin circle { fill: var(--ciruela); } .pin .pin-c { fill: var(--ambar); }
.pin text { font: 700 12px var(--cuerpo); fill: var(--tinta); paint-order: stroke; stroke: #fffaf2; stroke-width: 4px; }
.lente { position: absolute; top: 0; left: 0; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; overflow: hidden; border: 6px solid var(--ciruela); box-shadow: 0 0 0 3px var(--ambar), 0 14px 28px rgba(0, 0, 0, .3); pointer-events: none; background: #efe6da; }
.lente-in { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.lente-in svg { display: block; }
.buscar { max-width: var(--ancho); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.buscador { display: grid; gap: .9rem; padding: 1.2rem; background: #fff; border-radius: 16px; border: 1px solid var(--borde); }
label { display: grid; gap: .35rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); }
select, input { min-height: 48px; width: 100%; padding: .6rem .8rem; font: 400 1rem var(--cuerpo); color: var(--tinta); background: var(--papel); border: 1px solid #cfc2b4; border-radius: 10px; }
@media (min-width: 720px) { .buscador { grid-template-columns: repeat(3, 1fr) auto; align-items: end; } }
.seccion { max-width: var(--ancho); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem) 0; }
.seccion-cab { max-width: 44rem; margin-bottom: 2rem; }
.seccion-cab p:not(.kicker) { color: var(--suave); }
#n-fichas { font-weight: 600; color: var(--ciruela-2); }
.fichas { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ficha { display: flex; flex-direction: column; padding: 1.4rem; background: #fff; border-radius: 16px; border: 1px solid var(--borde); transition: transform .25s ease-out, box-shadow .25s; }
.ficha:hover { box-shadow: 0 16px 32px rgba(75, 29, 63, .12); }
.f-n { margin: 0 0 .3rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ciruela-2); }
.dir { margin: .4rem 0 1rem; color: var(--suave); }
.precio { margin: -.4rem 0 1rem; font: 800 1.6rem var(--display); color: var(--ciruela); }
.acciones { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.acciones a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.acciones a:first-child { background: var(--ciruela); color: #fff; }
.acciones a:last-child { border: 2px solid var(--ciruela); color: var(--ciruela); }
.vacio { margin-top: 1rem; font-style: italic; }
.form-tas { display: grid; gap: 1rem; padding: 1.4rem; background: #fff; border-radius: 16px; border: 1px solid var(--borde); }
.demo-aviso { margin: 0; font-size: .8rem; font-weight: 600; color: var(--ciruela-2); }
.aviso { margin: 0; font-weight: 600; color: var(--ciruela); }
@media (min-width: 720px) { .form-tas { grid-template-columns: 1fr 1fr; } .form-tas .btn, .form-tas p { grid-column: 1 / -1; justify-self: start; } }
.contacto { padding: clamp(1.6rem, 5vw, 3rem); background: var(--ciruela); color: #f1e3ec; border-radius: 22px; }
.contacto h2 { color: #fff; } .contacto .kicker { color: var(--ambar); }
.datos { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.datos li { display: grid; padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.datos span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #d9b8cf; }
.datos a { color: #fff; font: 800 1.3rem var(--display); overflow-wrap: anywhere; padding: .2rem 0; }
.tel-fijo { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; display: flex; align-items: center; min-height: 52px; padding: 0 1.4rem; border-radius: 12px; background: var(--ambar); color: var(--tinta); font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.pie { margin-top: 5rem; padding: 2rem clamp(1rem, 4vw, 2.5rem) 6rem; background: var(--tinta); color: #d4ccd0; font-size: .9rem; }
.pie p { max-width: var(--ancho); margin: .3rem auto; }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .revela { animation: subir linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; } } }
@keyframes subir { from { opacity: 0; translate: 0 32px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
.anim [data-entra] { opacity: 0; }
/* Sin JS no hay lupa: el plano se ve entero. */
html:not(.anim) .lente { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }


/* Revisión: la copia del plano dentro de la lupa no se achica al ancho del lente. */
.lente-in svg { max-width: none; }

/* fx: colores para la capa de efectos */
:root { --fx-acento: #e8a33d; --fx-oscuro: #4b1d3f; --fx-claro: #faf6ef; }
