/* r93 · Los 12 Apóstoles · jueves 26/11/2026 (22/11/2026). Pop-up global + aviso en reservas.
   Autocontenido: fuentes y colores de hoyuela-r74. Deja de mostrarse el 26/11/2026 a las 23:00 (Madrid). */
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/hoyuela-r74/fonts/dm-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/hoyuela-r74/fonts/dm-sans-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/hoyuela-r74/fonts/playfair-display-latin-400-normal.woff2) format("woff2")}

.h12{--h12-ink:#0B1C28;--h12-cream:#F4EFE6;--h12-gold:#916c25;--h12-yellow:#F2C94C;--h12-line:rgba(145,108,37,.35)}
.h12-call{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:54px;padding:.85em 1.7em;border:1.5px solid var(--h12-yellow);border-radius:999px;background:var(--h12-yellow);color:var(--h12-ink)!important;font:600 17px/1.1 "DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;text-decoration:none!important;cursor:pointer;white-space:nowrap;transition:transform .35s cubic-bezier(.2,.7,.1,1),box-shadow .35s cubic-bezier(.2,.7,.1,1)}
.h12-call:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(11,28,40,.2)}
.h12-call:focus-visible,.h12-x:focus-visible{outline:3px solid var(--h12-ink);outline-offset:3px}

/* ── Pop-up: imagen tal cual + detalles + botón ───────── */
dialog.h12-dialog{--h12-foot:230px;box-sizing:border-box;width:fit-content;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;border:0;border-radius:14px;background:var(--h12-cream);color:var(--h12-ink);box-shadow:0 30px 80px rgba(11,28,40,.45);overflow:auto;overscroll-behavior:contain}
dialog.h12-dialog::backdrop{background:rgba(11,28,40,.7);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
dialog.h12-dialog[open]{animation:h12-in .45s cubic-bezier(.2,.7,.1,1)}
@keyframes h12-in{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
/* La imagen se muestra completa: su anchura se ajusta para que quepa entera en alto y en ancho (proporción 4:5 intacta). */
.h12-img{display:block;height:auto;max-width:none;width:min(calc(100vw - 24px),calc((100vh - var(--h12-foot) - 24px) * .8),600px);width:min(calc(100vw - 24px),calc((100dvh - var(--h12-foot) - 24px) * .8),600px)}
.h12-foot{box-sizing:border-box;width:0;min-width:100%;display:flex;flex-direction:column;align-items:center;gap:12px;padding:14px 18px 18px;text-align:center}
.h12-line{margin:0;font:600 15.5px/1.4 "DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--h12-ink)}
.h12-line span{display:block}.h12-line .h12-sep{display:none}
.h12-dialog .h12-call{width:100%;max-width:340px}
/* Servicio + plazas, encima del botón */
.h12-key{display:flex;flex-direction:column;align-items:center;gap:7px;margin:2px 0}
.h12-service{margin:0;font:600 17px/1.3 "DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--h12-ink)}
.h12-plazas{margin:0;display:inline-block;padding:7px 16px;border-radius:999px;background:var(--h12-ink);color:#fff;font:600 15.5px/1.3 "DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;letter-spacing:.01em;box-shadow:0 0 0 2px var(--h12-yellow) inset}
.h12-notice .h12-key{align-items:flex-start;margin:0 0 18px}
.h12-x{position:absolute;top:10px;right:10px;z-index:2;width:46px;height:46px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(11,28,40,.18);border-radius:999px;background:#fff;color:var(--h12-ink);box-shadow:0 4px 14px rgba(11,28,40,.22);cursor:pointer}
.h12-x svg{width:20px;height:20px}
.h12-x:hover{background:var(--h12-ink);color:#fff}
html.h12-open,html.h12-open body{overflow:hidden}
html.h12-open #nl-popup{display:none!important}
@media (min-width:761px){.h12-line{font-size:16px}}
@media (prefers-reduced-motion:reduce){dialog.h12-dialog[open]{animation:none}.h12-call{transition:none}.h12-call:hover{transform:none}}

/* ── Aviso en reservas.html ─────────────────────────── */
.h12-notice{display:grid;grid-template-columns:minmax(150px,230px) 1fr;gap:clamp(20px,3.5vw,40px);align-items:center;max-width:860px;margin:0 auto clamp(26px,4vw,40px);padding:clamp(18px,3vw,30px);border:1px solid #c7aa75;border-radius:22px;background:var(--h12-cream);color:var(--h12-ink);box-shadow:0 16px 42px rgba(18,42,56,.14);text-align:left;box-sizing:border-box}
.h12-notice img{display:block;width:100%;height:auto;border-radius:12px}
.h12-copy{display:flex;flex-direction:column;font:400 17px/1.55 "DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.h12-title{margin:0 0 12px;font:400 clamp(30px,3.4vw,40px)/1.05 "Playfair Display",Georgia,"Times New Roman",serif;letter-spacing:-.02em;color:var(--h12-ink)}
.h12-when{margin:0 0 16px;font-weight:600;font-size:18px;line-height:1.4;color:var(--h12-ink)}
.h12-facts{list-style:none;margin:0 0 16px;padding:0;border-top:1px solid var(--h12-line)}
.h12-facts li{margin:0;padding:10px 0;border-bottom:1px solid var(--h12-line);font-size:16.5px;line-height:1.4;color:var(--h12-ink)}
.h12-price{margin:0 0 4px;font:400 30px/1.15 "Playfair Display",Georgia,serif;color:var(--h12-gold)}
.h12-only{margin:0 0 18px;font-weight:600;font-size:16px;color:var(--h12-ink)}
.h12-notice .h12-call{align-self:flex-start}
@media (max-width:620px){
 .h12-notice{grid-template-columns:1fr;padding:16px 16px 20px;border-radius:18px}
 .h12-notice img{width:min(100%,300px);margin:0 auto}
 .h12-title{font-size:30px}
 .h12-when{font-size:16.5px}
 .h12-facts li{padding:8px 0;font-size:15.5px}
 .h12-price{font-size:26px}
 .h12-notice .h12-call{align-self:stretch;width:100%}
}
.h12-notice picture{display:block}

.h12-dialog picture{display:block}
/* Pantallas pequeñas: pie compacto para que la imagen siga siendo grande y quepa entera */
@media (max-width:420px),(max-height:700px){
 .h12-foot{gap:8px;padding:10px 12px 12px}
 .h12-line{font-size:13.5px;line-height:1.35}
 .h12-key{gap:5px;margin:0}
 .h12-service{font-size:15px}
 .h12-plazas{font-size:13.5px;padding:5px 12px}
 .h12-dialog .h12-call{min-height:48px;font-size:16px;padding:.7em 1.2em}
}

/* r93b · Dos opciones del mismo tamaño: «Reservar ahora» y «Llamar a sala» (una debajo de otra en móvil) */
.h12-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;align-items:start}
.h12-callwrap{display:flex;flex-direction:column;align-items:stretch}
.h12 .h12-btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;max-width:none;min-height:54px;margin:0;padding:.7em 1em;border-radius:999px;font:600 16px/1.2 "DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;text-align:center;white-space:normal;text-decoration:none!important;cursor:pointer;transition:transform .35s cubic-bezier(.2,.7,.1,1),box-shadow .35s cubic-bezier(.2,.7,.1,1)}
.h12 .h12-btn:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(11,28,40,.2)}
.h12 .h12-btn:focus-visible{outline:3px solid var(--h12-ink);outline-offset:3px}
.h12 .h12-book{border:1.5px solid var(--h12-yellow);background:var(--h12-yellow);color:var(--h12-ink)!important}
.h12 .h12-call{border:1.5px solid var(--h12-ink);background:var(--h12-ink);color:#fff!important}
.h12-hours{margin:6px 0 0;font:400 12.5px/1.3 "DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:rgba(11,28,40,.75);text-align:center}
.h12-notice .h12-actions{max-width:520px}
#h12-aviso,#rsv-app{scroll-margin-top:96px}
@media (max-width:560px){.h12-actions{grid-template-columns:1fr;gap:8px}}
@media (max-width:420px),(max-height:700px){.h12-dialog .h12-btn{min-height:46px;font-size:15px;padding:.55em .9em}.h12-dialog .h12-hours{margin-top:4px;font-size:12px}}
@media (prefers-reduced-motion:reduce){.h12 .h12-btn{transition:none}.h12 .h12-btn:hover{transform:none}}
/* r93b · texto de servicio más largo: frase, no titular */
.h12-service{font-weight:600;font-size:15.5px;line-height:1.4;text-wrap:balance;max-width:34em}
.h12-dialog .h12-service{text-align:center}
@media (max-width:420px),(max-height:700px){.h12-dialog .h12-service{font-size:13.5px;line-height:1.35}}
/* r93b · rejilla: los dos botones comparten fila (misma altura aunque uno parta línea); el horario va debajo de «Llamar» */
.h12-actions{grid-template-columns:1fr 1fr;grid-template-rows:auto auto;align-items:stretch;row-gap:6px}
.h12-actions .h12-book{grid-column:1;grid-row:1}
.h12-actions .h12-call{grid-column:2;grid-row:1}
.h12-actions .h12-hours{grid-column:2;grid-row:2;margin:0}
@media (max-width:560px){.h12-actions{grid-template-columns:1fr;grid-template-rows:auto auto auto;row-gap:8px}.h12-actions .h12-book,.h12-actions .h12-call,.h12-actions .h12-hours{grid-column:1}.h12-actions .h12-call{grid-row:2}.h12-actions .h12-hours{grid-row:3;margin-top:-4px}}
.h12-nw{white-space:nowrap}
