/* Mi Casa Ya · «Ya.» — la piel de las tres páginas (inicio, buscador y ficha).
   Idea: el nombre es el titular y su punto final es rojo; ese punto crece y se vuelve la escena siguiente.
   Papel cálido + rojo del techo (#DF0209) + negro cálido de las ventanas del logo (#1E120D) + bordó de su campaña. */
:root {
  --fondo: #F6F1EA; --papel-2: #EFE8DE; --blanco: #fff;
  --tinta: #1E120D; --tinta-2: #5E524B;
  --acento: #DF0209; --acento-2: #C20009; --sobre-acento: #fff;
  --bordo: #5A0A10; --bordo-2: #3C060B; --rosa: #FF9A93;
  --linea: rgb(30 18 13 / .14); --ok: #1f9d55; --off: #a8998f;
  --punto-color: #DF0209;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: Marcellus, Georgia, serif;
  --barra: 78px; --pad: clamp(20px, 3.4vw, 52px);
  --curva: cubic-bezier(.2, .7, .2, 1);
}
html { scroll-padding-top: var(--barra); }
body { font-family: var(--sans); font-size: 16px; line-height: 1.5; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--acento); color: #fff; }
[id] { scroll-margin-top: calc(var(--barra) + 12px); }

/* ───────── piezas comunes ───────── */
.kicker { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--tinta-2); display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.titulo { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 104px); line-height: .92; letter-spacing: -.04em; margin-top: 18px; text-wrap: balance; }
.titulo em { font-style: italic; }
.titulo .p { color: var(--acento); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; background: var(--tinta); color: #fff; border: 1px solid var(--tinta); transition: transform .3s var(--curva), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--rojo { background: var(--acento); border-color: var(--acento); }
.btn--rojo:hover { background: var(--acento-2); border-color: var(--acento-2); }
.btn--linea { background: transparent; color: var(--tinta); }
.btn--linea:hover { background: var(--tinta); color: #fff; }
.btn--blanco { background: #fff; border-color: #fff; color: var(--bordo); }
.btn--grande { min-height: 56px; padding: 0 30px; font-size: 15px; }
.btn svg { width: 17px; height: 17px; flex: none; }
.enlace { display: inline-flex; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.enlace span { transition: transform .3s var(--curva); }
.enlace:hover span { transform: translateX(4px); }
.seccion { padding: clamp(72px, 13vh, 150px) var(--pad); }
.cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(32px, 6vh, 64px); }

/* ───────── barra ───────── */
.barra { position: fixed; inset: 0 0 auto; height: var(--barra); z-index: 60; display: flex; align-items: center; gap: 44px; padding: 0 var(--pad); transition: background .35s, box-shadow .35s; }
.barra.is-solida, .barra--fija { background: rgb(246 241 234 / .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linea); }
html[data-punto-estado="cubre"] .barra:not(.barra--copia) { opacity: 0; pointer-events: none; }
.barra--copia { position: absolute; color: #fff; z-index: 5; }
.marca { display: flex; align-items: center; gap: 12px; }
.marca svg { width: 44px; height: auto; flex: none; }
.marca__n { font-family: var(--logo); font-size: 19px; letter-spacing: .07em; line-height: 1; white-space: nowrap; display: block; }
.marca__s { display: block; font-size: 7.5px; letter-spacing: .34em; margin-top: 5px; font-weight: 600; color: var(--acento); white-space: nowrap; }
.barra--copia .marca__s { color: rgb(255 255 255 / .8); }
.nav { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.nav a { opacity: .72; transition: opacity .2s; padding: 8px 0; }
.nav a:hover, .nav a[aria-current] { opacity: 1; }
.barra__d { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; }
.abierto { font-weight: 500; opacity: .85; white-space: nowrap; }
.barra--copia .btn { background: #fff; border-color: #fff; color: var(--acento-2); }
.barra--copia [data-estado]::before { background: #fff !important; box-shadow: 0 0 0 .22em rgb(255 255 255 / .25) !important; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--linea); place-items: center; }
.menu-btn i { display: block; width: 18px; height: 1.5px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; }
.menu { position: fixed; inset: 0; z-index: 80; background: var(--acento); color: #fff; padding: 22px var(--pad) 32px; display: flex; flex-direction: column; clip-path: circle(0 at calc(100% - 44px) 40px); visibility: hidden; transition: clip-path .6s var(--curva), visibility 0s .6s; }
.menu.is-abierto { clip-path: circle(150vmax at calc(100% - 44px) 40px); visibility: visible; transition: clip-path .7s var(--curva); }
.menu__cerrar { align-self: flex-end; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .5); font-size: 20px; }
.menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 6vh; }
.menu nav a { font-family: var(--serif); font-size: clamp(40px, 12vw, 64px); letter-spacing: -.03em; line-height: 1.12; }
.menu__pie { margin-top: auto; display: grid; gap: 6px; font-size: 15px; opacity: .92; }

/* ───────── portada «Ya.» ───────── */
.hero { padding: calc(var(--barra) + 1svh) var(--pad) 0; display: flex; flex-direction: column; }
.hero__fila { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex: 1; min-height: 0; padding-top: 3svh; }
.hero__izq { max-width: 430px; align-self: flex-end; padding-bottom: 1svh; }
.lede { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; margin-top: 18px; color: var(--tinta-2); }
.lede b { color: var(--tinta); font-weight: 600; }
.ojo { position: relative; width: min(38svh, 30vw); aspect-ratio: 1; flex: none; margin-right: 3vw; display: block; }
.ojo__foto { position: absolute; inset: 11%; border-radius: 50%; overflow: hidden; background: var(--papel-2); }
.ojo__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.2s ease, transform 7s cubic-bezier(.2, .6, .2, 1); }
.ojo__foto img.is-activa { opacity: 1; transform: scale(1); }
.ojo__aro { position: absolute; inset: 0; width: 100%; height: 100%; animation: girar 38s linear infinite; }
.ojo__aro text { font-family: var(--sans); font-size: 9.6px; letter-spacing: .34em; font-weight: 600; fill: var(--tinta); text-transform: uppercase; }
@keyframes girar { to { transform: rotate(360deg); } }
.ojo__pie { position: absolute; left: 50%; bottom: -4px; translate: -50% 100%; white-space: nowrap; font-size: 12.5px; color: var(--tinta-2); text-align: center; }
.ojo__pie b { color: var(--tinta); font-weight: 600; }
.titular { font-family: var(--serif); font-weight: 400; font-size: min(17.4vw, 37svh); line-height: .78; letter-spacing: -.045em; white-space: nowrap; margin: 2svh 0 0 -.04em; padding-bottom: .25em; position: relative; z-index: 2; }
.titular em { font-style: italic; letter-spacing: -.05em; padding-right: .02em; }
.titular [data-punto] { margin-left: .03em; vertical-align: baseline; }
.hero__pie { display: flex; align-items: center; gap: 28px; padding: 16px 0 22px; border-top: 1px solid var(--linea); margin-top: 1.4svh; }

/* buscador de la portada */
.buscar { display: flex; align-items: stretch; height: 64px; background: #fff; border: 1px solid var(--linea); flex: 1; max-width: 1010px; box-shadow: 0 20px 40px -30px rgb(30 18 13 / .35); }
.buscar__op { display: flex; padding: 6px; gap: 2px; border-right: 1px solid var(--linea); }
.buscar__op label { display: grid; place-items: center; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--tinta-2); border-radius: 2px; cursor: pointer; position: relative; }
.buscar__op input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.buscar__op label:has(input:checked) { background: var(--tinta); color: #fff; }
.buscar__op label:has(input:focus-visible) { outline: 2px solid var(--acento); outline-offset: 2px; }
.campo { flex: 1; min-width: 0; padding: 10px 14px 0 18px; border-right: 1px solid var(--linea); transition: background .2s; position: relative; display: block; }
.campo:hover { background: var(--fondo); }
.campo small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-2); font-weight: 600; }
.campo select { appearance: none; -webkit-appearance: none; width: 100%; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235E524B' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 2px center / 9px; font: 500 15px var(--sans); color: var(--tinta); padding: 3px 18px 12px 0; margin-top: 1px; cursor: pointer; text-overflow: ellipsis; }
.campo select:focus-visible { outline: none; }
.campo:focus-within { box-shadow: inset 0 -2px 0 var(--acento); }
.buscar__ir { padding: 0 26px; background: var(--acento); color: #fff; font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 10px; white-space: nowrap; transition: background .2s; }
.buscar__ir:hover { background: var(--acento-2); }
.cifras { display: flex; gap: 30px; margin-left: auto; }
.cifra { display: flex; align-items: baseline; gap: 9px; }
.cifra b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.cifra span { font-size: 11.5px; line-height: 1.3; color: var(--tinta-2); }

/* la capa roja que nace en el punto */
.punto__capa { background: linear-gradient(168deg, #E3050D 0%, #D00209 46%, #A8040B 100%); }
.rojo__in { position: absolute; inset: 0; padding: calc(var(--barra) + 4.5svh) var(--pad) 0; display: flex; flex-direction: column; }
.punto__capa .kicker { color: rgb(255 255 255 / .8); }
.lema { font-family: var(--serif); font-weight: 400; font-size: min(8.4vw, 16svh); line-height: .92; letter-spacing: -.035em; margin-top: 2.4svh; }
.lema span { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.lema span > i { display: block; font-style: normal; }
.mov .punto .lema span > i[data-tramo] { opacity: 1; transform: translate3d(0, calc((1 - var(--t, 0)) * 105%), 0); }
.lema em { font-style: italic; }
.rojo__nota { position: absolute; right: var(--pad); top: calc(var(--barra) + 9svh + min(8.4vw, 16svh)); max-width: 280px; font-size: 15px; line-height: 1.6; color: rgb(255 255 255 / .9); }
.rojo__nota .enlace { margin-top: 14px; color: #fff; }
/* el equipo, en color, asoma por un arco */
.equipo-foto { margin-top: auto; position: relative; height: 47svh; border-radius: min(30svh, 22vw) min(30svh, 22vw) 0 0; overflow: hidden; background: #2b1a14; }
.mov .punto .equipo-foto[data-tramo] { opacity: 1; transform: translate3d(0, calc((1 - var(--t, 0)) * 102%), 0); }
.equipo-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; transform: scale(calc(1.14 - var(--t, 1) * .14)); will-change: transform; }
.equipo-foto figcaption { position: absolute; inset: auto 0 0; padding: 60px 30px 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; font-size: 13.5px; background: linear-gradient(0deg, rgb(20 10 8 / .7), transparent); }

/* ───────── tarjeta de propiedad (inicio y buscador) ───────── */
.grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 52px) clamp(18px, 2.2vw, 34px); }
.casa { display: block; position: relative; }
.casa__foto { aspect-ratio: 4/3; overflow: hidden; background: var(--papel-2); position: relative; }
.casa__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--curva); }
.casa__foto img.con-marco { transform: scale(1.12); }
.casa:hover .casa__foto img, .casa:focus-visible .casa__foto img { transform: scale(1.045); }
.casa:hover .casa__foto img.con-marco { transform: scale(1.17); }
.casa__sin { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-2); }
.casa__op { position: absolute; left: 14px; top: 14px; background: rgb(246 241 234 / .94); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 7px 11px 7px 10px; display: flex; align-items: center; gap: 7px; }
.casa__op::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acento); }
.casa__op[data-op="alquiler"]::before { background: var(--tinta); }
.casa__video { position: absolute; left: 14px; bottom: 14px; background: rgb(30 18 13 / .78); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 6px 10px; display: flex; gap: 6px; align-items: center; backdrop-filter: blur(6px); }
.casa__ver { position: absolute; right: 16px; bottom: 16px; width: 64px; height: 64px; border-radius: 50%; background: var(--acento); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; transform: scale(0); transition: transform .45s cubic-bezier(.2, .9, .2, 1); }
.casa:hover .casa__ver, .casa:focus-visible .casa__ver { transform: scale(1); }
.casa__txt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding-top: 16px; }
.casa__lugar { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--tinta-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.casa__precio { font-size: 16px; font-weight: 600; grid-row: 1/3; grid-column: 2; align-self: end; white-space: nowrap; }
.casa__precio small { font-weight: 400; color: var(--tinta-2); font-size: 13px; }
.casa__tit { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.75vw, 27px); letter-spacing: -.02em; line-height: 1.1; }
.casa__datos { grid-column: 1/3; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--tinta-2); margin-top: 8px; padding-top: 11px; border-top: 1px solid var(--linea); }
.casa__datos span + span { padding-left: 14px; border-left: 1px solid var(--linea); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 560px; }
.chip { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--linea); font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; transition: border-color .2s, background .2s, color .2s; }
.chip b { font-weight: 600; color: var(--tinta-2); font-size: 12px; }
.chip:hover { border-color: var(--tinta); }
.chip.is-activa { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.chip.is-activa b { color: rgb(255 255 255 / .7); }
.mas { display: flex; justify-content: center; margin-top: clamp(40px, 7vh, 72px); }

/* ───────── en todo el país ───────── */
.pais { background: var(--papel-2); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; align-items: start; }
.pais__txt { grid-column: 1/7; position: sticky; top: calc(var(--barra) + 6vh); }
.pais__txt p { font-size: 17px; line-height: 1.65; color: var(--tinta-2); max-width: 44ch; margin-top: 26px; }
.sellos { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.sello { border: 1px solid var(--linea); padding: 12px 16px; font-size: 13px; line-height: 1.35; color: var(--tinta-2); }
.sello b { display: block; color: var(--tinta); font-weight: 600; font-size: 14px; }
.deptos { grid-column: 8/13; border-top: 1px solid var(--tinta); }
.depto { display: flex; align-items: baseline; gap: 14px; padding: 15px 2px; border-bottom: 1px solid var(--linea); transition: padding .35s var(--curva), color .2s; }
.depto b { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.9vw, 44px); letter-spacing: -.03em; line-height: 1; flex: 1; }
.depto span { font-size: 13.5px; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.depto i { font-style: normal; transition: transform .3s var(--curva); }
.depto:hover { padding-left: 12px; color: var(--acento); }
.depto:hover i { transform: translateX(5px); }

/* ───────── equipo ───────── */
.equipo .cab p { max-width: 36ch; font-size: 16.5px; line-height: 1.65; color: var(--tinta-2); }
.equipo .cab p b { color: var(--tinta); font-weight: 600; }
.personas { display: grid; grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); gap: 18px; align-items: end; }
.persona__foto { aspect-ratio: 4/5; overflow: hidden; background: #fff; position: relative; }
.persona__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 1s var(--curva); }
.persona:hover .persona__foto img { transform: scale(1.04); }
.persona h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.75vw, 28px); letter-spacing: -.02em; margin-top: 14px; line-height: 1.05; min-height: calc(clamp(20px, 1.75vw, 28px) * 2.1); }
.persona p { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-2); margin-top: 7px; font-weight: 600; }
.persona--lider h3 { font-size: clamp(26px, 2.4vw, 38px); white-space: nowrap; }
.persona--lider p { color: var(--acento); }
.equipo__pie { display: flex; justify-content: space-between; align-items: center; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--linea); gap: 20px; flex-wrap: wrap; }
.equipo__pie q { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; quotes: "«" "»"; }

