/* =================================================================
   WILLIAM'S · Centro Histórico de Mazatlán
   Sistema visual tomado del menú impreso: azul cobalto, tinta navy
   del logo, rosa neón del local y el patrón de cuadros.
   ================================================================= */

:root {
    /* Color */
    --cobalto: oklch(0.53 0.235 263);         /* #175af0 — azul del menú */
    --cobalto-hondo: oklch(0.4 0.2 264);       /* #0935b1 */
    --cobalto-claro: oklch(0.93 0.04 262);
    --tinta: oklch(0.24 0.11 268);             /* #0a1652 — navy del logo */
    --tinta-suave: oklch(0.46 0.04 265);       /* texto secundario, 7:1 sobre blanco */
    --niebla: oklch(0.97 0.012 262);           /* superficie alterna */
    --linea: oklch(0.9 0.025 262);
    --blanco: #fff;
    --rosa: oklch(0.68 0.24 355);              /* neón del local */
    --rosa-hondo: oklch(0.52 0.21 355);        /* rosa para texto sobre blanco */
    --rosa-suave: oklch(0.94 0.045 350);
    --sol: oklch(0.9 0.17 98);                 /* destellos */
    --whatsapp: oklch(0.63 0.17 150);
    --whatsapp-hondo: oklch(0.45 0.13 150);

    /* Tipografía */
    --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
    --f-texto: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --t-xs: 0.8125rem;
    --t-sm: 0.9375rem;
    --t-base: 1.0625rem;
    --t-lg: 1.25rem;
    --t-xl: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
    --t-2xl: clamp(1.9rem, 1.35rem + 2.4vw, 3.1rem);
    --t-3xl: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem);
    --t-mega: clamp(3.1rem, 1.6rem + 7vw, 6rem);

    /* Espacio y forma */
    --gutter: clamp(1rem, 0.6rem + 2vw, 2.25rem);
    --seccion: clamp(4rem, 2.8rem + 5vw, 7.5rem);
    --ancho: 1200px;
    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 28px;
    --sombra: 0 1px 2px oklch(0.24 0.11 268 / 0.06), 0 8px 24px -8px oklch(0.24 0.11 268 / 0.18);
    --sombra-alta: 0 2px 4px oklch(0.24 0.11 268 / 0.08), 0 24px 48px -16px oklch(0.24 0.11 268 / 0.35);

    /* Movimiento */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

    /* Capas */
    --z-header: 100;
    --z-barra: 150;
    --z-aviso: 300;

    --alto-header: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--alto-header) + 16px); }
body {
    font-family: var(--f-texto);
    font-size: var(--t-base);
    line-height: 1.6;
    color: var(--tinta);
    background: var(--blanco);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-wrap: balance;
    font-stretch: 88%;
}
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rosa); color: var(--tinta); }

.solo-lectores {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.saltar {
    position: absolute; left: 1rem; top: -4rem; z-index: calc(var(--z-header) + 1);
    background: var(--tinta); color: var(--blanco); padding: .75rem 1rem; border-radius: var(--r-sm);
    font-weight: 700; text-decoration: none; transition: top .2s var(--ease);
}
.saltar:focus { top: 1rem; }

.contenedor { width: min(100% - 2 * var(--gutter), var(--ancho)); margin-inline: auto; }
.seccion { padding-block: var(--seccion); }
.seccion-niebla { background: var(--niebla); }

/* ---------- Botones ---------- */
.btn {
    --btn-bg: var(--cobalto);
    --btn-color: var(--blanco);
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    min-height: 52px; padding: .8em 1.5em;
    border: 2px solid var(--btn-bg); border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-color);
    font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; font-stretch: 95%;
    letter-spacing: -0.005em; line-height: 1.1; text-decoration: none; text-align: center;
    transition: transform .35s var(--ease), background-color .2s, color .2s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px oklch(0.24 0.11 268 / 0.55); }
.btn:active { transform: translateY(0); transition-duration: .08s; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn i { font-size: 1.05em; }
.btn-blanco { --btn-bg: var(--blanco); --btn-color: var(--tinta); }
.btn-tinta { --btn-bg: var(--tinta); --btn-color: var(--blanco); }
.btn-rosa { --btn-bg: var(--rosa); --btn-color: var(--tinta); }
.btn-whatsapp { --btn-bg: var(--whatsapp-hondo); --btn-color: var(--blanco); }
.btn-contorno { background: transparent; color: var(--btn-bg); }
.btn-contorno.btn-blanco { color: var(--blanco); }
.btn-contorno:hover { background: var(--btn-bg); color: var(--btn-color); }
.btn-ancho { width: 100%; }
.btn-chico { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }

.enlace-flecha {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--f-display); font-weight: 700; font-stretch: 95%;
    color: var(--cobalto); text-decoration: none; font-size: 1.0625rem;
}
.enlace-flecha i { transition: transform .3s var(--ease); }
.enlace-flecha:hover i { transform: translateX(4px); }
.enlace-flecha:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Motivos de marca ---------- */
/* Banda de cuadros redondeados, como el borde del menú impreso */
.banda-cuadros {
    --c-fondo: var(--cobalto);
    --c-cuadro: var(--blanco);
    position: relative; height: 44px; background: var(--c-fondo); overflow: hidden;
}
.banda-cuadros::after {
    content: ""; position: absolute; inset: 0; background: var(--c-cuadro);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Crect x='3' y='3' width='16' height='16' rx='4'/%3E%3Crect x='25' y='25' width='16' height='16' rx='4'/%3E%3C/svg%3E") 0 0 / 44px 44px repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Crect x='3' y='3' width='16' height='16' rx='4'/%3E%3Crect x='25' y='25' width='16' height='16' rx='4'/%3E%3C/svg%3E") 0 0 / 44px 44px repeat;
}
.banda-cuadros.invertida { --c-fondo: var(--blanco); --c-cuadro: var(--cobalto); }
.banda-cuadros.tinta { --c-fondo: var(--tinta); --c-cuadro: var(--rosa); }

