/* EZKI · casa rural en Altzo (muestra de OI Studio, 12/11/2026). Calco de composición de la referencia n.º 18 del tablero
   muestras-casarural-2026-11-11 (medidas tomadas de la web real a 1440 y 390): portada a sangre con el nombre en un marco blanco
   cuadrado de línea gruesa (~17,5vw, centrado al 48 % de alto) y el pueblo debajo dentro del marco, saludo abajo al ~84 %, «ver más»
   en una franja blanca al pie; MENÚ a la izquierda y RESERVAR a la derecha; láminas a pantalla completa con un panel oscuro
   translúcido arriba (título en caja de 2 px blanca de ~344×50, texto pequeño centrado y espaciado, botón blanco pequeño); en
   móvil el panel va macizo y la foto debajo. Fotos cálidas y desvaídas (tratamiento en fotos.mjs del generador). Todo el CSS es nuestro.
   Letras: n.º 7 Melodrama 500 (títulos y nombre: rótulo estrecho con remates) y n.º 13 Satoshi 400/700 (texto espaciado). */
@font-face { font-family: "Melodrama"; font-style: normal; font-weight: 500; font-display: swap; src: url("fuentes/melodrama-500.woff2") format("woff2"); }
@font-face { font-family: "Melodrama"; font-style: normal; font-weight: 700; font-display: swap; src: url("fuentes/melodrama-700.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-style: normal; font-weight: 400; font-display: swap; src: url("fuentes/satoshi-400.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-style: normal; font-weight: 700; font-display: swap; src: url("fuentes/satoshi-700.woff2") format("woff2"); }

:root {
  --tierra: #4b4843;          /* panel macizo (el de la referencia) */
  --tierra-2: #3a3531;        /* pie y fondo de foto */
  --velo: rgba(53, 49, 44, 0.84); /* panel translúcido sobre la foto */
  --crema: #e7ddca;           /* texto: 7,1:1 sobre --tierra */
  --crema-2: #d3c7b0;         /* texto secundario: 5,4:1 sobre --tierra */
  --blanco: #ffffff;
  --sal: cubic-bezier(0.22, 1, 0.36, 1);
  --m: clamp(18px, 2.4vw, 36px);
  --t-texto: clamp(14.5px, 1.05vw, 15.5px);
  --t-caja: clamp(23px, 1.9vw, 28px);
  --esp: 0.06em;              /* espaciado del texto, como la referencia */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--tierra); color: var(--crema); font: 400 var(--t-texto)/1.65 "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: var(--esp); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-transform: uppercase; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; letter-spacing: inherit; color: inherit; }
/* Sin recuadro azul al tocar; foco solo con teclado */
a, button, input, label { -webkit-tap-highlight-color: transparent; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blanco); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--blanco); color: var(--tierra-2); padding: 12px 18px; text-decoration: none; }
.saltar:focus { top: 12px; }

/* ---------- Botón: rectángulo blanco pequeño, letra espaciada (el de la referencia) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; background: var(--blanco); color: var(--tierra-2); font: 700 12.5px/1 "Satoshi", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.16s var(--sal), background-color 0.2s ease; }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--crema); } }
@media (pointer: coarse) { .btn { min-height: 46px; } }

/* ---------- Cabecera: MENÚ a la izquierda, (idioma) y RESERVAR a la derecha. Se aparta al bajar y vuelve al subir. ---------- */
.cab { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: 10px calc(var(--m) - 8px); color: var(--blanco); transition: transform 0.5s var(--sal), background-color 0.35s ease; }
.cab.oculta { transform: translateY(-110%); }
.cab.con-fondo { background: rgba(53, 49, 44, 0.94); }
.cab-der { display: flex; align-items: center; gap: 6px; }
.cab-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 8px; background: none; border: 0; color: inherit; font: 700 14px/1 "Satoshi", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25); }
.cab-btn svg { width: 24px; height: 16px; flex: none; }
.cab-btn:active { transform: scale(0.97); }
.cab-idioma { font-weight: 400; min-width: 44px; justify-content: center; }
.pie-idioma { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { .cab-btn:hover > span, .cab-btn.cab-idioma:hover, a.cab-btn:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; } }

