/* ============================================================================
   LA MILPA · ESTILOS COMENTADOS PARA MODIFICACIONES EN CLASE
   1. Usa Ctrl+F y escribe: BOTÓN CERRAR, BOTÓN HACER PEDIDO, FOOTER,
      HEADER, CULTURA GASTRONÓMICA, VENTANA DETALLE, MODO DÍA o MODO NOCHE.
   2. Cambia color = texto; background = fondo; padding = espacio interno;
      margin/gap = separaciones; border-radius = redondez; width = ancho;
      transition = suavidad de la animación.
   3. css/sitio.css se carga primero; css/tema-premium.css se carga DESPUÉS.
      Si dos reglas tienen especificidad equivalente, la última prevalece.
   4. Este archivo NO controla compras, autenticación ni MySQL; solo apariencia.
   ============================================================================ */


    /* ================================================================
   LA MILPA · EDICIÓN ARTESANAL · TEMA DÍA/NOCHE Y TEMPORADA
   Archivo independiente: no reemplaza los componentes PHP existentes.
   ================================================================ */
    
    :root {
        color-scheme: dark;
    }
    
    body {
        --milpa-fondo: #18110d;
        --milpa-texto: #fff3e1;
        --milpa-papel: #2c2018;
        --milpa-borde: #b99461;
    }
    
    body[data-theme="day"] {
        color-scheme: light;
        --ink: #402b20;
        --panel: #f2e6d1;
        --panel2: #fff6e8;
        --gold: #97602b;
        --gold-light: #97602b;
        --line: rgba(125,79,37,.27);
        --cream: #34241d;
        --muted: #776454;
        --milpa-fondo: #f6eddc;
        --milpa-texto: #3c291d;
        --milpa-papel: #fff8eb;
        background: #f6eddc;
        color: #38281f;
    }
    
    body[data-theme="night"] {
        background: #18110d;
        color: #fff2df;
    }
    /* Navegación flotante, sin ocultar controles */
    
    .cabecera {
        border-bottom: 1px solid #d5ad7545;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 10px 40px #10090418;
    }
    
    body[data-theme="night"] .cabecera {
        background: rgba(38,26,20,.95);
    }
    
    body[data-theme="day"] .cabecera {
        background: rgba(255,249,235,.96);
        border-bottom-color: #97704c70;
    }
    
    body[data-theme="day"] .cabecera .navegacion a, body[data-theme="day"] .enlace-cuenta, body[data-theme="day"] .menu-movil {
        color: #382519;
    }
    
    .control-tema {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        padding: 9px 13px;
        border: 1px solid #dcb57991;
        border-radius: 999px;
        color: #fce7c6;
        background: #ffffff12;
        font-size: 12px;
        font-weight: 700;
        min-height: 43px;
        transition: background .2s,transform .2s;
        white-space: nowrap;
    }
    
    .control-tema:hover {
        transform: translateY(-2px);
        background: #c89b5640;
    }
    
    .control-tema #icono-tema {
        font-size: 20px;
        line-height: 1;
    }
    
    body[data-theme="day"] .control-tema {
        color: #66421e;
        background: #f1e1c5;
        border-color: #a8875d;
    }
    /* Papel de algodón / grabado artesanal sutil: nunca sobre las fotos */
    
    body[data-theme="day"] .menu-seccion, body[data-theme="day"] .historia-seccion, body[data-theme="day"] .reservas-seccion, body[data-theme="day"] .programa-lealtad {
        background-color: #f6eddc;
        background-image: repeating-linear-gradient(115deg,transparent 0,transparent 4px,#b39a7610 5px,transparent 7px),radial-gradient(circle at 20% 12%,#fffdf5,transparent 68%);
    }
    
    body[data-theme="night"] .menu-seccion, body[data-theme="night"] .historia-seccion {
        background: linear-gradient(145deg,#211810,#312319 55%,#1e1711);
    }
    
    body[data-theme="day"] .historia-seccion .historia-texto p:not(.eyebrow), body[data-theme="day"] .encabezado-seccion>p:last-child, body[data-theme="day"] .reservas-grid>div>p {
        color: #675042;
    }
    
    body[data-theme="day"] .historia-texto h2, body[data-theme="day"] .encabezado-seccion h2, body[data-theme="day"] .reservas-seccion h2 {
        color: #432a1b;
    }
    
    body[data-theme="day"] .historia-texto h2 em, body[data-theme="day"] .encabezado-seccion h2 em {
        color: #9d642d;
    }
    
    body[data-theme="day"] .card-platillo {
        background: #fff9ee;
        color: #38261c;
        border: 1px solid #ccaf8759;
        box-shadow: 0 15px 40px #74502b18;
    }
    
    body[data-theme="night"] .card-platillo {
        background: linear-gradient(150deg,#3b291d,#251a15);
        border-color: #b7915d7d;
        box-shadow: 0 14px 40px #06030340;
    }
    
    .card-platillo {
        overflow: hidden;
        border-radius: 18px;
        transition: transform .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s,border-color .32s;
    }
    
    .card-platillo:hover {
        transform: translateY(-7px);
        box-shadow: 0 25px 55px #39200d3f;
        border-color: #d5a568;
    }
    
    .card-imagen {
        transition: transform .6s cubic-bezier(.2,.8,.2,1),filter .35s;
    }
    
    .card-platillo:hover .card-imagen {
        transform: scale(1.045);
        filter: saturate(1.07);
    }
    
    body[data-theme="day"] .card-titulo h3,body[data-theme="day"] .card-titulo strong {
        color: #3b271b;
    }
    
    body[data-theme="day"] .card-cuerpo>p,body[data-theme="day"] .categorias button {
        color: #6d5848;
    }
    
    body[data-theme="day"] .categorias button.activo,body[data-theme="day"] .categorias button:hover {
        color: #fff7e5;
        background: #895829;
        border-color: #895829;
    }
    
    .boton {
        transition: transform .2s,box-shadow .2s,background .2s,border-color .2s;
        letter-spacing: .015em;
    }
    
    .boton:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px #0003;
    }
    
    .boton:disabled {
        opacity: .48;
        cursor: not-allowed;
    }
    
    body[data-theme="day"] .boton.dorado {
        color: #fff9ec;
        background: #8b5729;
    }
    
    body[data-theme="day"] .boton.contorno {
        border-color: #966634;
        color: #6b421e;
        background: #fff8ec;
    }
    
    body[data-theme="day"] .aviso-horario,body[data-theme="day"] .menu-herramientas {
        color: #5c4635;
    }
    
    body[data-theme="day"] .pie,body[data-theme="day"] .contacto-premium {
        background: #36251b;
        color: #fff0d8;
    }
    
    body[data-theme="day"] .pie *,body[data-theme="day"] .contacto-premium * {
        --cream: #fff2e3;
        --muted: #e0c9ac;
    }
    
    body[data-theme="day"] .modal {
        color: #3b291b;
        background: radial-gradient(ellipse at 8% 5%,#fff9e9,#f1dfc4);
        border-color: #b68b56;
    }
    
    body[data-theme="day"] .modal-login,body[data-theme="day"] .modal-carrito,body[data-theme="day"] .modal-pago {
        color: #fff0d8;
        background: radial-gradient(ellipse at top right,#3c2c21,#1e1714 72%);
    }
    /* Nuestra historia, como una página de libro ilustrado */
    
    .historia-grid {
        position: relative;
        padding-block: 65px;
    }
    
    .historia-foto {
        border-radius: 190px 190px 16px 16px;
        outline: 8px solid #ae83421c;
        outline-offset: 7px;
        box-shadow: 0 28px 55px #10060355;
        min-height: 530px;
    }
    
    .historia-foto:after {
        content: "✦  EL MAÍZ NOS REÚNE  ✦";
        position: absolute;
        bottom: 17px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 17px;
        white-space: nowrap;
        background: #28170dd9;
        border: 1px solid #dfb67e;
        color: #fce8c6;
        letter-spacing: .13em;
        font: 11px var(--sans);
        border-radius: 30px;
    }
    
    .historia-capitular {
        font-size: 11px!important;
        letter-spacing: .24em;
        color: #e5ba79!important;
        font-weight: 700;
    }
    
    body[data-theme="day"] .historia-capitular {
        color: #99682f!important;
    }
    
    .historia-frase {
        margin-top: 18px;
        padding: 20px 22px;
        border-block: 1px solid #b9895661;
        font-family: var(--serif);
        font-style: italic;
        line-height: 1.6;
        color: #eccb97;
        font-size: 17px;
        position: relative;
    }
    
    body[data-theme="day"] .historia-frase {
        color: #775029;
        border-color: #b68a54;
    }
    
    .historia-texto {
        position: relative;
    }
    
    .historia-texto:before {
        content: "❦";
        position: absolute;
        right: 5%;
        top: -55px;
        color: #cda46999;
        font-size: 44px;
    }
    /* Lealtad, sello de papel texturizado */
    
    .programa-lealtad {
        position: relative;
        padding: 90px 0;
        background: linear-gradient(125deg,#3c281a,#21150f);
        border-block: 1px solid #b58a565a;
        overflow: hidden;
    }
    
    .programa-lealtad:before {
        content: "❁";
        position: absolute;
        top: -180px;
        right: -60px;
        font-size: 430px;
        line-height: 1;
        color: #e2b87810;
        pointer-events: none;
    }
    
    .lealtad-contenido {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 45px;
        align-items: center;
        position: relative;
        z-index: 1;
    }
    
    .lealtad-sello {
        aspect-ratio: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font: clamp(60px,7vw,95px) var(--serif);
        color: #ecc68c;
        border: 2px double #d4a869;
        border-radius: 50%;
        outline: 6px double #9f774843;
        background: #86603922;
    }
    
    .lealtad-sello small {
        font: 700 11px var(--sans);
        letter-spacing: .32em;
        margin-top: -7px;
    }
    
    .lealtad-texto h2 {
        font-size: clamp(35px,4vw,62px);
        max-width: 850px;
    }
    
    .lealtad-texto h2 em {
        color: #e0af72;
    }
    
    .lealtad-texto p {
        max-width: 780px;
        color: #e3d0b8;
    }
    
    .lealtad-texto .lealtad-reglas {
        font-size: 13px;
        letter-spacing: .04em;
        color: #c2a688;
    }
    
    .lealtad-estado {
        font-weight: 600;
        margin: 22px 0 11px;
        color: #f5d4a2;
    }
    
    .lealtad-progreso {
        height: 9px;
        border-radius: 999px;
        background: #966f464f;
        max-width: 520px;
        margin-bottom: 20px;
        overflow: hidden;
        border: 1px solid #d9b27d48;
    }
    
    .lealtad-progreso span {
        display: block;
        width: 0;
        height: 100%;
        background: linear-gradient(90deg,#d0a35f,#f7d9a0);
        transition: width .4s;
    }
    
    body[data-theme="day"] .programa-lealtad {
        border-color: #b19a7c;
    }
    
    body[data-theme="day"] .lealtad-texto p,body[data-theme="day"] .lealtad-estado {
        color: #604331;
    }
    
    body[data-theme="day"] .lealtad-sello {
        color: #94642d;
        background: #f5e7c5;
    }
    
    body[data-theme="day"] .lealtad-texto h2 em {
        color: #996429;
    }
    
    body[data-theme="day"] .lealtad-texto .lealtad-reglas {
        color: #715947;
    }
    
    .pago-promocion {
        padding: 12px 14px;
        margin: 12px 0 4px;
        border: 1px solid #d1a66a6b;
        border-radius: 9px;
        color: #f6d4a4;
        font-size: 13px;
    }
    /* Día de Muertos: decorado únicamente durante temporada según JS */
    
    .guirnalda-temporada[hidden] {
        display: none!important;
    }
    
    .guirnalda-temporada {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 8px;
        overflow: hidden;
        z-index: 10010;
        background: repeating-linear-gradient(90deg,#dc7b2e 0 21px,#4e356e 21px 39px,#e2bc4c 39px 58px,#83386f 58px 75px);
        font-size: 0;
        pointer-events: none;
    }
    
    body.temporada-muertos .hero:after {
        content: "✿  TEMPORADA DE DÍA DE MUERTOS  ✿";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 25px;
        background: #4b276bbd;
        border: 1px solid #e7af5b;
        color: #fff8df;
        letter-spacing: .16em;
        font-weight: 700;
        font-size: 11px;
        z-index: 3;
        border-radius: 9px 9px 0 0;
        white-space: nowrap;
    }
    
    body.temporada-muertos .historia-seccion {
        border-top: 2px solid #b97629;
    }
    
    body.temporada-muertos .programa-lealtad {
        border-color: #b56e23;
    }
    
    .modal-temporada {
        position: fixed;
        max-width: 600px;
        width: calc(100% - 36px);
        max-height: 90dvh;
        overflow-y: auto;
        border: 2px solid #dfab66;
        border-radius: 22px;
        padding: 40px 34px;
        background: radial-gradient(circle at 80% 0%,#603058,#25150f 67%);
        color: #fff1d8;
        box-shadow: 0 35px 100px #000b;
        text-align: center;
    }
    
    .modal-temporada::backdrop {
        background: #140a0ac9;
        backdrop-filter: blur(7px);
    }
    
    .modal-temporada .eyebrow {
        color: #ffce7e;
        font-size: 10px;
    }
    
    .modal-temporada h2 {
        font-size: clamp(32px,4.5vw,54px);
        margin: 12px 0 20px;
    }
    
    .modal-temporada h2 em {
        color: #efb95d;
    }
    
    .modal-temporada p:not(.eyebrow) {
        color: #f0dcc8;
    }
    
    .modal-temporada .temporada-emblema {
        font-size: 42px;
        letter-spacing: 12px;
        color: #f1ac44;
    }
    
    .modal-temporada small {
        display: block;
        max-width: 460px;
        margin: 16px auto 0;
        color: #d1bba2;
    }
    
    .temporada-cerrar {
        position: absolute;
        right: 14px;
        top: 14px;
        background: #fff2e71c;
        border: 1px solid #edbe8c99;
        border-radius: 50%;
        font-size: 25px;
        color: #fff0db;
        width: 42px;
        height: 42px;
    }
    
    body[data-theme="day"] .modal-temporada {
        background: radial-gradient(circle at top right,#f6deba,#fff8e8);
        color: #4c311d;
    }
    
    body[data-theme="day"] .modal-temporada p:not(.eyebrow),body[data-theme="day"] .modal-temporada small {
        color: #604334;
    }
    
    body[data-theme="day"] .modal-temporada .temporada-cerrar {
        color: #4d311d;
        border-color: #ac7e51;
    }

    @media(max-width:830px) {
        
        .lealtad-contenido {
            grid-template-columns: 1fr;
            gap: 30px;
        }
        
        .lealtad-sello {
            max-width: 135px;
        }
        
        .historia-grid {
            padding-block: 48px;
        }
        
        .historia-foto {
            min-height: 430px;
        }
    }

    @media(max-width:560px) {
        
        .control-tema {
            padding: 7px 10px;
            min-width: 42px;
        }
        
        .control-tema #nombre-tema {
            display: none;
        }
        
        .historia-foto {
            min-height: 350px;
        }
        
        .historia-foto:after {
            font-size: 9px;
            letter-spacing: 0.05em;
        }
        
        .programa-lealtad {
            padding: 65px 0;
        }
        
        .modal-temporada {
            padding: 38px 23px;
        }
        
        .guirnalda-temporada {
            height: 6px;
        }
        
        body.temporada-muertos .hero:after {
            font-size: 9px;
            letter-spacing: .03em;
            padding: 8px 11px;
        }
    }

    @media(prefers-reduced-motion:reduce) {
        
        .card-platillo,.card-imagen,.boton,.control-tema {
            transition: none!important;
        }
        
        .card-platillo:hover,.boton:hover {
            transform: none!important;
        }
    }
    /* Asegurar lectura y coherencia en estados de ambas paletas. */
    
    body[data-theme="day"] .lealtad-texto h2 {
        color: #412919;
    }
    
    body[data-theme="day"] .lealtad-texto p:not(.eyebrow) {
        color: #634b3b;
    }
    
    body[data-theme="day"] .lealtad-texto .lealtad-estado {
        color: #503622;
    }
    
    body[data-theme="day"] .historia-firma, body[data-theme="day"] .historia-firma strong {
        color: #634221;
    }
    
    body[data-theme="day"] .menu-busqueda input {
        background: #fffcf6;
        color: #392618;
        border: 1px solid #b58a59;
    }
    
    body[data-theme="day"] .card-platillo .boton.contorno {
        color: #70491f;
    }
    /* Modo día: superficies completas, sin texto oscuro sobre fondo oscuro. */
    
    body[data-theme="day"] .hero,body[data-theme="day"] .hero h1,body[data-theme="day"] .hero h2 {
        color: #fff4e5;
    }
    
    body[data-theme="day"] .hero .hero-signature,body[data-theme="day"] .hero-signature strong {
        color: #ffedcf;
    }
    
    body[data-theme="day"] .categorias {
        background: #f9edd9;
        border-color: #b69067;
        box-shadow: 0 10px 24px #60432517;
    }
    
    body[data-theme="day"] .categorias button {
        background: #f9edd9;
        color: #6b4c32;
        border-color: #b590673d;
    }
    
    body[data-theme="day"] .categorias button:hover,body[data-theme="day"] .categorias button.activo {
        background: #895829;
        color: #fff9ed;
        border-color: #895829;
    }
    
    body[data-theme="day"] .aviso-horario {
        background: #f3e5cd;
        color: #5a3a24;
        border-color: #c3a27a;
    }
    
    body[data-theme="day"] .form-reserva {
        background: #fff8ed;
        color: #3f2b1c;
        border-color: #ba9668;
        box-shadow: 0 16px 45px #86613b21;
    }
    
    body[data-theme="day"] .form-reserva label {
        color: #563824;
    }
    
    body[data-theme="day"] .form-reserva input,body[data-theme="day"] .form-reserva select,body[data-theme="day"] .form-reserva textarea {
        background: #fffdfa;
        color: #35251b;
        border: 1px solid #bb976e;
    }
    
    body[data-theme="day"] .reservas-grid>div>p {
        color: #684e3b;
    }
    
    body[data-theme="day"] .historia-texto .boton.contorno {
        color: #784b26;
    }
    
    body[data-theme="day"] .historia-firma span,body[data-theme="day"] .historia-firma strong {
        color: #60422b;
    }
    /* LA MILPA | EXPERIENCIA EXTRA 04 NOV · elementos independientes */
    
    .control-idioma {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 43px;
        padding: 7px 12px;
        border: 1px solid #cda56b88;
        border-radius: 999px;
        color: #f8dfb7;
        background: #fff1d40c;
        font: 700 12px var(--sans);
        letter-spacing: .06em;
        cursor: pointer;
        transition: transform .2s,background .2s;
    }
    
    .control-idioma:hover {
        transform: translateY(-2px);
        background: #b987454a;
    }
    
    body[data-theme="day"] .control-idioma {
        background: #f1e1c5;
        color: #66421e;
        border-color: #9e7856;
    }
    
    .cinta-promociones {
        position: relative;
        padding: 28px 0;
        border-bottom: 1px solid #bd955f88;
        background: radial-gradient(ellipse at 10% 0%,#78533566,transparent 60%),linear-gradient(115deg,#39251c,#1e1612);
        color: #fff1d9;
        overflow: hidden;
    }
    
    .cinta-promociones:before {
        content: "✵";
        position: absolute;
        left: -38px;
        top: -125px;
        font-size: 290px;
        color: #deb57c12;
        pointer-events: none;
    }
    
    .cinta-promociones-interior {
        position: relative;
        display: flex;
        gap: 22px;
        align-items: center;
        justify-content: space-between;
    }
    
    .cinta-icono {
        display: grid;
        place-items: center;
        border: 1px solid #cda46c8c;
        border-radius: 50%;
        width: 70px;
        height: 70px;
        font-size: 33px;
        color: #e8b86e;
        flex: none;
    }
    
    .cinta-promociones h2 {
        color: #fff3df;
        font-size: clamp(23px,2.5vw,40px);
        line-height: 1.1;
        margin: 5px 0 10px;
    }
    
    .cinta-promociones h2 em {
        color: #ebc18c;
    }
    
    .cinta-promociones p {
        color: #f1d7b7;
        font-size: 13px;
        max-width: 690px;
        margin: 0;
    }
    
    .cinta-acciones {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .cinta-acciones .boton {
        font-size: 12px;
        white-space: nowrap;
        min-height: 40px;
    }
    
    .cinta-ver-promo {
        background: transparent;
        border: 0;
        color: #f7d29b;
        text-decoration: underline;
        text-underline-offset: 4px;
        font-weight: 700;
        cursor: pointer;
    }
    
    .cinta-ver-promo[hidden] {
        display: none;
    }
    
    body[data-theme="day"] .cinta-promociones {
        background: radial-gradient(circle at 10% 0%,#fff9eb,transparent 55%),linear-gradient(120deg,#f5e7d1,#ebd6af);
        border-color: #c99d61;
        color: #51371e;
    }
    
    body[data-theme="day"] .cinta-promociones h2,body[data-theme="day"] .cinta-promociones p {
        color: #523722;
    }
    
    body[data-theme="day"] .cinta-promociones h2 em {
        color: #98612e;
    }
    
    body[data-theme="day"] .cinta-promociones .eyebrow {
        color: #754b2a;
    }
    
    body[data-theme="day"] .cinta-icono {
        color: #8f592d;
        border-color: #9c6e3b;
    }
    
    body[data-theme="day"] .cinta-ver-promo {
        color: #835022;
    }
    
    .bienvenida-pantalla {
        display: grid;
        grid-template-columns: minmax(0,.38fr) minmax(0,.62fr);
        align-items: stretch;
        gap: 0;
        background: #271910;
    }
    
    .bienvenida-fotografia {
        margin: 0;
        position: relative;
        min-height: 230px;
        overflow: hidden;
        background: #3d2619;
    }
    
    .bienvenida-fotografia img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(.82) saturate(1.07);
    }
    
    .bienvenida-fotografia:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg,#23150cbc,transparent 55%);
    }
    
    .bienvenida-fotografia figcaption {
        position: absolute;
        z-index: 1;
        bottom: 16px;
        left: 16px;
        right: 12px;
        font-weight: 750;
        color: #fff0d9;
        font-size: 11px;
        letter-spacing: .12em;
        line-height: 1.5;
    }
    
    .bienvenida-pantalla video {
        width: 100%!important;
        height: 100%!important;
        max-height: 45dvh;
        object-fit: cover;
        background: #170f0d;
    }
    
    .beneficios-enlaces>a {
        display: block;
        text-decoration: none;
        color: inherit;
        position: relative;
        transition: transform .24s,border-color .24s,box-shadow .24s;
        cursor: pointer;
    }
    
    .beneficios-enlaces>a:hover {
        transform: translateY(-5px);
        border-color: #cba16b;
        box-shadow: 0 18px 45px #110b0933;
    }
    
    .beneficios-enlaces>a:focus-visible {
        outline: 3px solid #d4a06a;
        outline-offset: 3px;
    }
    
    .servicios-aviso {
        margin: 12px 0 5px;
        color: #debf96;
        font-size: 13px;
    }
    
    .beneficios-lealtad-enlace {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 25px;
        margin: 32px 0 24px;
        padding: 27px 32px;
        border: 1px solid #bda17d88;
        border-radius: 12px;
        background: repeating-linear-gradient(110deg,#ebdbb50d 0 2px,transparent 2px 5px),linear-gradient(110deg,#3b2c20,#251c18);
    }
    
    .beneficios-lealtad-enlace h3 {
        font: normal 30px var(--serif);
        color: #f4ddbc;
        margin: 7px 0;
    }
    
    .beneficios-lealtad-enlace p:not(.eyebrow) {
        color: #d6bd9b;
        max-width: 800px;
    }
    
    .beneficios-lealtad-enlace .boton {
        flex: none;
    }
    
    body[data-theme="day"] .beneficios-lealtad-enlace {
        background: linear-gradient(120deg,#fff4df,#ecd6b3);
        border-color: #bda074;
    }
    
    body[data-theme="day"] .beneficios-lealtad-enlace h3,body[data-theme="day"] .beneficios-lealtad-enlace p:not(.eyebrow) {
        color: #563922;
    }
    
    .razones-seccion {
        position: relative;
        padding: 90px 0;
        background: radial-gradient(ellipse at 90% 0%,#9a633319,transparent 50%),#211811;
        border-block: 1px solid #bc956b3f;
    }
    
    .razones-grid {
        display: grid;
        grid-template-columns: minmax(250px,.83fr) minmax(340px,1.17fr);
        gap: clamp(22px,5vw,80px);
        align-items: start;
    }
    
    .razones-presentacion h2 {
        font-size: clamp(35px,4.2vw,62px);
        line-height: 1.12;
        max-width: 550px;
        color: #f5e6d0;
    }
    
    .razones-presentacion h2 em {
        color: #d6a96f;
    }
    
    .razones-presentacion p:not(.eyebrow) {
        color: #dcc6aa;
        line-height: 1.7;
        margin: 18px 0;
    }
    
    .razones-presentacion img {
        width: 100%;
        max-height: 230px;
        object-fit: cover;
        border: 7px solid #ab8c5d38;
        border-radius: 20px 20px 8px 8px;
        filter: sepia(.12);
        box-shadow: 0 16px 55px #0503025c;
    }
    
    .razones-preguntas {
        border-top: 1px solid #d4b07a88;
    }
    
    .razones-preguntas details {
        border-bottom: 1px solid #d4b07a69;
        padding: 0 8px;
    }
    
    .razones-preguntas summary {
        position: relative;
        padding: 23px 42px 23px 2px;
        cursor: pointer;
        font: 600 clamp(16px,1.6vw,21px) var(--serif);
        list-style: none;
        color: #f6e5cb;
    }
    
    .razones-preguntas summary::-webkit-details-marker {
        display: none;
    }
    
    .razones-preguntas summary:after {
        content: "⌄";
        position: absolute;
        right: 8px;
        top: 18px;
        font: 25px var(--sans);
        color: #e5bb7e;
        transition: transform .2s;
    }
    
    .razones-preguntas details[open] summary:after {
        transform: rotate(180deg);
    }
    
    .razones-preguntas details p {
        color: #d4bea3;
        line-height: 1.7;
        margin: 0 0 23px;
        max-width: 650px;
    }
    
    .razones-preguntas details a {
        color: #f2ca95;
        display: inline-block;
        margin-bottom: 21px;
    }
    
    body[data-theme="day"] .razones-seccion {
        background: #f1e4cc;
    }
    
    body[data-theme="day"] .razones-presentacion h2,body[data-theme="day"] .razones-preguntas summary {
        color: #4a311f;
    }
    
    body[data-theme="day"] .razones-presentacion p:not(.eyebrow),body[data-theme="day"] .razones-preguntas details p {
        color: #694d37;
    }
    
    body[data-theme="day"] .razones-preguntas {
        border-color: #ae8b61;
    }
    
    body[data-theme="day"] .razones-preguntas details {
        border-color: #ae8b6178;
    }
    
    body[data-theme="day"] .razones-preguntas summary:after,body[data-theme="day"] .razones-presentacion h2 em {
        color: #9f6d35;
    }
    
    .detalle-ingredientes-box {
        background: #b28a6220;
        padding: 17px 19px;
        margin: 12px 0 17px;
        border: 1px solid #bd986c85;
        border-radius: 10px;
    }
    
    .detalle-ingredientes-box h3 {
        font: 650 19px var(--serif);
        margin: 0 0 8px;
        color: inherit;
    }
    
    .detalle-ingredientes-box p {
        font-size: 14px;
        line-height: 1.6;
        margin: 0 0 9px;
        color: inherit;
    }
    
    .detalle-ingredientes-box small {
        display: block;
        font-size: 11px;
        line-height: 1.6;
        opacity: .78;
    }
    
    .lealtad-mini-contador {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 16px;
    }
    
    .lealtad-mini-contador strong {
        font: 600 38px var(--serif);
        color: #f1cd95;
    }
    
    .lealtad-mini-contador span {
        font-size: 13px;
        color: #efcf9f;
    }
    
    body[data-theme="day"] .lealtad-mini-contador strong,body[data-theme="day"] .lealtad-mini-contador span {
        color: #7c4e27;
    }
    
    .pie .icono-red {
        display: inline-flex;
        align-items: center;
        vertical-align: middle;
        margin-right: 6px;
    }
    
    .pie a:has(.icono-red) {
        display: flex;
        gap: 5px;
        align-items: center;
    }
    
    .pie .panel-personal {
        display: block;
        font-size: 12px;
        opacity: .75;
        margin-top: 13px;
    }
    
    body[data-theme="day"] .beneficios-enlaces>a {
        color: #49301f;
    }

    @media(max-width:1080px) {
        
        .cinta-promociones-interior {
            flex-wrap: wrap;
        }
        
        .cinta-acciones {
            margin-left: 70px;
            justify-content: flex-start;
        }
        
        .cabecera .acciones-cabecera {
            gap: 6px;
        }
    }

    @media(max-width:830px) {
        
        .razones-grid {
            grid-template-columns: 1fr;
        }
        
        .razones-presentacion img {
            max-height: 270px;
        }
        
        .beneficios-lealtad-enlace {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .cinta-icono {
            width: 46px;
            height: 46px;
            font-size: 22px;
        }
        
        .cinta-acciones {
            margin-left: 0;
        }
        
        .bienvenida-pantalla {
            grid-template-columns: 1fr;
        }
        
        .bienvenida-fotografia {
            height: 125px;
            min-height: 125px;
        }
        
        .bienvenida-fotografia figcaption {
            font-size: 9px;
        }
        
        .bienvenida-pantalla video {
            max-height: 34dvh;
        }
    }

    @media(max-width:540px) {
        
        .cinta-promociones {
            padding: 21px 0;
        }
        
        .cinta-promociones-interior {
            gap: 12px;
        }
        
        .cinta-promociones h2 {
            font-size: 27px;
        }
        
        .cinta-acciones .boton {
            padding: 10px 13px;
        }
        
        .razones-seccion {
            padding: 58px 0;
        }
        
        .razones-preguntas summary {
            padding: 19px 36px 19px 3px;
        }
        
        .beneficios-lealtad-enlace {
            padding: 20px;
        }
        
        .control-idioma {
            padding: 7px 9px;
        }
        
        .control-idioma>span:first-child {
            display: none;
        }
        
        .lealtad-mini-contador strong {
            font-size: 31px;
        }
    }

    @media(prefers-reduced-motion:reduce) {
        
        .beneficios-enlaces>a,.razones-preguntas summary:after {
            transition: none!important;
        }
    }
    /* Mantener íntegra la apariencia de las tarjetas ahora convertidas en enlaces. */
    
    .beneficios-grid.beneficios-enlaces>a {
        padding: 28px;
        border: 1px solid #bb925b65;
        border-radius: 16px;
        background: linear-gradient(135deg,#34251b,#211711);
        min-height: 230px;
    }
    
    .beneficios-grid.beneficios-enlaces>a>p:last-child {
        color: #c5b39e;
        font-size: 14px;
        line-height: 1.8;
        margin: 0;
    }
    
    body[data-theme="day"] .beneficios-grid.beneficios-enlaces>a {
        background: linear-gradient(140deg,#fff7e9,#eee0c5);
        border-color: #b18c5a;
    }
    
    body[data-theme="day"] .beneficios-grid.beneficios-enlaces>a>p:last-child {
        color: #684c36;
    }
    
    body[data-theme="day"] .servicios-aviso {
        color: #724c2e;
    }
    /* Navegación compacta en pantallas medianas: evita solapamiento con tema e idioma. */

    @media(min-width:851px) and (max-width:1180px) {
        
        .navegacion {
            gap: 8px;
            padding: 10px 8px;
        }
        
        .navegacion a {
            font-size: 11px;
        }
        
        .control-tema,.control-idioma {
            padding: 7px 8px;
        }
        
        .acciones-cabecera {
            gap: 5px;
        }
        
        .acciones-cabecera .boton-carrito {
            padding: 9px 12px;
            font-size: 12px;
        }
    }
    /* Novedad 2026-11-01 | Negocios, interacción y accesibilidad */
    
    .cinta-evento {
        margin-top: 11px!important;
        font-size: 11px!important;
        letter-spacing: .035em;
        color: #efd1aa!important;
    }
    
    body[data-theme="day"] .cinta-evento {
        color: #755032!important;
    }
    
    .negocios-seccion {
        position: relative;
        padding: clamp(65px,8vw,118px) 0;
        background: radial-gradient(circle at 20% 8%,#a9743f19,transparent 35%),#1b1410;
        border-top: 1px solid #d1a7744a;
    }
    
    .negocios-grid {
        display: grid;
        grid-template-columns: minmax(0,1.05fr) minmax(330px,.95fr);
        gap: clamp(25px,5vw,80px);
        align-items: center;
    }
    
    .negocios-presentacion h2 {
        font-size: clamp(35px,4.4vw,64px);
        color: #f4e5ca;
        line-height: 1.09;
        margin: 8px 0 22px;
    }
    
    .negocios-presentacion h2 em {
        color: #d6a666;
    }
    
    .negocios-presentacion>p:not(.eyebrow) {
        max-width: 580px;
        color: #d8c3a7;
        line-height: 1.85;
    }
    
    .negocios-beneficios {
        display: grid;
        gap: 12px;
        margin: 30px 0;
    }
    
    .negocios-beneficios>div {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 14px;
        padding: 14px 16px;
        border: 1px solid #bc935b55;
        border-radius: 10px;
        background: #e8cba708;
    }
    
    .negocios-beneficios span {
        grid-row: span 2;
        color: #d9ad73;
        font: 25px var(--serif);
    }
    
    .negocios-beneficios strong {
        color: #f3dfc2;
        font: 600 21px var(--serif);
    }
    
    .negocios-beneficios small {
        color: #c9ad90;
        line-height: 1.55;
        margin-top: 3px;
    }
    
    .negocios-aclaracion {
        font-size: 12px!important;
    }
    
    .negocios-formulario {
        position: relative;
        padding: clamp(22px,3vw,42px);
        background: repeating-linear-gradient(0deg,transparent 0 25px,#70543708 26px 27px),linear-gradient(135deg,#f7ead5,#e6d0ab);
        border: 1px solid #c49e70;
        border-radius: 16px;
        box-shadow: 0 35px 70px #09050466;
        color: #4a2b1b;
        display: grid;
        gap: 12px;
    }
    
    .negocios-formulario h3 {
        font: normal clamp(25px,3vw,42px) var(--serif);
        color: #55331c;
        margin-bottom: 7px;
    }
    
    .negocios-formulario label {
        font-weight: 700;
        font-size: 13px;
        display: grid;
        gap: 6px;
        color: #5a3722;
    }
    
    .negocios-formulario input,.negocios-formulario select,.negocios-formulario textarea {
        display: block;
        width: 100%;
        font: inherit;
        font-size: 15px;
        padding: 12px 13px;
        background: #fffbf3;
        border: 1px solid #bba082;
        border-radius: 8px;
        color: #332319;
        min-width: 0;
    }
    
    .negocios-formulario input:focus,.negocios-formulario select:focus,.negocios-formulario textarea:focus {
        outline: 2px solid #a9793c;
        outline-offset: 1px;
    }
    
    .negocios-formulario .negocios-antispam {
        position: absolute!important;
        left: -9999px!important;
        opacity: 0!important;
        pointer-events: none!important;
    }
    
    .negocios-privacidad {
        font-size: 12px;
        line-height: 1.65;
        color: #76563e;
    }
    
    .negocios-mensaje {
        min-height: 24px;
        color: #5c361d;
        font-size: 13px;
        font-weight: 650;
        line-height: 1.5;
    }
    
    .negocios-formulario .boton:disabled {
        opacity: .55;
        cursor: wait;
    }
    
    body[data-theme="day"] .negocios-seccion {
        background: radial-gradient(circle at 10% 5%,#faf3e6,transparent 60%),#f0e2ca;
    }
    
    body[data-theme="day"] .negocios-presentacion h2 {
        color: #53341f;
    }
    
    body[data-theme="day"] .negocios-presentacion>p:not(.eyebrow) {
        color: #664a34;
    }
    
    body[data-theme="day"] .negocios-beneficios>div {
        background: #fef7eb;
        border-color: #b89a6c;
    }
    
    body[data-theme="day"] .negocios-beneficios strong {
        color: #5a3b25;
    }
    
    body[data-theme="day"] .negocios-beneficios small {
        color: #765b43;
    }
    
    body[data-theme="day"] .negocios-beneficios span {
        color: #946129;
    }
    
    .descubre-interaccion {
        margin-top: 24px;
        border: 1px solid #b99468a3;
        border-radius: 16px;
        padding: 25px;
        background: linear-gradient(125deg,#342519,#201813);
    }
    
    .descubre-interaccion h3 {
        font: normal 28px var(--serif);
        color: #f5e1c1;
        margin: 5px 0 14px;
    }
    
    .descubre-opciones {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .descubre-opciones button {
        border: 1px solid #c9a879;
        border-radius: 40px;
        background: #eecb9620;
        color: #f7e4c8;
        padding: 10px 15px;
        font: 600 13px var(--sans);
        cursor: pointer;
        transition: transform .2s,background .2s;
    }
    
    .descubre-opciones button:hover,.descubre-opciones button:focus-visible {
        background: #b8844d6b;
        transform: translateY(-2px);
    }
    
    .descubre-interaccion #descubre-respuesta {
        margin: 15px 0 0;
        font-size: 13px;
        line-height: 1.5;
        color: #d6b894;
    }
    
    body[data-theme="day"] .descubre-interaccion {
        background: #fff6e5;
    }
    
    body[data-theme="day"] .descubre-interaccion h3 {
        color: #49321f;
    }
    
    body[data-theme="day"] .descubre-opciones button {
        color: #5c3c23;
        background: #f4e4c7;
    }
    
    body[data-theme="day"] .descubre-interaccion #descubre-respuesta {
        color: #715039;
    }
    /* Priorizar navegabilidad sobre animaciones y evitar solapamiento con herramientas de accesibilidad */

    @media(min-width:851px) and (max-width:1450px) {
        
        .cabecera {
            flex-wrap: wrap;
            gap: 6px 18px;
            padding-block: 9px;
        }
        
        .cabecera .acciones-cabecera {
            margin-left: auto;
        }
        
        .navegacion {
            gap: clamp(7px,1vw,15px);
        }
    }

    @media(max-width:960px) {
        
        .negocios-grid {
            grid-template-columns: 1fr;
        }
        
        .negocios-presentacion {
            max-width: 760px;
        }
    }

    @media(max-width:520px) {
        
        .negocios-seccion {
            padding: 58px 0;
        }
        
        .negocios-formulario {
            padding: 22px;
        }
        
        .descubre-interaccion {
            padding: 19px;
        }
        
        .descubre-opciones button {
            width: 100%;
            text-align: left;
        }
        
        .negocios-beneficios>div {
            grid-template-columns: 30px 1fr;
        }
    }

    @media(prefers-reduced-motion:reduce) {
        
        .descubre-opciones button {
            transition: none!important;
        }
    }
    /* ================================================================
   LA MILPA · V6 EDITORIAL — ESTUDIO DE DISEÑO CULTURAL OAXAQUEÑO
   Sistema visual: cacao / barro / maíz / lino. Sin dependencia JS.
   Preserva los componentes de compra, panel, cuenta y promociones.
   ================================================================ */
    
    :root {
        --v6-cobre: #c89a63;
        --v6-ocre: #b58147;
        --v6-marfil: #f9ead0;
        --v6-sereno: #d9c0a3;
    }
    
    html {
        scroll-padding-top: 96px;
    }
    
    body {
        background: #1b1511;
    }
    
    body[data-theme="night"] {
        --ink: #19120e;
        --panel: #261b16;
        --panel2: #33241c;
        --gold: #c99a64;
        --gold-light: #e6c399;
        --line: rgba(212,167,109,.31);
        --cream: #f7e9d4;
        --muted: #d2bfa9;
        background: #1d1611;
    }
    
    body[data-theme="day"] {
        --ink: #3b291d;
        --panel: #f5e8d2;
        --panel2: #fff8e9;
        --gold: #91602f;
        --gold-light: #a16b34;
        --line: rgba(125,83,39,.22);
        --cream: #35271c;
        --muted: #745744;
        background: #f7efdf;
    }
    
    :where(section[id],footer[id]) {
        scroll-margin-top: 102px;
    }
    
    .contenedor {
        width: min(1240px,calc(100% - 96px));
    }
    
    .eyebrow {
        font-size: 10.5px;
        letter-spacing: .23em;
        line-height: 1.5;
    }
    
    .seccion {
        padding-block: clamp(75px,8.3vw,120px);
    }
    /* Navegación editorial: menos ruido, más espacio. */
    
    .cabecera {
        min-height: 88px;
        padding: 11px clamp(20px,3.3vw,58px);
        gap: clamp(18px,2.2vw,35px);
        background: rgba(28,19,15,.96)!important;
        box-shadow: 0 5px 25px #0906032b!important;
    }
    
    body[data-theme="day"] .cabecera {
        background: rgba(251,243,228,.96)!important;
        border-bottom-color: #a3855e48!important;
    }
    
    .marca {
        width: 66px;
        height: 66px;
    }
    
    .marca img {
        box-shadow: 0 0 0 3px #8c6545,0 7px 15px #1108004d;
        border: 2px solid #efcf9c;
    }
    
    .navegacion {
        flex: 1;
        gap: clamp(12px,1.8vw,27px);
        border: 0;
        background: transparent!important;
        padding: 0;
        border-radius: 0;
        justify-content: center;
    }
    
    .navegacion>a {
        font-weight: 600;
        font-size: 12.5px;
        letter-spacing: .01em;
        color: #e8d4bc;
    }
    
    .navegacion a.activo:after {
        bottom: -15px;
        height: 1px;
        background: #d1a468;
    }
    
    .nav-mas {
        position: relative;
        flex: none;
        z-index: 5;
    }
    
    .nav-mas summary {
        list-style: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 12.5px;
        font-weight: 600;
        color: #e8d4bc;
        white-space: nowrap;
    }
    
    .nav-mas summary::-webkit-details-marker {
        display: none;
    }
    
    .nav-mas summary span {
        font-size: 18px;
        color: #d4a46e;
        line-height: 1;
    }
    
    .nav-mas[open] summary span {
        transform: rotate(180deg);
    }
    
    .nav-mas-contenido {
        position: absolute;
        right: 0;
        top: calc(100% + 24px);
        width: 245px;
        padding: 9px;
        background: #2a1e16;
        border: 1px solid #b78b5478;
        box-shadow: 0 22px 50px #1109009c;
        border-radius: 11px;
        display: grid;
        gap: 2px;
    }
    
    .nav-mas-contenido a {
        padding: 10px 13px;
        border-radius: 6px;
        font-size: 12px;
        color: #f1dcc0!important;
        white-space: normal;
        line-height: 1.35;
    }
    
    .nav-mas-contenido a:hover {
        background: #b58c552e;
    }
    
    body[data-theme="day"] .nav-mas summary,body[data-theme="day"] .navegacion>a {
        color: #47301f;
    }
    
    body[data-theme="day"] .nav-mas-contenido {
        background: #fff7e9;
        border-color: #b79e78;
    }
    
    body[data-theme="day"] .nav-mas-contenido a {
        color: #573c28!important;
    }
    
    body[data-theme="day"] .nav-mas-contenido a:hover {
        background: #e7d6b9;
    }
    
    .acciones-cabecera {
        gap: 8px;
    }
    
    .control-idioma,.control-tema {
        min-height: 37px;
        min-width: 39px;
        padding: 7px 10px;
        border-color: #af895968;
        background: transparent;
        border-radius: 9px;
        font-size: 12px;
    }
    
    .acciones-cabecera .enlace-cuenta {
        font-size: 12px;
        padding: 8px 4px;
        color: #eed5af;
    }
    
    .acciones-cabecera .boton-carrito {
        min-height: 42px;
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    .boton {
        border-radius: 8px;
        box-shadow: none!important;
    }
    
    .boton.dorado {
        background: #cd9a60;
        border-color: #daac76;
        color: #23150d;
    }
    
    .boton.dorado:hover {
        background: #e2b37b;
    }
    
    body[data-theme="day"] .boton.dorado {
        background: #8d5b32;
        border-color: #8d5b32;
        color: #fff7e9;
    }
    
    body[data-theme="day"] .boton.dorado:hover {
        background: #774723;
    }
    
    body[data-theme="day"] .boton.contorno {
        background: transparent;
        border-color: #956c45;
        color: #6c482b;
    }
    /* Portada limpia. No hay botones por cada categoría en el primer pantallazo. */
    
    .hero {
        min-height: min(880px,calc(100svh + 40px));
        display: grid;
        grid-template-columns: minmax(0,1.14fr) minmax(315px,.82fr);
        gap: clamp(35px,5vw,90px);
        padding: clamp(145px,15vw,205px) max(48px,calc((100vw - 1240px)/2)) 135px;
        background: radial-gradient(ellipse at 75% 62%,#a67a481b,transparent 60%),linear-gradient(115deg,#1c120d 0%,#2e2016 56%,#261910 100%);
        overflow: hidden;
    }
    
    .hero:before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .34;
        pointer-events: none;
        background: repeating-linear-gradient(116deg,transparent 0 6px,#be935a09 7px 8px),radial-gradient(circle at -3% 50%,#d19c5033,transparent 43%);
    }
    
    .hero-capa {
        background: linear-gradient(0deg,#201711 0%,transparent 18%);
        opacity: .8;
    }
    
    .hero-contenido {
        max-width: 740px;
        align-self: center;
    }
    
    .hero .eyebrow {
        color: #edc38a;
        margin-bottom: 25px;
    }
    
    .hero h1 {
        font-size: clamp(53px,5.9vw,94px);
        line-height: 1.045;
        letter-spacing: -.045em;
        margin: 0 0 28px;
        color: #fff4e5;
        text-wrap: balance;
        text-shadow: none;
    }
    
    .hero h1 em {
        color: #dbb17b;
        font-style: italic;
    }
    
    .hero-sub {
        font-size: clamp(16px,1.26vw,18px);
        color: #dac9b4;
        max-width: 500px;
        line-height: 1.85;
    }
    
    .hero .grupo-botones {
        margin: 32px 0 28px;
        gap: 10px;
    }
    
    .hero .grupo-botones .boton {
        min-height: 48px;
        padding: 11px 21px;
    }
    
    .hero .volver-bienvenida {
        opacity: .78;
        font-size: 12px;
    }
    
    .hero-notas {
        display: flex;
        align-items: center;
        gap: 18px;
        margin-top: 33px;
        border-top: 1px solid #cba27043;
        padding-top: 20px;
        max-width: 495px;
    }
    
    .hero-notas>span {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }
    
    .hero-notas strong {
        color: #e8d3bb;
        font: 600 12px var(--sans);
    }
    
    .hero-notas small {
        color: #baa48b;
        font: 11px var(--sans);
    }
    
    .hero-notas i {
        height: 34px;
        width: 1px;
        background: #a7835c81;
    }
    
    .hero-editorial {
        position: relative;
        z-index: 1;
        align-self: center;
        border: 1px solid #d5ae7d61;
        background: #332318;
        border-radius: 195px 195px 10px 10px;
        padding: 10px 10px 0;
        box-shadow: 25px 30px 80px #0b060577;
        max-width: 455px;
        width: 100%;
        justify-self: end;
        transform: translateY(10px);
    }
    
    .hero-editorial-foto {
        height: clamp(300px,37vw,525px);
        overflow: hidden;
        position: relative;
        border-radius: 185px 185px 5px 5px;
    }
    
    .hero-editorial-foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 55% 50%;
        filter: saturate(.94) contrast(1.03) brightness(.83);
    }
    
    .hero-editorial-foto:after {
        content: "";
        position: absolute;
        inset: 35% 0 0;
        background: linear-gradient(0deg,#160b05bd,transparent);
    }
    
    .hero-editorial-estampa {
        position: absolute;
        z-index: 1;
        bottom: 29px;
        left: 26px;
        color: #f7e9cf;
        font: 32px var(--serif);
        letter-spacing: .02em;
    }
    
    .hero-editorial-estampa small {
        display: block;
        font: 600 10px var(--sans);
        letter-spacing: .24em;
        margin-top: 2px;
        color: #f3c993;
    }
    
    .hero-editorial-pie {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 19px 12px 22px;
        color: #e6c9a3;
        font: 12px var(--sans);
    }
    
    .hero-editorial-pie a {
        color: #f6daa8;
        text-decoration: underline;
        text-underline-offset: 5px;
        white-space: nowrap;
    }
    
    .hero-deslizar {
        position: absolute;
        bottom: 33px;
        left: max(48px,calc((100vw - 1240px)/2));
        color: #c5a881;
        z-index: 3;
        display: flex;
        align-items: center;
        gap: 15px;
        letter-spacing: .09em;
        font-size: 11px;
        text-transform: uppercase;
    }
    
    .hero-deslizar span {
        font-size: 22px;
        line-height: 1;
    }
    
    body[data-theme="day"] .hero {
        background: linear-gradient(118deg,#f2e5cd 0%,#ead5b2 58%,#e1c29e 100%);
    }
    
    body[data-theme="day"] .hero:before {
        opacity: .14;
    }
    
    body[data-theme="day"] .hero-capa {
        background: linear-gradient(0deg,#efdfc5,transparent 20%);
    }
    
    body[data-theme="day"] .hero h1 {
        color: #3a281a;
    }
    
    body[data-theme="day"] .hero h1 em {
        color: #996636;
    }
    
    body[data-theme="day"] .hero .eyebrow,body[data-theme="day"] .hero-deslizar {
        color: #8c5b2d;
    }
    
    body[data-theme="day"] .hero-sub {
        color: #5c4533;
    }
    
    body[data-theme="day"] .hero-notas {
        border-color: #a78967;
    }
    
    body[data-theme="day"] .hero-notas strong {
        color: #493323;
    }
    
    body[data-theme="day"] .hero-notas small {
        color: #72563b;
    }
    
    body[data-theme="day"] .hero-notas i {
        background: #a58967;
    }
    
    body[data-theme="day"] .hero-editorial {
        background: #faf1e1;
        border-color: #b78e5f;
    }
    
    body[data-theme="day"] .hero-editorial-pie {
        color: #5b3d26;
    }
    
    body[data-theme="day"] .hero-editorial-pie a {
        color: #744620;
    }
    /* Promociones con sección independiente y dos tarjetas, estilo editorial. */
    
    .promociones-editorial {
        padding-block: 110px;
        background: radial-gradient(circle at 75% 0%,#5736222f,transparent 45%),#241a14;
        position: relative;
        border-top: 1px solid #b48a594c;
        border-bottom: 1px solid #b48a5940;
    }
    
    .promociones-editorial .promociones-encabezado {
        display: grid;
        grid-template-columns: 1.15fr .85fr;
        align-items: end;
        gap: 60px;
        margin-bottom: 42px;
    }
    
    .promociones-encabezado h2 {
        font-size: clamp(38px,4.25vw,62px);
        color: #f3e2ca;
        margin: 8px 0 0;
        max-width: 790px;
    }
    
    .promociones-encabezado h2 em {
        color: #ddad72;
        font-style: italic;
    }
    
    .promociones-encabezado>p {
        color: #c8b49d;
        font-size: 15px;
        line-height: 1.8;
        max-width: 395px;
        margin: 0 0 6px;
    }
    
    .promociones-grid {
        display: grid;
        grid-template-columns: 1.25fr .75fr;
        gap: 20px;
    }
    
    .promo-card {
        position: relative;
        border-radius: 12px;
        min-height: 356px;
        overflow: hidden;
        border: 1px solid #c6a07368;
        background: #302017;
        box-shadow: 0 20px 45px #0e090527;
    }
    
    .promo-card-inner {
        position: relative;
        z-index: 1;
        padding: clamp(24px,3.1vw,45px);
        max-width: 650px;
    }
    
    .promo-temporada {
        background: linear-gradient(85deg,#24150de8 10%,#2e1b12cb 65%,#3b2518c4),url('../assets/platillo-107.jpg') center / cover;
    }
    
    .promo-ornamento {
        position: absolute;
        right: -8px;
        bottom: -125px;
        font-size: 380px;
        line-height: 1;
        opacity: .08;
        color: #e7c79d;
    }
    
    .promo-lealtad {
        background: repeating-linear-gradient(108deg,transparent 0 6px,#6d503c0b 7px 9px),linear-gradient(125deg,#eee0c3,#d9b992);
        color: #3d291b;
        border-color: #d2b283;
    }
    
    .promo-etiqueta {
        font: 700 10px var(--sans);
        letter-spacing: .21em;
        color: #e5bb82;
    }
    
    .promo-card h3 {
        font: 500 clamp(31px,3.5vw,52px)/1.1 var(--serif);
        color: #f8e9d4;
        margin: 18px 0 16px;
    }
    
    .promo-card h3 em {
        color: #e0ad6a;
    }
    
    .promo-card p {
        color: #d7c1a7;
        font-size: 14px;
        line-height: 1.8;
        max-width: 450px;
        margin-bottom: 19px;
    }
    
    .promo-enlace {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        padding: 10px 0;
        font: 700 13px var(--sans);
        text-decoration: underline;
        text-underline-offset: 5px;
        text-decoration-color: #b48b61;
        color: #f5d2a6;
        background: none;
        border: 0;
        text-align: left;
    }
    
    .promo-enlace[hidden] {
        display: none;
    }
    
    .promo-nota {
        display: block;
        color: #b89a74;
        font-size: 10px;
        margin-top: 20px;
        letter-spacing: .06em;
    }
    
    .promo-lealtad .promo-etiqueta {
        color: #765333;
    }
    
    .promo-lealtad .promo-numero {
        font: 500 78px/1 var(--serif);
        letter-spacing: -.08em;
        color: #80532b;
        margin: 18px 0 -4px;
    }
    
    .promo-lealtad .promo-numero span {
        font-size: 35px;
        vertical-align: top;
        letter-spacing: 0;
    }
    
    .promo-lealtad h3 {
        font-size: clamp(26px,2.4vw,37px);
        color: #3e2a1c;
        margin: 10px 0;
    }
    
    .promo-lealtad p:not(.promo-numero) {
        color: #654831;
    }
    
    .promo-lealtad .promo-enlace {
        color: #68431e;
    }
    
    .promo-pie {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        align-items: center;
        margin-top: 22px;
        font-size: 12px;
        color: #bca58a;
    }
    
    .promo-pie a {
        color: #e0bb86;
        text-decoration: underline;
        text-underline-offset: 5px;
    }
    
    body[data-theme="day"] .promociones-editorial {
        background: #faf3e7;
        border-color: #d0b894;
    }
    
    body[data-theme="day"] .promociones-encabezado h2 {
        color: #483121;
    }
    
    body[data-theme="day"] .promociones-encabezado h2 em {
        color: #9b632f;
    }
    
    body[data-theme="day"] .promociones-encabezado>p {
        color: #6b503d;
    }
    
    body[data-theme="day"] .promo-pie {
        color: #755940;
    }
    
    body[data-theme="day"] .promo-pie a {
        color: #7b4b24;
    }
    /* Nuestra historia: museo gastronómico con espacio y calidez. */
    
    .historia-seccion {
        background: linear-gradient(150deg,#231912,#2c2018);
        position: relative;
    }
    
    .historia-grid {
        grid-template-columns: .95fr 1.05fr;
        gap: clamp(42px,7vw,110px);
        padding-block: 15px;
    }
    
    .historia-foto {
        min-height: 540px;
        border-radius: 210px 210px 8px 8px;
        box-shadow: 0 30px 80px #0a060554;
        outline: none;
        border: 9px solid #7153384a;
    }
    
    .historia-texto h2 {
        font-size: clamp(42px,4.5vw,68px);
        line-height: 1.1;
        color: #f5e6ce;
        margin: 12px 0 25px;
    }
    
    .historia-texto h2 em {
        color: #d5a66d;
        font-style: italic;
    }
    
    .historia-texto p:not(.eyebrow) {
        font-size: 16px;
        line-height: 1.95;
        color: #d6bfa5;
    }
    
    .historia-frase {
        font-size: 17px;
        padding-inline: 0;
        border: 0;
        border-left: 2px solid #ba9059;
        padding-left: 20px;
        margin: 22px 0;
        color: #e9c797;
    }
    
    .historia-texto:before {
        content: none;
    }
    
    .historia-capitular {
        margin-bottom: 23px;
    }
    
    body[data-theme="day"] .historia-seccion {
        background: linear-gradient(140deg,#f6e9d4,#ead9bb);
    }
    
    body[data-theme="day"] .historia-texto h2 {
        color: #4b3020;
    }
    
    body[data-theme="day"] .historia-texto p:not(.eyebrow) {
        color: #644b35;
    }
    
    body[data-theme="day"] .historia-frase {
        color: #7f542e;
    }
    /* Carta: primero contenido, después controles, sin fondos estridentes. */
    
    .menu-seccion {
        background: #1b1511;
        padding-block: 120px;
    }
    
    body[data-theme="night"] .menu-seccion {
        background: radial-gradient(ellipse at 55% 0,#3b2b1d 0%,#1b1511 62%);
    }
    
    body[data-theme="day"] .menu-seccion {
        background: linear-gradient(145deg,#fbf3e5,#f5ead7);
    }
    
    .encabezado-seccion {
        max-width: 780px;
        margin-bottom: 25px;
    }
    
    .encabezado-seccion h2 {
        font-size: clamp(45px,5.2vw,78px);
        margin: 7px 0 13px;
        color: #f4e4ce;
    }
    
    .encabezado-seccion h2 em {
        font-style: italic;
        color: #dfae75;
    }
    
    .encabezado-seccion>p:last-child {
        font-size: 15px;
        color: #cfbda8;
    }
    
    .carta-sello {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 23px;
        letter-spacing: .24em;
        color: #ae8e65;
        font-size: 10px;
        margin: 0 auto 40px;
    }
    
    .carta-sello span:nth-child(even) {
        color: #c8a273;
        font-size: 17px;
    }
    
    .categorias {
        border-radius: 8px;
        background: #2b1f18;
        box-shadow: none;
        border-color: #ae8d6144;
    }
    
    .categorias button {
        min-height: 63px;
        font-size: 13px;
        letter-spacing: .02em;
        border-color: #88654044;
    }
    
    .categorias button:hover,.categorias button.activo {
        background: #a47139;
        color: #fff8eb;
        box-shadow: none;
    }
    
    .menu-herramientas {
        margin-top: 30px;
    }
    
    .rejilla {
        gap: 20px;
    }
    
    .card-platillo {
        border-radius: 10px!important;
        box-shadow: 0 12px 28px #0b06052b!important;
    }
    
    .card-platillo:hover {
        transform: translateY(-4px)!important;
        box-shadow: 0 20px 45px #08060351!important;
    }
    
    .card-imagen {
        transition: transform .4s ease,filter .4s ease;
    }
    
    body[data-theme="night"] .card-platillo {
        background: #2d2018;
        border-color: #9c764e67;
    }
    
    body[data-theme="day"] .card-platillo {
        background: #fffaf0;
        border-color: #bda07976;
    }
    /* Resto de secciones: conservar interacciones con menor saturación. */
    
    .beneficios-cuenta,.razones-seccion,.negocios-seccion,.reservas-seccion,.programa-lealtad {
        scroll-margin-top: 100px;
    }
    
    body[data-theme="night"] .beneficios-cuenta {
        background: #251b16;
    }
    
    body[data-theme="day"] .beneficios-cuenta {
        background: #efe1ca;
    }
    
    .beneficios-grid.beneficios-enlaces>a {
        border-radius: 9px;
        box-shadow: none;
        min-height: 212px;
    }
    
    .beneficios-lealtad-enlace {
        border-radius: 9px;
    }
    
    .programa-lealtad {
        background: linear-gradient(115deg,#39281d,#261b15);
    }
    
    body[data-theme="day"] .programa-lealtad {
        background: linear-gradient(110deg,#f1e4ce,#e5d0af);
    }
    
    .razones-seccion {
        background: #211812;
    }
    
    body[data-theme="day"] .razones-seccion {
        background: #f8eeda;
    }
    
    .negocios-seccion {
        background: #261a13;
    }
    
    body[data-theme="day"] .negocios-seccion {
        background: #efe0c9;
    }
    
    .negocios-formulario {
        box-shadow: 0 16px 35px #08050333;
        border-radius: 9px;
    }
    /* El aviso de cuenta conserva su función, pero no domina el inicio. */
    
    .aviso-cuenta-inicial {
        max-width: 330px;
        font-size: 12px;
        box-shadow: 0 12px 35px #0005!important;
    }
    /* Pequeño acabado en las capas de interacción. */
    
    .razones-preguntas details {
        transition: background .2s;
    }
    
    .razones-preguntas details[open] {
        background: #b5906520;
    }
    
    .razones-preguntas summary {
        font-size: clamp(16px,1.45vw,20px);
    }
    
    body[data-theme="day"] .razones-preguntas details[open] {
        background: #bba17d28;
    }
    /* Breakpoints de diseño — van al final para prevalecer sobre reglas antiguas. */

    @media(min-width:1101px) and (max-width:1420px) {
        
        .cabecera {
            gap: 14px;
            padding-inline: 22px;
        }
        
        .navegacion {
            gap: 13px;
        }
        
        .navegacion>a,.nav-mas summary {
            font-size: 11.5px;
        }
        
        .acciones-cabecera .boton-carrito {
            padding-inline: 11px;
        }
        
        .marca {
            width: 58px;
            height: 58px;
        }
    }

    @media(min-width:851px) and (max-width:1100px) {
        
        .cabecera {
            flex-wrap: nowrap;
            gap: 10px;
        }
        
        .navegacion {
            gap: 10px;
        }
        
        .navegacion>a,.nav-mas summary {
            font-size: 10.5px;
        }
        
        .marca {
            width: 52px;
            height: 52px;
        }
        
        .acciones-cabecera .enlace-cuenta {
            display: none;
        }
        
        .hero {
            gap: 30px;
            grid-template-columns: minmax(0,1fr) minmax(270px,.8fr);
            padding-inline: 45px;
        }
    }

    @media(max-width:850px) {
        
        .contenedor {
            width: min(100% - 44px,720px);
        }
        
        .cabecera {
            min-height: 76px;
            padding: 11px 20px;
            gap: 12px;
            flex-wrap: nowrap!important;
        }
        
        .marca {
            width: 55px;
            height: 55px;
        }
        
        .navegacion {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            padding: 18px 24px 25px;
            background: #241813!important;
            border: 1px solid #a87e51a1;
            border-radius: 0 0 15px 15px;
            box-shadow: 0 25px 35px #0703028c;
            max-height: calc(100dvh - 78px);
            overflow: auto;
            align-items: stretch;
        }
        
        .navegacion.abierta {
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        
        .navegacion>a {
            display: block;
            padding: 13px 4px;
            color: #f1dcc5!important;
            font-size: 14px;
        }
        
        .navegacion a.activo:after {
            display: none;
        }
        
        .nav-mas {
            padding: 12px 4px;
        }
        
        .nav-mas summary {
            font-size: 14px;
            color: #f2dec7!important;
        }
        
        .nav-mas-contenido {
            position: static;
            width: 100%;
            padding: 8px;
            margin-top: 12px;
            box-shadow: none;
        }
        
        .nav-mas-contenido a {
            padding: 11px;
        }
        
        body[data-theme="day"] .navegacion {
            background: #fff6e7!important;
        }
        
        body[data-theme="day"] .navegacion>a,body[data-theme="day"] .nav-mas summary {
            color: #533720!important;
        }
        
        .menu-movil {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 38px;
            padding: 7px 12px;
            margin-left: auto;
            order: 3;
            border: 1px solid #b78e62;
            border-radius: 8px;
            font-size: 12px;
        }
        
        .acciones-cabecera {
            margin-left: auto;
            gap: 7px;
        }
        
        .acciones-cabecera .enlace-cuenta {
            display: none;
        }
        
        .acciones-cabecera .boton-carrito {
            min-height: 36px;
            padding: 8px 11px;
            font-size: 11px;
        }
        
        .control-tema,.control-idioma {
            padding: 7px 8px;
            min-height: 36px;
        }
        
        .hero {
            grid-template-columns: 1fr;
            gap: 35px;
            padding: 135px 25px 95px;
            min-height: auto;
        }
        
        .hero-contenido {
            max-width: 730px;
            width: min(100%,710px);
            margin: auto;
        }
        
        .hero h1 {
            font-size: clamp(49px,8.6vw,80px);
        }
        
        .hero-editorial {
            max-width: 530px;
            justify-self: center;
            margin: auto;
            transform: none;
        }
        
        .hero-editorial-foto {
            height: clamp(310px,70vw,495px);
        }
        
        .hero-deslizar {
            left: 30px;
            bottom: 24px;
        }
        
        .promociones-editorial {
            padding-block: 75px;
        }
        
        .promociones-editorial .promociones-encabezado {
            grid-template-columns: 1fr;
            gap: 14px;
            margin-bottom: 28px;
        }
        
        .promociones-encabezado>p {
            max-width: 620px;
        }
        
        .promociones-grid {
            grid-template-columns: 1fr;
        }
        
        .promo-card {
            min-height: 270px;
        }
        
        .historia-grid {
            grid-template-columns: 1fr;
            gap: 42px;
        }
        
        .historia-foto {
            min-height: clamp(350px,65vw,530px);
        }
        
        .menu-seccion {
            padding-block: 85px;
        }
        
        .rejilla {
            gap: 17px;
        }
    }

    @media(max-width:600px) {
        
        .contenedor {
            width: calc(100% - 36px);
        }
        
        .cabecera {
            gap: 8px;
            padding: 9px 13px;
        }
        
        .marca {
            width: 48px;
            height: 48px;
        }
        
        .menu-movil {
            padding: 6px 8px;
            min-height: 34px;
            font-size: 11px;
        }
        
        .acciones-cabecera {
            gap: 5px;
        }
        
        .acciones-cabecera .boton-carrito {
            padding: 7px 8px;
            font-size: 0;
            gap: 4px;
        }
        
        .acciones-cabecera .boton-carrito:before {
            content: "Pedido";
            font-size: 11px;
        }
        
        .control-idioma,.control-tema {
            min-width: 33px;
            min-height: 34px;
            padding: 6px;
            font-size: 10px;
        }
        
        .hero {
            padding: 116px 18px 80px;
            gap: 31px;
        }
        
        .hero h1 {
            font-size: clamp(45px,10.4vw,64px);
            margin: 0 0 22px;
        }
        
        .hero-sub {
            font-size: 15px;
            line-height: 1.75;
        }
        
        .hero .grupo-botones {
            gap: 8px;
        }
        
        .hero .grupo-botones .boton {
            min-height: 45px;
            padding: 10px 13px;
            font-size: 12px;
        }
        
        .hero-notas {
            margin-top: 25px;
            gap: 12px;
        }
        
        .hero-notas strong {
            font-size: 11px;
        }
        
        .hero-notas small {
            font-size: 10px;
        }
        
        .hero-editorial {
            max-width: 375px;
        }
        
        .hero-editorial-foto {
            height: 330px;
        }
        
        .hero-editorial-pie {
            font-size: 11px;
        }
        
        .hero-editorial-estampa {
            font-size: 29px;
        }
        
        .promociones-editorial {
            padding-block: 67px;
        }
        
        .promociones-encabezado h2 {
            font-size: clamp(35px,9vw,50px);
        }
        
        .promo-card-inner {
            padding: 26px;
        }
        
        .promo-card {
            min-height: 290px;
        }
        
        .promo-card h3 {
            font-size: 36px;
        }
        
        .promo-lealtad .promo-numero {
            font-size: 65px;
        }
        
        .promo-pie {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .historia-texto h2 {
            font-size: clamp(35px,8vw,48px);
        }
        
        .historia-foto {
            min-height: 365px;
            border-width: 6px;
        }
        
        .historia-grid {
            gap: 35px;
            padding-block: 6px;
        }
        
        .carta-sello {
            gap: 9px;
            letter-spacing: .09em;
            font-size: 9px;
        }
        
        .categorias {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x proximity;
            border: 1px solid #aa885d5e;
            margin-bottom: 19px;
        }
        
        .categorias button {
            min-width: 105px;
            min-height: 56px;
            scroll-snap-align: start;
            padding: 9px 12px;
        }
        
        .card-platillo {
            border-radius: 9px!important;
        }
        
        .seccion {
            padding-block: 72px;
        }
        
        .aviso-cuenta-inicial {
            max-width: min(300px,calc(100vw - 20px));
        }
    }

    @media(prefers-reduced-motion:reduce) {
        
        .hero-editorial,.card-platillo,.boton {
            transition: none!important;
        }
    }
    /* V6 fine-tuning: typography consistency & focus on the menu. */
    
    .promo-card h3 {
        font-family: var(--serif);
        font-size: clamp(31px,3.5vw,52px);
        font-weight: 500;
        line-height: 1.1;
    }
    
    .promo-lealtad .promo-numero {
        font-family: var(--serif);
        font-size: 78px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: -.05em;
    }
    
    .promo-lealtad h3 {
        font-size: clamp(26px,2.4vw,37px);
    }
    
    .hero-editorial-estampa {
        font-family: var(--serif);
        font-size: 30px;
    }
    
    .hero-editorial-pie {
        font-family: var(--sans);
        font-size: 12px;
    }
    
    .aviso-cuenta-inicial:not([data-solicitado]) {
        display: none!important;
    }

    @media(max-width:600px) {
        
        .acciones-cabecera .boton-carrito {
            font-size: 11px;
            line-height: 1;
            gap: 4px;
            padding: 7px 8px;
            min-width: 60px;
        }
        
        .acciones-cabecera .boton-carrito:before {
            content: none!important;
        }
        
        .promo-lealtad .promo-numero {
            font-size: 65px;
        }
        
        .promo-card h3 {
            font-size: 36px;
        }
    }
    /* ===============================================================
   LA MILPA V7 · ORIGEN PRESERVADO / EDITORIAL CULTURAL
   Reglas finales, autocontenidas en el CSS existente. Sin CDN:
   animaciones y componentes no dependen de Tailwind remoto.
   =============================================================== */
    
    :root {
        --milpa-v7-oro: #dab47d;
        --milpa-v7-cobre: #a87340;
        --milpa-v7-sombra: 0 25px 75px rgba(12,7,4,.34);
        --milpa-v7-ease: cubic-bezier(.22,1,.36,1);
    }
    
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 98px;
    }
    
    body {
        overflow-x: clip;
    }
    
    :where(a,button,input,select,textarea,summary):focus-visible {
        outline: 3px solid #e8bd7d;
        outline-offset: 3px;
    }
    /* PORTADA ORIGINAL: misma fotografía, título, dos CTA y cinco categorías */
    
    .hero,
body[data-theme="day"] .hero,
body[data-theme="night"] .hero {
        min-height: 790px;
        position: relative;
        isolation: isolate;
        display: grid;
        grid-template-columns: minmax(0,1fr) minmax(310px,360px);
        align-items: center;
        gap: clamp(26px,3vw,58px);
        padding: 155px clamp(24px,5vw,85px) 70px;
        background: linear-gradient(90deg,rgba(5,3,2,.94) 0%,rgba(9,5,3,.78) 42%,rgba(8,4,2,.40) 75%,rgba(7,4,2,.86) 100%),url('../assets/hero-food.jpg') center/cover no-repeat;
        color: #fff4e5;
        overflow: hidden;
    }
    
    .hero::before,
body[data-theme="day"] .hero::before {
        background: none;
        opacity: 0;
    }
    
    .hero .hero-capa,
body[data-theme="day"] .hero .hero-capa {
        background: linear-gradient(0deg,rgba(13,9,7,1) 0%,transparent 25%);
        opacity: .96;
    }
    
    .hero .hero-contenido {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 820px;
        margin: 0;
        align-self: center;
    }
    
    .hero .eyebrow,body[data-theme="day"] .hero .eyebrow {
        color: #f0c28a;
        letter-spacing: .2em;
        margin-bottom: 8px;
    }
    
    .hero h1,body[data-theme="day"] .hero h1 {
        font-size: clamp(53px,6.8vw,108px);
        letter-spacing: -.04em;
        line-height: 1.04;
        margin: 20px 0 24px;
        color: #fff8eb;
        text-shadow: 0 5px 22px #0008;
        text-wrap: balance;
        font-weight: 500;
    }
    
    .hero h1 em,body[data-theme="day"] .hero h1 em {
        color: #e9bb7d;
        font-style: italic;
    }
    
    .hero .hero-sub,body[data-theme="day"] .hero .hero-sub {
        max-width: 550px;
        color: #f0e3d6;
        font-size: clamp(17px,1.5vw,22px);
        line-height: 1.75;
    }
    
    .hero .grupo-botones {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        margin: 30px 0 36px;
    }
    
    .hero .grupo-botones .boton {
        min-height: 48px;
        padding: 12px 23px;
        border-radius: 8px;
    }
    
    .hero .grupo-botones .boton.dorado,body[data-theme="day"] .hero .grupo-botones .boton.dorado {
        background: #d8a466;
        border-color: #d8a466;
        color: #1f130c;
    }
    
    .hero .grupo-botones .boton.contorno,body[data-theme="day"] .hero .grupo-botones .boton.contorno {
        background: rgba(20,12,7,.36);
        border-color: rgba(247,216,169,.72);
        color: #fff2da;
    }
    
    .hero .volver-bienvenida {
        font-size: 12px;
        color: #f2d7b4;
        opacity: .88;
    }
    
    .hero .hero-signature,body[data-theme="day"] .hero .hero-signature {
        display: flex;
        align-items: center;
        gap: 16px;
        color: #ead5bd;
        font-size: 14px;
        margin-top: 19px;
    }
    
    .hero .hero-signature>span {
        font-size: 38px;
        color: #e6b675;
    }
    
    .hero .hero-signature strong,body[data-theme="day"] .hero .hero-signature strong {
        color: #fff4e5;
        font-weight: 600;
    }
    
    .hero .hero-lateral {
        z-index: 2;
        position: relative;
        max-width: 380px;
        width: 100%;
        justify-self: end;
        background: rgba(16,10,7,.84);
        border: 1px solid rgba(239,178,96,.43);
        border-radius: 17px;
        padding: 20px;
        box-shadow: 0 30px 70px #0009;
        backdrop-filter: blur(15px);
    }
    
    .hero .sidebar-caption {
        display: flex;
        justify-content: space-between;
        gap: 9px;
        font-size: 10px;
        letter-spacing: .15em;
        color: #f0bd78;
        margin-bottom: 16px;
    }
    
    .hero .hero-categorias {
        display: grid;
        gap: 9px;
    }
    
    .hero .hero-categoria {
        position: relative;
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        min-height: 77px;
        text-align: left;
        color: #fff7ef;
        background: linear-gradient(110deg,rgba(52,32,21,.87),rgba(21,13,10,.91));
        border: 1px solid rgba(144,102,62,.55);
        border-radius: 11px;
        padding: 10px 11px;
        transition: transform .38s var(--milpa-v7-ease),border-color .25s,box-shadow .38s;
    }
    
    .hero .hero-categoria:hover,.hero .hero-categoria:focus-visible {
        transform: translateX(-5px);
        border-color: #e5b679;
        box-shadow: 0 12px 25px #0005;
    }
    
    .hero .hero-categoria .espacio-imagen {
        flex: none;
        width: 60px;
        height: 58px;
        border-radius: 7px;
        background-size: cover;
        background-position: center;
    }
    
    .hero .hero-cat-copy {
        display: grid;
        gap: 2px;
        flex: 1;
        min-width: 0;
    }
    
    .hero .hero-cat-copy strong {
        color: #fff3df;
        font-family: var(--serif);
        font-size: 20px;
        font-weight: 500;
    }
    
    .hero .hero-cat-copy small {
        color: #c9b49e;
        font-size: 10px;
    }
    
    .hero .hero-cat-copy .categoria-num {
        color: #e3ae71;
        font-size: 9px;
        letter-spacing: .07em;
    }
    
    .hero .hero-cat-arrow {
        font-size: 24px;
        color: #dfae72;
    }
    
    .hero .instagram {
        display: flex;
        align-items: center;
        gap: 10px;
        border-top: 1px solid #7c542f88;
        margin-top: 17px;
        padding-top: 16px;
        font-size: 12px;
        color: #f7dfbd;
    }
    
    .hero .instagram strong {
        color: #f0c287;
    }
    
    .hero .instagram-icon {
        font-size: 28px;
        color: #ebbd80;
    }
    /* Animación de entrada limitada al hero: no cambia su distribución original. */

    @keyframes milpa-v7-aparecer {
        from {
            opacity: 0;
            transform: translateY(24px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes milpa-v7-lateral {
        from {
            opacity: 0;
            transform: translate(28px,12px);
        }
        to {
            opacity: 1;
            transform: translate(0,0);
        }
    }
    
    .hero-contenido {
        animation: milpa-v7-aparecer .88s var(--milpa-v7-ease) both;
    }
    
    .hero-lateral {
        animation: milpa-v7-lateral 1.1s var(--milpa-v7-ease) .18s both;
    }
    
    .hero .hero-categoria:nth-child(1) {
        animation: milpa-v7-aparecer .6s ease .18s both;
    }
    
    .hero .hero-categoria:nth-child(2) {
        animation: milpa-v7-aparecer .6s ease .27s both;
    }
    
    .hero .hero-categoria:nth-child(3) {
        animation: milpa-v7-aparecer .6s ease .36s both;
    }
    
    .hero .hero-categoria:nth-child(4) {
        animation: milpa-v7-aparecer .6s ease .45s both;
    }
    
    .hero .hero-categoria:nth-child(5) {
        animation: milpa-v7-aparecer .6s ease .54s both;
    }
    /* SEGUNDA SECCIÓN EN ADELANTE: diseño editorial, ancho útil y ritmo visual */
    
    #promociones,#nosotros,#menu,#beneficios-cuenta,#lealtad,#razones,#reservaciones,#negocios {
        scroll-margin-top: 90px;
    }
    
    #promociones .contenedor,#nosotros .contenedor,#menu .contenedor,#beneficios-cuenta .contenedor,
#lealtad .contenedor,#razones .contenedor,#reservaciones .contenedor,#negocios .contenedor {
        max-width: 1280px;
    }
    
    #promociones,#nosotros,#menu {
        position: relative;
    }
    
    #promociones::before,#nosotros::before,#menu::before {
        content: "";
        position: absolute;
        pointer-events: none;
        z-index: 0;
        inset: 0;
        background: repeating-linear-gradient(120deg,transparent 0 7px,rgba(203,167,110,.019) 8px 9px);
    }
    
    #promociones>.contenedor,#nosotros>.contenedor,#menu>.contenedor {
        position: relative;
        z-index: 1;
    }
    /* Promociones: dos grandes bloques fotográficos, no un muro de texto. */
    
    .promociones-editorial {
        padding-block: clamp(90px,9vw,142px);
    }
    
    .promociones-editorial .promociones-encabezado {
        gap: clamp(28px,6vw,110px);
        margin-bottom: clamp(32px,4vw,60px);
        align-items: end;
    }
    
    .promociones-encabezado h2 {
        font-size: clamp(46px,5vw,76px);
        line-height: 1.05;
        letter-spacing: -.035em;
        max-width: 760px;
    }
    
    .promociones-encabezado>p {
        font-size: clamp(15px,1.2vw,18px);
        line-height: 1.86;
        max-width: 420px;
    }
    
    .promociones-grid {
        grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr);
        gap: clamp(18px,2.2vw,34px);
    }
    
    .promo-card {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        min-height: clamp(360px,35vw,490px);
        border-radius: 22px;
        border: 1px solid rgba(211,170,109,.42);
        box-shadow: var(--milpa-v7-sombra);
        transition: transform .5s var(--milpa-v7-ease),box-shadow .5s;
    }
    
    .promo-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 36px 85px rgba(12,7,4,.44);
    }
    
    .promo-card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        transition: transform .9s var(--milpa-v7-ease);
    }
    
    .promo-card:hover::before {
        transform: scale(1.04);
    }
    
    .promo-temporada::before {
        background: linear-gradient(95deg,rgba(33,18,11,.90),rgba(42,22,13,.80) 51%,rgba(35,16,8,.34)),url('../assets/platillo-111.jpg') center/cover no-repeat;
    }
    
    .promo-lealtad::before {
        background: radial-gradient(circle at 80% 3%,rgba(240,205,151,.22),transparent 40%),repeating-linear-gradient(120deg,transparent 0 8px,rgba(237,202,152,.035) 9px 10px),linear-gradient(145deg,#503824,#241913);
    }
    
    .promo-card .promo-card-inner {
        padding: clamp(28px,4.2vw,57px);
        min-height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        position: relative;
        z-index: 1;
    }
    
    .promo-card .promo-etiqueta {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        letter-spacing: .18em;
        font-size: 10px;
        line-height: 1.5;
    }
    
    .promo-card .promo-etiqueta::before {
        content: "";
        width: 18px;
        height: 1px;
        background: currentColor;
    }
    
    .promo-card h3 {
        font-family: var(--serif);
        font-weight: 500;
        letter-spacing: -.02em;
        font-size: clamp(35px,3.6vw,61px);
        line-height: 1.08;
        margin: 20px 0 14px;
    }
    
    .promo-card p:not(.promo-numero) {
        font-size: 15px;
        line-height: 1.85;
        max-width: 470px;
    }
    
    .promo-card .promo-nota {
        margin-top: 22px;
        letter-spacing: .1em;
        font-size: 11px;
    }
    
    .promo-card .promo-enlace {
        margin-top: 27px;
        border-bottom: 1px solid currentColor;
        padding-bottom: 8px;
        transition: letter-spacing .25s;
    }
    
    .promo-card .promo-enlace:hover {
        letter-spacing: .035em;
    }
    
    .promo-lealtad .promo-numero {
        font-size: clamp(90px,9vw,150px);
        line-height: .94;
        font-weight: 400;
        margin: 14px 0 6px;
    }
    
    .promo-lealtad .promo-numero span {
        font-size: .48em;
        vertical-align: top;
    }
    
    .promo-lealtad h3 {
        font-size: clamp(28px,2.8vw,42px);
        margin: 5px 0 12px;
    }
    
    .promo-pie {
        padding-top: 27px;
        gap: 20px;
        border-top: 1px solid rgba(192,151,100,.35);
        margin-top: 37px;
    }
    
    body[data-theme="day"] .promo-lealtad {
        color: #fff3e1;
        background: #382416;
    }
    
    body[data-theme="day"] .promo-lealtad .promo-etiqueta,body[data-theme="day"] .promo-lealtad h3,body[data-theme="day"] .promo-lealtad .promo-numero,body[data-theme="day"] .promo-lealtad p {
        color: #fff2dc;
    }
    /* Historia: fotografía protagonista y papel de taller artesanal. */
    
    .historia-seccion {
        padding-block: clamp(95px,10vw,160px);
    }
    
    .historia-grid {
        display: grid;
        grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr);
        gap: clamp(48px,6.5vw,110px);
        align-items: center;
        padding-block: 0;
    }
    
    .historia-foto {
        min-height: clamp(560px,49vw,675px);
        border-radius: 210px 210px 14px 14px;
        border: 8px solid rgba(180,135,82,.29);
        background-position: center;
        background-size: cover;
        outline: 1px solid rgba(216,175,117,.46);
        outline-offset: 8px;
        box-shadow: 0 35px 75px rgba(7,4,2,.4);
        transition: filter .7s,transform .7s var(--milpa-v7-ease);
    }
    
    .historia-foto:hover {
        filter: saturate(1.11);
        transform: translateY(-4px);
    }
    
    .historia-foto::after {
        background: rgba(35,19,12,.86);
        border-radius: 100px;
        padding: 12px 20px;
    }
    
    .historia-texto {
        max-width: 620px;
    }
    
    .historia-texto h2 {
        font-size: clamp(47px,4.8vw,77px);
        line-height: 1.04;
        letter-spacing: -.032em;
        margin: 15px 0 30px;
    }
    
    .historia-texto p:not(.eyebrow) {
        font-size: clamp(16px,1.25vw,19px);
        line-height: 1.86;
        max-width: 590px;
    }
    
    .historia-texto .boton {
        margin-top: 22px;
        padding: 14px 26px;
    }
    
    .historia-frase {
        max-width: 585px;
        padding: 23px 25px;
        font-size: clamp(16px,1.6vw,22px);
        line-height: 1.6;
        margin-top: 33px;
    }
    
    .historia-firma {
        margin-top: 21px;
    }
    /* Carta: respiración, catálogo con mejor presencia y tarjetas con relieve. */
    
    .menu-seccion {
        padding-block: clamp(95px,9vw,145px);
    }
    
    .encabezado-seccion {
        max-width: 920px;
        margin-bottom: 37px;
    }
    
    .encabezado-seccion h2 {
        font-size: clamp(49px,5.6vw,84px);
        line-height: 1.05;
        margin: 14px 0 21px;
        letter-spacing: -.032em;
    }
    
    .encabezado-seccion>p:last-child {
        max-width: 690px;
        font-size: clamp(16px,1.2vw,19px);
        line-height: 1.75;
    }
    
    .carta-sello {
        margin: 0 auto 40px;
        gap: clamp(12px,3vw,32px);
        font-size: 12px;
    }
    
    .menu-herramientas {
        gap: 18px;
        align-items: center;
        margin-bottom: 18px;
    }
    
    .menu-busqueda {
        min-height: 57px;
        border-radius: 13px;
        overflow: hidden;
    }
    
    .menu-busqueda input {
        min-height: 55px;
        border-radius: 12px;
    }
    
    .menu-favoritos {
        min-height: 55px;
        border-radius: 12px;
        padding-inline: 22px;
    }
    
    .categorias {
        border-radius: 13px;
        overflow: auto;
    }
    
    .categorias button {
        min-height: 59px;
        font-weight: 600;
        transition: background .2s,color .2s,box-shadow .2s;
    }
    
    .rejilla {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: clamp(18px,2.4vw,31px);
    }
    
    .card-platillo {
        border-radius: 18px!important;
        overflow: hidden;
        position: relative;
        box-shadow: 0 20px 50px rgba(7,4,2,.24)!important;
        transition: transform .4s var(--milpa-v7-ease),box-shadow .4s,border-color .35s;
    }
    
    .card-platillo:hover {
        transform: translateY(-9px)!important;
        box-shadow: 0 30px 63px rgba(7,4,2,.38)!important;
    }
    
    .card-imagen {
        transition: transform .75s var(--milpa-v7-ease),filter .4s;
    }
    
    .card-platillo:hover .card-imagen {
        transform: scale(1.045);
        filter: saturate(1.07);
    }
    
    .card-cuerpo {
        padding: clamp(20px,2.3vw,29px);
    }
    
    .card-titulo h3 {
        font-size: clamp(22px,2vw,30px);
        line-height: 1.14;
    }
    
    .card-platillo .boton {
        min-height: 43px;
    }
    /* Apartados secundarios: forma consistente, sin saturar la vista inicial. */
    
    #beneficios-cuenta,#lealtad,#razones,#reservaciones,#negocios {
        padding-block: clamp(82px,8vw,128px);
    }
    
    .beneficios-grid.beneficios-enlaces {
        gap: clamp(16px,2vw,27px);
    }
    
    .beneficios-grid.beneficios-enlaces>a {
        position: relative;
        overflow: hidden;
        min-height: 260px;
        padding: clamp(24px,3vw,40px);
        border-radius: 18px;
        box-shadow: 0 17px 45px rgba(10,5,2,.18);
        transition: transform .4s var(--milpa-v7-ease),box-shadow .4s,border-color .3s;
    }
    
    .beneficios-grid.beneficios-enlaces>a:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 55px rgba(10,5,2,.28);
    }
    
    .beneficios-grid.beneficios-enlaces>a::after {
        content: "↗";
        position: absolute;
        bottom: 22px;
        right: 24px;
        font: 28px var(--serif);
        opacity: .52;
    }
    
    .beneficios-lealtad-enlace {
        padding: clamp(24px,4vw,44px);
        border-radius: 18px;
        margin-top: 26px;
    }
    
    .programa-lealtad {
        overflow: hidden;
    }
    
    .lealtad-contenido {
        align-items: center;
        gap: clamp(30px,5vw,80px);
    }
    
    .razones-grid {
        align-items: start;
        gap: clamp(25px,5vw,75px);
    }
    
    .razones-preguntas details {
        border-radius: 13px;
        transition: background .3s,transform .3s;
    }
    
    .razones-preguntas details[open] {
        transform: translateX(3px);
    }
    
    .razones-preguntas details summary {
        cursor: pointer;
    }
    
    .negocios-formulario,.form-reserva {
        border-radius: 18px;
        box-shadow: 0 24px 65px rgba(12,7,4,.26);
    }
    /* Estados de color integrados, conservando hero con imagen en ambos temas. */
    
    body[data-theme="day"] .menu-seccion {
        background: linear-gradient(150deg,#f8eedc 0%,#fdf7eb 55%,#f2e4cc 100%);
    }
    
    body[data-theme="day"] .promociones-editorial {
        background: linear-gradient(145deg,#f2e2c8,#faf2e5);
    }
    
    body[data-theme="day"] .historia-seccion {
        background: linear-gradient(155deg,#f7ebd6,#eddbba);
    }
    
    body[data-theme="night"] .promociones-editorial {
        background: linear-gradient(150deg,#241913,#35251b);
    }
    
    body[data-theme="night"] .historia-seccion {
        background: linear-gradient(150deg,#241a14,#312219);
    }
    
    body[data-theme="night"] .menu-seccion {
        background: linear-gradient(165deg,#1b1410,#2d2018 60%,#1b1410);
    }
    /* Reveal: solo cuando JS lo active, y siempre visible sin JS */
    
    html.milpa-v7-animaciones [data-milpa-reveal] {
        opacity: 0;
        transform: translateY(35px);
        transition: opacity .85s ease,transform 1s var(--milpa-v7-ease);
    }
    
    html.milpa-v7-animaciones [data-milpa-reveal].milpa-v7-visible {
        opacity: 1;
        transform: translateY(0);
    }
    /* Pantallas medianas: hero original en una columna con cinco accesos visibles */

    @media (max-width:1100px) {
        
        .hero {
            grid-template-columns: minmax(0,1fr) minmax(270px,330px);
            gap: 28px;
            padding-inline: clamp(24px,3vw,50px);
        }
        
        .hero h1 {
            font-size: clamp(49px,6vw,77px);
        }
        
        .promociones-grid {
            grid-template-columns: 1fr 1fr;
        }
        
        .rejilla {
            grid-template-columns: repeat(2,minmax(0,1fr));
        }
    }

    @media (max-width:850px) {
        
        .hero,body[data-theme="day"] .hero,body[data-theme="night"] .hero {
            grid-template-columns: 1fr;
            min-height: 0;
            padding: 124px clamp(22px,4vw,42px) 70px;
            gap: 32px;
            background-position: 58% center;
        }
        
        .hero .hero-contenido {
            max-width: 730px;
            margin: 0;
        }
        
        .hero h1,body[data-theme="day"] .hero h1 {
            font-size: clamp(49px,8.4vw,80px);
        }
        
        .hero .hero-lateral {
            max-width: none;
            justify-self: stretch;
        }
        
        .hero .hero-categorias {
            grid-template-columns: repeat(2,minmax(0,1fr));
            gap: 10px;
        }
        
        .hero .hero-categoria {
            min-height: 83px;
        }
        
        .hero .hero-categoria:nth-child(5) {
            grid-column: 1 / -1;
        }
        
        .promociones-editorial .promociones-encabezado {
            grid-template-columns: 1fr;
            gap: 13px;
        }
        
        .promociones-grid {
            grid-template-columns: 1fr;
        }
        
        .promo-card {
            min-height: 325px;
        }
        
        .historia-grid {
            grid-template-columns: 1fr;
            gap: 54px;
        }
        
        .historia-foto {
            min-height: 500px;
            max-width: 690px;
            width: 100%;
            margin: 0 auto;
        }
        
        .historia-texto {
            max-width: 730px;
        }
        
        .menu-herramientas {
            flex-wrap: wrap;
        }
    }

    @media (max-width:600px) {
        
        html {
            scroll-padding-top: 77px;
        }
        
        .hero,body[data-theme="day"] .hero,body[data-theme="night"] .hero {
            padding: 116px 18px 57px;
            gap: 23px;
            background-position: 57% center;
        }
        
        .hero h1,body[data-theme="day"] .hero h1 {
            font-size: clamp(43px,10.4vw,61px);
            line-height: 1.06;
            margin: 17px 0 22px;
        }
        
        .hero .hero-sub,body[data-theme="day"] .hero .hero-sub {
            font-size: 15px;
            line-height: 1.75;
        }
        
        .hero .grupo-botones {
            gap: 9px;
            margin: 25px 0 20px;
        }
        
        .hero .grupo-botones .boton {
            min-height: 44px;
            padding: 10px 14px;
            font-size: 12px;
        }
        
        .hero .hero-signature {
            margin-top: 19px;
        }
        
        .hero .hero-lateral {
            padding: 14px;
            border-radius: 14px;
        }
        
        .hero .sidebar-caption {
            font-size: 9px;
            letter-spacing: .09em;
        }
        
        .hero .hero-categorias {
            grid-template-columns: repeat(2,minmax(0,1fr));
            gap: 8px;
        }
        
        .hero .hero-categoria {
            gap: 9px;
            min-height: 79px;
            padding: 8px;
        }
        
        .hero .hero-categoria .espacio-imagen {
            width: 45px;
            height: 47px;
        }
        
        .hero .hero-cat-copy strong {
            font-size: 16px;
        }
        
        .hero .hero-cat-copy small {
            font-size: 9px;
            line-height: 1.25;
        }
        
        .hero .hero-cat-copy .categoria-num {
            font-size: 8px;
            line-height: 1.15;
        }
        
        .hero .hero-cat-arrow {
            display: none;
        }
        
        .hero .hero-categoria:nth-child(5) {
            grid-column: 1/-1;
        }
        
        .hero .instagram {
            font-size: 11px;
        }
        
        #promociones,#nosotros,#menu,#beneficios-cuenta,#lealtad,#razones,#reservaciones,#negocios {
            padding-block: 75px;
        }
        
        .promociones-encabezado h2,.historia-texto h2,.encabezado-seccion h2 {
            font-size: clamp(38px,9vw,54px);
        }
        
        .promo-card {
            min-height: 310px;
            border-radius: 16px;
        }
        
        .promo-card .promo-card-inner {
            padding: 28px;
        }
        
        .promo-card h3 {
            font-size: clamp(34px,8.5vw,48px);
        }
        
        .promo-lealtad .promo-numero {
            font-size: 88px;
        }
        
        .promo-pie {
            margin-top: 26px;
            padding-top: 18px;
        }
        
        .historia-foto {
            min-height: 365px;
            border-width: 5px;
            outline-offset: 5px;
        }
        
        .historia-grid {
            gap: 34px;
        }
        
        .historia-frase {
            padding: 17px 14px;
        }
        
        .carta-sello {
            font-size: 9px;
            gap: 8px;
        }
        
        .rejilla {
            grid-template-columns: 1fr;
            gap: 22px;
        }
        
        .card-cuerpo {
            padding: 24px;
        }
        
        .beneficios-grid.beneficios-enlaces>a {
            min-height: 200px;
        }
    }

    @media (max-width:380px) {
        
        .hero .hero-categorias {
            grid-template-columns: 1fr;
        }
        
        .hero .hero-categoria:nth-child(5) {
            grid-column: auto;
        }
        
        .hero .hero-categoria .espacio-imagen {
            width: 55px;
            height: 51px;
        }
        
        .hero .hero-cat-copy strong {
            font-size: 18px;
        }
        
        .hero h1 {
            font-size: 43px;
        }
    }

    @media (prefers-reduced-motion:reduce) {
        
        html {
            scroll-behavior: auto;
        }
        
        .hero-contenido,.hero-lateral,.hero .hero-categoria {
            animation: none!important;
        }
        
        html.milpa-v7-animaciones [data-milpa-reveal] {
            opacity: 1;
            transform: none;
            transition: none;
        }
        
        .promo-card,.historia-foto,.card-platillo,.card-imagen {
            transition: none!important;
        }
    }
    /* V7 cierre de contraste: recompensas legibles en tema nocturno y claro. */
    
    .promo-lealtad,body[data-theme="night"] .promo-lealtad,body[data-theme="day"] .promo-lealtad {
        color: #fff4e4!important;
        background: #392719!important;
    }
    
    .promo-lealtad .promo-etiqueta,.promo-lealtad h3,.promo-lealtad .promo-numero,.promo-lealtad .promo-numero span,.promo-lealtad .promo-enlace {
        color: #f1c48d!important;
    }
    
    .promo-lealtad p:not(.promo-numero) {
        color: #f5dfc4!important;
    }
    
    .promo-temporada,.promo-temporada h3,.promo-temporada p,.promo-temporada .promo-etiqueta {
        color: #fff1e0;
    }
    /* Miniaturas: sustituir gráficos publicitarios no gastronómicos por fotografía artesanal/ornamentos. */
    
    .hero .hero-categoria:nth-child(1) .espacio-imagen {
        background: url('../assets/platillo-106.jpg') center/cover no-repeat;
    }
    
    .hero .hero-categoria:nth-child(2) .espacio-imagen {
        background: url('../assets/platillo-101.jpg') center/cover no-repeat;
    }
    
    .hero .hero-categoria:nth-child(3) .espacio-imagen {
        background: url('../assets/platillo-104.jpg') center/cover no-repeat;
    }
    
    .hero .hero-categoria:nth-child(4) .espacio-imagen {
        background: radial-gradient(circle at 75% 18%,#b77c4c,#4d2e1d 64%,#27160f);
        display: grid;
        place-items: center;
    }
    
    .hero .hero-categoria:nth-child(4) .espacio-imagen::before {
        content: '✦';
        color: #f3d0a2;
        font: 34px var(--serif);
    }
    
    .hero .hero-categoria:nth-child(5) .espacio-imagen {
        background: radial-gradient(circle at 65% 20%,#a6764b,#312018 70%);
        display: grid;
        place-items: center;
    }
    
    .hero .hero-categoria:nth-child(5) .espacio-imagen::before {
        content: '☕';
        font: 26px sans-serif;
        filter: sepia(.7);
    }

    @media(max-width:600px) {
        
        .hero .hero-cat-copy .categoria-num {
            display: none!important;
        }
        
        .hero .hero-categoria {
            min-height: 74px;
        }
    }
    /* Tailwind CSS v4.1.10 — utilidades precompiladas; sin CDN ni preflight. */
    /* ! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */
    
    .isolate {
        isolation: isolate;
    }
    
    .text-balance {
        text-wrap: balance;
    }
    /* =======================================================================
   LA MILPA · EDICIÓN VIII — ATELIER OAXAQUEÑO
   Mejora no destructiva. Los fondos, encabezado y cinco accesos de la
   portada original se conservan. Todo es local y funciona sin CDN CSS.
   ======================================================================= */
    
    :root {
        --atelier-ease: cubic-bezier(.22,1,.36,1);
        --atelier-lento: cubic-bezier(.2,.7,.2,1);
    }
    
    body[data-theme="night"] {
        --atelier-paper: #2c211b;
        --atelier-paper-light: #3b2b21;
        --atelier-edge: rgba(218,177,118,.26);
        --atelier-ink: #f3e8d8;
        --atelier-muted: #d8c3ab;
        --atelier-accent: #e7b77b;
        --atelier-deep: #1a120e;
    }
    
    body[data-theme="day"] {
        --atelier-paper: #fff8ec;
        --atelier-paper-light: #f8e9cf;
        --atelier-edge: rgba(133,89,49,.30);
        --atelier-ink: #452e20;
        --atelier-muted: #6e5140;
        --atelier-accent: #935d2b;
        --atelier-deep: #e9d4b3;
    }
    
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 94px;
    }
    
    body {
        font-feature-settings: "kern" 1,"liga" 1;
        -webkit-font-smoothing: antialiased;
    }
    
    ::selection {
        background: #bc8653;
        color: #fffaf0;
    }
    /* Navegación: una cinta editorial, sin perder enlaces ni botones. */
    
    .cabecera {
        border-bottom: 1px solid var(--atelier-edge)!important;
        transition: background-color .45s ease,box-shadow .45s ease,border-color .45s ease!important;
    }
    
    .cabecera.cabecera-desplazada {
        box-shadow: 0 14px 45px rgba(10,5,3,.30)!important;
    }
    
    .marca {
        transition: transform .55s var(--atelier-ease),filter .4s;
    }
    
    .marca:hover {
        transform: scale(1.055) rotate(-2deg);
        filter: brightness(1.08);
    }
    
    .navegacion>a:not(.enlace-acceso-menu),.nav-mas>summary {
        transition: color .3s ease,opacity .3s ease;
    }
    
    .navegacion>a:not(.enlace-acceso-menu):hover,.nav-mas>summary:hover {
        color: var(--atelier-accent)!important;
    }
    
    .cabecera .acciones-cabecera button {
        transition: transform .3s var(--atelier-ease),background-color .3s,color .3s,border-color .3s;
    }
    
    .cabecera .acciones-cabecera button:hover:not(:disabled) {
        transform: translateY(-2px);
    }
    
    .nav-mas-contenido {
        border-radius: 13px!important;
        box-shadow: 0 24px 55px rgba(9,5,3,.3);
    }
    
    .nav-mas-contenido a {
        transition: background-color .22s,padding-left .28s var(--atelier-ease);
    }
    
    .nav-mas-contenido a:hover {
        padding-left: 19px;
    }
    /* PORTADA: se respeta la misma foto, contenido y distribución de la V7. */
    
    .hero,body[data-theme="day"] .hero,body[data-theme="night"] .hero {
        background-attachment: scroll;
    }
    
    .hero h1 {
        letter-spacing: -.042em;
        text-shadow: 0 5px 32px rgba(7,3,1,.25);
    }
    
    .hero .hero-categoria {
        transition: transform .42s var(--atelier-ease),border-color .35s,background .35s,box-shadow .35s!important;
    }
    
    .hero-categoria .espacio-imagen {
        border-radius: 8px;
        filter: sepia(.07) saturate(1.03) contrast(1.04);
    }
    
    .hero .grupo-botones .boton {
        transition: transform .35s var(--atelier-ease),box-shadow .35s,background .35s;
    }
    /* Títulos: jerarquía de revista gastronómica, sin nueva tipografía externa. */
    
    .seccion h2 {
        letter-spacing: -.038em;
        text-wrap: balance;
    }
    
    .seccion h2 em {
        font-style: italic;
        font-weight: 400;
    }
    
    .eyebrow {
        letter-spacing: .21em;
        text-transform: uppercase;
    }
    
    .seccion {
        position: relative;
        isolation: isolate;
    }
    
    #promociones,#nosotros,#menu {
        scroll-margin-top: 93px;
    }
    /* Trama de papel artesanal únicamente en las áreas de lectura. */
    
    .promociones-editorial,.historia-seccion,.menu-seccion {
        overflow: clip;
    }
    
    .promociones-editorial:before,.historia-seccion:before,.menu-seccion:before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        opacity: .23;
        background: repeating-linear-gradient(100deg,transparent 0 9px,rgba(220,174,117,.075) 10px,transparent 11px 20px),radial-gradient(circle at 4% 15%,rgba(202,154,93,.2),transparent 26%);
    }
    
    .promociones-editorial .contenedor,.historia-seccion .contenedor,.menu-seccion .contenedor {
        position: relative;
    }
    /* PROMOCIONES: dos escenarios editoriales, legibles y con movimiento contenido. */
    
    #promociones {
        padding-block: clamp(88px,8vw,128px);
    }
    
    .promociones-encabezado {
        align-items: end;
        gap: clamp(26px,5vw,90px);
        padding-bottom: 30px;
    }
    
    .promociones-encabezado h2 {
        font-size: clamp(43px,5.25vw,78px);
        line-height: 1.06;
        max-width: 790px;
    }
    
    .promociones-encabezado>p {
        line-height: 1.88;
        max-width: 400px;
    }
    
    .promociones-grid {
        gap: clamp(17px,2vw,30px);
    }
    
    .promo-card {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        border-radius: 17px!important;
        min-height: clamp(355px,33vw,490px);
        box-shadow: 0 24px 65px rgba(13,7,3,.18);
        transform: translateZ(0);
        transition: transform .6s var(--atelier-ease),box-shadow .6s var(--atelier-ease),border-color .4s;
    }
    
    .promo-card::before {
        transition: transform 1.2s var(--atelier-ease),filter 1s ease!important;
        will-change: transform;
    }
    
    .promo-card::after {
        content: "";
        position: absolute;
        inset: 9px;
        border: 1px solid rgba(245,215,172,.19);
        border-radius: 11px;
        pointer-events: none;
        z-index: 2;
    }
    
    .promo-card .promo-card-inner {
        padding: clamp(27px,4.2vw,56px);
        justify-content: flex-end;
        gap: 3px;
    }
    
    .promo-card h3 {
        font-size: clamp(36px,3.85vw,64px);
        text-shadow: 0 5px 25px rgba(0,0,0,.22);
    }
    
    .promo-card .promo-enlace {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .045em;
        transition: transform .35s var(--atelier-ease),letter-spacing .35s ease,color .35s;
    }
    
    .promo-card .promo-enlace:hover {
        transform: translateX(5px);
        letter-spacing: .08em;
    }
    
    .promo-lealtad {
        border: 1px solid #ca9d6773!important;
    }
    
    .promo-lealtad .promo-numero {
        font-family: var(--serif);
        font-variant-numeric: lining-nums;
        text-shadow: 0 7px 18px rgba(5,2,0,.18);
    }

    @media(hover:hover) and (pointer:fine) {
        
        .promo-card:hover {
            transform: translateY(-7px);
            box-shadow: 0 36px 85px rgba(11,6,3,.28);
        }
        
        .promo-card:hover::before {
            transform: scale(1.07);
            filter: saturate(1.12);
        }
    }
    
    .promo-pie {
        align-items: center;
    }
    
    .promo-pie a {
        font-weight: 700;
        text-underline-offset: 5px;
    }
    /* HISTORIA: composición de libro, imagen arqueada y cita de autor. */
    
    #nosotros {
        padding-block: clamp(85px,9vw,150px);
    }
    
    .historia-grid {
        gap: clamp(42px,7vw,112px);
    }
    
    .historia-foto {
        isolation: isolate;
        overflow: hidden;
        min-height: clamp(480px,47vw,670px);
        border: 8px solid rgba(176,132,81,.31)!important;
        border-radius: 210px 210px 11px 11px!important;
        box-shadow: 0 28px 80px rgba(11,6,3,.26),0 0 0 1px rgba(231,188,125,.25);
        transform-origin: center bottom;
        transition: transform .85s var(--atelier-ease),filter .85s,box-shadow .85s!important;
    }
    
    .historia-foto:before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,transparent 52%,rgba(20,9,5,.42));
        pointer-events: none;
        z-index: 0;
    }
    
    .historia-foto:hover {
        transform: translateY(-6px) scale(1.012);
        filter: saturate(1.09);
        box-shadow: 0 38px 85px rgba(11,6,3,.32);
    }
    
    .historia-foto .historia-sello {
        transition: transform .6s var(--atelier-ease);
    }
    
    .historia-foto:hover .historia-sello {
        transform: translateY(-5px);
    }
    
    .historia-texto h2 {
        font-size: clamp(46px,4.8vw,78px);
        line-height: 1.09;
    }
    
    .historia-texto>p:not(.eyebrow):not(.historia-capitular) {
        line-height: 1.92;
    }
    
    .historia-frase {
        position: relative;
        padding: 22px 27px;
        border-left: 2px solid var(--atelier-accent);
        background: linear-gradient(90deg,rgba(189,141,77,.09),transparent 70%);
        font-size: clamp(17px,1.55vw,21px);
    }
    
    .historia-firma {
        border-top: 1px solid var(--atelier-edge);
        padding-top: 20px;
    }
    /* CARTA: fotografías panorámicas y tarjetas equilibradas. */
    
    #menu {
        padding-block: clamp(88px,8.5vw,145px);
    }
    
    .encabezado-seccion h2 {
        font-size: clamp(48px,5.1vw,83px);
    }
    
    .carta-sello {
        margin-block: 12px 37px;
    }
    
    .menu-herramientas {
        gap: 15px;
        align-items: center;
    }
    
    .menu-busqueda {
        border: 1px solid var(--atelier-edge);
        border-radius: 12px;
        transition: border-color .3s,box-shadow .3s;
    }
    
    .menu-busqueda:focus-within {
        border-color: var(--atelier-accent);
        box-shadow: 0 0 0 4px rgba(194,150,89,.13);
    }
    
    .menu-busqueda input {
        background: transparent!important;
        border: none!important;
        outline: none!important;
    }
    
    .menu-favoritos {
        border-radius: 12px;
        transition: background .25s,transform .35s var(--atelier-ease);
    }
    
    .menu-favoritos:hover {
        transform: translateY(-2px);
    }
    
    .categorias {
        gap: 0;
        border: 1px solid var(--atelier-edge);
    }
    
    .categorias button {
        border-radius: 0;
        position: relative;
        transition: background .33s ease,color .33s,border-color .33s,transform .33s var(--atelier-ease)!important;
    }
    
    .categorias button:focus-visible {
        outline-offset: -4px;
    }
    
    .rejilla {
        gap: clamp(19px,2.5vw,33px);
        align-items: stretch;
    }
    
    .card-platillo {
        display: flex;
        flex-direction: column;
        min-width: 0;
        overflow: hidden;
        border-radius: 14px!important;
        box-shadow: 0 16px 40px rgba(13,7,3,.20)!important;
        transition: transform .55s var(--atelier-ease),box-shadow .55s,border-color .4s!important;
    }
    
    .card-foto {
        height: auto!important;
        aspect-ratio: 1.55;
        overflow: hidden;
        isolation: isolate;
        background: radial-gradient(circle at 20% 10%,#855c39,#302018 65%);
    }
    
    .card-foto::after {
        opacity: .68!important;
        background: linear-gradient(180deg,rgba(20,10,5,.05),transparent 56%,rgba(14,6,2,.48)),linear-gradient(100deg,transparent 60%,rgba(250,219,169,.14) 77%,transparent 96%);
    }
    
    .card-imagen {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center center;
        filter: saturate(.94) contrast(1.045) brightness(.97);
        transition: transform 1s var(--atelier-ease),filter .8s ease!important;
    }
    
    .card-cuerpo {
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: 7px;
        min-height: 0;
        padding: clamp(21px,2.1vw,28px);
    }
    
    .card-titulo {
        min-height: 0;
        margin: 0;
        padding-bottom: 14px;
        border-color: var(--atelier-edge);
    }
    
    .card-titulo h3 {
        font-size: clamp(21px,2vw,28px);
        letter-spacing: -.025em;
        line-height: 1.24;
    }
    
    .card-cuerpo>p {
        line-height: 1.65;
    }
    
    .card-cuerpo .card-estado {
        display: block;
        margin-top: auto;
        font-size: 12px;
        line-height: 1.5;
    }
    
    .card-pie {
        align-items: center;
        gap: 10px;
        padding-top: 16px;
        border-top: 1px solid var(--atelier-edge);
    }
    
    .card-pie .boton {
        min-height: 43px;
        border-radius: 8px;
        white-space: normal;
        text-align: center;
    }
    
    .card-importe strong {
        font-family: var(--serif);
        font-size: clamp(21px,2vw,28px);
    }
    
    .card-foto.sin-foto:after {
        content: "LA MILPA  ·  IMAGEN POR CONFIRMAR";
        font: 600 11px var(--sans);
        letter-spacing: .12em;
        text-align: center;
        line-height: 1.6;
        background: linear-gradient(125deg,#5f4029,#2b1c14);
        color: #f5d7a5;
        padding: 24px;
    }

    @media(hover:hover) and (pointer:fine) {
        
        .card-platillo:hover {
            transform: translateY(-8px)!important;
            box-shadow: 0 33px 66px rgba(12,6,3,.35)!important;
            border-color: var(--atelier-accent);
        }
        
        .card-platillo:hover .card-imagen {
            transform: scale(1.07)!important;
            filter: saturate(1.10) contrast(1.04) brightness(1.02);
        }
        
        .card-platillo:hover .card-foto::after {
            opacity: .34!important;
        }
    }
    /* BOTONES: dorados con luz discreta, nunca animaciones que estorben. */
    
    .boton,.boton-carrito,.control-idioma,.control-tema,.menu-favoritos,.bienvenida-entrar,.temporada-cerrar {
        position: relative;
        transition: transform .34s var(--atelier-ease),background .34s,border-color .34s,box-shadow .34s,color .34s!important;
    }
    
    .boton {
        border-radius: 8px;
        letter-spacing: .025em;
    }
    
    .boton:not(:disabled):active,.hero-categoria:active,.categorias button:active {
        transform: translateY(1px) scale(.985)!important;
    }
    
    .boton:disabled,[aria-disabled="true"] {
        cursor: not-allowed;
        opacity: .55;
    }
    
    .boton.dorado:not(:disabled) {
        box-shadow: 0 7px 19px rgba(9,4,2,.17)!important;
    }
    
    .boton.dorado:not(:disabled):hover {
        box-shadow: 0 12px 28px rgba(9,4,2,.26)!important;
    }
    
    body[data-theme="day"] .boton.contorno:hover {
        color: #fff7e8;
        background: #78502e;
        border-color: #78502e;
    }
    
    body[data-theme="night"] .boton.contorno:hover {
        color: #1f140f;
        background: #e3b87b;
        border-color: #e3b87b;
    }
    /* Experiencias y servicios: no son tarjetas decorativas: son enlaces reales. */
    
    .beneficios-grid.beneficios-enlaces>a {
        border-radius: 15px;
        box-shadow: 0 17px 45px rgba(15,8,3,.15);
        transition: transform .55s var(--atelier-ease),background .4s,border-color .4s,box-shadow .5s!important;
    }
    
    .beneficios-grid.beneficios-enlaces>a:focus-visible {
        outline: 3px solid var(--atelier-accent);
        outline-offset: 5px;
    }
    
    .beneficios-grid.beneficios-enlaces>a:hover {
        transform: translateY(-7px);
        box-shadow: 0 27px 65px rgba(12,6,3,.27);
    }
    
    .beneficios-lealtad-enlace {
        border-radius: 14px;
        border-color: var(--atelier-edge);
    }
    
    .lealtad-progreso {
        height: 10px;
        overflow: hidden;
    }
    
    .lealtad-progreso span {
        transition: width .7s var(--atelier-ease)!important;
    }
    
    .razones-preguntas details {
        border-radius: 10px;
        transition: background .3s,border-color .3s,transform .3s;
    }
    
    .razones-preguntas details[open] {
        border-color: var(--atelier-accent);
    }
    
    .razones-preguntas details summary {
        padding-block: 19px;
        transition: color .25s;
    }
    
    .razones-preguntas details summary:hover {
        color: var(--atelier-accent);
    }
    
    .razones-presentacion img {
        border-radius: 14px;
        object-fit: cover;
        max-height: 280px;
        box-shadow: 0 20px 48px rgba(11,6,3,.22);
    }
    
    .negocios-formulario,.form-reserva {
        border-radius: 15px;
    }
    
    .form-reserva input,.form-reserva select,.negocios-formulario input,.negocios-formulario select,.negocios-formulario textarea {
        min-height: 46px;
        transition: border-color .3s,box-shadow .3s;
    }
    
    .form-reserva input:focus,.form-reserva select:focus,.negocios-formulario input:focus,.negocios-formulario select:focus,.negocios-formulario textarea:focus {
        border-color: var(--atelier-accent)!important;
        box-shadow: 0 0 0 3px rgba(191,139,81,.16);
        outline: 0;
    }
    /* MODALES: contraste, transiciones y profundidad para pagos, plato e inicio. */
    
    dialog.modal,dialog.bienvenida,dialog.modal-temporada {
        transition: opacity .26s ease,transform .35s var(--atelier-ease),overlay .35s allow-discrete,display .35s allow-discrete;
    }
    
    dialog.modal[open],dialog.bienvenida[open],dialog.modal-temporada[open] {
        animation: atelier-dialogo .35s var(--atelier-ease) both;
    }

    @keyframes atelier-dialogo {
        from {
            opacity: 0;
            transform: translateY(16px) scale(.985);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    dialog::backdrop {
        background: rgba(10,6,4,.76);
        backdrop-filter: blur(7px);
    }
    /* Pie y controles adicionales. */
    
    .pie a {
        transition: color .26s,opacity .26s;
        text-underline-offset: 4px;
    }
    
    .pie a:hover {
        color: #f1c98d;
    }
    
    .atelier-volver {
        position: fixed;
        z-index: 999;
        bottom: 22px;
        right: 22px;
        width: 47px;
        height: 47px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(228,188,133,.7);
        border-radius: 50%;
        font-size: 23px;
        color: #f5e5ce;
        background: rgba(48,31,22,.94);
        box-shadow: 0 14px 35px rgba(9,5,2,.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(13px);
        pointer-events: none;
        transition: transform .35s var(--atelier-ease),opacity .35s,visibility .35s,background .35s;
    }
    
    .atelier-volver.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .atelier-volver:hover {
        background: #b17b48;
        transform: translateY(-4px);
    }
    
    body[data-theme="day"] .atelier-volver {
        background: rgba(255,248,232,.95);
        color: #644022;
        border-color: #ae854f;
    }
    
    body[data-theme="day"] .atelier-volver:hover {
        background: #8b5c32;
        color: #fff8e9;
    }
    
    .atelier-toast {
        position: fixed;
        z-index: 10015;
        bottom: 24px;
        left: 50%;
        max-width: min(92vw,520px);
        transform: translate(-50%,12px);
        border: 1px solid #d6ab73;
        border-radius: 12px;
        background: #281a13;
        color: #fff4e4;
        box-shadow: 0 17px 50px #0008;
        padding: 12px 19px;
        font-size: 13px;
        line-height: 1.5;
        opacity: 0;
        pointer-events: none;
        transition: transform .3s var(--atelier-ease),opacity .3s;
    }
    
    .atelier-toast.visible {
        transform: translate(-50%,0);
        opacity: 1;
    }
    /* Foco visible en elementos activables sin depender del ratón. */
    
    :is(.boton,.hero-categoria,.promo-enlace,.card-favorito,.categorias button,.nav-mas summary,.atelier-volver,.pie a):focus-visible {
        outline: 3px solid #e8bd82!important;
        outline-offset: 3px;
    }
    /* Los cortes visuales no deben sacrificar legibilidad en móvil. */

    @media(max-width:1100px) {
        
        .promociones-encabezado {
            gap: 20px;
        }
        
        .card-foto {
            aspect-ratio: 1.45;
        }
    }

    @media(max-width:850px) {
        
        .historia-foto {
            min-height: 470px;
        }
        
        .promociones-encabezado {
            align-items: start;
        }
        
        .promo-card {
            min-height: 360px;
        }
        
        .card-foto {
            aspect-ratio: 1.6;
        }
    }

    @media(max-width:600px) {
        
        .seccion h2 {
            letter-spacing: -.03em;
        }
        
        #promociones,#nosotros,#menu,#beneficios-cuenta,#lealtad,#razones,#reservaciones,#negocios {
            padding-block: clamp(64px,12vw,82px);
        }
        
        .promociones-encabezado h2,.historia-texto h2,.encabezado-seccion h2 {
            font-size: clamp(37px,9vw,51px);
        }
        
        .promo-card {
            border-radius: 12px!important;
            min-height: 310px;
        }
        
        .promo-card .promo-card-inner {
            padding: 25px;
        }
        
        .historia-foto {
            min-height: 360px;
            border-width: 5px!important;
        }
        
        .historia-frase {
            padding: 16px 19px;
        }
        
        .card-foto {
            aspect-ratio: 1.48;
        }
        
        .card-cuerpo {
            padding: 22px;
        }
        
        .card-titulo h3 {
            font-size: 24px;
        }
        
        .card-pie {
            flex-wrap: wrap;
        }
        
        .card-pie .boton {
            flex: 1 1 150px;
        }
        
        .categorias button {
            min-height: 51px;
        }
        
        .atelier-volver {
            right: 14px;
            bottom: 14px;
            width: 43px;
            height: 43px;
        }
        
        .atelier-toast {
            bottom: 68px;
        }
    }

    @media(prefers-reduced-motion:reduce) {
        
        html {
            scroll-behavior: auto!important;
        }
        
        *,*::before,*::after {
            animation-duration: .01ms!important;
            animation-iteration-count: 1!important;
            transition-duration: .01ms!important;
        }
        
        .atelier-toast {
            transform: translate(-50%,0);
        }
        
        dialog.modal[open],dialog.bienvenida[open],dialog.modal-temporada[open] {
            animation: none!important;
        }
    }
    /* VIII · Respaldo visual digno: las miniaturas no usan anuncios promocionales.
   Las fotografías gastronómicas de Cloudinary se muestran cuando están
   disponibles; si no, permanece la ilustración cromática artesanal. */
    
    .hero .hero-categoria:nth-child(3) .espacio-imagen {
        background: linear-gradient(rgba(28,13,7,.09),rgba(28,13,7,.09)),url('../assets/platillo-118.jpg') center/cover no-repeat!important;
    }
    
    .hero .hero-categoria:nth-child(4) .espacio-imagen {
        background-image: linear-gradient(rgba(38,18,10,.06),rgba(38,18,10,.25)),url('https://res.cloudinary.com/dnrhcpdur/image/upload/v1792977080/Flan_con_fresas_y_canela_en_mesa_r%C3%BAstica_m5xfoh.png'),radial-gradient(circle at 70% 20%,#c18e62,#55331f 67%,#291a12)!important;
        background-size: cover,cover,cover!important;
        background-position: center!important;
    }
    
    .hero .hero-categoria:nth-child(5) .espacio-imagen {
        background-image: linear-gradient(rgba(38,18,10,.05),rgba(38,18,10,.25)),url('https://res.cloudinary.com/dnrhcpdur/image/upload/v1792977219/Caf%C3%A9_y_t%C3%A9_entre_barro_y_canela_qeeo5c.png'),radial-gradient(circle at 65% 20%,#a98058,#392417 74%)!important;
        background-size: cover,cover,cover!important;
        background-position: center!important;
    }
    
    .hero .hero-categoria:nth-child(4) .espacio-imagen::before,.hero .hero-categoria:nth-child(5) .espacio-imagen::before {
        content: none!important;
    }
    /* LA MILPA IX · GUÍA VISUAL · IHC / ACCESIBILIDAD / INTERACCIONES
   Paleta: noche cacao-nogal, día papel de maíz-marfil; acento bronce/barro.
   Sin fuentes ni frameworks remotos obligatorios. */
    
    :root {
        scroll-behavior: smooth;
        scroll-padding-top: 90px;
    }
    
    body {
        --lm-acento: #ddb479;
        --lm-acento-oscuro: #8f5832;
        --lm-contraste: #fbf3e7;
        --lm-fondo: #241914;
        --lm-panel: #34241d;
        --lm-borde: rgba(218,174,119,.38);
        --lm-muted: #e1ccb5;
        --lm-elevacion: 0 20px 55px rgba(15,7,5,.25);
        color: #f9edda;
        background: var(--lm-fondo);
        transition: background-color .4s ease,color .4s ease;
    }
    
    body[data-theme="day"] {
        --lm-acento: #9d6339;
        --lm-acento-oscuro: #7d4727;
        --lm-contraste: #35251a;
        --lm-fondo: #faf2e4;
        --lm-panel: #fff9ee;
        --lm-borde: rgba(139,93,51,.32);
        --lm-muted: #644d3d;
        --lm-elevacion: 0 18px 44px rgba(68,37,17,.13);
        background: linear-gradient(160deg,#fcf7ed 0%,#f2e4cf 65%,#f9eddf 100%);
        color: #39281f;
    }
    /* Un solo lenguaje de bordes, elevaciones y foco: coherencia IHC. */
    
    button,a,input,select,textarea,summary {
        -webkit-tap-highlight-color: transparent;
    }
    
    :where(a,button,input,select,textarea,summary):focus-visible {
        outline: 3px solid #e9ac61!important;
        outline-offset: 4px;
        box-shadow: 0 0 0 6px rgba(53,25,13,.35);
    }
    
    :where(button,[role="button"],a) {
        touch-action: manipulation;
    }
    
    :where(button,[type="submit"]):disabled {
        cursor: not-allowed;
        opacity: .58;
        filter: grayscale(.12);
    }
    
    .seccion {
        scroll-margin-top: 100px;
    }
    
    .cabecera {
        transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
    }
    
    .cabecera.cabecera-desplazada {
        box-shadow: 0 12px 35px #130a0833;
    }
    
    .navegacion a {
        position: relative;
        transition: color .22s ease,background .22s ease;
    }
    
    .navegacion a::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 15%;
        right: 15%;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg,transparent,#e3b479,transparent);
        transform: scaleX(0);
        opacity: 0;
        transition: transform .3s ease,opacity .3s ease;
    }
    
    .navegacion a:hover::after,.navegacion a.activo::after {
        transform: scaleX(1);
        opacity: 1;
    }
    
    .navegacion a.activo {
        color: #edc38b;
    }
    
    body[data-theme="day"] .navegacion a.activo {
        color: #854d2b;
    }
    
    .control-tema,.control-idioma {
        min-width: 48px;
        min-height: 44px;
        border: 1px solid var(--lm-borde);
        border-radius: 999px;
    }
    
    .control-tema {
        background: linear-gradient(135deg,rgba(231,194,135,.17),rgba(165,111,69,.07));
        color: #f9e6c5;
    }
    
    body[data-theme="day"] .control-tema {
        background: linear-gradient(130deg,#fff8ea,#e9d5b4);
        color: #5d3824;
    }
    
    .control-tema:hover,.control-idioma:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 23px #0b05052b;
        border-color: #d2a16d;
    }
    
    .tema-icono-wrap {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        perspective: 200px;
    }
    
    #icono-tema {
        display: inline-block;
        font-size: 22px;
        transform-origin: center;
        will-change: transform;
    }
    
    #icono-tema.tema-girando {
        animation: lm-icono-rotar .55s cubic-bezier(.15,.7,.25,1.1) both;
    }

    @keyframes lm-icono-rotar {
        from {
            opacity: .3;
            transform: rotate(-185deg) scale(.65);
        }
        75% {
            opacity: 1;
        }
        to {
            transform: rotate(0) scale(1);
        }
    }
    
    #nombre-tema {
        font-size: 12px;
        letter-spacing: .015em;
    }
    
    .boton,.promo-enlace,.enlace-texto,.hero-categoria,.categorias button,.beneficio-acceso,.nav-mas summary {
        transition: background-color .3s ease,color .3s ease, transform .3s cubic-bezier(.2,.8,.2,1),border-color .3s ease,box-shadow .3s ease,filter .3s ease;
    }
    
    .boton.dorado {
        background: linear-gradient(115deg,#e6bc80,#c59357 65%,#f0d4a0);
        color: #25180e;
        border-color: #eed1a4;
        box-shadow: inset 0 1px 0 #fff6,0 8px 25px #0b08072e;
    }
    
    .boton.dorado:hover:not(:disabled) {
        background: linear-gradient(115deg,#f7d6a5,#dba765 70%,#f9e0b4);
        transform: translateY(-3px);
        box-shadow: 0 15px 32px #10080448;
    }
    
    body[data-theme="day"] .boton.dorado {
        background: linear-gradient(115deg,#85502d,#a96b3b 66%,#7f4328);
        color: #fff7e9;
        border-color: #8c5736;
    }
    
    body[data-theme="day"] .boton.dorado:hover:not(:disabled) {
        background: linear-gradient(115deg,#a76835,#bb7b43,#8c4c2b);
        color: #fffdf5;
    }
    
    .boton.contorno:hover:not(:disabled) {
        transform: translateY(-2px);
        border-color: #eac390;
        box-shadow: 0 12px 28px #11080729;
    }
    
    .boton:active:not(:disabled),.promo-enlace:active,.hero-categoria:active,.categorias button:active {
        transform: translateY(0) scale(.985);
    }
    
    .promociones-editorial,.historia-seccion,.menu-seccion,.cultura-seccion {
        isolation: isolate;
    }
    
    .promociones-editorial {
        background: radial-gradient(circle at 8% 7%,#65442b35,transparent 40%),linear-gradient(135deg,#271c16,#38271e 70%,#251914);
    }
    
    body[data-theme="day"] .promociones-editorial {
        background: radial-gradient(circle at 8% 5%,#fffaf0,transparent 55%),linear-gradient(135deg,#f6e9d4,#ead6b8 85%);
    }
    
    .promociones-acciones {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
        margin: 12px 0 26px;
    }
    
    .promociones-acciones .boton {
        padding: 13px 20px;
    }
    
    .promociones-acciones span {
        font-size: 13px;
        color: var(--lm-muted);
    }
    
    .promo-card {
        border: 1px solid var(--lm-borde);
        box-shadow: var(--lm-elevacion);
        transition: transform .35s cubic-bezier(.2,.8,.2,1),border-color .3s,box-shadow .35s;
    }
    
    .promo-card:hover {
        transform: translateY(-6px);
        border-color: #e5bf86;
        box-shadow: 0 28px 68px #0e09083a;
    }
    
    .promo-enlace {
        cursor: pointer;
    }
    
    body[data-theme="day"] .promo-card {
        box-shadow: 0 20px 45px rgba(68,37,17,.18);
    }
    /* Historia: fotografía cultural real y lienzo editorial de contraste alto. */
    
    .historia-grid {
        gap: clamp(24px,5vw,75px);
        align-items: center;
    }
    
    .historia-foto-editorial {
        display: block;
        position: relative;
        min-height: 460px;
        max-height: 650px;
        overflow: hidden;
        padding: 0;
        margin: 0;
        background: #31231b;
        border-radius: 250px 250px 22px 22px;
        border: 1px solid #d8ae7a;
        isolation: isolate;
    }
    
    .historia-foto-editorial>img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 480px;
        max-height: 640px;
        object-fit: cover;
        object-position: center 25%;
        filter: saturate(.89) contrast(1.03);
        transition: transform .8s cubic-bezier(.2,.8,.2,1),filter .7s;
    }
    
    .historia-foto-editorial:hover>img {
        transform: scale(1.045);
        filter: saturate(1.08);
    }
    
    .historia-foto-editorial .historia-imagen-pie {
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 74px;
        padding: 10px 13px;
        background: rgba(23,14,10,.79);
        border: 1px solid #efc98d5c;
        border-radius: 8px;
        color: #fbe9ca;
        letter-spacing: .1em;
        font-size: 11px;
        text-align: center;
        text-transform: uppercase;
        z-index: 2;
    }
    
    .historia-foto-editorial .historia-sello {
        z-index: 2;
    }
    
    .historia-foto-editorial::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(180deg,transparent 60%,#180e0a8c 100%);
    }
    
    .historia-foto-editorial::after {
        z-index: 3;
        bottom: 16px;
    }
    
    .historia-texto h2 {
        line-height: 1.08;
    }
    
    .historia-texto p {
        line-height: 1.78;
    }
    
    body[data-theme="day"] .historia-seccion {
        background: linear-gradient(130deg,#f8efe0,#fff9ec 55%,#f1e4d2);
    }
    /* Cultura: contenido escaneable, todas las fichas conducen a un diálogo contextual. */
    
    .cultura-seccion {
        padding: clamp(65px,8vw,110px) 0;
        background: linear-gradient(160deg,#37251c,#271912);
        border-block: 1px solid #ba90614f;
    }
    
    body[data-theme="day"] .cultura-seccion {
        background: linear-gradient(145deg,#e5cfad,#f8ecdb 60%,#efdec5);
    }
    
    .cultura-contenedor {
        display: grid;
        grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
        gap: clamp(26px,5vw,90px);
        align-items: center;
    }
    
    .cultura-intro h2 {
        font: 500 clamp(36px,4vw,65px)/1.12 var(--serif,Georgia,serif);
        color: #fff2db;
        margin: 10px 0 20px;
    }
    
    .cultura-intro h2 em {
        color: #f0c28a;
    }
    
    .cultura-intro p:not(.eyebrow) {
        color: #e3cfb9;
        line-height: 1.8;
        max-width: 530px;
        margin: 0 0 24px;
    }
    
    body[data-theme="day"] .cultura-intro h2 {
        color: #402b20;
    }
    
    body[data-theme="day"] .cultura-intro h2 em {
        color: #916039;
    }
    
    body[data-theme="day"] .cultura-intro p:not(.eyebrow) {
        color: #604736;
    }
    
    .cultura-mosaico {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 15px;
    }
    
    .cultura-ficha {
        min-height: 200px;
        padding: 28px 23px;
        border: 1px solid #ccaa805e;
        border-radius: 16px;
        background: linear-gradient(140deg,#57402e,#35251c);
        box-shadow: 0 14px 30px #10080726;
        transition: transform .3s ease,background .3s ease,border-color .3s ease;
    }
    
    .cultura-ficha:nth-child(even) {
        transform: translateY(22px);
    }
    
    .cultura-ficha:hover {
        transform: translateY(-3px);
        border-color: #e2ba7d;
    }
    
    .cultura-ficha:nth-child(even):hover {
        transform: translateY(17px);
    }
    
    .cultura-numero {
        display: block;
        color: #e2b983;
        font-size: 10px;
        letter-spacing: .15em;
        font-weight: 700;
        margin-bottom: 23px;
    }
    
    .cultura-ficha h3 {
        font: 500 clamp(25px,2.5vw,36px) var(--serif,Georgia,serif);
        color: #fff1d8;
        margin: 0 0 12px;
    }
    
    .cultura-ficha p {
        font-size: 14px;
        line-height: 1.62;
        color: #ebd6be;
        margin: 0;
    }
    
    body[data-theme="day"] .cultura-ficha {
        background: linear-gradient(145deg,#fffaf0,#f0dec2);
        border-color: #b79268;
        box-shadow: 0 16px 28px #63402119;
    }
    
    body[data-theme="day"] .cultura-ficha h3 {
        color: #463021;
    }
    
    body[data-theme="day"] .cultura-ficha p {
        color: #66513e;
    }
    
    body[data-theme="day"] .cultura-numero {
        color: #916036;
    }
    /* Menu: consistent cards and visible status. */
    
    .card-platillo {
        border-radius: 20px;
        isolation: isolate;
    }
    
    .card-foto {
        overflow: hidden;
    }
    
    .card-imagen {
        width: 100%;
        object-fit: cover;
        object-position: 50% 44%;
    }
    
    .card-platillo:hover .card-imagen {
        transform: scale(1.065) rotate(.25deg);
        filter: saturate(1.07) contrast(1.04);
    }
    
    .card-platillo:hover {
        box-shadow: 0 25px 62px #14090559;
    }
    
    .card-platillo .boton {
        min-height: 44px;
    }
    
    .card-pie {
        align-items: end;
    }
    
    .categorias button:hover:not(:disabled) {
        transform: translateY(-2px);
    }
    
    .categorias button.activo {
        box-shadow: 0 8px 23px #180b0729;
    }
    
    .detalle-ingredientes-box {
        border-radius: 14px;
    }
    
    .detalle-presentacion {
        margin: 16px 0 2px;
        padding: 18px 18px 18px 21px;
        border-left: 3px solid #d8aa76;
        background: linear-gradient(100deg,rgba(191,146,89,.15),transparent);
        color: #f2d9b8;
        font-size: 14px;
        line-height: 1.75;
    }
    
    body[data-theme="day"] .detalle-presentacion {
        color: #65452c;
        background: linear-gradient(100deg,#e7ccaa67,transparent);
    }
    /* Modal contextual, edición cultural sin navegación errática. */
    
    .modal-informativa {
        position: fixed;
        inset: 0;
        margin: auto;
        width: min(750px,calc(100vw - 25px));
        max-height: min(90dvh,850px);
        overflow-y: auto;
        padding: clamp(24px,5vw,48px);
        border: 1px solid #d9af78;
        background: radial-gradient(circle at 10% 0%,#463126,#271a15 75%);
        color: #faebd2;
        border-radius: 22px;
        box-shadow: 0 40px 110px #060301a3;
    }
    
    .modal-informativa::backdrop {
        background: #100908ca;
        backdrop-filter: blur(7px);
    }
    
    .modal-informativa h2 {
        font: 500 clamp(31px,4.4vw,52px)/1.16 var(--serif,Georgia,serif);
        margin: 12px 42px 25px 0;
    }
    
    .modal-informativa h2 em {
        color: #efc08c;
    }
    
    .modal-fichas {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    
    .modal-fichas article,.cultura-relatos article {
        border: 1px solid #c7a17b70;
        background: #ffffff0c;
        border-radius: 14px;
        padding: 20px;
    }
    
    .modal-informativa h3 {
        font: 500 25px var(--serif,Georgia,serif);
        margin: 10px 0;
    }
    
    .modal-informativa p {
        line-height: 1.72;
        color: #e7d6c2;
    }
    
    .modal-nota {
        font-size: 13px;
    }
    
    .modal-acciones {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 25px;
    }
    
    .cultura-relatos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin: 20px 0 25px;
    }
    
    body[data-theme="day"] .modal-informativa {
        background: linear-gradient(140deg,#fffaf0,#e9d7ba);
        color: #3e291d;
    }
    
    body[data-theme="day"] .modal-informativa p {
        color: #654e3c;
    }
    
    body[data-theme="day"] .modal-informativa h2 em {
        color: #945d33;
    }
    
    body[data-theme="day"] .modal-fichas article,body[data-theme="day"] .cultura-relatos article {
        background: #fffdf590;
        border-color: #b88a5e99;
    }
    /* Estados de error/éxito visibles, no solo color. */
    
    .form-mensaje:not(:empty),.servicios-aviso:not(:empty) {
        line-height: 1.6;
    }
    
    #modal-promociones .cerrar,#modal-cultura .cerrar {
        min-width: 42px;
        min-height: 42px;
    }

    @media(max-width:900px) {
        
        .cultura-contenedor {
            grid-template-columns: 1fr;
            gap: 34px;
        }
        
        .cultura-ficha:nth-child(even) {
            transform: none;
        }
        
        .cultura-ficha:nth-child(even):hover {
            transform: translateY(-3px);
        }
        
        .historia-foto-editorial {
            min-height: 400px;
        }
        
        .historia-foto-editorial>img {
            min-height: 410px;
            max-height: 490px;
        }
    }

    @media(max-width:640px) {
        
        .cultura-ficha {
            padding: 22px 17px;
            min-height: 175px;
        }
        
        .cultura-ficha h3 {
            font-size: 26px;
        }
        
        .cultura-mosaico {
            gap: 10px;
        }
        
        .cultura-ficha p {
            font-size: 13px;
        }
        
        .historia-foto-editorial {
            max-width: 460px;
            margin-inline: auto;
        }
        
        .promociones-acciones {
            gap: 8px;
        }
        
        .modal-fichas,.cultura-relatos {
            grid-template-columns: 1fr;
        }
        
        .modal-informativa {
            padding: 24px 18px;
        }
        
        #nombre-tema {
            font-size: 11px;
        }
    }

    @media(prefers-reduced-motion:reduce) {
        
        :root {
            scroll-behavior: auto;
        }
        
        #icono-tema.tema-girando {
            animation: none;
        }
        
        .card-imagen,.card-platillo,.cultura-ficha,.historia-foto-editorial>img,.promo-card,.boton,.nav-mas,.navegacion a {
            transition: none!important;
        }
        
        .card-platillo:hover,.promo-card:hover,.cultura-ficha:hover,.historia-foto-editorial:hover>img {
            transform: none!important;
        }
    }
    
    .cultura-ficha {
        appearance: none;
        cursor: pointer;
        text-align: left;
        font: inherit;
        color: inherit;
    }
    
    .cultura-ficha:focus-visible {
        border-color: #efc78c;
        box-shadow: 0 0 0 4px #b4784155;
    }
    /* ===== V12 · Refinamiento general, cumpleaños y experiencia premium ===== */
    
    :root {
        --v12-paper: #f9f3ea;
        --v12-ink: #3f291b;
        --v12-gold: #d1a164;
        --v12-edge: rgba(215,177,120,.32);
    }
    
    html {
        scroll-behavior: smooth;
    }
    
    main#contenido {
        overflow: clip;
    }
    
    .contenedor {
        width: min(1180px,calc(100vw - 32px));
    }
    
    .hero,.promociones-editorial,.historia-seccion,.cultura-seccion,.menu-seccion,.beneficios-seccion,.programa-lealtad,.razones-seccion,.reservas-seccion,.negocios-seccion {
        padding-inline: 0;
    }
    
    .selector-idioma-wrap {
        display: flex;
        align-items: center;
    }
    
    .selector-idioma {
        appearance: none;
        -webkit-appearance: none;
        border: 1px solid var(--lm-borde);
        border-radius: 999px;
        min-height: 44px;
        padding: 0 38px 0 16px;
        font: 700 12px var(--sans);
        letter-spacing: .06em;
        background: linear-gradient(135deg,rgba(231,194,135,.18),rgba(165,111,69,.08));
        color: #f9e6c5;
        cursor: pointer;
        background-image: linear-gradient(135deg,rgba(231,194,135,.18),rgba(165,111,69,.08)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f9e6c5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat,no-repeat;
        background-position: 0 0,right 12px center;
        background-size: auto,16px;
    }
    
    .selector-idioma:hover,.selector-idioma:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 9px 23px rgba(11,5,5,.17);
        border-color: #d2a16d;
        outline: none;
    }
    
    body[data-theme="day"] .selector-idioma {
        background: linear-gradient(130deg,#fff8ea,#e9d5b4);
        color: #5d3824;
        background-image: linear-gradient(130deg,#fff8ea,#e9d5b4),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235d3824' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    }
    
    .acciones-cabecera {
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .hero-contenido {
        padding-top: clamp(108px,8.5vw,148px);
        padding-bottom: clamp(46px,5vw,72px);
    }
    
    .hero-grid {
        gap: clamp(24px,5vw,64px);
        align-items: center;
    }
    
    .hero-copy p,.hero-copy .hero-sub {
        max-width: 62ch;
    }
    
    .promociones-grid,.historia-grid,.cultura-contenedor,.beneficios-grid,.razones-grid,.reservas-grid,.negocios-grid {
        gap: clamp(24px,4.5vw,56px);
    }
    
    .promo-card,.card-platillo,.beneficio-acceso,.negocios-formulario,.beneficio-cumple,.cuenta-detalles {
        box-shadow: 0 18px 40px rgba(11,6,4,.12);
    }
    
    .historia-grid {
        grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
        align-items: center;
    }
    
    .historia-foto-editorial {
        max-width: 100%;
        min-height: clamp(540px,52vw,760px);
        border-radius: 260px 260px 22px 22px;
        border: 1px solid rgba(224,182,118,.6);
        box-shadow: 0 38px 95px rgba(0,0,0,.24);
        background: linear-gradient(180deg,#22150f,#412b1d);
    }
    
    .historia-foto-editorial>img {
        min-height: 100%;
        max-height: none;
        height: 100%;
        object-position: center 14%;
        filter: grayscale(.08) contrast(1.03) saturate(.92);
    }
    
    .historia-foto-editorial:hover>img {
        transform: scale(1.035);
        filter: grayscale(0) contrast(1.04) saturate(1.02);
    }
    
    .historia-foto-editorial .historia-imagen-pie {
        bottom: 78px;
        background: linear-gradient(180deg,rgba(16,10,7,.76),rgba(31,19,13,.9));
        border: 1px solid rgba(239,201,141,.35);
        backdrop-filter: blur(8px);
    }
    
    .historia-texto {
        max-width: 660px;
    }
    
    .historia-texto h2 {
        font-size: clamp(48px,5vw,82px);
        margin-bottom: 20px;
    }
    
    .historia-texto p {
        font-size: clamp(16px,1.22vw,18px);
        line-height: 1.92;
    }
    
    .historia-destacados {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 14px;
        margin: 30px 0 12px;
    }
    
    .historia-chip {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 18px 18px 16px;
        border-radius: 18px;
        text-decoration: none;
        color: inherit;
        background: linear-gradient(135deg,rgba(255,255,255,.04),rgba(211,161,100,.09));
        border: 1px solid var(--v12-edge);
        transition: transform .28s ease,box-shadow .28s ease,border-color .28s ease;
    }
    
    .historia-chip:hover,.historia-chip:focus-visible {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(0,0,0,.12);
        border-color: rgba(226,182,115,.55);
        outline: none;
    }
    
    .historia-chip span {
        font-size: 11px;
        letter-spacing: .18em;
        text-transform: uppercase;
        color: #d6ab72;
    }
    
    .historia-chip strong {
        font-size: 15px;
    }
    
    .historia-chip small {
        font-size: 12px;
        line-height: 1.55;
        color: #e7d6c0;
    }
    
    body[data-theme="day"] .historia-chip {
        background: linear-gradient(135deg,rgba(255,255,255,.72),rgba(210,177,131,.22));
    }
    
    body[data-theme="day"] .historia-chip small {
        color: #72553e;
    }
    
    .cultura-mosaico {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 20px;
    }
    
    .cultura-ficha-media {
        min-height: 420px;
        border-radius: 28px;
        overflow: hidden;
    }
    
    .cultura-overlay {
        padding: 22px;
        gap: 10px;
        background: linear-gradient(180deg,rgba(19,10,6,.12),rgba(15,9,6,.88) 88%);
    }
    
    .cultura-overlay h3 {
        font-size: clamp(24px,2.2vw,30px);
    }
    
    .cultura-descubrir {
        margin-top: auto;
    }
    
    .beneficio-cumple {
        margin-top: 26px;
        padding: 24px 24px 22px;
        border-radius: 24px;
        background: linear-gradient(135deg,rgba(214,164,98,.18),rgba(255,255,255,.05));
        border: 1px solid var(--v12-edge);
    }
    
    .beneficio-cumple-kicker {
        display: inline-block;
        font: 700 11px var(--sans);
        letter-spacing: .18em;
        text-transform: uppercase;
        color: #ddb77f;
        margin-bottom: 10px;
    }
    
    .beneficio-cumple h3 {
        font-size: clamp(24px,2vw,32px);
        line-height: 1.18;
        margin: 0 0 10px;
    }
    
    .beneficio-cumple p {
        margin: 0;
        color: #decab3;
        max-width: 70ch;
    }
    
    .beneficio-cumple-link {
        display: inline-flex;
        margin-top: 14px;
        color: #f1c98f;
        text-decoration: none;
        font-weight: 700;
    }
    
    body[data-theme="day"] .beneficio-cumple p {
        color: #6a503d;
    }
    
    .lealtad-cumple-nota {
        margin-top: 12px;
        color: #e6ccb0;
    }
    
    .login-ayuda-registro {
        margin: 2px 0 12px;
        font-size: 13px;
        line-height: 1.6;
        color: #ceb796;
    }
    
    .login-extra-campos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 14px;
    }
    
    .login-campo-inline {
        display: flex;
        flex-direction: column;
        gap: 6px;
        color: inherit;
        font-size: 13px;
    }
    
    .login-campo-inline span {
        font-weight: 700;
        letter-spacing: .04em;
    }
    
    .login-campo-inline input {
        min-height: 46px;
        border-radius: 14px;
        border: 1px solid rgba(218,182,129,.32);
        padding: 0 14px;
        background: rgba(255,255,255,.06);
        color: inherit;
    }
    
    .login-campo-inline input:focus {
        outline: 2px solid rgba(219,169,105,.42);
        outline-offset: 2px;
    }
    
    body[data-theme="day"] .login-campo-inline input {
        background: #fffdf8;
        color: #543726;
    }
    
    .cuenta-detalles {
        display: grid;
        gap: 8px;
        margin: 14px 0 8px;
        padding: 14px 16px;
        border-radius: 18px;
        background: linear-gradient(135deg,rgba(214,164,98,.16),rgba(255,255,255,.05));
        border: 1px solid var(--v12-edge);
    }
    
    .cuenta-detalles p {
        margin: 0;
        font-size: 14px;
        line-height: 1.55;
    }
    
    .cuenta-detalles strong {
        color: #f6d59e;
    }
    
    body[data-theme="day"] .cuenta-detalles p {
        color: #644734;
    }
    
    .menu-ayuda,.servicios-aviso,.lealtad-estado,.form-mensaje {
        font-size: 14px;
    }
    
    .card-cuerpo p {
        line-height: 1.72;
    }
    
    .card-platillo {
        height: 100%;
    }
    
    .card-pie {
        margin-top: auto;
    }
    
    .lealtad-contenido {
        align-items: center;
    }
    
    .razones-preguntas details {
        border-radius: 18px;
        overflow: hidden;
    }
    
    .razones-preguntas summary {
        font-size: 15px;
    }
    
    .reservas-grid>div>p,.negocios-presentacion p,.beneficios-encabezado p {
        max-width: 62ch;
    }
    
    body[data-theme="day"] .beneficio-cumple-link {
        color: #8b5326;
    }

    @media (max-width:980px) {
        
        .historia-destacados {
            grid-template-columns: 1fr;
        }
        
        .login-extra-campos {
            grid-template-columns: 1fr;
        }
        
        .cultura-mosaico {
            grid-template-columns: 1fr;
        }
        
        .historia-foto-editorial {
            min-height: 500px;
        }
    }

    @media (max-width:780px) {
        
        .contenedor {
            width: min(100vw - 22px,1180px);
        }
        
        .hero-contenido {
            padding-top: 100px;
        }
        
        .acciones-cabecera {
            display: grid;
            grid-template-columns: minmax(0,1fr) auto;
            align-items: center;
        }
        
        .selector-idioma-wrap {
            grid-column: 1/2;
        }
        
        .control-tema {
            grid-column: 2/3;
        }
        
        .enlace-cuenta,.boton-carrito {
            grid-column: 1/-1;
            width: 100%;
        }
        
        .historia-grid {
            grid-template-columns: 1fr;
        }
        
        .historia-foto-editorial {
            min-height: 390px;
        }
        
        .historia-foto-editorial>img {
            object-position: center 18%;
        }
        
        .beneficio-cumple {
            padding: 20px;
        }
    }

    @media (max-width:560px) {
        
        .selector-idioma {
            width: 100%;
            min-width: 0;
        }
        
        .historia-texto h2,.promociones-encabezado h2,.encabezado-seccion h2 {
            font-size: clamp(35px,9vw,48px);
        }
        
        .historia-foto-editorial {
            min-height: 350px;
            border-radius: 180px 180px 18px 18px;
        }
        
        .historia-foto-editorial .historia-imagen-pie {
            left: 12px;
            right: 12px;
            bottom: 66px;
            font-size: 10px;
        }
        
        .historia-destacados {
            gap: 10px;
        }
        
        .cultura-ficha-media {
            min-height: 330px;
        }
        
        .cuenta-detalles {
            padding: 12px;
        }
    }
    /* V13 | remates editoriales con tarjetas legibles y ritmo en pantallas pequeñas */
    
    :root {
        --milpa-ease: cubic-bezier(.22,.72,.25,1);
    }
    
    .historia-foto-editorial>img {
        object-position: center 27%;
        filter: contrast(1.025) saturate(.98);
    }
    
    .historia-foto-editorial:after {
        content: '';
        pointer-events: none;
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg,rgba(16,9,6,.36),transparent 52%);
        z-index: 1;
    }
    
    .historia-imagen-pie,.historia-sello {
        position: relative;
        z-index: 2;
    }
    
    body[data-theme="day"] .historia-texto,body[data-theme="day"] .cultura-modal-copy {
        color: #412c21;
    }
    
    body[data-theme="night"] .historia-texto,body[data-theme="night"] .cultura-modal-copy {
        color: #f9eddf;
    }
    
    .card-platillo,.promo-card,.cultura-ficha-media,.historia-chip {
        transition: transform .42s var(--milpa-ease),box-shadow .42s var(--milpa-ease),border-color .42s ease,background .35s ease;
    }
    
    .card-platillo:hover,.promo-card:hover {
        transform: translateY(-5px);
    }
    
    .card-platillo .card-imagen {
        transition: transform .75s var(--milpa-ease),filter .75s var(--milpa-ease);
    }
    
    .card-platillo:hover .card-imagen {
        transform: scale(1.04);
        filter: saturate(1.06);
    }
    
    .boton:focus-visible,.historia-chip:focus-visible,.selector-idioma:focus-visible,.cultura-ficha:focus-visible {
        outline: 3px solid #f3c981;
        outline-offset: 3px;
    }
    
    .login-extra-campos {
        gap: 14px;
    }
    
    .cuenta-detalles {
        box-shadow: none;
    }

    @media(max-width:900px) {
        
        .historia-foto-editorial>img {
            object-position: center 17%;
        }
    }

    @media(max-width:600px) {
        
        .historia-foto-editorial>img {
            object-position: center 16%;
        }
        
        .historia-grid {
            gap: 24px;
        }
        
        .cultura-mosaico {
            gap: 15px;
        }
        
        .cultura-ficha-media {
            min-height: 320px;
        }
    }

    @media(prefers-reduced-motion:reduce) {
        
        .card-platillo,.card-platillo .card-imagen,.promo-card,.cultura-ficha-media,.historia-chip {
            transition: none!important;
            transform: none!important;
        }
    }
    
    .cuenta-form-cumple {
        display: grid;
        gap: 10px;
        margin: 16px 0;
        padding: 18px;
        border-radius: 18px;
        border: 1px solid rgba(218,178,114,.36);
        background: linear-gradient(135deg,rgba(209,161,100,.1),rgba(255,255,255,.05));
    }
    
    .cuenta-form-cumple[hidden] {
        display: none;
    }
    
    .cuenta-form-cumple label {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .02em;
    }
    
    .cuenta-form-cumple input {
        min-height: 46px;
        border-radius: 12px;
        padding: 11px 13px;
        border: 1px solid rgba(216,176,122,.35);
        background: rgba(255,255,255,.08);
        color: inherit;
    }
    
    body[data-theme="day"] .cuenta-form-cumple input {
        background: #fffbf6;
        color: #493426;
    }
    
    .cuenta-form-cumple p {
        margin: 0;
        font-size: 12px;
        line-height: 1.5;
    }
    /* V14 | orden visual, historia más limpia y jerarquía enfocada en portada, promociones y menú */
    
    :root {
        --serif: "Baskerville Old Face", Baskerville, "Palatino Linotype", "Book Antiqua", Georgia, serif;
        --sans: "Segoe UI", Inter, Arial, sans-serif;
    }
    
    body[data-theme="day"] {
        --milpa-fondo: #efe3cf;
        --milpa-texto: #39271c;
        --milpa-papel: #fbf4e9;
        background: #efe3cf;
        color: #39271c;
    }
    
    body[data-theme="day"] .cabecera {
        background: rgba(249,241,228,.94);
        border-bottom-color: rgba(140,101,65,.28);
    }
    
    body[data-theme="day"] .promociones-editorial {
        background: linear-gradient(145deg,#f3e4cf,#f9f1e4);
    }
    
    body[data-theme="day"] .historia-seccion {
        background: linear-gradient(160deg,#f2e5d1,#ead8bc);
    }
    
    body[data-theme="day"] .menu-seccion {
        background: linear-gradient(180deg,#f8efe3,#f3e5cf);
    }
    
    body[data-theme="day"] .cultura-seccion {
        background: linear-gradient(180deg,#ead6bd,#e4ceb1);
    }
    
    #promociones,#nosotros,#menu {
        scroll-margin-top: 96px;
    }
    
    #promociones {
        padding-block: clamp(76px,7vw,108px);
    }
    
    #nosotros {
        padding-block: clamp(72px,6.5vw,98px);
    }
    
    #menu {
        padding-block: clamp(82px,7vw,114px);
    }
    
    #cultura,#beneficios-cuenta,#lealtad,#razones,#reservaciones,#negocios {
        padding-block: clamp(56px,5vw,84px);
    }
    
    .promociones-editorial .promociones-encabezado,
.historia-grid,
.cultura-contenedor,
.encabezado-seccion {
        gap: clamp(22px,4vw,48px);
    }
    
    .promociones-encabezado>p,
.historia-texto p,
.cultura-intro p,
.encabezado-seccion>p:last-child {
        max-width: 62ch;
    }
    
    .boton,.boton-carrito,.menu-favoritos,.selector-idioma,.control-tema {
        letter-spacing: .02em;
        box-shadow: none;
    }
    
    .boton:hover,.boton-carrito:hover,.menu-favoritos:hover,.selector-idioma:hover,.control-tema:hover {
        box-shadow: 0 10px 24px rgba(11,5,3,.14);
    }
    /* Historia: eliminar amontonamiento y darle respiración real */
    
    .historia-grid {
        display: grid;
        grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
        align-items: center;
    }
    
    .historia-foto.historia-foto-editorial {
        position: relative;
        min-height: unset !important;
        aspect-ratio: 4 / 5;
        width: 100%;
        max-width: 560px;
        margin-inline: auto;
        overflow: hidden;
        border-radius: 220px 220px 18px 18px !important;
        border: 6px solid rgba(179,134,81,.28) !important;
        outline: 1px solid rgba(218,177,118,.34);
        outline-offset: 6px;
        box-shadow: 0 28px 72px rgba(9,5,3,.22);
        background: #1d130f;
    }
    
    .historia-foto.historia-foto-editorial::after {
        content: none !important;
    }
    
    .historia-foto.historia-foto-editorial>img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: cover;
        object-position: center 18%;
        filter: grayscale(.06) contrast(1.02) saturate(.94);
    }
    
    .historia-foto.historia-foto-editorial .historia-imagen-pie {
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 18px;
        padding: 12px 14px;
        font-size: 11px;
        letter-spacing: .12em;
        line-height: 1.45;
        border-radius: 12px;
        z-index: 3;
    }
    
    .historia-foto.historia-foto-editorial .historia-sello {
        left: 18px;
        bottom: 84px;
        width: 104px;
        height: 104px;
        border-width: 4px;
        gap: 3px;
        z-index: 3;
    }
    
    .historia-foto.historia-foto-editorial .historia-sello>span {
        font-size: 28px;
    }
    
    .historia-foto.historia-foto-editorial .historia-sello small {
        font-size: 8px;
        line-height: 1.4;
    }
    
    .historia-texto {
        max-width: 690px;
    }
    
    .historia-texto h2 {
        font-size: clamp(42px,4.4vw,72px) !important;
        line-height: 1.08;
        margin-bottom: 18px;
    }
    
    .historia-texto>p:not(.eyebrow):not(.historia-capitular) {
        font-size: clamp(15px,1.1vw,18px);
        line-height: 1.86;
    }
    
    .historia-destacados {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 12px;
        margin: 26px 0 14px;
    }
    
    .historia-chip {
        min-height: 100%;
        padding: 16px 16px 15px;
        border-radius: 16px;
    }
    
    .historia-chip strong {
        font-size: 14px;
    }
    
    .historia-chip small {
        font-size: 12px;
        line-height: 1.55;
    }
    
    .historia-frase {
        margin-top: 22px;
        padding: 18px 20px;
        border-left: 2px solid var(--milpa-borde);
        border-block: none;
        border-radius: 0 14px 14px 0;
        background: linear-gradient(90deg,rgba(198,146,84,.11),transparent 78%);
    }
    
    .historia-firma {
        margin-top: 18px;
        padding-top: 14px;
        border-top: 1px solid rgba(198,150,95,.28);
    }
    /* Cultura y modales: menos saturación y más orden */
    
    .cultura-contenedor {
        align-items: start;
    }
    
    .cultura-intro h2 {
        font-size: clamp(34px,3.7vw,58px);
    }
    
    .cultura-mosaico {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 18px;
    }
    
    .cultura-ficha-media {
        min-height: 360px;
        border-radius: 24px;
    }
    
    .cultura-overlay {
        padding: 20px;
        gap: 8px;
    }
    
    .cultura-overlay p {
        max-width: 30ch;
    }
    
    .modal-informativa,.modal-historia {
        max-height: min(88dvh,860px);
        overflow: auto;
    }
    
    .relato-contenido {
        padding: 28px clamp(20px,3vw,36px) 34px;
    }
    
    .relato-capitulos {
        gap: 18px;
    }
    
    .relato-capitulos h3 {
        font-size: 22px;
    }
    
    .relato-capitulos p {
        font-size: 14px;
        line-height: 1.72;
    }
    /* Menú primero: tipografía clara y tarjetas bien respiradas */
    
    .encabezado-seccion h2 {
        font-size: clamp(42px,4.4vw,72px);
    }
    
    .menu-herramientas {
        gap: 12px;
    }
    
    .card-cuerpo p {
        font-size: 14px;
        line-height: 1.78;
        color: inherit;
    }
    
    .card-pie .boton {
        border-radius: 10px;
    }
    
    .card-platillo {
        border-radius: 20px;
    }
    
    .card-platillo .card-imagen {
        aspect-ratio: 1.32;
    }
    /* Reducir mensajes secundarios visualmente */
    
    .pago-promocion {
        min-height: 0;
        padding: 10px 12px;
        font-size: 12px;
        color: #efd6b3;
    }
    
    body[data-theme="day"] .pago-promocion {
        color: #6a4c36;
        background: #f5e8d2;
        border-color: #cfb08a;
    }
    /* Controles y navegación más intuitivos */
    
    .selector-idioma-wrap {
        min-width: 170px;
    }
    
    .selector-idioma {
        width: 100%;
    }
    
    .navegacion a,.pie a,.historia-chip,.cultura-link {
        text-underline-offset: 4px;
    }
    
    .navegacion a:hover {
        color: #f4d09a;
    }
    
    body[data-theme="day"] .navegacion a:hover {
        color: #7b4a25;
    }
    /* Responsive fino */

    @media (max-width:980px) {
        
        .historia-grid {
            grid-template-columns: 1fr;
        }
        
        .historia-foto.historia-foto-editorial {
            max-width: 620px;
            aspect-ratio: 4/5;
        }
        
        .historia-texto {
            max-width: 100%;
        }
        
        .historia-destacados {
            grid-template-columns: 1fr;
        }
        
        .cultura-mosaico {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width:680px) {
        
        .promociones-encabezado h2,.historia-texto h2,.encabezado-seccion h2 {
            font-size: clamp(34px,9vw,46px) !important;
        }
        
        .historia-foto.historia-foto-editorial {
            aspect-ratio: 7 / 9;
            border-radius: 170px 170px 18px 18px !important;
        }
        
        .historia-foto.historia-foto-editorial>img {
            object-position: center 14%;
        }
        
        .historia-foto.historia-foto-editorial .historia-sello {
            width: 86px;
            height: 86px;
            left: 14px;
            bottom: 76px;
        }
        
        .historia-foto.historia-foto-editorial .historia-sello>span {
            font-size: 22px;
        }
        
        .historia-foto.historia-foto-editorial .historia-imagen-pie {
            left: 12px;
            right: 12px;
            bottom: 12px;
            font-size: 10px;
            padding: 10px 11px;
        }
        
        .relato-capitulos {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width:560px) {
        
        .contenedor {
            width: min(100vw - 18px,1180px);
        }
        
        .selector-idioma-wrap {
            min-width: 0;
        }
        
        .historia-grid {
            gap: 24px;
        }
        
        .historia-texto>p:not(.eyebrow):not(.historia-capitular) {
            font-size: 15px;
            line-height: 1.8;
        }
        
        .cultura-ficha-media {
            min-height: 300px;
        }
        
        #cultura,#beneficios-cuenta,#lealtad,#razones,#reservaciones,#negocios {
            padding-block: 52px;
        }
    }
    /* V15 | ajustes finos finales: cultura + idioma */
    
    .cultura-contenedor {
        grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
        align-items: start;
    }
    
    .cultura-intro {
        padding-right: clamp(0px,2vw,18px);
    }
    
    .cultura-intro p:not(.eyebrow) {
        max-width: 58ch;
    }
    
    .cultura-cta-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px 18px;
        margin-top: 28px;
    }
    
    .cultura-cta-row .boton {
        flex: 0 0 auto;
    }
    
    .cultura-link {
        display: inline-flex;
        align-items: center;
        min-height: 46px;
        max-width: 26ch;
        line-height: 1.6;
        font-weight: 600;
        color: #f6dcc0;
    }
    
    body[data-theme="day"] .cultura-link {
        color: #6f4a2d;
    }
    
    .cultura-mosaico {
        grid-template-columns: repeat(2,minmax(0,1fr));
        align-items: start;
        gap: 20px;
    }
    
    .cultura-ficha {
        min-height: unset;
    }
    
    .cultura-ficha:nth-child(even),
.cultura-ficha:nth-child(even):hover {
        transform: none !important;
    }
    
    .cultura-ficha-media {
        display: flex;
        flex-direction: column;
        min-height: 390px;
        border-radius: 26px;
        overflow: hidden;
    }
    
    .cultura-ficha-media img {
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        object-position: center;
    }
    
    .cultura-overlay {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: space-between;
        gap: 10px;
    }
    
    .cultura-overlay h3 {
        margin: 0 0 10px;
    }
    
    .cultura-overlay p {
        margin: 0;
        max-width: 30ch;
    }
    
    .cultura-overlay .cultura-link {
        min-height: auto;
        margin-top: 6px;
    }
    
    .selector-idioma-wrap {
        position: relative;
        min-width: 190px;
    }
    
    .selector-idioma {
        width: 100%;
        padding-right: 44px;
        font-size: 12px;
        line-height: 1.2;
    }
    
    .selector-idioma option {
        color: #2f2117;
        background: #f6efe3;
    }
    
    body[data-theme="day"] .selector-idioma option {
        color: #2f2117;
        background: #fff7ec;
    }
    
    body[data-theme="night"] .selector-idioma option,
body:not([data-theme="day"]) .selector-idioma option {
        color: #2f2117;
        background: #f6efe3;
    }

    @media (max-width:980px) {
        
        .cultura-contenedor {
            grid-template-columns: 1fr;
        }
        
        .cultura-intro {
            padding-right: 0;
        }
    }

    @media (max-width:700px) {
        
        .cultura-cta-row {
            align-items: stretch;
        }
        
        .cultura-cta-row .boton,
  .cultura-cta-row .cultura-link {
            width: 100%;
            max-width: none;
            justify-content: flex-start;
        }
        
        .cultura-mosaico {
            grid-template-columns: 1fr;
        }
        
        .cultura-ficha-media {
            min-height: 350px;
        }
    }

    @media (max-width:560px) {
        
        .selector-idioma-wrap {
            min-width: 150px;
        }
        
        .selector-idioma {
            font-size: 11px;
            padding-left: 14px;
            padding-right: 38px;
        }
        
        .cultura-ficha-media {
            min-height: 320px;
        }
        
        .cultura-overlay {
            padding: 18px;
        }
    }
    /* V16 | refinado de legibilidad, orden y responsive */
    
    body[data-theme="day"] {
        --panel: #f3e5d1;
        --panel2: #fcf5ea;
        --ink: #3d2a1f;
        --muted: #6b5442;
    }
    
    body[data-theme="day"] .cultura-seccion {
        background: linear-gradient(180deg,#efe1cf 0%, #f7efe5 48%, #ecdcc7 100%);
    }
    
    .cultura-contenedor {
        grid-template-columns: minmax(320px,.82fr) minmax(0,1.18fr);
        gap: clamp(28px,4vw,56px);
        align-items: start;
    }
    
    .cultura-intro {
        padding-top: clamp(8px,1.5vw,24px);
    }
    
    .cultura-intro h2 {
        letter-spacing: -.025em;
        max-width: 12ch;
        text-wrap: balance;
    }
    
    .cultura-intro p:not(.eyebrow) {
        max-width: 54ch;
        font-size: clamp(17px,1.35vw,19px);
        line-height: 1.86;
    }
    
    .cultura-cta-row {
        display: grid;
        grid-template-columns: minmax(0,1fr);
        justify-items: start;
        gap: 14px;
        max-width: 420px;
    }
    
    .cultura-cta-row .boton,
.cultura-cta-row .cultura-link {
        width: 100%;
    }
    
    .cultura-link {
        padding: 0 2px;
        min-height: 22px;
        max-width: none;
        line-height: 1.6;
        justify-content: flex-start;
        text-decoration: none;
        border-bottom: 1px solid rgba(233,191,135,.34);
    }
    
    body[data-theme="day"] .cultura-link {
        color: #6a482e;
        border-bottom-color: rgba(134,91,45,.32);
    }
    
    .cultura-mosaico {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 24px;
        align-items: stretch;
    }
    
    .cultura-ficha,
.cultura-ficha:nth-child(even),
.cultura-ficha:nth-child(even):hover,
.cultura-ficha:hover {
        transform: none !important;
    }
    
    .cultura-ficha {
        padding: 0;
        border-radius: 26px;
        overflow: hidden;
    }
    
    .cultura-ficha-media {
        min-height: 100%;
        background: linear-gradient(180deg,#4e3629,#2b1d17);
        box-shadow: 0 18px 36px rgba(26,14,7,.14);
        border: 1px solid rgba(214,171,118,.55);
    }
    
    body[data-theme="day"] .cultura-ficha-media {
        background: linear-gradient(180deg,#fffdf8,#f7efe1 46%,#f0e2ca 100%);
        border-color: rgba(177,136,88,.72);
        box-shadow: 0 20px 38px rgba(93,58,29,.12);
    }
    
    .cultura-media {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        overflow: hidden;
    }
    
    .cultura-ficha-media img {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .cultura-overlay {
        padding: 22px 22px 20px;
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: flex-start;
        gap: 10px;
        background: linear-gradient(180deg,rgba(26,16,11,.04),rgba(26,16,11,.78) 86%);
    }
    
    body[data-theme="day"] .cultura-overlay {
        background: linear-gradient(180deg,#f8f1e6 0%,#efe2cf 100%);
    }
    
    .cultura-numero {
        margin-bottom: 10px;
        font-size: 11px;
    }
    
    body[data-theme="day"] .cultura-numero {
        color: #9a6533;
    }
    
    .cultura-overlay h3 {
        margin: 0;
        line-height: 1.05;
    }
    
    body[data-theme="day"] .cultura-overlay h3 {
        color: #4c3322;
    }
    
    .cultura-overlay p {
        margin: 0;
        max-width: none;
        font-size: 15px;
        line-height: 1.72;
    }
    
    body[data-theme="day"] .cultura-overlay p {
        color: #6b5442;
    }
    
    .cultura-descubrir {
        display: inline-flex;
        align-items: center;
        margin-top: auto;
        padding-top: 6px;
        font-weight: 700;
        line-height: 1.5;
        color: #f5debc;
    }
    
    body[data-theme="day"] .cultura-descubrir {
        color: #744723;
    }
    /* Ajustes visuales generales suaves */
    
    body[data-theme="day"] .boton.contorno {
        color: #694225;
        background: #fff8ef;
    }
    
    body[data-theme="day"] .boton.contorno:hover,
body[data-theme="day"] .boton.contorno:focus-visible {
        background: #f5e7d2;
    }
    
    body[data-theme="day"] .boton.dorado {
        background: linear-gradient(135deg,#8a572b,#ad7440);
        color: #fff8ed;
    }
    
    body[data-theme="day"] .card-platillo {
        background: linear-gradient(180deg,#fffdf8,#f7efe1);
    }
    
    body[data-theme="day"] .promo-card {
        background: linear-gradient(180deg,#fffaf1,#f3e3cd);
    }
    
    body[data-theme="day"] .selector-idioma {
        background: linear-gradient(135deg,#fffaf0,#ebdac0);
        color: #553522;
        border-color: #b18960;
    }
    
    body[data-theme="day"] .selector-idioma:hover,
body[data-theme="day"] .selector-idioma:focus-visible {
        border-color: #9d6b39;
        box-shadow: 0 9px 22px rgba(77,49,23,.13);
    }

    @media (max-width:1180px) {
        
        .cultura-intro h2 {
            max-width: none;
        }
    }

    @media (max-width:980px) {
        
        .cultura-contenedor {
            grid-template-columns: 1fr;
            gap: 28px;
        }
        
        .cultura-intro {
            padding-top: 0;
        }
    }

    @media (max-width:760px) {
        
        .cultura-mosaico {
            grid-template-columns: 1fr;
            gap: 18px;
        }
        
        .cultura-ficha-media {
            min-height: 0;
        }
        
        .cultura-media {
            aspect-ratio: 16 / 10;
        }
    }

    @media (max-width:560px) {
        
        .cultura-seccion {
            padding: 56px 0;
        }
        
        .cultura-intro h2 {
            font-size: clamp(35px,10vw,52px);
        }
        
        .cultura-intro p:not(.eyebrow) {
            font-size: 16px;
            line-height: 1.75;
        }
        
        .cultura-overlay {
            padding: 18px 16px 17px;
        }
        
        .cultura-overlay p {
            font-size: 14px;
        }
        
        .cultura-descubrir {
            font-size: 14px;
        }
    }
    /* ====================================================================
   LA MILPA V17 · CONTRASTE, JERARQUÍA EDITORIAL Y ADAPTACIÓN RESPONSIVE
   Capa de acabado final. Mantiene tarjetas fotográficas oscuras legibles
   en ambos temas y no modifica la lógica de pedidos ni de usuarios.
   ==================================================================== */
    
    :root {
        --milpa-v17-radius: 20px;
        --milpa-v17-focus: #c98744;
    }
    
    body[data-theme="day"] {
        color-scheme: light;
        --lm-v17-text: #37271e;
        --lm-v17-muted: #614b3b;
        --lm-v17-heading: #38271d;
        --lm-v17-link: #784624;
        --lm-v17-accent: #8b542e;
        --lm-v17-border: rgba(141,102,61,.35);
        --lm-v17-surface: #f5e8d7;
        --lm-v17-paper: #f9f1e5;
        color: var(--lm-v17-text);
        background: #efe3cf;
    }
    
    body[data-theme="night"] {
        color-scheme: dark;
        --lm-v17-text: #f8eddf;
        --lm-v17-muted: #e0cab2;
        --lm-v17-heading: #f9eada;
        --lm-v17-link: #efc28c;
        --lm-v17-accent: #e5b478;
        --lm-v17-border: rgba(217,174,112,.38);
        --lm-v17-surface: #2d211b;
        --lm-v17-paper: #35271f;
        color: var(--lm-v17-text);
        background: #1d1611;
    }
    
    :where(.promociones-editorial,.historia-seccion,.menu-seccion,.cultura-seccion,.beneficios-cuenta,.programa-lealtad,.razones-seccion,.reservas-seccion,.negocios-seccion) {
        color: var(--lm-v17-text);
    }
    /* Todas las secciones de lectura usan la misma relación entre fondo y letra. */
    
    :is(.promociones-encabezado h2,.historia-texto h2,.cultura-intro h2,
    .encabezado-seccion h2,.beneficios-encabezado h2,.lealtad-texto h2,
    .razones-presentacion h2,.reservas-grid h2,.negocios-presentacion h2) {
        color: var(--lm-v17-heading);
        letter-spacing: -.027em;
        text-wrap: balance;
    }
    
    body[data-theme="day"] :is(.promociones-encabezado>p,.historia-texto>p:not(.eyebrow),
    .cultura-intro>p:not(.eyebrow),.encabezado-seccion>p:not(.eyebrow),
    .beneficios-encabezado>p,.lealtad-texto>p:not(.eyebrow),
    .razones-presentacion>p:not(.eyebrow),.reservas-grid>div>p,
    .negocios-presentacion>p:not(.eyebrow)) {
        color: var(--lm-v17-muted);
    }
    
    body[data-theme="night"] :is(.promociones-encabezado>p,.historia-texto>p:not(.eyebrow),
    .cultura-intro>p:not(.eyebrow),.encabezado-seccion>p:not(.eyebrow),
    .beneficios-encabezado>p,.lealtad-texto>p:not(.eyebrow),
    .razones-presentacion>p:not(.eyebrow),.reservas-grid>div>p,
    .negocios-presentacion>p:not(.eyebrow)) {
        color: var(--lm-v17-muted);
    }
    
    body[data-theme="day"] :is(.eyebrow,.historia-capitular) {
        color: #754721;
    }
    
    body[data-theme="night"] :is(.eyebrow,.historia-capitular) {
        color: #e8be84;
    }
    /* Titulares, subtítulos y párrafos legibles sin saturar el diseño. */
    
    :where(.promociones-encabezado,.historia-texto,.cultura-intro,.encabezado-seccion,
 .beneficios-encabezado,.lealtad-texto,.razones-presentacion,.reservas-grid,
 .negocios-presentacion) p {
        line-height: 1.77;
    }
    
    :where(.promociones-encabezado,.historia-texto,.cultura-intro,.encabezado-seccion) .eyebrow {
        font-size: clamp(11px,.86vw,13px);
        letter-spacing: .17em;
        line-height: 1.5;
    }
    
    :where(.promociones-editorial,.historia-seccion,.menu-seccion,.cultura-seccion,
.beneficios-cuenta,.programa-lealtad,.razones-seccion,.reservas-seccion,.negocios-seccion) a:not(.boton):not(.marca) {
        text-decoration-thickness: 1px;
        text-underline-offset: 4px;
    }
    
    body[data-theme="day"] :is(.historia-texto,.cultura-intro,.lealtad-texto) a:not(.boton) {
        color: var(--lm-v17-link);
    }
    
    body[data-theme="night"] :is(.historia-texto,.cultura-intro,.lealtad-texto) a:not(.boton) {
        color: var(--lm-v17-link);
    }
    /* Portada original: conservar blanco sobre foto en los dos temas. */
    
    .hero,.hero :is(h1,.hero-sub,.hero-signature,.hero-cat-copy strong,.hero-cat-copy small) {
        color: #fff4e2;
    }
    /* Encabezado y herramientas, control claro/oscuro coherente. */
    
    body[data-theme="day"] .cabecera {
        background: rgba(247,239,227,.97)!important;
        color: #37271e;
    }
    
    body[data-theme="night"] .cabecera {
        background: rgba(30,21,17,.96)!important;
        color: #f9ead8;
    }
    
    body[data-theme="day"] .cabecera :is(.navegacion a,.nav-mas summary,.enlace-cuenta,.menu-movil) {
        color: #493223;
    }
    
    body[data-theme="night"] .cabecera :is(.navegacion a,.nav-mas summary,.enlace-cuenta,.menu-movil) {
        color: #f2dfc3;
    }
    
    body[data-theme="day"] .cabecera :is(.navegacion a.activo,.navegacion a:hover) {
        color: #7b4928;
    }
    
    body[data-theme="night"] .cabecera :is(.navegacion a.activo,.navegacion a:hover) {
        color: #f2c58a;
    }
    
    body[data-theme="day"] :is(.selector-idioma,.control-tema) {
        color: #493020;
        border-color: #a37d51;
    }
    
    body[data-theme="night"] :is(.selector-idioma,.control-tema) {
        color: #f8e8ce;
        border-color: rgba(221,177,119,.52);
    }
    
    .selector-idioma option {
        color: #322217;
        background: #fbf3e8;
    }
    
    body[data-theme="night"] .selector-idioma option {
        color: #f7e9d9;
        background: #30221b;
    }
    /* Fotografía protagonista y recompensas tienen panel oscuro siempre. */
    
    body[data-theme="day"] .promo-temporada,
body[data-theme="night"] .promo-temporada {
        color: #fff2e0;
    }
    
    body[data-theme="day"] .promo-lealtad,
body[data-theme="night"] .promo-lealtad {
        color: #fff3df;
    }
    
    body[data-theme="day"] .promo-card :is(.promo-etiqueta,.promo-nota,.promo-enlace),
body[data-theme="night"] .promo-card :is(.promo-etiqueta,.promo-nota,.promo-enlace) {
        color: #f0c58b;
    }
    
    body[data-theme="day"] .promo-card :is(h3,p:not(.promo-numero)),
body[data-theme="night"] .promo-card :is(h3,p:not(.promo-numero)) {
        color: #fff0de;
    }
    /* Día marfil y crema, sin blancos chillones ni tonos demasiado claros. */
    
    body[data-theme="day"] .menu-seccion {
        background: linear-gradient(156deg,#f4e7d5,#f8f0e3 52%,#eee0ca);
    }
    
    body[data-theme="day"] .promociones-editorial {
        background: linear-gradient(145deg,#efe1cc,#f5e9d8);
    }
    
    body[data-theme="day"] .historia-seccion {
        background: linear-gradient(158deg,#eee0cb,#f6ead9);
    }
    
    body[data-theme="day"] .cultura-seccion {
        background: linear-gradient(170deg,#eadac4,#f6ecdf);
    }
    
    body[data-theme="day"] .card-platillo {
        background: linear-gradient(180deg,#faf4e9,#f2e7d6);
        color: #39281e;
    }
    
    body[data-theme="day"] .card-platillo :is(.card-titulo h3,.card-importe strong) {
        color: #3e2b1e;
    }
    
    body[data-theme="day"] .card-platillo :is(.card-cuerpo p,.card-detalles,.card-disponibilidad) {
        color: #604b3b;
    }
    
    body[data-theme="night"] .card-platillo {
        background: linear-gradient(155deg,#3a2a20,#291d17);
        color: #fff0de;
    }
    
    body[data-theme="night"] .card-platillo :is(.card-titulo h3,.card-importe strong) {
        color: #fff0de;
    }
    
    body[data-theme="night"] .card-platillo :is(.card-cuerpo p,.card-detalles,.card-disponibilidad) {
        color: #ddc9b1;
    }
    
    body[data-theme="day"] .card-platillo .boton.dorado {
        color: #fff8ec;
        background: linear-gradient(120deg,#86522d,#a36b3c);
    }
    
    body[data-theme="night"] .card-platillo .boton.dorado {
        color: #2c1d13;
        background: linear-gradient(120deg,#e6bc85,#cf9b5d);
    }
    /* Cultura: un solo papel claro para cada ficha en modo día, sin degradado negro. */
    
    body[data-theme="day"] .cultura-ficha-media {
        background: linear-gradient(#f9f1e7,#ede0cb);
    }
    
    body[data-theme="day"] .cultura-ficha-media .cultura-overlay {
        background: linear-gradient(180deg,#f8efe3,#eddec9);
        color: #3e2a1e;
    }
    
    body[data-theme="day"] .cultura-overlay :is(h3,p,.cultura-descubrir) {
        color: #3e2a1e;
    }
    
    body[data-theme="day"] .cultura-overlay p {
        color: #5b4938;
    }
    
    body[data-theme="day"] .cultura-numero {
        color: #895426;
    }
    
    body[data-theme="night"] .cultura-ficha-media {
        background: linear-gradient(#4b3528,#291c16);
    }
    
    body[data-theme="night"] .cultura-ficha-media .cultura-overlay {
        background: linear-gradient(180deg,#443126,#291c16);
        color: #f8eddf;
    }
    
    body[data-theme="night"] .cultura-overlay :is(h3,p,.cultura-descubrir) {
        color: #f5e9d9;
    }
    
    body[data-theme="night"] .cultura-overlay p {
        color: #dac8b4;
    }
    
    body[data-theme="night"] .cultura-numero {
        color: #f0c28a;
    }
    /* Servicios, beneficios, preguntas y navegación coherentes con su fondo. */
    
    body[data-theme="day"] :is(.historia-chip strong,.beneficios-encabezado h2,
  .lealtad-texto h2,.razones-presentacion h2,.razones-preguntas summary,
  .negocios-beneficios strong,.beneficio-cumple h3) {
        color: #3d2a1f;
    }
    
    body[data-theme="day"] :is(.historia-chip small,.razones-presentacion p,
  .razones-preguntas details p,.negocios-beneficios small,.beneficio-cumple p,
  .beneficios-encabezado p) {
        color: #5e4939;
    }
    
    body[data-theme="night"] :is(.historia-chip strong,.beneficios-encabezado h2,
  .lealtad-texto h2,.razones-presentacion h2,.razones-preguntas summary,
  .negocios-beneficios strong,.beneficio-cumple h3) {
        color: #f6e8d4;
    }
    
    body[data-theme="night"] :is(.historia-chip small,.razones-presentacion p,
  .razones-preguntas details p,.negocios-beneficios small,.beneficio-cumple p,
  .beneficios-encabezado p) {
        color: #decbb6;
    }
    
    body[data-theme="day"] .historia-frase {
        color: #6c4529;
        background: linear-gradient(90deg,rgba(171,118,61,.12),transparent);
    }
    
    body[data-theme="night"] .historia-frase {
        color: #f2c995;
        background: linear-gradient(90deg,rgba(200,154,89,.12),transparent);
    }
    /* Formularios de negocios siempre sobre papel: tinta oscura en ambos temas. */
    
    .negocios-formulario,
.negocios-formulario :is(h3,label,p,small),
.negocios-formulario :is(input,select,textarea) {
        color: #382619;
    }
    
    .negocios-formulario :is(input,select,textarea) {
        background: #fbf7ef;
    }
    
    body[data-theme="day"] .form-reserva :is(input,select,textarea) {
        background: #faf5eb;
        color: #3e2a1d;
    }
    
    body[data-theme="night"] .form-reserva :is(input,select,textarea) {
        background: #2c211a;
        color: #f5e8d9;
        border-color: #b49266;
    }
    /* Los diálogos de cuenta, carrito y pago conservan fondo oscuro y texto claro. */
    
    body[data-theme="day"] :is(.modal-login,.modal-carrito,.modal-pago),
body[data-theme="night"] :is(.modal-login,.modal-carrito,.modal-pago) {
        color: #f8e9d5;
    }
    
    body[data-theme="day"] .modal-informativa {
        color: #3b2a1d;
        background: linear-gradient(145deg,#f8ecda,#ead6b8);
    }
    
    body[data-theme="day"] .modal-informativa :is(h2,h3) {
        color: #3d2a1f;
    }
    
    body[data-theme="day"] .modal-informativa p {
        color: #5c4838;
    }
    
    body[data-theme="night"] .modal-informativa {
        color: #f8ead9;
        background: linear-gradient(145deg,#443024,#271b15);
    }
    
    body[data-theme="night"] .modal-informativa :is(h2,h3) {
        color: #f8e9d5;
    }
    
    body[data-theme="night"] .modal-informativa p {
        color: #ddc9b4;
    }
    /* Texto y botones legibles en tamaño táctil, sin ocupar pantalla innecesaria. */
    
    :where(.boton,.selector-idioma,.control-tema,.menu-movil,.categorias button) {
        min-height: 44px;
    }
    
    :where(.cultura-cta-row,.promociones-acciones,.grupo-botones) {
        gap: clamp(10px,1.4vw,18px);
    }
    
    .cultura-intro>p:not(.eyebrow) {
        font-size: clamp(16px,1.18vw,18px);
    }
    
    .cultura-cta-row .cultura-link {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .cultura-overlay p {
        font-size: clamp(14px,1.05vw,16px);
    }
    
    .cultura-overlay .cultura-descubrir {
        font-size: 14px;
    }
    
    body[data-theme="day"] .cultura-cta-row .boton.contorno {
        color: #6b4328;
        border-color: #9d7041;
    }
    
    body[data-theme="night"] .cultura-cta-row .boton.contorno {
        color: #f1dbc0;
        border-color: #c9a576;
    }
    
    :where(.historia-grid,.cultura-contenedor,.promociones-grid,.reservas-grid,
  .negocios-grid,.menu-herramientas,.lealtad-contenido) > * {
        min-width: 0;
    }
    
    :is(.cultura-mosaico,.beneficios-grid,.promociones-grid,.rejilla) > * {
        min-width: 0;
    }
    
    :where(.cultura-intro,.historia-texto,.promo-card-inner,.cultura-overlay) {
        overflow-wrap: break-word;
    }

    @media (max-width:1100px) {
        
        .promociones-editorial .promociones-encabezado {
            gap: clamp(18px,3vw,34px);
        }
        
        .cultura-contenedor {
            grid-template-columns: 1fr;
        }
        
        .cultura-mosaico {
            grid-template-columns: repeat(2,minmax(0,1fr));
        }
    }

    @media (max-width:760px) {
        
        .promociones-editorial .promociones-encabezado {
            grid-template-columns: 1fr;
        }
        
        .promociones-grid {
            grid-template-columns: 1fr;
        }
        
        .cultura-mosaico {
            grid-template-columns: 1fr;
        }
        
        .historia-destacados {
            grid-template-columns: 1fr;
        }
        
        .cultura-ficha-media {
            min-height: 0;
        }
        
        .cultura-media {
            aspect-ratio: 16/10;
        }
        
        .cultura-overlay {
            padding: 18px;
        }
        
        .cultura-intro h2 {
            font-size: clamp(35px,8.5vw,52px);
        }
        
        .promociones-encabezado h2,.encabezado-seccion h2 {
            font-size: clamp(35px,8.5vw,54px);
        }
        
        :where(.modal-informativa,.modal-historia) {
            width: calc(100vw - 20px);
            max-height: calc(100dvh - 22px);
        }
    }

    @media (max-width:480px) {
        
        .contenedor {
            width: calc(100% - 28px);
            max-width: 1180px;
        }
        
        .cultura-overlay p {
            line-height: 1.65;
        }
        
        .promociones-acciones,.cultura-cta-row {
            flex-direction: column;
            align-items: stretch;
        }
        
        .promociones-acciones .boton,.cultura-cta-row .boton {
            max-width: 100%;
            white-space: normal;
        }
        
        .cultura-cta-row .cultura-link {
            width: 100%;
            max-width: 100%;
        }
        
        .selector-idioma-wrap {
            max-width: 100%;
        }
        
        .selector-idioma {
            min-width: 0;
            max-width: 100%;
        }
        
        .historia-texto h2 {
            font-size: clamp(35px,9vw,52px)!important;
        }
    }

    @media(prefers-reduced-motion:reduce) {
        
        body {
            transition: none!important;
        }
        
        :where(.card-platillo,.promo-card,.historia-chip,.cultura-ficha-media) {
            transition: none!important;
        }
    }
    /* Registro estable: se muestra al crear cuenta, oculto y deshabilitado al iniciar sesión */
    
    #registro-extra[hidden] {
        display: none!important;
    }
    
    #modal-login {
        max-height: min(92dvh,900px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    
    #registro-extra {
        margin: 4px 0 16px;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 14px;
    }
    
    #registro-extra .registro-cumple {
        grid-column: 1/-1;
    }
    
    #registro-extra .login-campo-inline {
        min-width: 0;
    }
    
    #registro-extra input {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        color-scheme: dark;
    }
    
    #registro-extra small {
        display: block;
        margin-top: 4px;
        line-height: 1.5;
        font-size: 12px;
        color: #dcc8ad;
    }
    
    body[data-theme="day"] #registro-extra input {
        color-scheme: light;
        background: #fff9ee;
        color: #503623;
    }
    
    body[data-theme="day"] #registro-extra small {
        color: #675039;
    }

    @media(max-width:650px) {
        
        #registro-extra {
            grid-template-columns: 1fr;
        }
        
        #registro-extra .registro-cumple {
            grid-column: auto;
        }
        
        #modal-login {
            width: min(96vw,550px);
            padding-inline: clamp(18px,4vw,28px);
        }
    }
    
    
    #modal-platillo #detalle-descripcion {
        display: grid;
        gap: 0.78rem;
        margin: 1rem 0 1.25rem;
        color: #e7d4bd;
        font-family: var(--serif), Georgia, serif;
        font-size: clamp(0.97rem, 1.3vw, 1.10rem);
        font-weight: 400;
        line-height: 1.72;
        letter-spacing: 0.005em;
        text-wrap: pretty;
    }
    
    #modal-platillo .detalle-relato-linea {
        display: block;
        padding-left: 1rem;
        border-left: 2px solid rgba(217, 173, 110, 0.55);
    }
    
    body[data-theme="day"] #modal-platillo #detalle-descripcion {
        /* Sobre la superficie marfil, la tipografía debe ser café oscuro. */
        color: #4b3222;
    }

    @media (max-width: 600px) {
        
        #modal-platillo #detalle-descripcion {
            gap: 0.55rem;
            font-size: 0.99rem;
            line-height: 1.64;
        }
    }