/* Destello de cuatro puntas del logo */
.destello {
    display: inline-block; width: 1em; aspect-ratio: 1; background: currentColor; flex: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.2 3.8 10.6 12 12-8.2 1.4-11.1 4.8-12 12-.9-7.2-3.8-10.6-12-12 8.2-1.4 11.1-4.8 12-12z'/%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 0c.9 7.2 3.8 10.6 12 12-8.2 1.4-11.1 4.8-12 12-.9-7.2-3.8-10.6-12-12 8.2-1.4 11.1-4.8 12-12z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Fotos tipo estampa: borde blanco y un giro leve */
.estampa {
    border: clamp(5px, 0.8vw, 8px) solid var(--blanco);
    border-radius: var(--r-md);
    box-shadow: var(--sombra-alta);
    background: var(--cobalto-claro);
    object-fit: cover;
}

.logo-blanco { filter: none; }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: var(--z-header);
    height: var(--alto-header);
    background: oklch(1 0 0 / 0.94);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
@supports (backdrop-filter: blur(1px)) {
    .header { background: oklch(1 0 0 / 0.82); backdrop-filter: saturate(1.4) blur(14px); }
}
.header.con-sombra { border-color: var(--linea); box-shadow: 0 6px 20px -14px oklch(0.24 0.11 268 / 0.35); }
.header-fila {
    height: 100%; display: flex; align-items: center; gap: 1rem;
    width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto;
}
.marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; margin-right: auto; }
.marca img { height: 54px; width: auto; }
.nav-principal { display: none; }
.nav-principal ul { list-style: none; padding: 0; display: flex; gap: .25rem; }
.nav-principal a {
    display: block; padding: .55rem .9rem; border-radius: 999px;
    font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; font-stretch: 95%;
    text-decoration: none; color: var(--tinta);
    transition: background-color .2s, color .2s;
}
.nav-principal a:hover { background: var(--niebla); }
.nav-principal a[aria-current="page"] { background: var(--tinta); color: var(--blanco); }
.nav-principal a.nav-talleres { position: relative; }
.nav-principal a.nav-talleres::after {
    content: "Nuevo"; position: absolute; top: -.35rem; right: -.4rem;
    font-size: .62rem; font-weight: 800; letter-spacing: .02em; line-height: 1;
    padding: .2rem .35rem; border-radius: 999px; background: var(--rosa); color: var(--tinta);
    font-stretch: 100%;
}
.nav-principal a.nav-talleres[aria-current="page"]::after { display: none; }
.header-acciones { display: flex; align-items: center; gap: .5rem; }
.boton-icono {
    position: relative; display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: var(--niebla); color: var(--tinta); font-size: 1.15rem; text-decoration: none;
    transition: background-color .2s;
}
.boton-icono:hover { background: var(--cobalto-claro); }
.contador-carrito {
    position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px;
    border-radius: 999px; background: var(--rosa); color: var(--tinta);
    font: 800 .75rem/22px var(--f-display); text-align: center;
    transform: scale(0); transition: transform .35s var(--ease-expo);
}
.contador-carrito.visible { transform: scale(1); }
.contador-carrito.brinco { animation: brinco .5s var(--ease-expo); }
@keyframes brinco { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.header .btn-pedir { display: none; }

@media (min-width: 960px) {
    .nav-principal { display: block; }
    .header .btn-pedir { display: inline-flex; }
    .header .abrir-menu { display: none; }
    .marca { margin-right: 0; }
    .nav-principal { margin-inline: auto; }
}

/* Menú móvil (dialog nativo) */
.menu-movil {
    width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0;
    border: 0; background: var(--cobalto); color: var(--blanco);
}
.menu-movil::backdrop { background: oklch(0.24 0.11 268 / 0.5); }
.menu-movil[open] { display: flex; flex-direction: column; animation: menu-entra .45s var(--ease-expo); }
@keyframes menu-entra { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.menu-movil-cabeza { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); }
.menu-movil-cabeza img { height: 54px; width: auto; }
.menu-movil .boton-icono { background: oklch(1 0 0 / 0.14); color: var(--blanco); }
.menu-movil nav { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); }
.menu-movil ul { list-style: none; padding: 0; }
.menu-movil li a {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .55rem 0; border-bottom: 1px solid oklch(1 0 0 / 0.18);
    font-family: var(--f-display); font-weight: 800; font-stretch: 80%;
    font-size: clamp(2.2rem, 1.6rem + 4vw, 3rem); line-height: 1.1; letter-spacing: -0.02em;
    text-decoration: none;
}
.menu-movil li a .destello { font-size: .5em; color: var(--sol); opacity: 0; transition: opacity .2s; }
.menu-movil li a[aria-current="page"] .destello, .menu-movil li a:hover .destello { opacity: 1; }
.menu-movil-pie { padding: 1.25rem var(--gutter) 2rem; display: grid; gap: .75rem; }

/* ---------- Titulares de sección ---------- */
.titular { font-size: var(--t-2xl); }
.titular-grande { font-size: var(--t-3xl); }
.titular em { font-style: normal; color: var(--cobalto); }
.bajada { font-size: var(--t-lg); line-height: 1.55; color: var(--tinta-suave); max-width: 58ch; }
.encabezado-seccion { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.encabezado-seccion > div { max-width: 44rem; }
.encabezado-seccion .bajada { margin-top: .9rem; }

/* =================================================================
   INICIO
   ================================================================= */
.hero {
    position: relative; background: var(--cobalto); color: var(--blanco); overflow: hidden;
}
.hero-rejilla {
    display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center;
    padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem) clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.ubicacion {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .45rem .9rem .45rem .7rem; border-radius: 999px;
    background: oklch(1 0 0 / 0.14); font-weight: 600; font-size: var(--t-sm);
}
.ubicacion .destello { color: var(--sol); font-size: .9rem; }
.hero h1 {
    font-size: var(--t-mega); font-stretch: 78%; line-height: .94; letter-spacing: -0.025em;
    margin-block: 1.1rem 1.25rem; max-width: 12ch;
}
.hero h1 em { font-style: normal; color: var(--sol); }
.hero-sub { font-size: var(--t-lg); line-height: 1.5; max-width: 40ch; color: oklch(0.96 0.02 262); }
.hero-acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.collage { position: relative; aspect-ratio: 1 / 1.02; width: min(100%, 540px); margin-inline: auto; }
.collage figure { position: absolute; }
.collage .estampa { width: 100%; height: 100%; }
.collage-a { width: 58%; aspect-ratio: 4/5; left: 2%; top: 4%; rotate: -5deg; z-index: 2; }
.collage-b { width: 48%; aspect-ratio: 1; right: 0; top: 0; rotate: 4deg; z-index: 1; }
.collage-c { width: 50%; aspect-ratio: 1; right: 6%; bottom: 0; rotate: -2deg; z-index: 3; }
.collage-sello {
    position: absolute; z-index: 4; left: 0; bottom: 2%; width: 34%; aspect-ratio: 1;
    border-radius: 50%; background: var(--blanco); display: grid; place-items: center;
    box-shadow: var(--sombra-alta); rotate: -8deg;
}
.collage-sello img { width: 82%; }
.collage .destello { position: absolute; color: var(--sol); z-index: 5; }
.collage .d1 { font-size: 2.6rem; top: -1%; left: 50%; }
.collage .d2 { font-size: 1.5rem; bottom: 36%; left: -3%; color: var(--blanco); }
.collage .d3 { font-size: 1.9rem; bottom: -2%; right: 1%; }

@media (min-width: 900px) {
    .hero-rejilla { grid-template-columns: 1.1fr 1fr; }
    .collage { margin-inline: 0 0; justify-self: end; }
}

/* Coreografía de entrada del hero */
@media (prefers-reduced-motion: no-preference) {
    .hero .entra { animation: sube .9s var(--ease-expo) both; }
    .hero .entra:nth-child(2) { animation-delay: .08s; }
    .hero .entra:nth-child(3) { animation-delay: .16s; }
    .hero .entra:nth-child(4) { animation-delay: .24s; }
    .collage figure, .collage-sello { animation: cae 1.1s var(--ease-expo) both; }
    .collage-a { animation-delay: .15s; }
    .collage-b { animation-delay: .3s; }
    .collage-c { animation-delay: .45s; }
    .collage-sello { animation-delay: .65s; }
    .collage .destello { animation: parpadeo 3.2s ease-in-out infinite; }
    .collage .d2 { animation-delay: 1s; }
    .collage .d3 { animation-delay: 2s; }
}
@keyframes sube { from { opacity: 0; transform: translateY(28px); } }
@keyframes cae { from { opacity: 0; transform: translateY(-40px) scale(1.06); rotate: 0deg; } }
@keyframes parpadeo { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.7) rotate(45deg); opacity: .75; } }