/* ───────── servicios ───────── */
.servicios { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; align-items: start; border-top: 1px solid var(--linea); }
.servicios__txt { grid-column: 1/6; position: sticky; top: calc(var(--barra) + 6vh); }
.servicios__txt p { font-size: 16.5px; line-height: 1.65; color: var(--tinta-2); max-width: 38ch; margin: 24px 0 28px; }
.servicios .acordeon { grid-column: 7/13; border-top: 1px solid var(--tinta); }
.acordeon summary { padding: 22px 2px; gap: 18px; align-items: baseline; }
.acordeon summary small { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--acento); width: 3.6em; flex: none; }
.acordeon summary b { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -.025em; line-height: 1.05; flex: 1; }
.acordeon summary::after { width: .55em; height: .55em; border-width: 1.5px; align-self: center; }
.acordeon__cuerpo { padding: 0 2px 26px calc(17px * 3.6 + 18px); font-size: 16px; line-height: 1.65; color: var(--tinta-2); max-width: 58ch; }
.acordeon__cuerpo b { color: var(--tinta); font-weight: 600; }
.socios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.socios span { font-size: 12.5px; font-weight: 500; border: 1px solid var(--linea); border-radius: 999px; padding: 6px 12px; }

/* ───────── vender ───────── */
.vender { background: linear-gradient(170deg, var(--bordo) 0%, var(--bordo-2) 100%); color: #fff; position: relative; overflow: hidden; }
.vender::before, .vender::after { content: ""; position: absolute; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(255 255 255 / .14); pointer-events: none; }
.vender::before { right: -22vw; top: -30vw; width: 74vw; }
.vender::after { right: -12vw; top: -20vw; width: 54vw; border-color: rgb(255 255 255 / .1); }
.vender .kicker { color: rgb(255 255 255 / .72); }
.vender h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.4vw, 88px); line-height: .96; letter-spacing: -.035em; max-width: 13.5em; margin: 20px 0 clamp(40px, 8vh, 84px); position: relative; z-index: 1; }
.vender h2 em { font-style: italic; color: var(--rosa); }
.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; z-index: 1; }
.paso { padding: 26px 34px 6px 0; border-top: 1px solid rgb(255 255 255 / .28); }
.paso + .paso { padding-left: 34px; border-left: 1px solid rgb(255 255 255 / .16); }
.paso small { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--rosa); }
.paso h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.02em; margin: 14px 0 12px; line-height: 1.05; }
.paso p { font-size: 15.5px; line-height: 1.62; color: rgb(255 255 255 / .82); max-width: 34ch; }
.vender__pie { display: flex; align-items: center; gap: 26px; margin-top: clamp(40px, 7vh, 72px); position: relative; z-index: 1; flex-wrap: wrap; }
.vender__pie span { font-size: 14.5px; color: rgb(255 255 255 / .78); }

