:root{
  --azul:#0038C8; --azul-hondo:#001A66; --rojo:#E8102C; --oro:#FFCC00;
  --papel:#FFFFFF; --hueso:#F3F5FA; --tinta:#14182B; --gris:#3A4060; --linea:#CBD3E6; --wa:#128C3E;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
html{scroll-padding-top:calc(env(safe-area-inset-top,0px) + 80px);scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--papel);color:var(--tinta);font-family:"Barlow",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:1.0625rem;line-height:1.55}
img{max-width:100%;display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--oro);outline-offset:3px;border-radius:4px}
.wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 1.25rem}
.display{font-family:"Anton",Impact,"Arial Narrow",sans-serif;font-weight:400;letter-spacing:.01em;line-height:.95;margin:0;text-transform:uppercase}
.script{font-family:"Kaushan Script","Brush Script MT",cursive;font-weight:400}
.ico{width:22px;height:22px;flex:none}

/* Aviso superior */
.notice{font-weight:600;text-align:center;padding:.6rem 0}
.notice .wrap{display:flex;flex-wrap:wrap;gap:.4rem 1rem;justify-content:center;align-items:center}
.notice a{font-weight:700;text-underline-offset:3px}
.notice-oro{background:var(--oro);color:var(--azul-hondo)}
.notice-rojo{background:var(--rojo);color:#fff}
.notice-azul{background:var(--azul);color:#fff}

/* Encabezado */
header.top{position:sticky;top:0;z-index:30;background:var(--azul-hondo);color:#fff;border-bottom:4px solid var(--rojo)}
header.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:68px}
.brand{display:flex;align-items:center;gap:.65rem;text-decoration:none}
.brand img{width:52px;height:52px;border-radius:50%;background:#fff;object-fit:cover}
.brand span{font-family:"Anton",Impact,sans-serif;font-size:1.35rem;letter-spacing:.03em}
nav.links{display:flex;gap:1.4rem}
nav.links a{text-decoration:none;font-weight:600;opacity:.85}
nav.links a:hover{opacity:1;text-decoration:underline;text-underline-offset:4px}
@media (max-width:860px){nav.links{display:none}}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:48px;padding:.7rem 1.25rem;border-radius:999px;font-weight:700;font-size:1rem;text-decoration:none;border:0;cursor:pointer;font-family:inherit;line-height:1.2}
.btn-wa{background:var(--wa);color:#fff}
.btn-wa:hover{background:#13733a}
.btn-oro{background:var(--oro);color:var(--azul-hondo)}
.btn-oro:hover{background:#ffd440}
.btn-blue{background:var(--azul);color:#fff}
.btn-ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.6)}
.btn-ghost:hover{border-color:#fff}
.btn.wide{width:100%}
header .btn{min-height:44px;padding:.5rem 1rem}
@media (max-width:420px){header .btn .lbl-long{display:none}}

/* Portada */
.hero{background:var(--azul);color:#fff;position:relative;overflow:hidden}
.hero{padding-bottom:0}
.hero-flag{position:relative;height:60px;border-top:5px solid #fff;background:linear-gradient(to bottom,#002A8F 0 20%,#fff 20% 40%,#002A8F 40% 60%,#fff 60% 80%,#002A8F 80% 100%)}
.hero-flag .tri{position:absolute;left:0;top:0;height:100%;width:104px}
.hero-flag .star{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:34px;height:34px}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:2.5rem;align-items:center;padding-top:3.5rem;padding-bottom:4.5rem}
.status{display:inline-flex;align-items:center;gap:.5rem;margin:0 0 1rem;font-weight:700;background:rgba(255,255,255,.12);padding:.3rem .8rem;border-radius:999px}
.status span{width:10px;height:10px;border-radius:50%}
.status.is-open span{background:#4BE28A}
.status.is-closed span{background:#FF8C95}
.hero h1{font-size:clamp(3.4rem,9vw,7.2rem);color:#fff}
.hero h1 .l2{display:block;color:var(--oro)}
.hero .script{display:inline-block;box-shadow:4px 4px 0 var(--azul-hondo);font-size:clamp(1.5rem,3.4vw,2.3rem);color:#fff;background:var(--rojo);padding:.15rem 1rem .35rem;transform:rotate(-3deg);margin:1rem 0 1.4rem;border-radius:4px}
.hero p.lede{font-size:1.2rem;max-width:36ch;margin:0 0 1.8rem;color:#fff}
.hero .ctas{display:flex;flex-wrap:wrap;gap:.8rem}
.hero-photo{position:relative}
.hero-photo .main{border-radius:20px;border:6px solid #fff;transform:rotate(2deg);box-shadow:0 30px 60px -20px rgba(0,0,0,.55);aspect-ratio:4/4.4;object-fit:cover;width:100%}
.hero-photo .badge{position:absolute;left:-22px;bottom:-26px;width:150px;height:150px;border-radius:50%;background:#fff;border:5px solid var(--oro);transform:rotate(-8deg);object-fit:cover}
.hero-photo .sticker{position:absolute;right:-8px;top:-14px;max-width:10ch;background:var(--oro);color:var(--azul-hondo);font-family:"Anton",Impact,sans-serif;font-size:1.25rem;padding:.55rem .9rem;border-radius:6px;transform:rotate(6deg);line-height:1.05;text-transform:uppercase}
@media (max-width:860px){
  .hero .wrap{grid-template-columns:1fr;padding-top:2.5rem}
  .hero-photo{max-width:460px;width:100%;margin:1rem auto 1.5rem}
  .hero-photo .badge{width:110px;height:110px;left:-6px}
  .hero-photo .sticker{right:0}
}

/* Promoción */
.promo{background:var(--rojo);color:#fff;padding:3rem 0}
.promo-in{display:flex;align-items:center;gap:2rem}
.promo img{width:220px;aspect-ratio:1;object-fit:cover;border-radius:16px;border:5px solid #fff;transform:rotate(-3deg);flex:none}
.promo h2{font-size:clamp(2.2rem,5vw,3.4rem);color:var(--oro)}
.promo p{margin:.6rem 0 0;font-size:1.15rem;max-width:52ch}
.promo .until{font-size:.95rem;opacity:.9}
@media (max-width:640px){.promo-in{flex-direction:column;align-items:flex-start}.promo img{width:160px}}

/* Secciones */
section{padding:4.5rem 0}
.sec-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:1rem 2rem;margin-bottom:2.2rem}
.sec-head h2{font-size:clamp(2.4rem,5.5vw,3.8rem);color:var(--azul)}
.sec-head p{max-width:42ch;margin:0;color:var(--gris);font-weight:500}
.empty{font-size:1.15rem;color:var(--gris)}

/* Menú */
.board{display:grid;grid-template-columns:1fr 1fr;gap:0 3rem}
@media (max-width:900px){.board{grid-template-columns:1fr}}
.item{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:1rem;padding:1.15rem 0;border-bottom:2px dashed var(--linea)}
.item.has-img{grid-template-columns:72px 1fr auto auto}
.item .thumb{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid var(--rojo)}
.item h3{margin:0;font-family:"Anton",Impact,sans-serif;font-weight:400;font-size:1.55rem;text-transform:uppercase;letter-spacing:.01em;line-height:1.1}
.item .txt p{margin:.25rem 0 0;color:var(--gris);font-size:.98rem;line-height:1.4}
.item .tag{display:inline-block;margin-left:.3rem;vertical-align:middle;background:var(--rojo);color:#fff;font-family:"Barlow",sans-serif;font-size:.8rem;font-weight:700;padding:.15rem .5rem;border-radius:4px;transform:rotate(-4deg);text-transform:none}
.price{font-family:"Anton",Impact,sans-serif;font-size:1.7rem;background:var(--oro);color:#000E3D;box-shadow:3px 3px 0 var(--rojo);padding:.15rem .7rem;border-radius:8px;min-width:4.6ch;text-align:center}
.qty{display:flex;align-items:center;gap:.35rem}
.qty button{width:44px;height:44px;border-radius:50%;border:2px solid var(--azul);background:transparent;color:var(--azul);font-size:1.4rem;font-weight:700;cursor:pointer;line-height:1;font-family:inherit}
.qty button.add{background:var(--azul);color:#fff}
.qty button:disabled{opacity:.3;cursor:default}
.qty output{min-width:1.6ch;text-align:center;font-weight:700;font-size:1.15rem}
.item.agotado h3,.item.agotado .price,.item.agotado .thumb{opacity:.45}
.item.agotado .price{text-decoration:line-through}
.soldout{font-weight:700;color:var(--rojo);border:2px solid var(--rojo);border-radius:999px;padding:.25rem .8rem;font-size:.9rem}
@media (max-width:520px){
  .item{grid-template-columns:1fr auto;row-gap:.6rem}
  .item.has-img{grid-template-columns:60px 1fr auto}
  .item .thumb{width:60px;height:60px}
  .item .qty,.item .soldout{grid-column:1/-1;justify-self:end}
}

/* Incluye */
#incluye{background:var(--azul-hondo);color:#fff}
#incluye .sec-head h2{color:var(--oro)}
#incluye .sec-head p{color:#E1E7FA}
.plates{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
@media (max-width:860px){.plates{grid-template-columns:repeat(2,1fr)}}
figure.plate{margin:0;min-width:0}
.plate .ph{aspect-ratio:1;border-radius:50%;overflow:hidden;border:5px solid #fff;background:#21306A}
.plate .ph img{width:100%;height:100%;object-fit:cover}
.plate .ph-icon{display:grid;place-items:center;background:var(--rojo)}
.plate .ph-icon svg{width:46%;height:46%}
.plate figcaption{text-align:center;margin-top:.8rem;font-family:"Anton",Impact,sans-serif;font-size:1.3rem;text-transform:uppercase;letter-spacing:.02em}
.plate figcaption small{display:block;font-family:"Barlow",sans-serif;font-size:.9rem;text-transform:none;color:#E1E7FA;letter-spacing:0}
.extra{margin-top:2.4rem;display:flex;align-items:center;gap:1rem;background:var(--rojo);border-radius:14px;padding:1.1rem 1.4rem;max-width:620px}
.extra svg{width:40px;height:40px;flex:none}
.extra strong{font-size:1.15rem}

/* Nosotros */
.about{display:grid;grid-template-columns:1.2fr .8fr;gap:3rem;align-items:center}
.about h2{font-size:clamp(2.4rem,5.5vw,3.8rem);color:var(--azul);margin-bottom:1.2rem}
.about-text{font-size:1.15rem;max-width:60ch;line-height:1.7}
.about img{border-radius:20px;aspect-ratio:4/5;object-fit:cover;width:100%;border:6px solid var(--oro);transform:rotate(-2deg)}
@media (max-width:820px){.about{grid-template-columns:1fr}.about img{max-width:380px}}

/* Galería */
#galeria{background:var(--hueso)}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}
.gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px}

/* Horario y ubicación */
.info{display:grid;grid-template-columns:1fr 1fr;gap:3rem}
@media (max-width:820px){.info{grid-template-columns:1fr}}
.info h2{font-size:clamp(2.2rem,5vw,3.2rem);color:var(--azul);margin-bottom:1.2rem}
.hours{width:100%;max-width:440px;border-collapse:collapse}
.hours th,.hours td{padding:.6rem 0;border-bottom:1px solid var(--linea);text-align:left;font-weight:500}
.hours td{text-align:right}
.hours tr.today th,.hours tr.today td{font-weight:700;color:var(--azul)}
.hours tr.today span{background:var(--oro);color:var(--azul-hondo);font-size:.75rem;padding:.1rem .45rem;border-radius:4px;margin-left:.3rem}
.addr{font-size:1.2rem;margin:0 0 1rem}
.note{color:var(--gris);margin:1rem 0 0}
.modes{padding:0;margin:1.2rem 0 0;list-style:none;display:flex;flex-wrap:wrap;gap:.5rem}
.modes li{background:var(--hueso);border:2px solid var(--linea);border-radius:999px;padding:.35rem .9rem;font-weight:600}

/* Cómo pedir */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;counter-reset:s;list-style:none;padding:0;margin:0}
@media (max-width:820px){.steps{grid-template-columns:1fr}}
.steps li{counter-increment:s;padding:1.5rem;border:2px solid var(--linea);border-radius:16px}
.steps li::before{content:counter(s);font-family:"Anton",Impact,sans-serif;font-size:3rem;line-height:1;color:var(--rojo);display:block;margin-bottom:.4rem}
.steps h3{margin:0 0 .3rem;font-size:1.2rem}
.steps p{margin:0;color:var(--gris)}
.warn{margin-top:2rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.2rem;background:var(--oro);color:var(--azul-hondo);border-radius:16px;padding:1.4rem 1.6rem}
.warn .script{font-size:clamp(1.5rem,3.5vw,2.1rem);line-height:1.15}

/* Pie */
footer{background:var(--azul-hondo);color:#DDE3F5;padding:3rem 0 7rem;border-top:6px solid var(--rojo)}
footer>.wrap{display:flex;flex-wrap:wrap;gap:2rem;align-items:center;justify-content:space-between}
footer .big{font-family:"Anton",Impact,sans-serif;font-size:clamp(2rem,6vw,3.2rem);color:#fff;text-decoration:none;display:flex;align-items:center;gap:.8rem}
footer .big .ico{width:.9em;height:.9em;color:#25D366}
footer small{display:block;margin-top:.4rem;opacity:.85}
.socials{list-style:none;padding:0;margin:1rem 0 0;display:flex;gap:1rem;flex-wrap:wrap}
.socials a{font-weight:700;color:#fff;text-underline-offset:3px}
.foot-brand{display:flex;align-items:center;gap:.8rem}
.foot-brand img{border-radius:50%;background:#fff;object-fit:cover}
.foot-brand strong{color:#fff}
.copy{margin-top:2rem;font-size:.9rem;opacity:.7}

/* Barra de pedido */
.orderbar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--papel);border-top:3px solid var(--azul);box-shadow:0 -12px 30px rgba(6,27,82,.18);padding:.8rem 0 calc(.8rem + env(safe-area-inset-bottom,0px));transform:translateY(110%);visibility:hidden;transition:transform .25s ease,visibility .25s}
.orderbar.show{transform:none;visibility:visible}
.orderbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.orderbar .sum{line-height:1.25}
.orderbar .sum strong{font-family:"Anton",Impact,sans-serif;font-weight:400;font-size:1.6rem;display:block}
.orderbar .sum span{color:var(--gris);font-size:.95rem}

/* Ventana de pedido */
dialog#order-dialog{border:0;border-radius:20px;padding:0;width:min(520px,calc(100% - 1.5rem));max-height:calc(100% - 2rem);color:var(--tinta)}
dialog#order-dialog::backdrop{background:rgba(6,27,82,.6)}
#order-form{padding:1.4rem 1.4rem 1.2rem;display:grid;gap:.85rem}
.od-head{display:flex;justify-content:space-between;align-items:center}
.od-head h2{margin:0;font-family:"Anton",Impact,sans-serif;font-weight:400;font-size:2rem;text-transform:uppercase;color:var(--azul)}
.x{width:44px;height:44px;border-radius:50%;border:0;background:var(--hueso);font-size:1.6rem;cursor:pointer;color:var(--tinta)}
.od-lines{list-style:none;margin:0;padding:.8rem 1rem;background:var(--hueso);border-radius:12px}
.od-lines li{display:flex;justify-content:space-between;gap:1rem;padding:.2rem 0}
.od-total{margin:0;text-align:right;font-size:1.1rem}
.od-total strong{font-family:"Anton",Impact,sans-serif;font-weight:400;font-size:1.5rem}
#order-form label{display:grid;gap:.3rem;font-weight:600;font-size:.95rem}
#order-form input:not([type=radio]),#order-form textarea{font:inherit;font-weight:400;padding:.7rem .8rem;border:2px solid var(--linea);border-radius:10px;width:100%;min-height:48px;background:#fff;color:var(--tinta)}
#order-form input:focus,#order-form textarea:focus{border-color:var(--azul);outline:none}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.modes-pick{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.4rem 1.2rem}
.modes-pick legend{font-weight:600;font-size:.95rem;padding:0;margin-bottom:.3rem}
#order-form label.radio{display:flex;align-items:center;gap:.5rem;font-weight:500;min-height:44px}
#order-form label.radio input{width:20px;height:20px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.od-error{margin:0;color:#B3121F;font-weight:600;min-height:0}
.od-error:empty{display:none}
.od-help{margin:0;text-align:center;color:var(--gris);font-size:.9rem}

/* Modo oscuro */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){--papel:#0E1630;--hueso:#16214A;--tinta:#EEF1FA;--gris:#B4BBD2;--linea:#2A3766}
  :root:not([data-theme="light"]) .sec-head h2,:root:not([data-theme="light"]) .about h2,:root:not([data-theme="light"]) .info h2,:root:not([data-theme="light"]) .od-head h2{color:#fff}
  :root:not([data-theme="light"]) .qty button{border-color:#8FA7F0;color:#C9D5FA}
  :root:not([data-theme="light"]) .qty button.add{background:#3C5FCB;border-color:#3C5FCB;color:#fff}
  :root:not([data-theme="light"]) .hours tr.today th,:root:not([data-theme="light"]) .hours tr.today td{color:var(--oro)}
  :root:not([data-theme="light"]) #order-form input:not([type=radio]),:root:not([data-theme="light"]) #order-form textarea{background:#0B1228}
  :root:not([data-theme="light"]) dialog#order-dialog{background:var(--papel)}
}
:root[data-theme="dark"]{--papel:#0E1630;--hueso:#16214A;--tinta:#EEF1FA;--gris:#B4BBD2;--linea:#2A3766}

/* Pedido recibido */
.od-done{padding:2rem 1.5rem 1.5rem;text-align:center;display:grid;gap:.6rem;justify-items:center}
.od-done[hidden]{display:none}
.od-check{width:72px;height:72px;border-radius:50%;background:var(--wa);color:#fff;display:grid;place-items:center}
.od-check svg{width:40px;height:40px}
.od-done h2{margin:0;line-height:1;font-family:"Anton",Impact,sans-serif;font-weight:400;font-size:2.2rem;text-transform:uppercase;color:var(--azul)}
.od-num{margin:0;font-family:"Anton",Impact,sans-serif;font-size:2.6rem;line-height:1;color:var(--rojo)}
.od-done p{margin:0;max-width:34ch}
.od-done .btn{margin-top:.6rem}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .od-done h2{color:#fff}}

/* Aviso de pedidos pausados */
@keyframes str-pulse{
  0%,100%{background:var(--rojo);box-shadow:0 0 0 0 rgba(232,16,44,.55)}
  50%{background:#B00020;box-shadow:0 0 0 14px rgba(232,16,44,0)}
}
.closed-alert{display:flex;align-items:center;justify-content:center;gap:1rem;text-align:center;background:var(--rojo);color:#fff;border:4px solid #fff;outline:4px solid var(--rojo);border-radius:18px;padding:1.6rem 2rem;margin:0 auto 2.4rem;max-width:760px;animation:str-pulse 1.4s ease-in-out infinite}
.closed-alert svg{width:56px;height:56px;flex:none;color:var(--oro)}
.closed-alert p{margin:0;font-family:"Anton",Impact,sans-serif;font-size:clamp(1.5rem,3.6vw,2.4rem);line-height:1.15;text-transform:uppercase;letter-spacing:.01em}
@media (max-width:520px){.closed-alert{flex-direction:column;padding:1.4rem 1.2rem}}
.closed-overlay{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:1.25rem;background:rgba(0,26,102,.72)}
.closed-box{width:min(560px,100%);text-align:center;color:#fff;border:5px solid #fff;border-radius:22px;padding:2.2rem 1.6rem 1.8rem;display:grid;justify-items:center;gap:.8rem;animation:str-pulse 1.4s ease-in-out infinite}
.closed-box svg{width:72px;height:72px;color:var(--oro)}
.closed-box h2{margin:0;font-family:"Anton",Impact,sans-serif;font-weight:400;font-size:clamp(2.4rem,7vw,3.4rem);line-height:1;text-transform:uppercase;color:var(--oro)}
.closed-box p{margin:0;font-family:"Anton",Impact,sans-serif;font-size:clamp(1.6rem,5vw,2.3rem);line-height:1.15;text-transform:uppercase}
.closed-box .btn{margin-top:.6rem}
@media (prefers-reduced-motion: reduce){.closed-alert,.closed-box{animation:none}}