/* Tira de datos rápidos */
.datos-rapidos { border-bottom: 1px solid var(--linea); }
.datos-rapidos ul {
    list-style: none; padding: 1.25rem 0; display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; justify-content: center;
}
.datos-rapidos li { display: flex; align-items: center; gap: .65rem; font-weight: 600; font-size: var(--t-sm); }
.datos-rapidos i { color: var(--cobalto); font-size: 1.05rem; width: 1.2em; text-align: center; }
.datos-rapidos a { text-decoration: none; }
.datos-rapidos a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Lo más pedido */
.carril {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
    gap: clamp(.9rem, .6rem + 1vw, 1.5rem);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding-bottom: 1rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter); scrollbar-width: thin;
}
.carril > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .carril { grid-auto-columns: calc((100% - 4 * 1.5rem) / 5); margin-inline: 0; padding-inline: 0; } }
.favorito { display: block; text-decoration: none; color: inherit; }
.favorito-foto { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--cobalto-claro); }
.favorito-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.favorito:hover .favorito-foto img { transform: scale(1.05); }
.favorito-precio {
    position: absolute; left: .7rem; bottom: .7rem; padding: .3rem .7rem; border-radius: 999px;
    background: var(--blanco); font: 800 1rem/1.2 var(--f-display); box-shadow: var(--sombra);
}
.favorito h3 { font-size: 1.3rem; margin-top: .85rem; font-stretch: 90%; }
.favorito p { font-size: var(--t-sm); color: var(--tinta-suave); margin-top: .25rem; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.esqueleto { background: linear-gradient(100deg, var(--niebla) 30%, var(--cobalto-claro) 50%, var(--niebla) 70%) 0 0 / 200% 100%; animation: brillo 1.4s linear infinite; border-radius: var(--r-md); }
@keyframes brillo { to { background-position: -200% 0; } }

/* Banda de talleres (inicio) */
.banda-talleres { background: var(--tinta); color: var(--blanco); overflow: hidden; }
.banda-talleres-rejilla { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: center; }
.mosaico-talleres { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: .8rem; }
.mosaico-talleres img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.mosaico-talleres .alto { grid-row: span 2; aspect-ratio: 3/4.2; }
.mosaico-talleres .corto { aspect-ratio: 4/3.4; }
.banda-talleres h2 { font-size: var(--t-3xl); font-stretch: 80%; }
.banda-talleres h2 span { color: var(--rosa); display: block; }
.banda-talleres p { color: oklch(0.9 0.03 262); font-size: var(--t-lg); margin-top: 1.25rem; max-width: 46ch; }
.lista-palomitas { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: .6rem; }
.lista-palomitas li { display: flex; gap: .7rem; align-items: baseline; }
.lista-palomitas li .destello { color: var(--rosa); font-size: .8rem; translate: 0 .1rem; }
.banda-talleres .acciones { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .banda-talleres-rejilla { grid-template-columns: 1fr 1fr; } }

/* Eventos (inicio) */
.eventos-rejilla { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.evento-mini { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--blanco); isolation: isolate; aspect-ratio: 4/5; background: var(--tinta); }
.evento-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.evento-mini::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(0.2 0.1 268 / 0.88), oklch(0.2 0.1 268 / 0.05) 62%); }
.evento-mini:hover img { transform: scale(1.05); }
.evento-mini div { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; }
.evento-mini h3 { font-size: var(--t-xl); font-stretch: 85%; }
.evento-mini p { font-size: var(--t-sm); margin-top: .35rem; color: oklch(0.93 0.02 262); }

/* Promos del mes */
.promos-carril { grid-auto-columns: minmax(240px, 300px); }
.promo { border: 0; padding: 0; background: none; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/5; }
.promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.promo:hover img { transform: scale(1.03); }

/* Visítanos */
.visita-rejilla { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
.visita-foto { position: relative; max-width: 460px; }
.visita-foto img { width: 100%; aspect-ratio: 4/5; object-fit: cover; rotate: -2deg; }
.visita-foto .destello { position: absolute; color: var(--cobalto); font-size: 2.2rem; right: -1rem; top: -1rem; }
.direccion-grande { font: 700 var(--t-xl)/1.15 var(--f-display); font-stretch: 90%; color: var(--cobalto); margin-top: .9rem; max-width: 24ch; }
.visita-datos { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.visita-datos div { display: flex; gap: .9rem; align-items: flex-start; }
.visita-datos i { color: var(--cobalto); font-size: 1.15rem; margin-top: .25rem; width: 1.3em; text-align: center; }
.visita-datos strong { display: block; font-family: var(--f-display); font-stretch: 95%; }
.visita-datos a { text-decoration-color: var(--linea); text-underline-offset: 3px; }
.mapa { margin-top: 2rem; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--linea); aspect-ratio: 16/10; background: var(--niebla); }
.mapa iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .visita-rejilla { grid-template-columns: .85fr 1.15fr; } }

/* =================================================================
   MENÚ
   ================================================================= */