/* ───────── recorridos en video ───────── */
.videos { overflow: hidden; }
.videos .cab p { max-width: 34ch; color: var(--tinta-2); font-size: 16.5px; line-height: 1.6; }
.riel { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 18px; scrollbar-width: thin; scrollbar-color: var(--linea) transparent; }
.video { flex: none; width: clamp(200px, 19vw, 280px); scroll-snap-align: start; text-align: left; display: block; }
.video__foto { aspect-ratio: 9/16; overflow: hidden; background: var(--tinta); position: relative; }
.video__foto img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform 1s var(--curva), opacity .3s; }
.video:hover .video__foto img { transform: scale(1.05); opacity: 1; }
.video__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 62px; height: 62px; border-radius: 50%; background: var(--acento); display: grid; place-items: center; transition: transform .4s cubic-bezier(.2, .9, .2, 1); }
.video__play::before { content: ""; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.video:hover .video__play { transform: scale(1.12); }
.video b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; letter-spacing: -.015em; line-height: 1.15; margin-top: 12px; }
.video small { display: block; font-size: 12px; color: var(--tinta-2); margin-top: 5px; }

/* ───────── opiniones ───────── */
.opiniones { background: var(--papel-2); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; align-items: start; }
.nota { grid-column: 1/5; position: sticky; top: calc(var(--barra) + 6vh); }
.nota__n { font-family: var(--serif); font-size: clamp(120px, 15vw, 240px); line-height: .8; letter-spacing: -.05em; margin-top: 26px; display: flex; align-items: flex-start; }
.nota__n sup { font-size: .16em; color: var(--acento); letter-spacing: .1em; margin: .5em 0 0 .3em; }
.nota p { color: var(--tinta-2); font-size: 15.5px; line-height: 1.6; margin: 22px 0 22px; max-width: 30ch; }
.citas { grid-column: 6/13; columns: 2; column-gap: 28px; }
.cita { break-inside: avoid; background: var(--fondo); padding: 28px 28px 24px; margin-bottom: 28px; }
.cita small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--acento); }
.cita blockquote { font-family: var(--serif); font-size: clamp(19px, 1.5vw, 23px); line-height: 1.3; letter-spacing: -.012em; margin: 12px 0 18px; }
.cita cite { font-style: normal; font-weight: 600; font-size: 14px; }
.cita cite span { display: block; font-weight: 400; color: var(--tinta-2); font-size: 12.5px; }

