/* MOVIL-01: primera pantalla y carrusel de contexto. Escritorio conservado. */
.recovery-pagination{display:none}
@media(max-width:800px){
 .page-home .home-cover{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-template-areas:'cover';min-height:max(620px,calc(100svh - 80px));position:relative}
 .page-home .home-cover-visual,.page-home .home-cover-copy{grid-area:cover}
 .page-home .home-cover-visual{min-height:100%;z-index:0}
 .page-home .home-cover-visual img{object-position:54% top}
 .page-home .home-cover-visual:after{inset:0;background:linear-gradient(180deg,#012d2000 10%,#012d2030 28%,#012d20cf 52%,#012d20f7 76%,#012d20 100%)}
 .page-home .home-cover-visual figcaption{display:none}
 .page-home .home-cover-copy{position:relative;z-index:1;justify-content:flex-end;padding:180px 24px 26px;min-width:0}
 .page-home .home-cover h1{font-size:clamp(46px,12.5vw,66px);line-height:.99;letter-spacing:-.045em;max-width:460px;text-wrap:balance}
 .page-home .home-cover h1>span{display:block}
 .page-home .home-cover h1 em{color:#b5dbf3;font-weight:500}
 .page-home .home-cover .cover-description{margin:17px 0 0;max-width:270px;font-size:14px;line-height:1.55;color:#e4ede6}
 .page-home .cover-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-self:stretch;align-items:center;gap:16px;margin-top:22px}
 .page-home .cover-primary{min-height:50px;padding:13px 16px;font-size:12px;gap:12px;justify-content:space-between}
 .page-home .cover-secondary{font-size:12px;min-height:48px;gap:8px}
 .page-home .cover-person{margin-top:22px;gap:10px}
 .page-home .cover-person>img{width:32px;height:32px}
 .page-home .cover-person strong{display:none}
 .page-home .cover-person>span>span{font-size:11px;line-height:1.5}
 .page-home .cover-explore{margin-top:18px;padding:0;font-size:10px;min-height:30px}
 .page-home .home-discover .recovery-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:100%;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;align-items:stretch;border-radius:4px}
 .page-home .home-discover .recovery-grid::-webkit-scrollbar{display:none}
 .page-home .home-discover .recovery-card{scroll-snap-align:start;scroll-snap-stop:normal;min-height:310px;margin:0}
 .page-home .home-discover .recovery-card--place>img{height:160px}
 .page-home .home-discover .recovery-card--place>div{padding:0 24px 22px}
 .page-home .home-discover .recovery-card h3{font-size:27px}
 .page-home .home-discover .recovery-card .recovery-link{padding-top:18px}
 .page-home .recovery-pagination:not([hidden]){display:flex;align-items:center;justify-content:center;gap:2px;margin-top:10px;position:relative;min-height:44px}
 .recovery-pagination button{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:#175d8d;cursor:pointer;padding:0}
 .recovery-pagination button:before{content:'';display:block;width:6px;height:6px;border-radius:8px;background:#a5b6ac;transition:width 160ms,background 160ms}
 .recovery-pagination button[aria-pressed=true]:before{width:22px;background:#175d8d}
 .recovery-pagination button:focus-visible,.recovery-grid:focus-visible{outline:2px solid #175d8d;outline-offset:-3px}
 .recovery-pagination-count{position:absolute;right:0;font-size:10px;color:#526657;font-variant-numeric:tabular-nums}
}
@media(max-width:359px){
 .page-home .home-cover-copy{padding-inline:20px}
 .page-home .home-cover h1{font-size:46px}
 .page-home .cover-actions{gap:12px}
 .page-home .cover-primary{padding-inline:12px;font-size:11px}
 .page-home .cover-secondary{font-size:11px}
}
/* Ajuste suave al terminar un gesto, sin capturar rueda/tacto ni imponer pantallas. */
@media(max-width:800px) and (min-height:700px) and (prefers-reduced-motion:no-preference){
 html.home-block-scroll{scroll-snap-type:y proximity;scroll-padding-top:60px}
 .page-home .home-cover{scroll-snap-align:start;scroll-margin-top:20px}
 .page-home #buscar-inmueble{scroll-snap-align:start;scroll-snap-stop:normal}
}
@media(prefers-reduced-motion:reduce){.recovery-pagination button:before{transition:none}}

/* HOME-MIN-01: fotografía, titular y un único acceso. */
@media(max-width:800px){
 .page-home .home-cover{min-height:max(480px,calc(100svh - 80px))}
 .page-home .home-cover :is(.cover-description,.cover-secondary,.cover-person,.cover-explore){display:none}
 .page-home .home-cover-copy{padding-bottom:40px}
 .page-home .home-cover .cover-actions{display:flex;align-self:flex-start;margin-top:24px}
 .page-home .home-cover .cover-primary{width:auto;min-height:48px;padding:10px 0;gap:30px;border:0;border-bottom:1px solid #ffffff70;background:transparent;color:#f8f4eb;font-size:13px}
 .page-home .home-cover .cover-primary:hover{background:transparent;border-color:#f8f4eb}
 .page-home .home-cover-visual:after{background:linear-gradient(180deg,#012d2000 25%,#012d2033 46%,#012d20c9 68%,#012d20f2 88%,#012d20 100%)}
}
@media(max-width:359px){.page-home .home-cover-copy{padding-bottom:32px}}