.menu-cabecera { background: var(--cobalto); color: var(--blanco); position: relative; overflow: hidden; }
.menu-cabecera-fila {
    display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem;
    padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.menu-cabecera h1 {
    font-size: clamp(4.2rem, 2rem + 12vw, 9rem); font-stretch: 75%; line-height: .8;
    letter-spacing: -0.03em; text-transform: uppercase;
}
.menu-cabecera p { margin-top: 1rem; font-size: var(--t-lg); max-width: 38ch; color: oklch(0.95 0.02 262); }
.menu-cabecera .mascota { width: clamp(110px, 18vw, 210px); rotate: 6deg; }
@media (prefers-reduced-motion: no-preference) {
    .menu-cabecera h1 { animation: sube .9s var(--ease-expo) both; }
    .menu-cabecera .mascota { animation: cae 1s .2s var(--ease-expo) both; }
}

.menu-nav {
    position: sticky; top: var(--alto-header); z-index: calc(var(--z-header) - 1);
    background: oklch(1 0 0 / 0.96); border-bottom: 1px solid var(--linea);
}
.menu-nav ul {
    list-style: none; display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none;
    padding: .7rem var(--gutter); max-width: 1320px; margin-inline: auto;
}
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a {
    display: block; white-space: nowrap; padding: .5rem 1rem; border-radius: 999px;
    border: 1.5px solid var(--linea); text-decoration: none;
    font: 600 .95rem/1.2 var(--f-display); font-stretch: 95%;
    transition: background-color .2s, color .2s, border-color .2s;
}
.menu-nav a:hover { border-color: var(--cobalto); }
.menu-nav a.activa { background: var(--cobalto); border-color: var(--cobalto); color: var(--blanco); }

.menu-cuerpo { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) 8rem; }
.menu-grupo + .menu-grupo { margin-top: clamp(3.5rem, 3rem + 3vw, 6rem); }
.menu-grupo > h2 { font-size: var(--t-3xl); font-stretch: 78%; display: flex; align-items: center; gap: .9rem; }
.menu-grupo > h2 .destello { color: var(--cobalto); font-size: .45em; }
.menu-categoria { margin-top: clamp(2rem, 1.6rem + 1.5vw, 3rem); scroll-margin-top: calc(var(--alto-header) + 70px); }
.menu-categoria h3 {
    display: inline-block; background: var(--cobalto); color: var(--blanco);
    padding: .5rem 1.3rem .55rem; border-radius: var(--r-sm);
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); font-weight: 600; font-stretch: 100%;
    letter-spacing: .06em; text-transform: uppercase; line-height: 1.1;
}
.menu-categoria .nota-categoria { margin-top: .6rem; color: var(--tinta-suave); font-size: var(--t-sm); }
.platillos {
    list-style: none; padding: 0; margin-top: 1.25rem;
    display: grid; gap: .25rem clamp(1.5rem, 1rem + 2vw, 3rem);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
}
.platillo {
    width: 100%; display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; align-items: center;
    padding: .85rem .6rem; margin-inline: -.6rem; border: 0; border-radius: var(--r-md);
    background: transparent; text-align: left; position: relative;
    transition: background-color .2s;
}
.platillo::after { content: ""; position: absolute; left: .6rem; right: .6rem; bottom: 0; border-bottom: 1px dashed var(--linea); }
.platillos li:last-child .platillo::after { display: none; }
@media (min-width: 941px) { .platillos li:nth-last-child(2):nth-child(odd) .platillo::after { display: none; } }
.platillo:hover { background: var(--niebla); }
.platillo:hover .platillo-mas { background: var(--cobalto); color: var(--blanco); transform: rotate(90deg); }
.platillo-foto { width: 84px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--cobalto-claro); }
.platillo-foto img { width: 100%; height: 100%; object-fit: cover; }
.sin-foto {
    width: 100%; height: 100%; display: grid; place-items: center; position: relative;
    background: var(--cobalto); color: var(--blanco);
    font: 800 2rem/1 var(--f-display); font-stretch: 80%;
}
.sin-foto::before {
    content: ""; position: absolute; inset: 0; background: oklch(1 0 0 / 0.12);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Crect x='2' y='2' width='10' height='10' rx='3'/%3E%3Crect x='16' y='16' width='10' height='10' rx='3'/%3E%3C/svg%3E") 0 0 / 28px 28px repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Crect x='2' y='2' width='10' height='10' rx='3'/%3E%3Crect x='16' y='16' width='10' height='10' rx='3'/%3E%3C/svg%3E") 0 0 / 28px 28px repeat;
}
.sin-foto span { position: relative; }
.sin-foto.bebida { background: var(--rosa-hondo); }
.platillo-texto { min-width: 0; }
.platillo-nombre { display: block; font: 700 1.15rem/1.2 var(--f-display); font-stretch: 92%; letter-spacing: -0.01em; }
.platillo-desc { display: block; margin-top: .2rem; font-size: var(--t-sm); line-height: 1.45; color: var(--tinta-suave);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.platillo-precio { display: block; margin-top: .35rem; font: 800 1.05rem/1.2 var(--f-display); color: var(--cobalto); font-stretch: 95%; }
.platillo-precio small { font-weight: 600; font-size: .78em; color: var(--tinta-suave); margin-right: .15em; }
.platillo-precio .sep { color: var(--linea); margin-inline: .35em; }
.platillo-mas {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--niebla); color: var(--cobalto); font-size: 1rem;
    transition: background-color .25s, color .25s, transform .4s var(--ease);
}
.platillo.agotado { cursor: not-allowed; opacity: .55; }
.platillo.agotado:hover { background: transparent; }
.etiqueta-agotado { display: inline-block; margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; background: var(--tinta); color: var(--blanco); font: 700 .7rem/1.4 var(--f-texto); vertical-align: middle; }
.aviso-carga { padding: 3rem 0; text-align: center; color: var(--tinta-suave); }

/* Barra flotante del pedido */
.barra-pedido {
    position: fixed; z-index: var(--z-barra); left: 50%; bottom: max(1rem, env(safe-area-inset-bottom));
    width: min(100% - 2rem, 520px); translate: -50% 0;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .6rem .6rem .6rem 1.25rem; border: 0; border-radius: 999px;
    background: var(--tinta); color: var(--blanco); box-shadow: var(--sombra-alta);
    font-family: var(--f-display); text-align: left;
    transform: translateY(160%); transition: transform .5s var(--ease-expo);
}
.barra-pedido.visible { transform: translateY(0); }
.barra-pedido .cuenta { font-weight: 600; font-stretch: 95%; }
.barra-pedido .cuenta strong { display: block; font-size: 1.15rem; font-weight: 800; }
.barra-pedido .ver { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.2rem; border-radius: 999px; background: var(--rosa); color: var(--tinta); font-weight: 800; }