/* ───────── oficina / contacto ───────── */
.contacto { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; align-items: start; }
.contacto__izq { grid-column: 1/7; }
.contacto__izq .titulo { font-size: clamp(44px, 5.6vw, 92px); }
.form { margin-top: 34px; display: grid; gap: 14px; max-width: 560px; }
.form label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--tinta-2); display: grid; gap: 6px; }
.form input, .form textarea { font: 400 17px var(--sans); color: var(--tinta); background: #fff; border: 1px solid var(--linea); padding: 15px 16px; border-radius: 0; resize: vertical; letter-spacing: 0; text-transform: none; }
.form input:focus-visible, .form textarea:focus-visible { outline: none; border-color: var(--tinta); box-shadow: inset 0 -2px 0 var(--acento); }
.form__pie { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form__pie span { font-size: 13px; color: var(--tinta-2); }
.oficina { grid-column: 8/13; border-top: 1px solid var(--tinta); }
.oficina dl { display: grid; }
.oficina div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 17px 2px; border-bottom: 1px solid var(--linea); }
.oficina dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--tinta-2); padding-top: 3px; }
.oficina dd { font-size: 16.5px; line-height: 1.5; }
.oficina dd a { border-bottom: 1px solid var(--linea); transition: border-color .2s; }
.oficina dd a:hover { border-color: var(--acento); }
.oficina dd small { display: block; color: var(--tinta-2); font-size: 13.5px; }
.oficina [data-estado] { font-weight: 600; font-size: 14px; display: block; margin-top: 4px; }

