:root{
  --primary:#0b3f72;
  --primary-2:#145da0;
  --primary-soft:#e7f2fb;
  --accent:#c9151e;
  --bg:#f4f8fc;
  --surface:#ffffff;
  --text:#17212b;
  --muted:#596671;
  --line:#d9e4ee;
  --shadow:0 7px 22px rgba(25,48,68,.065);
  --shadow-lg:0 20px 52px rgba(8,35,61,.15);
  --radius:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;min-height:100vh;overflow-x:hidden;background:linear-gradient(180deg,#f3f7fa 0,#fff 70%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img{max-width:100%}
button,input{font:inherit}
.shell{width:min(1160px,calc(100% - 32px));margin-inline:auto}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.skip-link{position:fixed;left:14px;top:10px;z-index:1000;padding:11px 15px;border-radius:10px;background:var(--text);color:#fff;font-weight:750;transform:translateY(-150%);transition:transform .18s}
.skip-link:focus{transform:translateY(0)}
.site-header{position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(217,228,238,.76);background:rgba(255,255,255,.9);box-shadow:0 2px 16px rgba(11,63,114,.035);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:11px;min-width:0}
.brand img{width:46px;height:46px;border-radius:0;box-shadow:none;object-fit:contain}
.brand-copy{min-width:0}
.brand-name{display:block;font-size:20px;font-weight:800;letter-spacing:-.03em}
.brand-subtitle{display:block;margin-top:1px;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.header-nav{display:flex;align-items:center;gap:7px}
.header-nav a{min-height:42px;display:inline-flex;align-items:center;padding:10px 13px;border-radius:8px;color:var(--muted);font-size:13px;font-weight:720;transition:background .18s,color .18s,transform .18s}
.header-nav a:hover{background:var(--primary-soft);color:var(--primary)}
.header-nav .primary-link{background:var(--primary);color:#fff;box-shadow:0 8px 19px rgba(11,63,114,.18)}
.header-nav .primary-link:hover{background:var(--primary-2);color:#fff;transform:translateY(-1px)}
.eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.btn{min-height:47px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 18px;border:1px solid transparent;border-radius:9px;font-size:14px;font-weight:760;transition:transform .18s,box-shadow .18s,background .18s,border-color .18s}
.btn svg{width:18px;height:18px;stroke:currentColor;flex:0 0 auto}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 10px 25px rgba(11,63,114,.22)}
.btn-primary:hover{background:var(--primary-2);box-shadow:0 14px 30px rgba(11,63,114,.26)}
.btn-secondary{border-color:rgba(255,255,255,.58);background:rgba(255,255,255,.12);color:#fff;backdrop-filter:blur(6px)}
.btn-secondary:hover{background:rgba(255,255,255,.21);border-color:rgba(255,255,255,.76)}
.card{border:1px solid rgba(217,228,238,.94);border-radius:var(--radius);background:rgba(255,255,255,.965);box-shadow:var(--shadow)}
.icon-box{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:var(--primary-soft);color:var(--primary)}
.icon-box svg{width:22px;height:22px;stroke:currentColor}
.updated{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;font-weight:650}
.updated:before{content:"";width:7px;height:7px;border-radius:50%;background:#2f9e5b;box-shadow:0 0 0 4px rgba(47,158,91,.11)}
.site-footer{padding:10px 0 32px;text-align:center;color:var(--muted);font-size:12px;line-height:1.65}
.site-footer strong{color:var(--text)}
:focus-visible{outline:3px solid rgba(20,93,160,.42);outline-offset:3px}
@media(max-width:680px){
  html{scroll-padding-top:78px}
  .shell{width:min(100% - 20px,1160px)}
  .header-inner{min-height:66px;gap:10px}
  .brand img{width:42px;height:42px;border-radius:0}
  .brand-name{font-size:18px}
  .brand-subtitle{display:none}
  .header-nav a:not(.primary-link){display:none}
  .header-nav .primary-link{min-height:40px;padding:9px 12px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.header-nav a,.skip-link{transition:none}}

.hero{padding:18px 0 20px}
.hero-card{position:relative;min-height:350px;display:flex;align-items:flex-end;overflow:hidden;border-radius:20px;padding:39px;background:#0b3f72;color:#fff;box-shadow:var(--shadow-lg)}
.hero-media{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%}
.hero-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.hero-card:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(100deg,rgba(5,27,49,.94) 0%,rgba(9,43,75,.83) 43%,rgba(11,63,114,.34) 72%,rgba(11,63,114,.08) 100%);pointer-events:none}
.hero-card:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(2,20,36,.03) 36%,rgba(2,20,36,.25));pointer-events:none}
.hero-content{position:relative;z-index:2;max-width:720px}
.hero .eyebrow{color:#cfe7fb}
.hero h1{max-width:690px;margin:10px 0 14px;font-size:clamp(37px,5.8vw,65px);font-weight:800;line-height:1.01;letter-spacing:-.052em;text-wrap:balance}
.hero p{max-width:585px;margin:0;color:#edf7ff;font-size:clamp(15px,1.7vw,18px);line-height:1.58}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.home-grid{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(290px,.68fr);gap:20px;align-items:start;padding:3px 0 34px}
.menu-card{padding:27px}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.section-heading h2{margin:5px 0 0;font-size:clamp(27px,4vw,38px);line-height:1.08;letter-spacing:-.04em}
.section-heading .eyebrow{color:var(--primary-2)}
.menu-date{color:var(--primary);font-size:14px;font-weight:760;text-align:right}
.menu-updated{margin-top:6px;justify-content:flex-end}
.dish-columns{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.dish-block{padding:18px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,#fff,#f9fcff)}
.dish-block h3{margin:0 0 8px;color:var(--primary);font-size:17px;font-weight:800}
.dish{padding:11px 0;border-top:1px dashed #d4e0ea;font-size:15px;line-height:1.42}
.dish:first-of-type{border-top:0}
.menu-empty{padding:27px;border:1px dashed #b9ccdc;border-radius:12px;background:#f7fbff;text-align:center}
.menu-empty strong{display:block;color:var(--primary);font-size:19px}
.menu-empty span{display:block;margin-top:6px;color:var(--muted);font-size:13px}
.price-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:10px;margin-top:15px}
.price-card{padding:15px;border:1px solid var(--line);border-radius:11px;background:#f6f9fc}
.price-card.primary{border-color:var(--primary);background:linear-gradient(135deg,var(--primary-2),var(--primary));color:#fff;box-shadow:0 10px 22px rgba(11,63,114,.16)}
.price-card span{display:block;font-size:10px;font-weight:800;letter-spacing:.075em;line-height:1.35;text-transform:uppercase;opacity:.76}
.price-card strong{display:block;margin-top:6px;font-size:24px;line-height:1;letter-spacing:-.035em}
.included{margin:15px 0 0;text-align:center;color:var(--muted);font-size:13px;line-height:1.45}
.included strong{color:var(--primary)}
.info-card{padding:22px;border-top:3px solid var(--primary)}
.info-card h2{margin:0 0 5px;font-size:22px;letter-spacing:-.025em}
.info-intro{margin:0 0 10px;color:var(--muted);font-size:13px;line-height:1.5}
.info-item{display:flex;gap:12px;padding:15px 0;border-top:1px solid var(--line)}
.info-item:first-of-type{border-top:0}
.info-item b{display:block;margin:1px 0 4px;font-size:14px}
.info-item p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.5}
.info-card .btn{width:100%;margin-top:10px}
.allergy-note{margin-top:13px;padding:13px;border:1px solid #c8dded;border-radius:12px;background:#f2f8fd;color:#3f5d75;font-size:12px;line-height:1.52}
.gallery{padding:4px 0 40px}
.gallery-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px}
.gallery-heading h2{margin:5px 0 0;font-size:clamp(27px,4vw,40px);line-height:1.08;letter-spacing:-.042em}
.gallery-heading .eyebrow{color:var(--primary-2)}
.gallery-heading p{max-width:510px;margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.gallery-grid{display:grid;grid-template-columns:1.45fr .8fr;gap:13px}
.gallery-grid figure{min-height:330px;margin:0;overflow:hidden;border-radius:11px;background:#dce8f2;box-shadow:var(--shadow)}
.gallery-grid figure:first-child{min-height:390px}
.gallery-grid picture,.gallery-grid img{display:block;width:100%;height:100%}
.gallery-grid img{object-fit:cover;transition:transform .45s ease}
.gallery-grid figure:hover img{transform:scale(1.018)}
@media(max-width:900px){.home-grid{grid-template-columns:1fr}.info-card{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.info-card h2,.info-intro,.info-card .btn,.allergy-note{grid-column:1/-1}}
@media(max-width:700px){
  .hero{padding:10px 0 17px}
  .hero-card{min-height:278px;padding:24px 20px;border-radius:11px}
  .hero-media img{object-position:60% 50%}
  .hero-card:before{background:linear-gradient(100deg,rgba(5,27,49,.94) 0%,rgba(11,63,114,.73) 68%,rgba(11,63,114,.27) 100%)}
  .hero h1{font-size:clamp(34px,10.6vw,46px)}
  .hero p{font-size:14px;line-height:1.52}
  .hero-actions{margin-top:19px}
  .hero-actions .btn{flex:1 1 148px;padding-inline:13px}
  .menu-card{padding:19px}
  .section-heading{align-items:flex-start;flex-direction:column;gap:8px}
  .menu-date{text-align:left}
  .menu-updated{justify-content:flex-start}
  .dish-columns,.price-grid{grid-template-columns:1fr}
  .info-card{display:block;padding:19px}
  .gallery-heading{align-items:flex-start;flex-direction:column;gap:8px}
  .gallery-grid{grid-template-columns:1fr}
  .gallery-grid figure,.gallery-grid figure:first-child{min-height:240px}
}
@media(prefers-reduced-motion:reduce){.gallery-grid img{transition:none}.gallery-grid figure:hover img{transform:none}}

/* Pantallas programadas de preparación y mantenimiento */
body.scheduled-screen-open{overflow:hidden}
.scheduled-screen[hidden]{display:none!important}
.scheduled-screen{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:24px;opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease}
.scheduled-screen.is-active{opacity:1;visibility:visible}
.scheduled-screen__veil{position:absolute;inset:0;background:rgba(5,18,31,.78);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.scheduled-screen__panel{position:relative;width:min(980px,100%);min-height:540px;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);overflow:hidden;border:1px solid rgba(255,255,255,.38);border-radius:28px;background:#fff;box-shadow:0 32px 90px rgba(0,18,38,.36);transform:translateY(18px) scale(.985);transition:transform .34s cubic-bezier(.2,.8,.2,1)}
.scheduled-screen.is-active .scheduled-screen__panel{transform:translateY(0) scale(1)}
.scheduled-screen__close{position:absolute;top:18px;right:18px;z-index:5;width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(11,63,114,.13);border-radius:50%;background:rgba(255,255,255,.92);color:#173d64;box-shadow:0 8px 20px rgba(11,63,114,.12);cursor:pointer;transition:transform .18s,background .18s}
.scheduled-screen__close:hover{transform:rotate(4deg) scale(1.04);background:#fff}
.scheduled-screen__close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.scheduled-screen__visual{position:relative;display:grid;place-items:center;overflow:hidden;padding:38px;background:linear-gradient(150deg,#0b2d4d,#103f6a)}
.scheduled-screen__visual:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(129,197,239,.18),transparent 68%);filter:blur(2px)}
.scheduled-illustration{position:relative;z-index:1;width:min(100%,470px);display:none}
.scheduled-illustration.is-current{display:block}
.scheduled-illustration svg{display:block;width:100%;height:auto;filter:drop-shadow(0 22px 38px rgba(0,15,30,.22))}
.scheduled-screen__copy{display:flex;flex-direction:column;justify-content:center;padding:62px 54px 48px;background:linear-gradient(180deg,#fff,#f7fbfe)}
.scheduled-screen__kicker{margin-bottom:12px;color:#145da0;font-size:11px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}
.scheduled-screen__copy h2{margin:0;color:#17212b;font-size:clamp(34px,4vw,50px);line-height:1.02;letter-spacing:-.045em}
.scheduled-screen__copy p{margin:19px 0 0;color:#56616b;font-size:15px;line-height:1.7}
.scheduled-screen__meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:25px 0 22px;padding-top:18px;border-top:1px solid #d9e4ee;color:#56616b;font-size:12px;font-weight:680}
.scheduled-screen__live{display:inline-flex;align-items:center;gap:8px}
.scheduled-screen__live i{width:8px;height:8px;border-radius:50%;background:#2f9e5b;box-shadow:0 0 0 5px rgba(47,158,91,.12)}
.scheduled-screen__enter{min-height:50px;border:0;border-radius:11px;background:linear-gradient(135deg,#145da0,#0b3f72);color:#fff;font:inherit;font-size:14px;font-weight:800;box-shadow:0 13px 28px rgba(11,63,114,.22);cursor:pointer;transition:transform .18s,box-shadow .18s}
.scheduled-screen__enter:hover{transform:translateY(-1px);box-shadow:0 17px 34px rgba(11,63,114,.27)}
.scene-mop{transform-origin:169px 194px;animation:sceneMop 2.8s ease-in-out infinite}
.scene-sparkles>*{transform-box:fill-box;transform-origin:center;animation:sceneSparkle 2.4s ease-in-out infinite}
.scene-sparkles>*:nth-child(2){animation-delay:.65s}.scene-sparkles>*:nth-child(3){animation-delay:1.1s}.scene-sparkles>*:nth-child(4){animation-delay:1.5s}
.scene-steam path{animation:sceneSteam 2.5s ease-in-out infinite}.scene-steam path:nth-child(2){animation-delay:.45s}.scene-steam path:nth-child(3){animation-delay:.9s}
.scene-coffee-stream{animation:sceneCoffee 1.8s ease-in-out infinite}.scene-tray{animation:sceneTray 3s ease-in-out infinite}.scene-sun-rays{animation:sceneGlow 3s ease-in-out infinite;transform-origin:86px 124px}
@keyframes sceneMop{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(7deg)}}
@keyframes sceneSparkle{0%,100%{opacity:.35;transform:scale(.72)}50%{opacity:1;transform:scale(1)}}
@keyframes sceneSteam{0%{opacity:0;transform:translateY(8px)}45%{opacity:1}100%{opacity:0;transform:translateY(-14px)}}
@keyframes sceneCoffee{0%,100%{opacity:.35;transform:scaleY(.7);transform-origin:392px 205px}50%{opacity:1;transform:scaleY(1)}}
@keyframes sceneTray{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes sceneGlow{0%,100%{opacity:.55;transform:scale(.95)}50%{opacity:1;transform:scale(1.04)}}
@media(max-width:760px){.scheduled-screen{padding:10px}.scheduled-screen__panel{min-height:0;max-height:calc(100dvh - 20px);grid-template-columns:1fr;overflow:auto;border-radius:20px}.scheduled-screen__visual{min-height:250px;padding:24px}.scheduled-illustration{width:min(78vw,350px)}.scheduled-screen__copy{padding:34px 25px 28px}.scheduled-screen__copy h2{font-size:36px}.scheduled-screen__copy p{font-size:14px}.scheduled-screen__meta{align-items:flex-start;flex-direction:column;margin:20px 0}.scheduled-screen__close{top:12px;right:12px}}
@media(max-width:430px){.scheduled-screen__visual{min-height:215px}.scheduled-screen__copy{padding:29px 20px 23px}.scheduled-screen__copy h2{font-size:31px}.scheduled-screen__meta{font-size:11px}}
@media(prefers-reduced-motion:reduce){.scheduled-screen,.scheduled-screen__panel,.scheduled-screen__close,.scheduled-screen__enter,.scene-mop,.scene-sparkles>*,.scene-steam path,.scene-coffee-stream,.scene-tray,.scene-sun-rays{animation:none!important;transition:none!important}}


/* Propuesta V40: ampliación visual de la galería sin alterar el resto de la portada */
.gallery-grid--expanded{grid-template-columns:1.18fr .82fr .82fr;grid-auto-rows:215px;gap:13px}
.gallery-grid--expanded figure,.gallery-grid--expanded figure:first-child{min-height:0;height:auto}
.gallery-grid--expanded .gallery-featured{grid-column:1/2;grid-row:1/3}
.gallery-grid--expanded .gallery-tall{grid-column:2/3;grid-row:1/3}
.gallery-grid--expanded .gallery-wide{grid-column:1/3;grid-row:3/5}
.gallery-grid--expanded figure:nth-child(3){grid-column:3;grid-row:1/2}
.gallery-grid--expanded figure:nth-child(4){grid-column:3;grid-row:2/4}
.gallery-grid--expanded figure:nth-child(6){grid-column:3;grid-row:4/5}
.gallery-grid--expanded img{object-position:center}
.gallery-grid--expanded .gallery-tall img{object-position:center 48%}
.gallery-grid--expanded figure:nth-child(4) img{object-position:center 48%}
.gallery-grid--expanded figure:nth-child(6) img{object-position:center 56%}
@media(max-width:900px){
  .gallery-grid--expanded{grid-template-columns:1fr 1fr;grid-auto-rows:250px}
  .gallery-grid--expanded .gallery-featured{grid-column:1/3;grid-row:1/3}
  .gallery-grid--expanded .gallery-tall{grid-column:1;grid-row:3/5}
  .gallery-grid--expanded figure:nth-child(3){grid-column:2;grid-row:3}
  .gallery-grid--expanded figure:nth-child(4){grid-column:2;grid-row:4/6}
  .gallery-grid--expanded .gallery-wide{grid-column:1;grid-row:5/7}
  .gallery-grid--expanded figure:nth-child(6){grid-column:2;grid-row:6/7}
}
@media(max-width:700px){
  /* Galería móvil: composición estable, sin saltos ni huecos. */
  .gallery-grid--expanded{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:13px}
  .gallery-grid--expanded figure,
  .gallery-grid--expanded figure:first-child,
  .gallery-grid--expanded .gallery-featured,
  .gallery-grid--expanded .gallery-tall,
  .gallery-grid--expanded .gallery-wide,
  .gallery-grid--expanded figure:nth-child(3),
  .gallery-grid--expanded figure:nth-child(6){grid-column:auto;grid-row:auto;min-height:0;height:220px}
  .gallery-grid--expanded .gallery-featured{grid-column:1/-1;height:260px}
  .gallery-grid--expanded figure:nth-child(4){display:none}
  .gallery-grid--expanded figure:nth-child(3){grid-column:1/-1}
  .gallery-grid--expanded .gallery-wide,
  .gallery-grid--expanded figure:nth-child(6){grid-column:1/-1;height:250px}
}
@media(max-width:430px){
  .gallery-grid--expanded .gallery-featured{height:230px}
  .gallery-grid--expanded .gallery-tall,
  .gallery-grid--expanded figure:nth-child(3){height:200px}
  .gallery-grid--expanded .gallery-wide,
  .gallery-grid--expanded figure:nth-child(6){height:230px}
}