/* ---------- Dialogs (producto y carrito) ---------- */
.hoja {
    border: 0; padding: 0; color: var(--tinta); background: var(--blanco);
    width: 100%; max-width: 100%; max-height: 92dvh; margin: auto auto 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden;
}
.hoja::backdrop { background: oklch(0.2 0.1 268 / 0.55); }
html:has(dialog[open]) { overflow: hidden; }
.hoja[open] { display: flex; flex-direction: column; animation: hoja-sube .5s var(--ease-expo); }
.hoja[open]::backdrop { animation: aparece .3s ease; }
@keyframes hoja-sube { from { transform: translateY(100%); } }
@keyframes aparece { from { opacity: 0; } }
@media (min-width: 720px) {
    .hoja { max-width: 560px; margin: auto; border-radius: var(--r-lg); max-height: min(88dvh, 860px); }
    .hoja[open] { animation: hoja-aparece .45s var(--ease-expo); }
    @keyframes hoja-aparece { from { opacity: 0; transform: translateY(24px) scale(.97); } }
    .hoja.lateral { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; border-radius: var(--r-lg) 0 0 var(--r-lg); max-width: 480px; }
    .hoja.lateral[open] { animation: hoja-lateral .5s var(--ease-expo); }
    @keyframes hoja-lateral { from { transform: translateX(100%); } }
}
.hoja-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.hoja-cerrar {
    position: absolute; top: .9rem; right: .9rem; z-index: 2;
    width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: oklch(1 0 0 / 0.92); color: var(--tinta); font-size: 1.1rem; box-shadow: var(--sombra);
}
.producto-foto { aspect-ratio: 16/11; background: var(--cobalto-claro); }
.producto-foto img { width: 100%; height: 100%; object-fit: cover; }
.producto-foto .sin-foto { font-size: 5rem; }
.producto-cuerpo { padding: 1.5rem 1.5rem 1rem; }
.producto-cuerpo h2 { font-size: var(--t-2xl); font-stretch: 85%; }
.producto-cuerpo > p { margin-top: .6rem; color: var(--tinta-suave); }
.opcion-grupo { margin-top: 1.5rem; border: 0; padding: 0; }
.opcion-grupo legend { font: 700 1.05rem/1.2 var(--f-display); font-stretch: 95%; margin-bottom: .7rem; padding: 0; }
.opcion-grupo legend small { font-family: var(--f-texto); font-weight: 600; font-size: .8rem; color: var(--rosa-hondo); margin-left: .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .55rem 1.05rem;
    border: 2px solid var(--linea); border-radius: 999px; font-weight: 600; font-size: .95rem;
    transition: border-color .2s, background-color .2s, color .2s;
}
.chip span b { font-family: var(--f-display); color: var(--cobalto); }
.chip input:checked + span { border-color: var(--cobalto); background: var(--cobalto); color: var(--blanco); }
.chip input:checked + span b { color: var(--blanco); }
.chip input:focus-visible + span { outline: 3px solid var(--rosa); outline-offset: 2px; }
.extra-fila {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .75rem 0; border-bottom: 1px solid var(--linea); cursor: pointer;
}
.extra-fila:last-child { border-bottom: 0; }
.extra-fila span { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.extra-fila b { font-family: var(--f-display); color: var(--cobalto); }
.casilla { appearance: none; width: 24px; height: 24px; border: 2px solid var(--linea); border-radius: 7px; display: grid; place-items: center; transition: background-color .15s, border-color .15s; flex: none; margin: 0; cursor: pointer; }
.casilla:checked { background: var(--cobalto); border-color: var(--cobalto); }
.casilla:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--blanco); border-width: 0 2.5px 2.5px 0; rotate: 45deg; translate: 0 -1px; }
.campo-notas { width: 100%; min-height: 76px; margin-top: .25rem; padding: .8rem 1rem; border: 2px solid var(--linea); border-radius: var(--r-sm); resize: vertical; font-size: 1rem; }
.campo-notas:focus { outline: none; border-color: var(--cobalto); }
.hoja-pie {
    display: flex; align-items: center; gap: .75rem; padding: 1rem 1.5rem calc(1rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--linea); background: var(--blanco);
}
.hoja-pie .btn { flex: 1; }
.cantidad { display: inline-flex; align-items: center; border: 2px solid var(--linea); border-radius: 999px; flex: none; }
.cantidad button { width: 42px; height: 44px; border: 0; background: none; font-size: .9rem; color: var(--tinta); border-radius: 999px; }
.cantidad button:hover { background: var(--niebla); }
.cantidad output { min-width: 1.6rem; text-align: center; font: 800 1.05rem var(--f-display); }
.cantidad.chica button { width: 34px; height: 34px; }