/* ───────── pie ───────── */
.pie { --pie-fondo: var(--tinta); --pie-texto: #F6F1EA; --pie-tenue: rgb(246 241 234 / .6); --pie-acento: #fff; --pie-linea: rgb(246 241 234 / .16); --pie-logo: 150px; --pie-ancho: 1500px; --pie-pad: var(--pad); }
.pie__banda { padding: clamp(60px, 11vh, 120px) var(--pad) 0; max-width: 1500px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; border-bottom: 1px solid rgb(246 241 234 / .16); padding-bottom: clamp(30px, 5vh, 50px); }
.pie__banda p { font-family: var(--serif); font-size: min(15vw, 230px); line-height: .8; letter-spacing: -.045em; white-space: nowrap; padding-bottom: .2em; }
.pie__banda p em { font-style: italic; }
.pie__banda [data-punto] { margin-left: .03em; }
.pie__titulo { font-family: var(--sans); }
.pie__marca { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pie__marca svg { width: 54px; }
.pie__marca .marca__n { font-size: 21px; }
.pie__marca .marca__s { color: #ff6259; }

/* ───────── página del buscador ───────── */
.pagina { padding-top: var(--barra); }
.pagina__cab { padding: clamp(36px, 7vh, 80px) var(--pad) 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.pagina__cab .titulo { font-size: clamp(44px, 6.2vw, 100px); }
.pagina__cab p { color: var(--tinta-2); font-size: 15px; white-space: nowrap; padding-bottom: 10px; }
.pagina__cab p b { color: var(--tinta); font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.02em; margin-right: 6px; }
.filtros { position: sticky; top: var(--barra); z-index: 30; background: rgb(246 241 234 / .94); backdrop-filter: blur(14px); padding: 12px var(--pad); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.filtros .buscar__op { border: 1px solid var(--linea); background: #fff; height: 52px; }
.filtro { position: relative; background: #fff; border: 1px solid var(--linea); height: 52px; flex: 1 1 150px; min-width: 0; padding: 7px 12px 0 14px; display: block; }
.filtro small { display: block; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-2); font-weight: 600; }
.filtro select { appearance: none; -webkit-appearance: none; width: 100%; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235E524B' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 0 center / 9px; font: 500 14.5px var(--sans); color: var(--tinta); padding: 2px 16px 9px 0; cursor: pointer; text-overflow: ellipsis; }
.filtro select:focus-visible { outline: none; }
.filtro:focus-within { border-color: var(--tinta); box-shadow: inset 0 -2px 0 var(--acento); }
.filtro.is-usado { border-color: var(--tinta); }
.filtro[hidden], .resultados__top[hidden] { display: none; }
.visor[data-modo="video"] .visor__f, .visor[data-modo="video"] .visor__n { display: none; }
.filtros__limpiar { height: 52px; padding: 0 16px; font-size: 13.5px; font-weight: 600; color: var(--tinta-2); border-bottom: 1px solid transparent; }
.filtros__limpiar:hover { color: var(--acento); }
.filtros__limpiar[hidden] { display: none; }
.resultados { padding: clamp(28px, 5vh, 52px) var(--pad) clamp(72px, 12vh, 130px); min-height: 60vh; }
.resultados__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; font-size: 14.5px; color: var(--tinta-2); }
.resultados__top b { color: var(--tinta); font-weight: 600; }
.orden { display: flex; align-items: center; gap: 8px; }
.orden select { font: 600 14.5px var(--sans); color: var(--tinta); border: 0; background: transparent; cursor: pointer; padding: 6px 2px; }
.vacio { text-align: center; padding: 8vh 0 4vh; max-width: 520px; margin: 0 auto; }
.vacio h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.03em; line-height: 1; }
.vacio p { color: var(--tinta-2); margin: 16px 0 24px; line-height: 1.6; }
.vacio[hidden] { display: none; }
.mov .grilla--entra .casa { animation: entra .6s var(--curva) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes entra { from { opacity: 0; transform: translate3d(0, 22px, 0); } }

/* ───────── ficha ───────── */
.ficha { padding: calc(var(--barra) + 22px) var(--pad) clamp(60px, 10vh, 110px); }
.migas { font-size: 13px; color: var(--tinta-2); display: flex; gap: 8px; flex-wrap: wrap; }
.migas a:hover { color: var(--acento); }
.ficha__cab { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: end; margin: 22px 0 26px; }
.ficha__cab .titulo { font-size: clamp(40px, 5.4vw, 88px); margin-top: 12px; }
.ficha__sub { color: var(--tinta-2); font-size: 16.5px; margin-top: 14px; }
.ficha__precio { text-align: right; }
.ficha__precio b { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 56px); letter-spacing: -.03em; line-height: 1; display: block; white-space: nowrap; }
.ficha__precio span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--tinta-2); display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.ficha__precio span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acento); }
.galeria { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(66svh, 48vw); position: relative; }
.galeria button { overflow: hidden; background: var(--papel-2); position: relative; display: block; }
.galeria button:first-child { grid-row: 1/3; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--curva); }
.galeria button:hover img { transform: scale(1.04); }
.galeria[data-n="1"] { grid-template-columns: 1fr; }
.galeria[data-n="2"], .galeria[data-n="3"] { grid-template-columns: 2fr 1fr; }
.galeria[data-n="2"] button:nth-child(2) { grid-row: 1/3; }
.galeria .galeria__todas { position: absolute; overflow: visible; display: inline-block; right: 16px; bottom: 16px; background: #fff; color: var(--tinta); font-weight: 600; font-size: 13.5px; padding: 11px 16px; border-radius: 999px; box-shadow: 0 10px 30px -12px rgb(0 0 0 / .5); }
.ficha__cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(32px, 6vw, 96px); margin-top: clamp(32px, 6vh, 60px); align-items: start; }
.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); border-top: 1px solid var(--tinta); border-bottom: 1px solid var(--linea); }
.dato { padding: 18px 16px 16px 0; }
.dato + .dato { padding-left: 18px; border-left: 1px solid var(--linea); }
.dato b { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1; display: block; }
.dato--txt b { font-size: clamp(22px, 2vw, 30px); padding-top: .25em; }
.dato span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--tinta-2); display: block; margin-top: 8px; }
.ficha h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 42px); letter-spacing: -.03em; line-height: 1; margin: clamp(36px, 6vh, 60px) 0 18px; }
.desc { font-size: 17px; line-height: 1.7; color: #3a2e28; max-width: 66ch; display: grid; gap: 12px; }
.desc.is-corta { max-height: 21em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.desc__mas { margin-top: 14px; }
.car { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; max-width: 66ch; }
.car div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linea); font-size: 15.5px; }
.car dt { color: var(--tinta-2); }
.car dd { font-weight: 600; }
.ficha__video { aspect-ratio: 9/16; width: min(100%, 340px); background: var(--tinta); position: relative; overflow: hidden; display: block; }
.ficha__video img { width: 100%; height: 100%; object-fit: cover; }
.ficha__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.donde { font-size: 17px; line-height: 1.6; }
.donde .enlace { margin-top: 12px; font-size: 15px; }
.tarjeta { position: sticky; top: calc(var(--barra) + 20px); background: #fff; border: 1px solid var(--linea); padding: 28px; }
.tarjeta h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.03em; line-height: 1.05; }
.tarjeta p { color: var(--tinta-2); font-size: 15px; line-height: 1.6; margin: 10px 0 20px; }
.tarjeta .btn { width: 100%; }
.tarjeta .btn + .btn { margin-top: 10px; }
.tarjeta__pie { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--linea); font-size: 13.5px; color: var(--tinta-2); line-height: 1.4; }
.tarjeta__pie img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; }
.tarjeta__pie b { color: var(--tinta); display: block; font-size: 14.5px; }
.tarjeta__cod { font-size: 12px; color: var(--tinta-2); margin-top: 14px; }
.similares { border-top: 1px solid var(--linea); }

