:root {
  --granate: #590c23;
  --granate-luz: #851b39;
  --suave: #fff4f2;
  --blanco: #ffffff;
  --oro: #ffb800;
  --granate: #590c23;
  --texto: #4a1423;
  --secundario: #78505a;
}
* { box-sizing: border-box; }
html { background: var(--suave); color-scheme: light; }
body {
  margin: 0;
  min-height: 100svh;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  font-family: "Nunito", "Segoe UI", sans-serif;
  color: var(--texto);
  background: linear-gradient(165deg, #fff 0%, #fffaf8 45%, #f9eeeb 100%);
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}
a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible { outline: 3px solid var(--granate-luz); outline-offset: 5px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10; transform: translateY(-160%); padding: 12px; background: var(--blanco); color: var(--granate); border-radius: 8px; }
.skip-link:focus { transform: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon-fill { fill: currentColor; stroke: none; }
.ambiente { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.foto-fondo {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.48), rgba(255,249,246,.85) 36%, rgba(255,249,246,.85) 64%, rgba(255,241,230,.45)), url("tradicion.webp") center / cover no-repeat;
  opacity: .88;
}
.onda { position: absolute; width: 65vw; height: 65vw; min-width: 420px; min-height: 420px; border-radius: 42% 58% 66% 34% / 49% 33% 67% 51%; background: radial-gradient(ellipse, rgba(221,129,65,.12), rgba(235,154,80,.04) 60%, transparent 73%); animation: agua 24s ease-in-out infinite alternate; }
.onda-uno { top: -25%; left: -35%; }
.onda-dos { bottom: -42%; right: -20%; animation-delay: -12s; }
.wrap { position: relative; width: 100%; max-width: 420px; margin: 0 auto; text-align: center; }
.marca { position: relative; width: 215px; height: 180px; margin: 0 auto; }
.luz-logo { position: absolute; inset: 16px 3px -2px; border-radius: 45% 55% 35% 65%; background: radial-gradient(ellipse at 31% 66%, rgba(89,12,35,.7), rgba(165,81,85,.25) 32%, rgba(255,194,100,.09) 57%, transparent 72%); filter: blur(14px); animation: luz 7s ease-in-out infinite; }
.logo-entrada { position: relative; width: 100%; height: 100%; display: grid; place-items: center; animation: bienvenida 1.15s cubic-bezier(.16,1,.3,1) both; }
.logo { width: 190px; height: auto; display: block; filter: drop-shadow(0 1px 1px rgba(38,57,87,.3)) drop-shadow(0 9px 12px rgba(217,146,9,.12)); animation: flotar 6s 1.15s ease-in-out infinite; }
.destello { position: absolute; width: 8px; height: 8px; background: var(--oro); clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%); opacity: .5; animation: chispa 6s ease-in-out infinite; }
.destello-uno { right: 4px; top: 56px; }
.destello-dos { left: 6px; bottom: 44px; width: 5px; height: 5px; animation-delay: -3s; }
.intro { margin: 7px 0 16px; }
h1 { margin: 0; font-size: clamp(27px, 7.7vw, 30px); font-weight: 900; line-height: 1.2; letter-spacing: -.7px; }
.intro p { margin: 5px 0 7px; color: var(--granate); font-size: 16px; font-weight: 800; }
.sedes { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 9px; font-size: 12px; font-weight: 700; color: var(--secundario); }
.sedes span { color: #ac7500; font-size: 10px; }
.acciones { display: flex; flex-direction: column; gap: 10px; }
.delivery-grupo { text-align: left; }
.delivery-toggle { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 72px; border-radius: 15px; color: var(--blanco); background: var(--granate); box-shadow: 0 6px 18px rgba(89,12,35,.14); cursor: pointer; list-style: none; }
.delivery-toggle::-webkit-details-marker { display: none; }
.delivery-toggle::marker { content: ""; }
.delivery-toggle > span:nth-child(2) { flex: 1; min-width: 0; }
.delivery-toggle strong { display: block; font-size: 14px; line-height: 1.3; font-weight: 900; }
.delivery-toggle small { display: block; font-size: 11px; margin-top: 4px; color: #f4dce3; }
.delivery-toggle:focus-visible { outline: 3px solid var(--granate-luz); outline-offset: 5px; }
.delivery-toggle:hover { background: var(--granate-luz); }
.chevron { width: 18px; height: 18px; color: var(--oro); transition: transform .2s; }
.delivery-grupo[open] .chevron { transform: rotate(180deg); }
.delivery-grupo[open] .delivery-toggle { border-radius: 15px 15px 8px 8px; }
.delivery-lista { display: flex; flex-direction: column; gap: 8px; padding: 10px 0 0; }
.delivery-grupo:not([open]) .delivery-lista { display: none; }
.delivery-grupo[open] .delivery-lista { animation: desplegar .24s ease-out both; }
.delivery-lista .btn-delivery { color: var(--granate); background: rgba(255,255,255,.97); border-color: #e4cbd1; box-shadow: none; }
.delivery-lista .btn-delivery small { color: var(--secundario); }
.delivery-lista .icono-pedido { color: var(--granate); background: #fff0d0; }
.delivery-lista .accion-pedido { color: var(--granate); }
.delivery-lista .btn-delivery::after { background: linear-gradient(110deg, transparent, rgba(255,184,0,.10), transparent); }
.delivery-titulo { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 3px; }
.delivery-titulo h2 { margin: 0; font-size: 14px; font-weight: 800; }
.linea { height: 1px; background: #bccfe7; width: 38px; }
.btn { position: relative; isolation: isolate; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px; text-decoration: none; text-align: left; border-radius: 15px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.985); }
.btn-delivery { color: var(--blanco); background: var(--granate); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 5px 13px rgba(89,12,35,.12); }
.btn-delivery::after { content: ""; position: absolute; inset: -20% auto -20% -60%; width: 40%; pointer-events: none; z-index: -1; background: linear-gradient(110deg, transparent, rgba(255,195,60,.16), transparent); transform: skewX(-18deg); animation: reflejo 8s ease-in-out infinite; }
.btn-delivery:nth-of-type(2)::after { animation-delay: 1.3s; }
.btn-delivery:nth-of-type(3)::after { animation-delay: 2.6s; }
.icono-pedido { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,184,0,.13); color: var(--oro); flex: 0 0 auto; }
.btn-texto { flex: 1; min-width: 0; }
.btn-texto strong { display: block; font-size: 17px; font-weight: 900; line-height: 1.2; }
.btn-texto small { display: block; font-size: 12px; margin-top: 3px; font-weight: 600; line-height: 1.4; }
.btn-delivery small { color: #f4dce3; font-variant-numeric: tabular-nums; letter-spacing: .6px; }
.accion-pedido { display: flex; align-items: center; gap: 6px; color: var(--oro); font-size: 12px; font-weight: 800; }
.accion-pedido .icon { width: 17px; height: 17px; }
.btn-ubicacion { margin-top: 6px; background: rgba(255,255,255,.94); color: var(--granate); border: 1px solid #e4cbd1; box-shadow: 0 4px 12px rgba(89,12,35,.04); }
.btn-ubicacion .btn-texto strong { font-size: 14px; }
.btn-ubicacion .btn-texto small { font-size: 11px; color: var(--secundario); }
.flecha { width: 18px; height: 18px; }
.btn-resena { flex-direction: column; gap: 7px; align-items: center; justify-content: center; min-height: 64px; padding: 12px; color: var(--granate); background: rgba(255,255,255,.86); border: 1px solid #e4cbd1; }
.resena-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.google-logo { width: 17px; height: 17px; }
.estrellas { display: flex; gap: 4px; }
.estrellas svg { width: 14px; height: 14px; fill: #c68d09; stroke: #c68d09; stroke-width: .3; animation: estrellas 8s ease-in-out infinite; }
.estrellas svg:nth-child(2) { animation-delay: .15s; }
.estrellas svg:nth-child(3) { animation-delay: .3s; }
.estrellas svg:nth-child(4) { animation-delay: .45s; }
.estrellas svg:nth-child(5) { animation-delay: .6s; }
.redes { display: flex; justify-content: center; gap: 27px; margin-top: 18px; }
.red { display: flex; align-items: center; flex-direction: column; gap: 7px; text-decoration: none; color: var(--granate); font-size: 11px; font-weight: 800; border-radius: 10px; min-width: 58px; }
.icono { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255,255,255,.9); border: 1px solid #dfc3ca; border-radius: 50%; transition: border-color .2s, box-shadow .2s; }
.red:hover .icono { border-color: var(--oro); box-shadow: 0 0 0 4px rgba(255,184,0,.12); }
.red .icon { width: 20px; height: 20px; }
footer { margin-top: 16px; color: var(--secundario); font-size: 10px; font-weight: 600; }
footer a { display: inline-flex; align-items: center; min-height: 28px; color: var(--granate); font-weight: 900; text-underline-offset: 3px; }
@keyframes bienvenida { 0% { transform: translateY(12px) scale(.85); } 65% { transform: translateY(-3px) scale(1.025); } 100% { transform: none; } }
@keyframes desplegar { from { transform: translateY(-7px); opacity: .65; } to { transform: none; opacity: 1; } }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes luz { 0%, 100% { opacity: .8; transform: scale(.98); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes chispa { 0%, 100% { opacity: .3; transform: scale(.85); } 50% { opacity: .75; transform: scale(1.1); } }
@keyframes agua { to { transform: translate(6%, 5%) rotate(15deg); } }
@keyframes reflejo { 0%, 68% { transform: translateX(0) skewX(-18deg); } 90%, 100% { transform: translateX(460%) skewX(-18deg); } }
@keyframes estrellas { 0%, 70%, 100% { opacity: .8; } 85% { opacity: 1; } }
@media (min-width: 700px) {
  body { padding-top: 28px; }
  .wrap { padding: 16px 27px 20px; max-width: 465px; background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.95); border-radius: 28px; box-shadow: 0 18px 65px rgba(89,12,35,.09); }
  .foto-fondo { background-size: auto 100%; }
}
@media (max-width: 350px) {
  body { padding-inline: 14px; padding-top: 14px; }
  .marca { width: 211px; height: 175px; }
  .logo { width: 184px; }
  .intro { margin-bottom: 18px; }
  .btn { padding-inline: 13px; gap: 10px; }
  .btn-texto strong { font-size: 16px; }
  .accion-pedido { font-size: 11px; }
  .btn-ubicacion .btn-texto small { font-size: 10px; }
  .delivery-toggle { gap: 9px; padding-inline: 13px; }
  .delivery-toggle strong { font-size: 12px; }
}
@media (max-width: 699px) {
  .foto-fondo {
    background-image: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.98) 27%, rgba(255,250,246,.82) 49%, rgba(255,247,240,.35) 100%), url("fondo-movil.webp");
    background-size: cover, auto 72%;
    background-position: center, center bottom;
    background-repeat: no-repeat;
    opacity: 1;
  }
  .redes { padding: 10px 4px; border-radius: 18px; background: rgba(255,255,255,.93); }
  footer { display: inline-block; padding: 0 14px; border-radius: 20px; background: rgba(255,255,255,.93); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .logo-entrada, .logo { transform: none; }
}
