/* La Cervecería Chipiona · web pública · estética «rojo entero»
   Rojo de marca y blanco. Títulos condensados gordos, esquinas rectas. */
:root {
  --rojo: #af0000;            /* el mismo rojo que la pared de la foto de portada */
  --rojo-2: #8a0000;
  --tinta: #17100f;
  --gris: #6a5f5d;
  --raya: rgba(175, 0, 0, .38);
  --f-t: 'Anton', Impact, 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
  --f: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --m: clamp(20px, 4.2vw, 72px);
  --mh: clamp(60px, 6.4vw, 104px);   /* alto de la barra de mármol en reservas */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 60px; }
body { margin: 0; background: #fff; color: var(--tinta); font: 500 17px/1.55 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.salto { position: absolute; left: 12px; top: -80px; z-index: 100; background: #fff; color: var(--rojo); padding: 12px 18px; font-weight: 800; }
.salto:focus { top: 12px; }
.solo-movil { display: none; }

/* ───────── piezas ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 14px 34px; border: 2px solid transparent; border-radius: 0; background: none; font: 800 16px/1.1 var(--f); letter-spacing: .09em; text-transform: uppercase; text-align: center; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.btn-b { background: #fff; color: var(--rojo); border-color: #fff; }
.btn-r { background: var(--rojo); color: #fff; border-color: var(--rojo); }
.btn-l { background: transparent; color: var(--rojo); border-color: var(--rojo); }
.btn-s { min-height: 46px; padding: 10px 22px; font-size: 14px; }
.btn-xl { min-height: 68px; font: 400 26px/1 var(--f-t); letter-spacing: .06em; }
.btn-ancho { width: 100%; }
@media (hover: hover) {
  .btn-b:hover, .btn-r:hover { background: var(--tinta); border-color: var(--tinta); color: #fff; }
  .btn-l:hover { background: var(--rojo); color: #fff; }
}
.btn:disabled { opacity: .6; cursor: progress; }
.enlace { font: 800 16px/1 var(--f); letter-spacing: .09em; text-transform: uppercase; padding: 8px 0 7px; border-bottom: 2px solid currentColor; transition: padding .18s; }
@media (hover: hover) { .enlace:hover { padding-bottom: 3px; } }
.lnk { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tit { font: 400 clamp(40px, 6vw, 110px)/.92 var(--f-t); text-transform: uppercase; letter-spacing: .004em; }
.tit-xl { font-size: clamp(76px, 10.4vw, 220px); }
.tit-l { font-size: clamp(50px, 5.7vw, 124px); }

/* aparecer al entrar (solo si hay movimiento) */
.anim .ver { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.anim .ver.visto { opacity: 1; transform: none; }

/* ───────── barra fina (escritorio, al pasar la portada) ───────── */
.tira { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); padding: 8px var(--m); background: #fff; color: var(--rojo); border-bottom: 3px solid var(--rojo); transform: translateY(-110%); transition: transform .28s cubic-bezier(.2, .7, .2, 1); visibility: hidden; }
.tira.sale { transform: none; visibility: visible; }
.tira nav { display: flex; gap: clamp(18px, 2.6vw, 44px); margin-left: auto; }
.tira nav a { font: 800 14px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; padding: 8px 0; }
.tira-tel { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; background: var(--rojo); color: #fff; font: 800 18px/1 var(--f); letter-spacing: .04em; white-space: nowrap; }
.tira-logo img { width: 44px; height: 44px; }
@media (hover: hover) { .cab-tel:hover { background: var(--tinta); color: #fff; } .tira-tel:hover { background: var(--tinta); }
  .tira nav a:hover, .cab-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; } }

/* ───────── PORTADA ───────── */
.portada { position: relative; display: flex; flex-direction: column; height: max(100vh, 620px); height: max(100svh, 620px); background: var(--rojo); color: #fff; overflow: hidden; }
.cab { position: absolute; z-index: 6; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: clamp(22px, 3.4vw, 60px); padding: clamp(14px, 2.2vw, 36px) var(--m); }
.cab-logo img { width: clamp(78px, 7.8vw, 132px); height: auto; }
.cab-nav { display: flex; gap: clamp(22px, 3.4vw, 60px); margin-left: auto; }
.cab-nav a { font: 800 clamp(13px, 1.02vw, 17px)/1 var(--f); letter-spacing: .12em; text-transform: uppercase; padding: 8px 0; }
.cab-tel { display: inline-flex; align-items: center; gap: 10px; margin-left: clamp(8px, 1.6vw, 36px); padding: clamp(10px, .9vw, 15px) clamp(16px, 1.5vw, 26px); background: #fff; color: var(--rojo); font: 800 clamp(17px, 1.45vw, 26px)/1 var(--f); letter-spacing: .03em; white-space: nowrap; transition: background-color .18s, color .18s; }
.cab-tel svg { width: 1.05em; height: 1.05em; flex: none; }
.cab-res { display: none; }

.escena { position: relative; flex: 1 1 auto; min-height: 0; container-type: size; --sh: 100cqh;
  /* el titular pesa más a la izquierda («se tira» es más largo que «sola.»): se corre todo un pelo a la derecha */
  --dx: calc(min(21.6cqh, (100vw - 23.82cqh - 2 * var(--m)) / 5.5) * .15); }
.marmol { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--sh) * .1472); background: #ddd url(../img/marmol.webp) 50% 0 / auto 100% repeat-x; }
/* la «tabla» es la foto 16:9: el vaso siempre queda centrado y apoyado abajo */
.tabla { position: absolute; bottom: 0; left: 50%; height: var(--sh); width: calc(var(--sh) * 16 / 9); transform: translateX(calc(-49.2% + var(--dx))); container-type: size; }
.esc-fondo { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.esc-cana { position: absolute; z-index: 2; left: 38.775%; top: 32.102%; width: 20.836%; height: 66.675%; max-width: none; object-fit: fill; background: transparent;
  -webkit-mask: url(../img/cana-video-mask.png?v=2) 0 0 / 100% 100% no-repeat; mask: url(../img/cana-video-mask.png?v=2) 0 0 / 100% 100% no-repeat; pointer-events: none; }

.titular { position: absolute; z-index: 1; left: 49.2%; top: 39.4cqh; transform: translate(-50%, -50%); --hueco: 13.4cqw;
  --tf: min(21.6cqh, calc((100vw - var(--hueco) - 2 * var(--m)) / 5.5));
  font: 400 var(--tf)/1 var(--f-t); text-transform: uppercase; white-space: nowrap; text-align: center; letter-spacing: .004em; }
.titular .l { display: block; overflow: hidden; padding-top: .2em; margin-top: -.2em; }
.titular .l > span { display: block; }
.titular .l2 > span { display: grid; grid-template-columns: 2.72em var(--hueco) 2.72em; }
.l2a { justify-self: end; }
.l2b { justify-self: start; }
.etiqueta { position: absolute; z-index: 3; right: 3.6em; bottom: -1.72em; padding: .3em .55em .26em; background: #fff; color: var(--rojo); font-size: .2em; line-height: 1; letter-spacing: .03em; transform: rotate(-7deg); transform-origin: 50% 50%; white-space: nowrap; }

.portada-sub { position: absolute; z-index: 3; left: var(--m); bottom: calc(var(--sh) * .1472 + 4.6cqh); font: 600 clamp(15px, 1.22vw, 21px)/1.5 var(--f); }
.portada-btns { position: absolute; z-index: 3; right: var(--m); bottom: calc(var(--sh) * .1472 + 4.6cqh); display: flex; align-items: center; gap: clamp(18px, 2.2vw, 40px); }
.portada-movil { display: none; }
@media (max-width: 1240px) { .portada-btns { flex-direction: column; align-items: flex-end; gap: 12px; } }
@media (max-width: 940px) { .portada-sub { max-width: 15em; font-size: 14px; } .portada-btns .btn { min-height: 50px; padding: 10px 22px; font-size: 14px; } }

/* entrada de la portada */
.anim .titular .l > span { transform: translateY(132%); }
.anim .etiqueta { opacity: 0; }
.anim .portada-sub, .anim .portada-btns, .anim .portada-movil > * { opacity: 0; }
.anim.lista .titular .l > span { transform: none; transition: transform .9s cubic-bezier(.16, .84, .24, 1); }
.anim.lista .titular .l2 > span { transition-delay: .09s; }
.anim.lista .etiqueta { opacity: 1; animation: sello .42s .78s cubic-bezier(.2, 1.4, .4, 1) backwards; }
.anim.lista .portada-sub, .anim.lista .portada-btns, .anim.lista .portada-movil > * { opacity: 1; transition: opacity .6s .55s; }
@keyframes sello { from { opacity: 0; transform: rotate(-16deg) scale(1.7); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }

/* portada «apilada»: pantallas más altas que anchas (móvil y tableta de pie) */
@media (max-aspect-ratio: 5/4) {
  .portada { height: max(100vh, 600px); height: max(100svh, 600px); }
  .escena { --sh: min(calc((100cqh - 104px - 46cqw) / .665), 150cqw, 112cqh); --dx: 0px; }
  .titular { top: auto; bottom: calc(67.4cqh + .62em); transform: translateX(-50%); --hueco: .24em; --tf: min(17vw, 26cqh, 150px); }
  .titular .l2 > span { display: block; }
  .l2h { display: inline; }
  .etiqueta { right: .9em; bottom: -1.62em; font-size: .21em; }
  .portada-sub, .portada-btns { display: none; }
  .portada-movil { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 22px var(--m) 26px; background: var(--rojo); }
  .portada-movil .btn { max-width: 520px; min-height: 62px; font-size: 18px; }
}
@media (max-width: 760px) {
  .cab-nav, .cab-tel { display: none; }
  .cab-res { display: inline-flex; margin-left: auto; }
  .cab { padding: 14px var(--m); }
  .portada-sub, .portada-btns { display: none; }
  .tira { display: none; }
  html { scroll-padding-top: 0; }
}
/* pantallas muy bajas en horizontal: que el titular no se meta en el menú */
@media (min-aspect-ratio: 5/4) and (max-height: 700px) {
  .cab-logo img { width: clamp(64px, 13vh, 96px); }
  .titular { top: 41cqh; --tf: min(20cqh, calc((100vw - var(--hueco) - 2 * var(--m)) / 5.5)); }
}

/* ───────── LA CARTA ───────── */
.carta { position: relative; background: #fff; padding: clamp(56px, 7vw, 120px) var(--m); display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 38vw, 760px); column-gap: clamp(28px, 4.4vw, 84px); }
.carta-bloque { position: absolute; top: clamp(28px, 3vw, 52px); bottom: clamp(28px, 3vw, 52px); right: clamp(14px, 1.8vw, 40px); width: 22vw; background: var(--rojo); }
.carta-cab, .pest, .carta-lista { grid-column: 1; position: relative; }
.carta-cab { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 40px); margin-bottom: clamp(22px, 2.6vw, 44px); color: var(--rojo); }
.carta-sello { width: clamp(64px, 8.6vw, 170px); height: auto; flex: none; }
.pest { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(18px, 2.2vw, 36px); }
.pest button { flex: 1 1 auto; min-height: 52px; padding: 8px 14px 7px; border: 2px solid var(--rojo); border-radius: 0; background: #fff; color: var(--rojo); font: 400 clamp(17px, 1.34vw, 23px)/1 var(--f-t); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background-color .15s, color .15s; }
.pest button[aria-selected="true"] { background: var(--rojo); color: #fff; }
@media (hover: hover) { .pest button:hover { background: var(--rojo); color: #fff; } }
.platos { list-style: none; margin: 0; padding: 0; }
.plato { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: baseline; padding: 15px 2px 14px; border-bottom: 1px solid var(--raya); break-inside: avoid; }
.plato-n { font: 600 clamp(18px, 1.48vw, 24px)/1.25 var(--f); overflow-wrap: anywhere; }
.plato-d { display: block; font: 500 14px/1.35 var(--f); color: var(--gris); margin-top: 2px; }
.plato-p { display: flex; gap: 16px; align-items: baseline; font: 800 clamp(18px, 1.48vw, 24px)/1.25 var(--f); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plato-p small { font: 700 11px/1 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-right: 6px; }
.plato-p em { font: 700 11px/1 var(--f); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--rojo); align-self: center; }
.plato-a { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 3px 10px; margin-top: 4px; font: 600 12px/1.3 var(--f); letter-spacing: .04em; text-transform: uppercase; color: var(--gris); }
.plato-a .ojo { color: var(--rojo); font-weight: 800; }
.plato.no .plato-n, .plato.no .plato-p { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .38; }
.plato.duda .plato-a { color: var(--rojo); }
.carta-nota { margin-top: 22px; font: 700 14px/1.5 var(--f); color: var(--rojo); }
.alerg { margin-top: 18px; border: 2px solid var(--rojo); }
.alerg summary { cursor: pointer; padding: 14px 18px; font: 800 14px/1.2 var(--f); letter-spacing: .09em; text-transform: uppercase; color: var(--rojo); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.alerg summary::-webkit-details-marker { display: none; }
.alerg summary::after { content: '+'; font: 400 26px/1 var(--f-t); }
.alerg[open] summary::after { content: '–'; }
.alerg-in { padding: 2px 18px 18px; }
.alerg-p { font-size: 15px; margin-bottom: 12px; }
.alerg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.alerg-chips button { min-height: 40px; padding: 6px 14px; border: 2px solid var(--raya); border-radius: 0; background: #fff; font: 700 14px/1 var(--f); cursor: pointer; }
.alerg-chips button[aria-pressed="true"] { background: var(--rojo); border-color: var(--rojo); color: #fff; text-decoration: line-through; }
.alerg-aviso { margin-top: 12px; font: 700 14px/1.45 var(--f); color: var(--rojo); }
.alerg-legal { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--gris); }
.carta-plato { position: absolute; right: clamp(22px, 3.4vw, 64px); top: clamp(120px, 15vw, 300px); width: clamp(300px, 38.5vw, 760px); height: auto; filter: drop-shadow(0 26px 34px rgba(40, 0, 0, .3)); }
@media (min-width: 1280px) { .platos.larga { columns: 2; column-gap: clamp(28px, 3vw, 56px); } }
@media (max-width: 900px) {
  .solo-movil { display: inline; }
  .carta { display: block; padding-top: 44px; overflow: hidden; }
  .carta-bloque { top: 0; bottom: auto; right: 0; width: 30vw; height: calc(44px + 50vw); }
  .carta-plato { top: 34px; right: -7vw; width: 54vw; filter: drop-shadow(0 14px 18px rgba(40, 0, 0, .3)); }
  .carta-sello { display: none; }
  .carta-cab { min-height: 50vw; align-items: flex-end; margin-bottom: 22px; }
  .tit-xl { font-size: clamp(64px, 23vw, 170px); }
  .pest { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--m) * -1); margin-right: calc(var(--m) * -1); padding: 2px var(--m) 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .pest::-webkit-scrollbar { display: none; }
  .pest button { flex: none; scroll-snap-align: center; font-size: 18px; min-height: 50px; padding: 8px 18px 7px; }
}

/* ───────── RESERVAR ───────── */
/* ───────── opiniones ───────── */
.opiniones { background: #fff; color: var(--rojo); padding: clamp(20px, 3vw, 56px) var(--m) clamp(64px, 7.6vw, 128px); border-top: 3px solid var(--rojo); }
.op-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; padding-top: clamp(40px, 5vw, 90px); }
.op-nota { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 24px); }
.op-num { font: 400 clamp(84px, 8.6vw, 170px)/.8 var(--f-t); }
.op-der { display: flex; flex-direction: column; gap: 10px; }
.op-est { display: flex; gap: 4px; }
.op-est i { width: clamp(26px, 2.1vw, 38px); aspect-ratio: 1; background: linear-gradient(90deg, var(--rojo) var(--p), rgba(175,0,0,.2) var(--p));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 17.9l-6.4 3.5 1.4-7.1-5.3-5 7.2-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 17.9l-6.4 3.5 1.4-7.1-5.3-5 7.2-.9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.op-tot { font: 700 clamp(14px, 1.05vw, 17px)/1.3 var(--f); color: var(--tinta); }
@media (hover: hover) { .op-nota:hover .op-tot { text-decoration: underline; text-underline-offset: 4px; } }
.op-lista { list-style: none; margin: clamp(36px, 4vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 28px); }
.op { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2vw, 34px); border: 2px solid var(--rojo); background: #fff; }
.op::before { content: '“'; position: absolute; right: 16px; top: -6px; font: 400 120px/1 var(--f-t); color: rgba(175,0,0,.14); pointer-events: none; }
.op-s { font-size: 20px; letter-spacing: 3px; line-height: 1; }
.op blockquote { margin: 18px 0 22px; font: 500 clamp(16px, 1.15vw, 19px)/1.5 var(--f); color: var(--tinta); flex: 1 1 auto; }
.op-q { font: 800 15px/1.2 var(--f); letter-spacing: .04em; }
.op-q span { font-weight: 600; color: var(--gris); letter-spacing: 0; }
.op-mas { display: inline-block; margin-top: clamp(28px, 3vw, 48px); }
@media (max-width: 1180px) { .op-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .op-lista { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--m)); margin-right: calc(-1 * var(--m)); padding: 0 var(--m) 6px; scroll-padding: 0 var(--m); scrollbar-width: none; }
  .op-lista::-webkit-scrollbar { display: none; }
  .op { flex: 0 0 84%; scroll-snap-align: start; }
}
@media (max-width: 360px) { .op-nota { flex-wrap: wrap; } .op-est i { width: 24px; } }

.reservar { position: relative; background: var(--rojo); color: #fff; padding: clamp(64px, 7.6vw, 128px) var(--m) calc(var(--mh) - 6px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 5vw, 100px); align-items: start; overflow: hidden; }
.res-txt { position: relative; z-index: 1; padding-bottom: calc(var(--mh) / .1937 * .8 + 64px); }
.res-p { margin-top: clamp(16px, 1.6vw, 28px); max-width: 21em; font: 600 clamp(18px, 1.72vw, 30px)/1.3 var(--f); }
.res-tel { position: relative; display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: clamp(14px, 1.2vw, 20px); row-gap: clamp(10px, .9vw, 14px); margin-top: clamp(26px, 2.6vw, 44px); color: #fff; text-decoration: none; }
.res-tel-t { display: contents; }
.res-tel-et { grid-row: 1; grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; white-space: nowrap; font: 800 clamp(12px, .9vw, 15px)/1.2 var(--f); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.res-tel-et::after { content: ''; flex: 1; min-width: 32px; height: 2px; background: currentColor; opacity: .55; transform-origin: left; transition: transform .4s cubic-bezier(.2, .7, .2, 1), opacity .4s; }
.res-tel-i { grid-row: 2; grid-column: 1; position: relative; flex: none; display: grid; place-items: center; width: clamp(48px, 3.9vw, 68px); height: clamp(48px, 3.9vw, 68px); border-radius: 50%; border: 2px solid currentColor; color: inherit; transition: background-color .25s, color .25s, transform .25s cubic-bezier(.2, .7, .2, 1); }
.res-tel-i svg { position: relative; z-index: 1; width: 44%; height: 44%; }
.res-tel-i::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid currentColor; animation: res-onda 2.6s cubic-bezier(.2, .7, .2, 1) infinite; }
@keyframes res-onda { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.res-tel-n { grid-row: 2; grid-column: 2; justify-self: start; padding-bottom: 6px; font: 400 clamp(44px, 4vw, 72px)/.95 var(--f-t); letter-spacing: .015em; color: inherit; white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 3px no-repeat; }
.res-tel-f { display: none; }
@media (hover: hover) {
  .reservar .res-tel:hover .res-tel-i { background: #fff; color: var(--rojo); transform: rotate(-12deg); }
  .res-tel:hover .res-tel-et::after { opacity: 1; }
}
.res-tel:active .res-tel-i { transform: scale(.94); }
.res-tel:focus-visible { outline: 3px solid #fff; outline-offset: 8px; }
@media (max-width: 440px), (min-width: 901px) and (max-width: 1280px) { .res-tel-x { display: none; } }
@media (prefers-reduced-motion: reduce) { .res-tel-i::after { animation: none; opacity: 0; } .res-tel-i, .res-tel-et::after { transition: none; } }
.res-der { position: relative; z-index: 1; align-self: center; padding-bottom: clamp(30px, 4vw, 64px); }
.caja { background: #fff; color: var(--tinta); padding: clamp(22px, 3.2vw, 56px); }
.rf-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 26px); }
.rf-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 26px); margin-top: clamp(16px, 1.8vw, 28px); }
.campo { display: block; min-width: 0; }
.campo > span { display: block; margin-bottom: 8px; font: 800 13px/1.2 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--rojo); }
.campo input, .campo select, .campo textarea { display: block; width: 100%; min-height: 60px; padding: 12px 16px; border: 2px solid var(--rojo); border-radius: 0; background: #fff; color: var(--tinta); font: 600 18px/1.3 var(--f); -webkit-appearance: none; appearance: none; }
.campo select { padding-right: 44px; text-overflow: ellipsis; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M2 2l8 8 8-8' fill='none' stroke='%23af0000' stroke-width='2.6'/%3E%3C/svg%3E") right 15px center / 16px auto no-repeat; }
.campo textarea { min-height: 84px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 3px solid var(--tinta); outline-offset: 2px; }
.campo.mal input, .campo.mal select { background-color: #fff1f0; border-style: dashed; }
.rf-aviso { margin-top: 12px; font: 700 15px/1.45 var(--f); color: var(--rojo); }
.rf-aviso a { text-decoration: underline; text-underline-offset: 3px; }
/* grupos grandes: el formulario se aparta y manda el teléfono */
.rf.es-grupo .rf-2, .rf.es-grupo .rf-mas, .rf.es-grupo .rf-nota, .rf.es-grupo #rfEnviar, .rf.es-grupo .rf-legal, .rf.es-grupo .rf-error { display: none; }
.rf-grupo { margin-top: 26px; padding: clamp(22px, 2.4vw, 36px); background: var(--rojo); color: #fff; }
.rf-grupo-t { font: 400 clamp(40px, 3.9vw, 70px)/.95 var(--f-t); text-transform: uppercase; }
.rf-grupo-p { margin: 14px 0 22px; max-width: 34em; font: 600 16px/1.45 var(--f); }
.rf-grupo .rf-grupo-tel { background: #fff; color: var(--rojo); border-color: #fff; }
.rf-grupo .rf-grupo-tel:hover { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.rf-grupo .btn-l { margin-top: 12px; color: #fff; border-color: rgba(255,255,255,.7); }
.rf-grupo .btn-l:hover { background: #fff; color: var(--rojo); border-color: #fff; }
@media (max-width: 420px) { .rf-grupo .rf-grupo-tel { font-size: 22px; padding: 12px 16px; } }
.rf-mas { display: inline-block; margin-top: 16px; font: 700 15px/1.3 var(--f); color: var(--rojo); text-align: left; }
.rf-nota { margin-top: 14px; }
.rf-error { margin-top: 16px; padding: 12px 16px; background: var(--tinta); color: #fff; font: 700 15px/1.4 var(--f); }
.rf .btn-xl { margin-top: clamp(18px, 2vw, 30px); }
.rf-legal { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--gris); }
.btn-wa { display: flex; width: fit-content; max-width: 100%; margin: clamp(22px, 2.6vw, 40px) auto 0; min-height: 76px; padding: 12px clamp(22px, 3vw, 48px); gap: 18px; border: 2px solid #fff; color: #fff; font: 400 clamp(20px, 1.9vw, 30px)/1 var(--f-t); letter-spacing: .06em; }
@media (hover: hover) { .btn-wa:hover { background: #fff; color: var(--rojo); } }
.res-barra { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: var(--mh); background: #ddd url(../img/marmol.webp) 50% 0 / auto 100% repeat-x; }
.res-barra img { position: absolute; bottom: 0; left: clamp(0px, 4vw, 90px); height: calc(var(--mh) / .1937); width: auto; max-width: none; }

.hecho { outline: 0; }
.hecho-sello { display: inline-block; padding: 7px 14px 5px; border: 3px solid var(--rojo); color: var(--rojo); font: 400 20px/1 var(--f-t); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-4deg); }
.hecho .tit { margin-top: 18px; color: var(--rojo); font-size: clamp(40px, 4.4vw, 76px); }
.hecho-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 22px; margin: 20px 0 0; }
.hecho-dl dt, .hecho-dl dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--raya); }
.hecho-dl dt { font: 800 13px/1.6 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--rojo); }
.hecho-dl dd { font: 700 18px/1.3 var(--f); }
.hecho-dl dd::first-letter { text-transform: uppercase; }
.hecho-p { margin-top: 18px; font-size: 16px; }
.hecho-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 16px; }
.hecho .lnk { font: 700 15px/1.3 var(--f); color: var(--rojo); }
@media (max-width: 900px) {
  .reservar { display: block; background: #fff; color: var(--rojo); padding: 56px var(--m) 60px; }
  .res-txt { padding-bottom: 0; }
  .res-p { color: var(--tinta); font-size: 19px; }
  .res-tel { color: var(--rojo); }
  .res-tel-i { background: var(--rojo); border-color: var(--rojo); color: #fff; }
  .res-tel-i::after { border-color: var(--rojo); }
  .res-tel-et { color: var(--gris); }
  .res-tel-et::after { background: var(--rojo); opacity: .35; }
  .res-tel-n { font-size: clamp(38px, 12vw, 50px); }
  .res-tel:focus-visible { outline-color: var(--rojo); }
  .res-der { padding-bottom: 0; margin-top: 38px; }
  .btn-wa { width: 100%; border-color: var(--rojo); color: var(--rojo); font-size: 21px; min-height: 66px; }
  .caja { padding: 0; }
  .rf-3 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, 1.1fr); gap: 10px; }
  .rf-2 { grid-template-columns: 1fr; }
  .campo input, .campo select { padding-left: 12px; font-size: 17px; }
  .campo select { padding-right: 30px; background-position: right 10px center; background-size: 13px auto; }
  .res-barra { display: none; }
}
@media (max-width: 420px) {
  .rf-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .rf-3 .campo:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
}

/* ───────── DÓNDE ───────── */
.donde { display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); background: #fff; color: var(--rojo); }
.mapa { position: relative; display: block; min-height: clamp(420px, 46vw, 820px); background: #e9e6e2; overflow: hidden; }
.mapa iframe { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); border: 0; pointer-events: none; filter: grayscale(1) contrast(1.08) brightness(1.03); }
.mapa-pin { position: absolute; left: 50%; top: 50%; width: clamp(60px, 5.6vw, 96px); transform: translate(-50%, -50%); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }
.mapa-pin img { width: 100%; height: auto; }
.mapa-btn { position: absolute; left: clamp(14px, 2vw, 30px); bottom: clamp(14px, 2vw, 30px); padding: 13px 20px 12px; background: var(--rojo); color: #fff; font: 800 14px/1 var(--f); letter-spacing: .09em; text-transform: uppercase; }
@media (hover: hover) { .mapa:hover .mapa-btn { background: var(--tinta); } }
.donde-txt { padding: clamp(48px, 6vw, 104px) var(--m) clamp(48px, 6vw, 104px) clamp(24px, 4.6vw, 88px); }
.donde-sub { margin-top: clamp(8px, .9vw, 16px); font: 700 clamp(19px, 1.9vw, 34px)/1.25 var(--f); }
.abierto { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(18px, 2vw, 34px); padding: 12px 18px 11px; border: 2px solid var(--rojo); font: 800 14px/1.2 var(--f); letter-spacing: .09em; text-transform: uppercase; }
.abierto i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #1f9d3a; }
.abierto.cerrado i { background: var(--gris); }
.donde-h { margin-top: clamp(26px, 2.8vw, 48px); padding-bottom: 12px; border-bottom: 3px solid var(--rojo); font: 400 clamp(22px, 2vw, 34px)/1 var(--f-t); letter-spacing: .03em; text-transform: uppercase; }
.horario { width: 100%; border-collapse: collapse; font: 600 clamp(16px, 1.22vw, 20px)/1.3 var(--f); }
.horario td { padding: 15px 0 14px; border-bottom: 1px solid var(--raya); vertical-align: top; }
.horario td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.horario .hoy td { font-weight: 800; }
.horario .hoy td:first-child::after { content: 'hoy'; margin-left: 10px; padding: 2px 7px 1px; background: var(--rojo); color: #fff; font: 800 11px/1.5 var(--f); letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; }
.horario-nota { margin-top: 12px; font-size: 14px; color: var(--gris); }
.donde-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 2.6vw, 44px); }
.donde-btns .btn { flex: 1 1 220px; }
.donde-google { margin-top: 22px; font: 600 15px/1.4 var(--f); color: var(--gris); }
.donde-google a { text-decoration: underline; text-underline-offset: 3px; }
.donde-google b { color: var(--rojo); font-weight: 800; }
@media (max-width: 900px) {
  .donde { display: flex; flex-direction: column-reverse; }
  .donde-txt { padding: 56px var(--m) 40px; }
  .tit-l { font-size: clamp(44px, 13.6vw, 110px); }
  .mapa { min-height: 320px; }
}
@media (max-width: 400px) {
  .horario td { display: block; padding: 0 0 12px; }
  .horario td:first-child { padding: 12px 0 2px; border-bottom: 0; }
  .horario td:last-child { text-align: left; }
}

/* ───────── PIE ───────── */
.pie { background: var(--rojo); color: #fff; padding: clamp(30px, 3.6vw, 64px) var(--m) clamp(22px, 2.4vw, 36px); overflow: hidden; }
.pie-insta { display: flex; align-items: center; gap: clamp(18px, 3.4vw, 64px); }
.pie-insta img { flex: none; width: clamp(84px, 9vw, 170px); height: auto; }
.pie-u { font: 400 clamp(30px, calc((100vw - 2 * var(--m) - 13vw) / 9.95), 190px)/1 var(--f-t); letter-spacing: .004em; white-space: nowrap; }
@media (hover: hover) { .pie-insta:hover .pie-u { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em; } }
.pie-fin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; margin-top: clamp(24px, 3vw, 48px); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .4); font-size: 14px; line-height: 1.6; }
.pie-fin a { text-decoration: underline; text-underline-offset: 3px; }
.pie-nota { opacity: .8; }
@media (max-width: 760px) {
  .pie { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .pie-insta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pie-u { font-size: calc((100vw - 2 * var(--m)) / 9.75); }
  .pie-fin { display: block; }
  .pie-fin p + p { margin-top: 8px; }
}

/* ───────── barra del móvil ───────── */
.barra { display: none; }
@media (max-width: 760px) {
  .barra { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--rojo); transform: translateY(110%); transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
  .barra.sale { transform: none; }
  .barra a { display: flex; align-items: center; justify-content: center; min-height: 62px; color: #fff; font: 800 16px/1 var(--f); letter-spacing: .12em; text-transform: uppercase; }
  .barra-l { background: #2b0000; }
  .barra-r { background: var(--rojo); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25); }
}

/* ───────── diálogos ───────── */
.dlg { width: min(560px, calc(100vw - 32px)); padding: 30px 30px 26px; border: 0; border-top: 10px solid var(--rojo); border-radius: 0; color: var(--tinta); }
.dlg::backdrop { background: rgba(40, 0, 0, .62); }
.dlg h3 { font: 400 32px/1 var(--f-t); text-transform: uppercase; color: var(--rojo); margin-bottom: 14px; }
.dlg p { margin-bottom: 10px; font-size: 16px; }
.dlg form { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
