/* Portada y mapa publico de Jacott. */
.portada { padding: 24px 0 16px; }
.portada__escena { position:relative; isolation:isolate; display:grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); align-items:center; min-height:550px; border-radius:24px; background:#eee9e2; }
.portada__fondo { position:absolute; inset:0; z-index:-2; overflow:hidden; border-radius:inherit; }
.portada__fondo img { position:absolute; width:100%; height:100%; object-fit:cover; object-position:center; opacity:0; transition:opacity 1.4s ease; }
.portada__fondo img.activa { opacity:1; }
.portada__escena::before { content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit; background:linear-gradient(90deg,rgba(250,247,242,.22),rgba(250,247,242,.94) 43%,rgba(250,247,242,.90) 74%,rgba(250,247,242,.35)); }
.portada__perfil { margin:0; align-self:end; text-align:center; position:relative; padding-top:24px; }
.portada__foto { display:block; width:auto; height:470px; max-width:100%; object-fit:contain; margin:auto; filter:drop-shadow(12px 8px 14px rgba(67,46,31,.2)); }
.portada__perfil figcaption { position:absolute; bottom:16px; width:100%; font:400 clamp(18px,2vw,26px) Georgia,serif; color:#57483e; white-space:nowrap; text-shadow:0 1px 8px #fff; }
.portada__texto { min-width:0; padding:48px 54px 64px 18px; max-width:760px; }
.portada__texto h1 { margin:16px 0 22px; font-size:clamp(32px,3.3vw,48px); line-height:1.07; letter-spacing:-.035em; text-wrap:balance; max-width:18ch; }
.portada__lede { font-size:clamp(17px,1.5vw,21px); margin-bottom:24px; }
.portada__prueba { font-size:12px; color:#675d55; margin-top:24px; }
.portada__pausa { position:absolute; bottom:14px; right:18px; background:rgba(255,255,255,.9); border:1px solid #d7cdc4; color:#4c4239; padding:7px 12px; border-radius:20px; font-size:12px; cursor:pointer; }
.portada .buscador { position:relative; margin:18px 0 0; box-shadow:0 8px 30px #5949390a; }
.mapa-section { background:#f2eee8; }
.mapa-section .section__head { margin-bottom:18px; }
.mapa-filtros { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0 14px; }
.mapa-conteo,.mapa-ayuda { font-size:14px; color:#645c55; margin:14px 0; }
.mapa-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; border:1px solid #ddd5cc; border-radius:18px; overflow:hidden; background:#fff; }
.mapa-lienzo { min-width:0; height:550px; z-index:0; background:#e8e4dc; }
.mapa-resultados { height:550px; overflow:auto; padding:8px 18px; overscroll-behavior:contain; }
.mapa-resultados ul { list-style:none; padding:0; margin:0; }
.mapa-item { padding:18px 0; border-bottom:1px solid #e7e1d9; }
.mapa-item h3 { font-size:16px; line-height:1.35; margin:0 0 8px; }
.mapa-item p { font-size:13px; margin:5px 0; }
.mapa-item__tipo { color:#a52c31; font-size:11px!important; letter-spacing:.06em; text-transform:uppercase; }
.mapa-item__acciones { display:flex; gap:14px; flex-wrap:wrap; align-items:center; margin-top:10px; }
.mapa-item a,.mapa-item button { font:inherit; font-size:13px; color:#a52c31; }
.mapa-item button { padding:0; border:0; background:none; text-decoration:underline; cursor:pointer; }
.mapa-pin { background:#bc353d; border:2px solid #fff; border-radius:50%; color:#fff; text-align:center; font:bold 12px/30px Arial,sans-serif; box-shadow:0 2px 8px #39271955; }
.mapa-popup { max-height:260px; overflow:auto; min-width:180px; }
.mapa-popup .mapa-item:last-child { border:0; }
.leaflet-container { font-family:inherit; }
.leaflet-container a { color:#932a30; }
@media(max-width:900px) {
  .portada__escena { min-height:470px; grid-template-columns:.7fr 1.3fr; }
  .portada__foto { height:370px; }
  .portada__texto { padding:32px 24px 65px 8px; }
  .portada__texto h1 { font-size:36px; }
  .mapa-layout { grid-template-columns:minmax(0,1fr); }
  .mapa-lienzo { height:420px; }
  .mapa-resultados { height:280px; }
}
@media(max-width:600px) {
  .portada { padding-top:14px; }
  .portada__escena { display:flex; flex-direction:column; min-height:0; }
  .portada__escena::before { background:linear-gradient(180deg,rgba(250,247,242,.97),rgba(250,247,242,.88) 45%,rgba(250,247,242,.2)); }
  .portada__texto { order:0; padding:28px 20px 12px; text-align:center; }
  .portada__texto .kicker { font-size:10px; }
  .portada__texto h1 { font-size:clamp(28px,7.6vw,38px); margin:14px auto 16px; }
  .portada__lede { font-size:16px; margin-bottom:18px; }
  .portada__prueba { font-size:10px; margin-top:16px; }
  .portada__perfil { order:1; width:100%; padding:0; }
  .portada__foto { height:265px; max-width:100%; }
  .portada__perfil figcaption { bottom:12px; font-size:21px; }
  .portada__pausa { bottom:48px; right:8px; font-size:10px; padding:5px 8px; }
  .mapa-lienzo { height:360px; }
  .mapa-filtros .chip { font-size:12px; padding:8px 12px; }
  .mapa-section .section__head { align-items:start; flex-direction:column; gap:14px; }
}
@media(prefers-reduced-motion:reduce) { .portada__fondo img { transition:none; } }
.portada + #propiedades { padding-top:56px; padding-bottom:72px; }