/* ---------- Menú a pantalla completa sobre la foto de la casa al anochecer ---------- */
.menu { position: fixed; inset: 0; z-index: 50; color: var(--blanco); display: grid; grid-template-rows: auto 1fr; overflow-y: auto; background: var(--tierra-2); }
.menu[hidden] { display: none; }
.menu-foto { position: absolute; inset: 0; }
.menu-foto img { width: 100%; height: 100%; object-fit: cover; }
.menu-foto::after { content: ""; position: absolute; inset: 0; background: rgba(30, 28, 26, 0.5); }
.menu-cab { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 10px calc(var(--m) - 8px); }
.menu-cab svg { width: 16px; height: 16px; }
.menu-nav { position: relative; align-self: center; text-align: center; padding: 10px 0 40px; }
.menu-nav li a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font: 500 clamp(28px, 2.3vw, 34px)/1 "Melodrama", serif; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.menu-idioma { margin-top: 26px; display: flex; justify-content: center; gap: 40px; font: 700 14px/1 "Satoshi", sans-serif; letter-spacing: 0.14em; }
.menu-idioma a, .menu-idioma .actual { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.menu-idioma .actual { text-decoration: underline; text-underline-offset: 6px; }
@media (hover: hover) and (pointer: fine) { .menu-nav li a:hover, .menu-idioma a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; } }

/* ---------- Marco con el nombre (sello de la casa) ---------- */
.marco { display: flex; flex-direction: column; align-items: center; justify-content: space-between; border: 4px solid var(--blanco); color: var(--blanco); text-align: center; }
.marco-nombre { display: flex; flex-direction: column; align-items: center; font: 700 1em/0.95 "Melodrama", serif; letter-spacing: 0.02em; }
.marco-nombre .mn { display: block; white-space: nowrap; }
.marco-nombre .mn > span { display: inline-block; }
.marco-lugar { font: 700 max(10px, 0.24em)/1 "Satoshi", sans-serif; letter-spacing: 0.32em; white-space: nowrap; margin-right: -0.32em; }

/* ---------- Portada ---------- */
.portada { position: relative; height: 100svh; min-height: 520px; color: var(--blanco); overflow: hidden; background: var(--tierra-2); }
.portada-foto { position: absolute; inset: 0 0 46px 0; overflow: hidden; background: #8c8a77; }
.portada-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.portada-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(30, 28, 24, 0.22), rgba(30, 28, 24, 0) 22%, rgba(30, 28, 24, 0) 55%, rgba(30, 28, 24, 0.38)); }
.marco-portada { position: absolute; left: 50%; top: calc(48% - 23px); translate: -50% -50%; --w: clamp(196px, 20vw, 320px); width: var(--w); aspect-ratio: 1; padding: 0.5em 0.3em 0.7em; font-size: calc(var(--w) * 0.162); box-shadow: 0 0 40px rgba(0, 0, 0, 0.08); }
.marco-portada .marco-nombre { margin-top: 0.36em; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.18); }
.portada-h1 { position: absolute; left: 50%; bottom: calc(46px + 9%); translate: -50% 0; width: min(92vw, 520px); text-align: center; font: 700 clamp(17px, 1.55vw, 24px)/1.3 "Satoshi", sans-serif; letter-spacing: 0.12em; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35); }
.portada-h1 > span { display: block; }
.ver-mas { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--blanco); color: var(--tierra-2); font: 700 11.5px/1 "Satoshi", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; }
.ver-mas svg { width: 30px; height: 8px; }