/* Carrito */
.carrito-cabeza { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--linea); }
.carrito-cabeza h2 { font-size: var(--t-xl); font-stretch: 85%; }
.carrito-cabeza .hoja-cerrar { position: static; box-shadow: none; background: var(--niebla); }
.carrito-lista { list-style: none; padding: .5rem 1.5rem; }
.carrito-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--linea); }
.carrito-item .platillo-foto { width: 56px; border-radius: 12px; }
.carrito-item .sin-foto { font-size: 1.4rem; }
.carrito-item h3 { font-size: 1.05rem; font-stretch: 92%; line-height: 1.2; }
.carrito-item .detalle { font-size: .85rem; color: var(--tinta-suave); margin-top: .2rem; line-height: 1.4; }
.carrito-item .acciones-item { display: flex; align-items: center; gap: .75rem; margin-top: .6rem; }
.quitar { border: 0; background: none; color: var(--rosa-hondo); font-size: .85rem; font-weight: 700; padding: .4rem 0; text-decoration: underline; text-underline-offset: 3px; }
.carrito-item .precio-item { font: 800 1.05rem var(--f-display); white-space: nowrap; }
.carrito-vacio { text-align: center; padding: 3rem 1.5rem; }
.carrito-vacio img { width: 120px; margin: 0 auto 1rem; }
.carrito-vacio p { color: var(--tinta-suave); margin-bottom: 1.25rem; }
.carrito-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1.1rem 1.5rem; background: var(--niebla); font-family: var(--f-display); }
.carrito-total strong { font-size: 1.6rem; font-weight: 800; }
.checkout { padding: 1.25rem 1.5rem 1.5rem; display: grid; gap: 1rem; }
.checkout h3 { font-size: 1.2rem; font-stretch: 92%; }
.aviso-precios { margin: .75rem 1.5rem 0; padding: .75rem 1rem; border-radius: var(--r-sm); background: var(--rosa-suave); color: var(--tinta); font-size: .9rem; }
.pedido-enviado { padding: 3rem 1.5rem; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.pedido-enviado img { width: 140px; }
.pedido-enviado h2 { font-size: var(--t-2xl); font-stretch: 85%; }
.pedido-enviado p { color: var(--tinta-suave); max-width: 34ch; }

/* ---------- Formularios ---------- */
.campo { display: grid; gap: .4rem; }
.campo label, .campo .etiqueta { font: 700 .95rem/1.3 var(--f-display); font-stretch: 95%; }
.campo label small, .campo .etiqueta small { font-family: var(--f-texto); font-weight: 500; color: var(--tinta-suave); font-size: .82rem; }
.entrada {
    width: 100%; min-height: 50px; padding: .75rem 1rem;
    border: 2px solid var(--linea); border-radius: var(--r-sm); background: var(--blanco);
    font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.entrada::placeholder { color: oklch(0.55 0.03 265); }
.entrada:focus { outline: none; border-color: var(--cobalto); box-shadow: 0 0 0 4px oklch(0.53 0.235 263 / 0.15); }
textarea.entrada { min-height: 110px; resize: vertical; }
select.entrada { appearance: none; background: var(--blanco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230a1652' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 1rem center; padding-right: 2.5rem; }
.fila-campos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.campo-error { color: var(--rosa-hondo); font-size: .85rem; font-weight: 600; }
.nota-form { font-size: .85rem; color: var(--tinta-suave); text-align: center; }

/* Lightbox */
.visor { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92dvh; overflow: visible; }
.visor::backdrop { background: oklch(0.15 0.06 268 / 0.92); }
.visor img { max-width: 92vw; max-height: 86dvh; border-radius: var(--r-md); object-fit: contain; }
.visor .hoja-cerrar { top: -1.25rem; right: -1.25rem; }

/* Aviso flotante */
.aviso {
    position: fixed; z-index: var(--z-aviso); left: 50%; top: calc(var(--alto-header) + 12px);
    translate: -50% 0; max-width: calc(100% - 2rem);
    padding: .75rem 1.25rem; border-radius: 999px; background: var(--tinta); color: var(--blanco);
    font-weight: 600; font-size: .95rem; box-shadow: var(--sombra-alta);
    opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease-expo);
    pointer-events: none;
}
.aviso.visible { opacity: 1; transform: translateY(0); }

/* =================================================================
   TALLERES
   ================================================================= */
.talleres-hero { background: var(--tinta); color: var(--blanco); position: relative; overflow: hidden; isolation: isolate; }
.talleres-hero::before {
    content: ""; position: absolute; z-index: -1; width: 70vmax; aspect-ratio: 1; right: -25vmax; top: -30vmax;
    background: radial-gradient(closest-side, oklch(0.68 0.24 355 / 0.38), transparent);
}
.talleres-hero-rejilla { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem); }
.talleres-hero .pregunta {
    font-family: var(--f-display); font-weight: 800;
    font-size: var(--t-mega); font-stretch: 76%; line-height: .92; letter-spacing: -0.025em;
    color: var(--rosa);
}
.talleres-hero h1 { font-size: var(--t-3xl); font-stretch: 80%; margin-top: .6rem; max-width: 17ch; }
.talleres-hero .hero-sub { color: oklch(0.9 0.03 262); margin-top: 1.4rem; max-width: 44ch; }
.reel { position: relative; width: min(78vw, 340px); margin-inline: auto; }
.reel video {
    width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 32px;
    border: 8px solid var(--blanco); background: var(--tinta); box-shadow: 0 30px 80px -30px oklch(0.68 0.24 355 / 0.7);
    rotate: 3deg;
}
.reel-nota {
    position: absolute; left: -12%; bottom: 12%; z-index: 2; rotate: -6deg;
    padding: .7rem 1.1rem; border-radius: 14px; background: var(--sol); color: var(--tinta);
    font: 800 1.05rem/1.15 var(--f-display); font-stretch: 88%; box-shadow: var(--sombra-alta); max-width: 13ch;
}
.reel .destello { position: absolute; color: var(--rosa); font-size: 2.4rem; right: -8%; top: 6%; }
.reel-pausa {
    position: absolute; right: 1rem; bottom: 1.2rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: oklch(0.24 0.11 268 / 0.7); color: var(--blanco); rotate: 3deg;
}
@media (min-width: 900px) {
    .talleres-hero-rejilla { grid-template-columns: 1.3fr 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
    .talleres-hero .entra { animation: sube .9s var(--ease-expo) both; }
    .talleres-hero .entra:nth-child(2) { animation-delay: .1s; }
    .talleres-hero .entra:nth-child(3) { animation-delay: .2s; }
    .talleres-hero .entra:nth-child(4) { animation-delay: .3s; }
    .reel { animation: cae 1.1s .25s var(--ease-expo) both; }
    .reel .destello { animation: parpadeo 3s ease-in-out infinite; }
}

/* Qué te damos */
.ofrecemos-rejilla { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: start; }
.ofrecemos-foto { position: relative; }
.ofrecemos-foto img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); }
.ofrecemos-foto figcaption {
    position: absolute; right: 1rem; bottom: 1rem; left: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-md);
    background: var(--blanco); font-size: var(--t-sm); box-shadow: var(--sombra);
}
.ofrecemos-foto figcaption strong { font-family: var(--f-display); }
.beneficios { list-style: none; padding: 0; display: grid; }
.beneficio { display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem; padding: 1.4rem 0; border-top: 1px solid var(--linea); }
.beneficio:last-child { border-bottom: 1px solid var(--linea); }
.beneficio-icono { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--rosa-suave); color: var(--rosa-hondo); font-size: 1.3rem; }
.beneficio:nth-child(even) .beneficio-icono { background: var(--cobalto-claro); color: var(--cobalto); }
.beneficio h3 { font-size: var(--t-xl); font-stretch: 88%; }
.beneficio p { margin-top: .4rem; color: var(--tinta-suave); }
@media (min-width: 900px) {
    .ofrecemos-rejilla { grid-template-columns: .9fr 1.1fr; }
    .ofrecemos-foto { position: sticky; top: calc(var(--alto-header) + 2rem); }
}