/* visor de fotos y de video */
.visor { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(20 12 9 / .97); color: #fff; }
.visor::backdrop { background: rgb(20 12 9 / .9); }
.visor__in { position: absolute; inset: 0; display: grid; place-items: center; padding: 64px clamp(12px, 6vw, 90px); }
.visor img { max-width: 100%; max-height: 100%; object-fit: contain; }
.visor iframe { height: min(86dvh, 160vw); aspect-ratio: 9/16; border: 0; background: #000; }
.visor__x, .visor__f { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .35); display: grid; place-items: center; font-size: 18px; background: rgb(20 12 9 / .5); color: #fff; }
.visor__x { right: 16px; top: 14px; }
.visor__f { top: 50%; translate: 0 -50%; }
.visor__f--a { left: 14px; } .visor__f--s { right: 14px; }
.visor__n { position: absolute; left: 20px; top: 26px; font-size: 13.5px; font-variant-numeric: tabular-nums; opacity: .8; }

/* aviso de propuesta (solo demo) */
.demo { background: var(--tinta); color: rgb(246 241 234 / .8); font-size: 12.5px; text-align: center; padding: 10px var(--pad); }

/* ───────── tablet ───────── */
@media (max-width: 1180px) {
  .rojo__nota { position: static; margin-top: 16px; max-width: 520px; }
  .equipo-foto { height: 40svh; }
  .abierto { display: none; }
  .nav { gap: 22px; }
  .cifras { display: none; }
  .buscar { max-width: none; }
  .personas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .citas { columns: 1; }
}
/* ───────── celular ───────── */
@media (max-width: 900px) {
  :root { --barra: 64px; }
  .nav, .barra .btn { display: none; }
  .menu-btn { display: grid; }
  .barra { gap: 12px; }
  .barra__d { gap: 10px; }
  .marca svg { width: 38px; } .marca__n { font-size: 16px; } .marca__s { font-size: 6.5px; letter-spacing: .26em; }
  .cab { flex-direction: column; align-items: flex-start; gap: 22px; }
  .chips { justify-content: flex-start; }
  .hero { padding-top: calc(var(--barra) + 8px); }
  .hero__fila { flex-direction: column-reverse; align-items: flex-start; gap: 14px; padding-top: 0; justify-content: flex-end; }
  .hero__izq { align-self: auto; padding: 0; }
  .lede { font-size: 15.5px; margin-top: 12px; }
  .ojo { width: min(46vw, 26svh); margin: 0 0 26px auto; }
  .ojo__pie { left: auto; right: 0; translate: 0 100%; text-align: right; }
  .titular { font-size: min(29vw, 22svh); white-space: normal; line-height: .8; margin-top: 8px; }
  .hero__pie { padding: 14px 0 18px; }
  .cifras { display: none; }
  .buscar { height: 58px; }
  .buscar .campo { display: none; }
  .buscar__op { flex: 1; border-right: 0; } .buscar__op label { flex: 1; padding: 0 8px; }
  .buscar__ir { padding: 0 18px; } .buscar__ir .largo { display: none; }
  .equipo-foto figcaption span + span { display: none; }
  .lema { font-size: min(13.2vw, 9.2svh); margin-top: 2svh; }
  .rojo__nota { font-size: 14.5px; margin-top: 14px; }
  .equipo-foto { height: auto; flex: 1; min-height: 0; margin-top: 22px; border-radius: 24vw 24vw 0 0; }
  .equipo-foto img { object-position: 50% 30%; }
  .equipo-foto figcaption { padding: 40px 18px 14px; font-size: 12.5px; }
  .grilla { grid-template-columns: 1fr; }
  .casa__ver { transform: scale(.8); width: 52px; height: 52px; font-size: 11px; }
  .pais, .servicios, .opiniones, .contacto { display: block; }
  .pais__txt, .servicios__txt, .nota { position: static; }
  .deptos, .servicios .acordeon, .citas, .oficina { margin-top: 40px; }
  .personas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .persona--lider { grid-column: 1/3; } .persona--lider .persona__foto { aspect-ratio: 1/1; }
  .acordeon__cuerpo { padding-left: 2px; }
  .pasos { grid-template-columns: 1fr; } .paso, .paso + .paso { padding: 22px 0 20px; border-left: 0; }
  .vender__pie { flex-direction: column; align-items: flex-start; gap: 14px; }
  .video { width: 62vw; }
  .oficina div { grid-template-columns: 1fr; gap: 4px; }
  .pie__banda p { font-size: 21vw; }
  .pagina__cab { flex-direction: column; align-items: flex-start; gap: 6px; }
  .filtros { position: static; }
  .filtros .buscar__op { width: 100%; } .filtros .buscar__op label { flex: 1; }
  .filtro { flex: 1 1 40%; }
  .ficha__cab { grid-template-columns: 1fr; }
  .ficha__precio { text-align: left; }
  .galeria { grid-template-columns: 1fr 1fr !important; grid-template-rows: 2fr 1fr; height: 74vw; }
  .galeria button:first-child { grid-row: auto; grid-column: 1/3; }
  .galeria button:nth-child(n+4) { display: none; }
  .ficha__cuerpo { grid-template-columns: 1fr; }
  .tarjeta { position: static; }
  .car { grid-template-columns: 1fr; }
  .visor__f { top: auto; bottom: 16px; translate: none; }
}
@media (max-width: 900px) and (max-height: 700px) and (orientation: portrait) {
  .ojo { width: min(38vw, 19svh); margin-bottom: 20px; }
  .lede { font-size: 14.5px; line-height: 1.45; }
  .titular { font-size: min(27vw, 19svh); }
  .hero .kicker { font-size: 10.5px; }
}
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .titular { font-size: 30svh; white-space: nowrap; }
  .ojo { display: none; }
  .equipo-foto { display: none; }
}
html:not(.mov) .ojo__aro { animation: none; }
html:not(.mov) .rojo__in { position: relative; padding-bottom: 0; min-height: 100svh; }
html:not(.mov) .barra--copia { display: none; }
html:not(.mov) .hero { min-height: 100svh; }