/* Entrada de la portada desde el primer pintado (CSS, solo transform y opacity) */
@media (prefers-reduced-motion: no-preference) {
  .portada-foto img { animation: acerca 2.8s var(--sal) both; }
  .marco-portada { animation: marco 1.3s var(--sal) 0.15s both; }
  .marco-portada .mn > span { animation: letra 1.1s var(--sal) both; animation-delay: calc(0.35s + var(--i) * 0.045s); }
  .marco-portada .marco-lugar { animation: sube 1s var(--sal) 0.95s both; }
  .portada-h1 { animation: sube 1.1s var(--sal) 1.05s both; }
  .ver-mas { animation: sube 1s var(--sal) 1.3s both; }
  .ver-mas svg { animation: baja 2.4s ease-in-out 2.4s infinite; }
}
@keyframes acerca { from { transform: scale(1.08); } to { transform: none; } }
@keyframes marco { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes letra { from { opacity: 0; transform: translateY(0.45em); } to { opacity: 1; transform: none; } }
@keyframes sube { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes baja { 0%, 100% { transform: none; } 50% { transform: translateY(3px); } }

/* ---------- Láminas: foto a pantalla completa con el panel oscuro arriba ---------- */
.lamina { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--tierra-2); }
.lamina-foto { position: absolute; inset: 0; overflow: hidden; }
.lamina-foto img { width: 100%; height: 112%; object-fit: cover; margin-top: -6%; }
.panel { position: relative; z-index: 1; background: var(--velo); padding: 70px var(--m) 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.panel.solido { background: var(--tierra); }
.caja { display: inline-flex; align-items: center; justify-content: center; min-width: min(344px, 100%); min-height: 52px; padding: 6px 28px; border: 2px solid var(--blanco); color: var(--blanco); font: 500 var(--t-caja)/1.1 "Melodrama", serif; letter-spacing: 0.07em; }
.panel-p { max-width: 640px; color: var(--crema); }
.panel-p a { text-underline-offset: 4px; }
.panel .btn { margin-top: 2px; }

/* Habitaciones: panel macizo arriba y tres columnas de foto con el nombre encima */
.habs { background: var(--tierra); }
.hab-lista { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); }
.hab { position: relative; min-height: 62svh; overflow: hidden; color: var(--blanco); }
.hab-foto { position: absolute; inset: 0; }
.hab-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sal); }
.hab-foto::after { content: ""; position: absolute; inset: 0; background: rgba(40, 36, 32, 0.28); transition: background-color 0.5s ease; }
.hab-txt { position: relative; height: 100%; min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 30px 24px; text-align: center; }
.hab-nom { font: 500 clamp(30px, 2.3vw, 36px)/1 "Melodrama", serif; letter-spacing: 0.06em; text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3); }
.hab-mas { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; background: none; border: 0; font: 700 12.5px/1 "Satoshi", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; cursor: pointer; }
.hab-mas:active { transform: scale(0.97); }
.hab-info { display: grid; gap: 4px; justify-items: center; max-width: 300px; }
.hab-info[hidden] { display: none; }
.hab-info .hab-precio { font-weight: 700; margin-top: 6px; }
.hab-info .btn { margin-top: 12px; }
.hab.abierta .hab-foto::after { background: rgba(40, 36, 32, 0.66); }
@media (hover: hover) and (pointer: fine) {
  .hab:hover .hab-foto img { transform: scale(1.04); }
  .hab:hover .hab-foto::after { background: rgba(40, 36, 32, 0.4); }
  .hab.abierta:hover .hab-foto::after { background: rgba(40, 36, 32, 0.66); }
}

/* Pestañas (como IN / OUT de la referencia: palabra subrayada la elegida) */
.tabs { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 30px; }
.tab, .tab-b { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; cursor: pointer; font: 500 clamp(21px, 1.6vw, 24px)/1 "Melodrama", serif; letter-spacing: 0.07em; text-transform: uppercase; color: var(--crema-2); background: none; border: 0; }
.tab input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tab span, .tab-b { transition: color 0.2s ease; }
.tab span::after, .tab-b::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: currentColor; transform: scaleX(0); transition: transform 0.4s var(--sal); }
.tab:has(input:checked) span, .tab-b[aria-selected="true"] { color: var(--blanco); }
.tab:has(input:checked) span::after, .tab-b[aria-selected="true"]::after { transform: none; }
.tab:has(input:focus-visible) span { outline: 2px solid var(--blanco); outline-offset: 4px; }
.tab:active, .tab-b:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .tab:hover span, .tab-b:hover { color: var(--blanco); } }