/* Nube de disciplinas */
.disciplinas { background: var(--rosa); color: var(--tinta); overflow: hidden; }
.disciplinas .contenedor > p { font: 700 var(--t-lg)/1.3 var(--f-display); font-stretch: 95%; }
.nube {
    list-style: none; padding: 0; margin-top: 1.5rem;
    display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1.1rem;
    font-family: var(--f-display); font-weight: 800; font-stretch: 76%;
    font-size: clamp(2.1rem, 1.3rem + 3.8vw, 4.4rem); line-height: 1.02; letter-spacing: -0.02em;
}
.nube li { display: inline-flex; align-items: center; gap: 1.1rem; }
.nube li:not(:last-child)::after { content: ""; width: .38em; aspect-ratio: 1; background: var(--tinta);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.2 3.8 10.6 12 12-8.2 1.4-11.1 4.8-12 12-.9-7.2-3.8-10.6-12-12 8.2-1.4 11.1-4.8 12-12z'/%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 0c.9 7.2 3.8 10.6 12 12-8.2 1.4-11.1 4.8-12 12-.9-7.2-3.8-10.6-12-12 8.2-1.4 11.1-4.8 12-12z'/%3E%3C/svg%3E") center / contain no-repeat; }
.nube li:nth-child(3n+2) { color: var(--blanco); }
.disciplinas .pie { margin-top: 1.75rem; font-weight: 600; max-width: 52ch; }

/* Pasos */
.pasos { list-style: none; padding: 0; counter-reset: paso; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.paso { counter-increment: paso; position: relative; padding-top: 1rem; }
.paso::before {
    content: counter(paso); display: block;
    font: 800 clamp(3.5rem, 2.8rem + 3vw, 5.5rem)/0.9 var(--f-display); font-stretch: 75%;
    color: var(--cobalto); -webkit-text-stroke: 0;
}
.paso h3 { font-size: var(--t-xl); font-stretch: 88%; margin-top: .75rem; }
.paso p { color: var(--tinta-suave); margin-top: .5rem; }
.paso:not(:last-child)::after {
    content: ""; position: absolute; top: 2.6rem; left: 4.2rem; right: 1rem; border-top: 2px dashed var(--linea);
}
@media (max-width: 560px) { .paso:not(:last-child)::after { display: none; } }

/* Galería de talleres */
.galeria-talleres { background: var(--tinta); color: var(--blanco); }
.galeria-talleres .bajada { color: oklch(0.88 0.03 262); }
.galeria-rejilla { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.galeria-video { position: relative; width: min(100%, 360px); margin-inline: auto; }
.galeria-video video { width: 100%; aspect-ratio: 9/16; border-radius: var(--r-lg); background: #000; object-fit: cover; }
.galeria-video p { margin-top: .9rem; font-size: var(--t-sm); color: oklch(0.85 0.03 262); text-align: center; }
.fotos { columns: 2 180px; column-gap: .8rem; }
.fotos button { display: block; width: 100%; margin-bottom: .8rem; padding: 0; border: 0; background: none; border-radius: var(--r-md); overflow: hidden; break-inside: avoid; }
.fotos img { width: 100%; transition: transform .7s var(--ease), filter .3s; }
.fotos button:hover img { transform: scale(1.04); }
@media (min-width: 900px) {
    .galeria-rejilla { grid-template-columns: 360px 1fr; }
    .galeria-video { position: sticky; top: calc(var(--alto-header) + 2rem); }
    .fotos { columns: 3 180px; }
}

/* Caso real */
.caso { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
.caso > * { min-width: 0; }
.caso-flyers { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.05; margin-inline: auto; }
.caso-flyers img { position: absolute; width: 62%; }
.caso-flyers img:first-child { left: 0; top: 0; rotate: -5deg; z-index: 1; }
.caso-flyers img:last-child { right: 0; bottom: 0; rotate: 4deg; z-index: 2; }
.paquete {
    margin-top: 1.5rem; border-radius: var(--r-lg); background: var(--niebla); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}
.paquete-precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem; }
.paquete-precio strong { font: 800 var(--t-3xl)/1 var(--f-display); font-stretch: 78%; color: var(--cobalto); }
.paquete-precio span { font-weight: 600; color: var(--tinta-suave); }
.paquete ul { list-style: none; padding: 0; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.paquete li { padding: .45rem .9rem; border-radius: 999px; background: var(--blanco); font-weight: 600; font-size: .92rem; border: 1px solid var(--linea); }
.caso .cita { margin-top: 1.25rem; color: var(--tinta-suave); }
@media (min-width: 900px) { .caso { grid-template-columns: 1fr 1fr; } }

/* Solicitud */
.solicitud { background: var(--cobalto); color: var(--blanco); }
.solicitud-rejilla { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: start; }
.solicitud h2 { font-size: var(--t-3xl); font-stretch: 78%; }
.solicitud .bajada { color: oklch(0.95 0.02 262); margin-top: 1rem; }
.solicitud-contacto { margin-top: 2rem; display: grid; gap: .75rem; }
.contacto-linea { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-radius: var(--r-md); background: oklch(1 0 0 / 0.12); text-decoration: none; transition: background-color .2s; }
.contacto-linea:hover { background: oklch(1 0 0 / 0.2); }
.contacto-linea i { font-size: 1.3rem; width: 1.4em; text-align: center; }
.contacto-linea strong { display: block; font-family: var(--f-display); font-stretch: 95%; }
.contacto-linea span { font-size: .9rem; opacity: .9; }
.tarjeta-form { background: var(--blanco); color: var(--tinta); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); box-shadow: var(--sombra-alta); display: grid; gap: 1.1rem; }
.tarjeta-form h3 { font-size: var(--t-xl); font-stretch: 88%; }
.form-campos { display: grid; gap: 1.1rem; }
.form-exito { display: none; text-align: center; padding: 2rem 0; gap: .9rem; justify-items: center; }
.form-exito img { width: 120px; }
.form-exito h3 { font-size: var(--t-xl); }
.form-exito p { color: var(--tinta-suave); max-width: 36ch; }
.enviado .form-campos { display: none; }
.enviado .form-exito { display: grid; }
@media (min-width: 900px) { .solicitud-rejilla { grid-template-columns: .9fr 1.1fr; } }

/* Preguntas */
.preguntas { max-width: 820px; }
.pregunta-item { border-bottom: 1px solid var(--linea); }
.pregunta-item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.3rem 0; font: 700 var(--t-lg)/1.3 var(--f-display); font-stretch: 92%;
}
.pregunta-item summary::-webkit-details-marker { display: none; }
.pregunta-item summary::after {
    content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    background: var(--niebla); color: var(--cobalto); font-size: 1.3rem; transition: rotate .3s var(--ease), background-color .2s;
}
.pregunta-item[open] summary::after { rotate: 45deg; background: var(--cobalto); color: var(--blanco); }
.pregunta-item p { padding: 0 3rem 1.4rem 0; color: var(--tinta-suave); }

/* Franja para asistentes */
.franja-asistentes { background: var(--rosa-suave); }
.franja-asistentes .contenedor { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2rem; }
.franja-asistentes p { font: 700 var(--t-xl)/1.25 var(--f-display); font-stretch: 88%; max-width: 30ch; }

/* =================================================================
   EVENTOS
   ================================================================= */
.eventos-hero { position: relative; color: var(--blanco); isolation: isolate; min-height: min(82svh, 760px); display: grid; align-items: end; overflow: hidden; }
.eventos-hero-fondo { position: absolute; inset: 0; z-index: -2; background: var(--tinta) center / cover no-repeat; }
.eventos-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(0.2 0.1 268 / 0.92) 10%, oklch(0.2 0.1 268 / 0.25) 70%); }
.eventos-hero .contenedor { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.eventos-hero h1 { font-size: var(--t-mega); font-stretch: 78%; line-height: .95; max-width: 13ch; }
.eventos-hero h1 em { font-style: normal; color: var(--rosa); }
.eventos-hero p { font-size: var(--t-lg); max-width: 50ch; margin-top: 1.2rem; color: oklch(0.93 0.02 262); }
.eventos-hero .hero-acciones { margin-top: 1.75rem; }
@media (prefers-reduced-motion: no-preference) {
    .eventos-hero-fondo { animation: acerca 20s ease-in-out infinite alternate; }
    .eventos-hero .entra { animation: sube .9s var(--ease-expo) both; }
    .eventos-hero .entra:nth-child(2) { animation-delay: .1s; }
    .eventos-hero .entra:nth-child(3) { animation-delay: .2s; }
}
@keyframes acerca { to { transform: scale(1.08); } }

.tipos-evento { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tipo-evento {
    position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--blanco);
    min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; background: var(--tinta);
}
.tipo-evento .fondo { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; transition: transform .8s var(--ease); }
.tipo-evento::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(0.2 0.1 268 / 0.92) 15%, oklch(0.2 0.1 268 / 0.05) 70%); }
.tipo-evento:hover .fondo { transform: scale(1.05); }
.tipo-evento .etiqueta { align-self: flex-start; padding: .3rem .8rem; border-radius: 999px; background: var(--blanco); color: var(--tinta); font-weight: 700; font-size: .8rem; margin-bottom: .9rem; }
.tipo-evento h3 { font-size: var(--t-2xl); font-stretch: 82%; }
.tipo-evento p { margin-top: .5rem; color: oklch(0.92 0.02 262); }
.tipo-evento .btn { margin-top: 1.25rem; align-self: flex-start; }
@media (min-width: 900px) {
    .tipos-evento { grid-template-columns: repeat(6, 1fr); }
    .tipo-evento:nth-child(1) { grid-column: span 4; }
    .tipo-evento:nth-child(2) { grid-column: span 2; }
    .tipo-evento:nth-child(3) { grid-column: span 2; }
    .tipo-evento:nth-child(4) { grid-column: span 4; }
}
.pildoras { display: flex; flex-wrap: wrap; gap: .5rem; }