/* Calendario de noches libres */
.reserva { width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cal { width: 100%; display: grid; gap: 14px; }
.cal-nav { display: flex; justify-content: space-between; align-items: center; }
.cal-nav button { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--blanco); }
.cal-nav button:disabled { opacity: 0.25; cursor: default; }
.cal-nav button svg { width: 10px; height: 18px; }
.cal-nav button:not(:disabled):active { transform: scale(0.94); }
.cal-meses { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 40px; }
.mes-tit .ano { font: 700 12px/1 "Satoshi", sans-serif; letter-spacing: 0.14em; color: var(--crema-2); margin-left: 10px; vertical-align: 2px; }
.mes-tit { font: 500 22px/1 "Melodrama", serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blanco); margin-bottom: 10px; }
.mes { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mes .dsem { font: 700 11px/1 "Satoshi", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--crema-2); padding: 6px 0; }
.dia { position: relative; height: 44px; display: grid; place-items: center; background: none; border: 0; padding: 0; font: 400 14px/1 "Satoshi", sans-serif; letter-spacing: 0.02em; color: var(--crema); cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.dia:disabled { cursor: default; }
.dia.pasado { opacity: 0.3; }
.dia.cogido { color: rgba(231, 221, 202, 0.42); text-decoration: line-through; text-decoration-thickness: 1px; }
.dia.hoy::before { content: ""; position: absolute; left: 30%; right: 30%; bottom: 7px; height: 1px; background: currentColor; }
.dia.en-rango { background: rgba(231, 221, 202, 0.18); color: var(--blanco); }
.dia.previo { background: rgba(231, 221, 202, 0.1); }
.dia.ini, .dia.fin { background: var(--blanco); color: var(--tierra-2); font-weight: 700; }
.dia:not(:disabled):active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .dia:not(:disabled):not(.ini):not(.fin):hover { outline: 1px solid var(--blanco); outline-offset: -1px; } }
.aviso { min-height: 1.65em; color: var(--blanco); font-weight: 700; }
.resumen { display: grid; gap: 6px; justify-items: center; }
.res { color: var(--blanco); font-weight: 700; letter-spacing: 0.08em; min-height: 1.65em; }
.resumen .k { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crema-2); }
.msg { max-width: 520px; padding: 12px 18px; border: 1px solid rgba(231, 221, 202, 0.35); color: var(--crema); }
.nota { max-width: 560px; font-size: 13.5px; color: var(--crema-2); }
.nota a { color: var(--crema); text-underline-offset: 4px; white-space: nowrap; }

/* Precios: lista centrada */
.precios { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 70px; }
.pr-tit { font: 700 13px/1.4 "Satoshi", sans-serif; letter-spacing: 0.14em; color: var(--blanco); margin-bottom: 6px; }
.precios li { color: var(--crema); }

/* Qué hacer cerca */
.cerca ul { display: grid; gap: 4px; }
.cerca[hidden] { display: none; }
.cerca li { color: var(--crema); }
.cerca .min { color: var(--crema-2); white-space: nowrap; }

/* Contacto + croquis */
.solida { min-height: 0; background: var(--tierra); }
.mapa { position: relative; margin: 0; background: var(--tierra-2); }
.mapa img { width: 100%; height: auto; }
.mapa-et { position: absolute; translate: -50% -50%; font: 500 clamp(18px, 1.7vw, 26px)/1 "Melodrama", serif; letter-spacing: 0.12em; color: var(--blanco); text-shadow: 0 0 10px var(--tierra-2), 0 0 4px var(--tierra-2); }
.mapa-casa { position: absolute; translate: -50% -50%; }
.mapa-marco { display: grid; place-items: center; width: clamp(52px, 5vw, 76px); aspect-ratio: 1; border: 2px solid var(--blanco); background: var(--tierra); color: var(--blanco); font: 500 clamp(16px, 1.5vw, 22px)/1 "Melodrama", serif; letter-spacing: 0.06em; }

/* Fotos: rejilla 3 × 2, todas iguales */
.rejilla { display: grid; grid-template-columns: repeat(3, 1fr); }
.foto-b { display: block; width: 100%; padding: 0; border: 0; background: var(--tierra-2); cursor: zoom-in; overflow: hidden; }
.foto-b img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--sal), opacity 0.3s ease; }
.foto-b:active img { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .foto-b:hover img { transform: scale(1.04); } }
.foto-b:focus-visible { outline-offset: -4px; }

/* Visor de fotos */
.visor { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(30, 28, 26, 0.96); color: var(--blanco); }
.visor[open] { display: grid; place-items: center; }
.visor::backdrop { background: transparent; }
.visor img { max-width: min(92vw, 1200px); max-height: 84dvh; width: auto; height: auto; }
.visor-b { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; color: var(--blanco); cursor: pointer; }
.visor-b svg { width: 14px; height: 22px; }
.visor-x { top: 12px; right: 12px; }
.visor-x svg { width: 18px; height: 18px; }
.visor-ant { left: 8px; top: 50%; translate: 0 -50%; }
.visor-sig { right: 8px; top: 50%; translate: 0 -50%; }
.visor-b:active { transform: scale(0.94); }

/* ---------- Pie ---------- */
.pie { background: var(--tierra-2); color: var(--crema); padding: 64px var(--m) 30px; }
.pie-in { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr 1fr; gap: 40px 70px; align-items: start; }
.marco-pie { width: 150px; aspect-ratio: 1; padding: 0.42em 0.2em 0.62em; font-size: 25px; border-width: 3px; }
.marco-pie .marco-nombre { margin-top: 0.36em; }
.pie-k { font: 700 12.5px/1 "Satoshi", sans-serif; letter-spacing: 0.16em; color: var(--blanco); margin-bottom: 14px; }
.pie-col p + p { margin-top: 2px; }
.pie-col a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.pie-col ul a { min-height: 44px; text-decoration: none; text-transform: uppercase; font: 500 19px/1 "Melodrama", serif; letter-spacing: 0.08em; }
@media (hover: hover) and (pointer: fine) { .pie-col ul a:hover { text-decoration: underline; text-underline-offset: 6px; } }
.pie-legal { max-width: 1120px; margin: 46px auto 0; padding-top: 22px; border-top: 1px solid rgba(231, 221, 202, 0.16); display: grid; gap: 8px; font-size: 13px; color: var(--crema-2); }
.pie-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--crema); text-underline-offset: 4px; }
.nota-datos { color: var(--crema); max-width: 860px; }

/* ---------- Móvil: el panel macizo y la foto debajo (como la referencia en el teléfono) ---------- */
@media (max-width: 799px) {
  .cab { padding: 6px 8px; }
  .cab-btn { font-size: 13px; gap: 10px; }
  .portada-foto { inset: 0; }
  .ver-mas { background: none; color: var(--blanco); height: 60px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }
  .portada-h1 { bottom: 96px; }
  .marco-portada { top: 48%; }
  .lamina { min-height: 0; }
  .lamina-foto { position: relative; inset: auto; order: 2; aspect-ratio: 4 / 5; }
  .lamina-foto img { height: 110%; margin-top: -5%; }
  .panel { background: var(--tierra); padding: 64px 22px 40px; gap: 20px; }
  .caja { min-width: 0; width: min(300px, 100%); min-height: 48px; }
  .hab-lista { grid-template-columns: 1fr; }
  .hab { min-height: 0; aspect-ratio: 4 / 5; }
  .hab.abierta { aspect-ratio: auto; min-height: 125vw; }
  .tabs { gap: 2px 22px; }
  .cal-meses { --n: 1 !important; }
  .dia { height: 44px; }
  .precios { flex-direction: column; gap: 20px; }
  .cerca .min { display: block; }
  .cerca li + li { margin-top: 8px; }
  .panel-p a, .nota a { display: inline-flex; align-items: center; min-height: 44px; }
  .rejilla { grid-template-columns: 1fr 1fr; }
  .pie { padding-top: 54px; }
  .pie-in { grid-template-columns: 1fr; gap: 34px; justify-items: start; }
  .mapa-et { font-size: 14px; }
  .mapa-marco { width: 40px; font-size: 14px; border-width: 1.5px; }
}