/* =================================================================
   NOSOTROS
   ================================================================= */
.nos-hero { background: var(--cobalto); color: var(--blanco); overflow: hidden; }
.nos-hero-rejilla { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem); }
.nos-hero h1 { font-size: var(--t-mega); font-stretch: 78%; line-height: .95; }
.nos-hero h1 em { font-style: normal; color: var(--sol); }
.nos-hero p { font-size: var(--t-lg); margin-top: 1.25rem; max-width: 44ch; color: oklch(0.95 0.02 262); }
.nos-hero-foto { width: min(100%, 440px); margin-inline: auto; }
.nos-hero-foto img { width: 100%; aspect-ratio: 4/5; object-fit: cover; rotate: 3deg; }
@media (min-width: 900px) { .nos-hero-rejilla { grid-template-columns: 1.2fr 1fr; } }
@media (prefers-reduced-motion: no-preference) {
    .nos-hero .entra { animation: sube .9s var(--ease-expo) both; }
    .nos-hero .entra:nth-child(2) { animation-delay: .1s; }
    .nos-hero .entra:nth-child(3) { animation-delay: .2s; }
    .nos-hero-foto { animation: cae 1.1s .2s var(--ease-expo) both; }
}
.historia-rejilla { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); align-items: start; }
.historia-texto { font-size: var(--t-lg); line-height: 1.7; display: grid; gap: 1.1rem; max-width: 62ch; }
.historia-texto strong { color: var(--cobalto); }
.firma { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; font: 700 1.1rem var(--f-display); font-stretch: 95%; }
.firma::before { content: ""; width: 48px; border-top: 2px solid var(--rosa); }
.historia-foto img { width: 100%; aspect-ratio: 9/14; object-fit: cover; border-radius: var(--r-lg); }
@media (min-width: 900px) { .historia-rejilla { grid-template-columns: 1.4fr 1fr; } .historia-foto { position: sticky; top: calc(var(--alto-header) + 2rem); } }
.pilares { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0 2rem; }
.pilar { padding: 1.75rem 0; border-top: 2px solid var(--tinta); }
.pilar .destello { color: var(--cobalto); font-size: 1.4rem; }
.pilar:nth-child(2) .destello { color: var(--rosa-hondo); }
.pilar:nth-child(3) .destello { color: var(--tinta); }
.pilar:nth-child(4) .destello { color: var(--rosa-hondo); }
.pilar h3 { font-size: var(--t-xl); font-stretch: 88%; margin-top: .9rem; }
.pilar p { color: var(--tinta-suave); margin-top: .5rem; }

/* =================================================================
   PIE
   ================================================================= */
.pie-sitio { background: var(--cobalto); color: var(--blanco); }
.pie-rejilla { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 2.5rem + 3vw, 5rem) 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.pie-marca img { width: 150px; }
.pie-marca p { margin-top: 1rem; max-width: 30ch; color: oklch(0.95 0.02 262); }
.pie-sitio h2 { font-size: 1.05rem; font-stretch: 95%; letter-spacing: 0; margin-bottom: .9rem; }
.pie-sitio ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.pie-sitio a { text-decoration: none; }
.pie-sitio a:hover { text-decoration: underline; text-underline-offset: 3px; }
.redes { display: flex; gap: .6rem; margin-top: 1rem; }
.redes a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: oklch(1 0 0 / 0.14); font-size: 1.15rem; transition: background-color .2s, color .2s; }
.redes a:hover { background: var(--blanco); color: var(--cobalto); text-decoration: none; }
.pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid oklch(1 0 0 / 0.2); font-size: .88rem; color: oklch(0.95 0.02 262); }

/* Firma dalo */
.credits-dalo-wrap { display: inline-flex; align-items: baseline; gap: 1px; }
.dalo-letter { display: inline-block; font-weight: 900; letter-spacing: 2px; animation: colorLake 4s linear infinite; }
.dalo-d { animation-delay: 0s; } .dalo-a { animation-delay: 1s; } .dalo-l { animation-delay: 2s; } .dalo-o { animation-delay: 3s; }
@keyframes colorLake { 0%, 100% { color: #00ff88; } 25% { color: #ff6b6b; } 50% { color: #9fd3ff; } 75% { color: #ffd700; } }

/* ---------- Revelado al hacer scroll (mejora progresiva) ---------- */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .revela { animation: revela linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
        @keyframes revela { from { opacity: 0; transform: translateY(36px); } }
    }
}

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

/* Aviso de entregas por DiDi en el carrito */
.aviso-didi { display: flex; gap: .7rem; align-items: flex-start; margin: 0; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--cobalto-claro); color: var(--tinta); font-size: .9rem; line-height: 1.45; }
.aviso-didi i { color: var(--cobalto); margin-top: .2rem; }
.menu-cabecera p strong { color: var(--sol); }
