/* ═══════════════════════════════════════════════════════════════
   VACACERDO · /ano-nuevo/ — "De la brasa a los fuegos artificiales"
   Todo va prefijado con .an- para no chocar con style.css / navbar.css.
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────────────────────── */
.an-page {
    --an-carbon: #100c0a;      /* fondo: carbón, no negro plano   */
    --an-carbon-2: #0b0807;
    --an-ceniza: #1a1411;      /* superficies                      */
    --an-hueso: #f1e8dc;       /* texto principal                  */
    --an-humo: #a79a8d;        /* texto secundario                 */
    --an-humo-2: #7c6f64;      /* texto terciario                  */
    --an-brasa: #c43822;       /* rojo de marca                    */
    --an-chispa: #ff6a2b;      /* brasa encendida                  */
    --an-champana: #e2c07d;    /* año nuevo: champaña              */
    --an-papel: #f3ebdd;       /* comanda                          */
    --an-tinta: #1d1512;
    --an-linea: rgba(241, 232, 220, 0.1);
    --an-linea-2: rgba(241, 232, 220, 0.2);
    --an-nav: 80px;
    --an-display: 'Anton', 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
    --an-texto: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --an-radio: 6px;
}

html {
    scroll-padding-top: calc(var(--an-nav, 80px) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body.an-page {
    background-color: var(--an-carbon) !important;
    color: var(--an-hueso);
    font-family: var(--an-texto);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.an-main {
    overflow-x: clip;   /* no crea contenedor de scroll: el sticky sigue funcionando */
}
.an-main *,
.an-main *::before,
.an-main *::after,
.an-barra,
.an-barra * {
    box-sizing: border-box;
}
.an-main img { max-width: 100%; }

.an-wrap {
    width: min(1200px, 100% - 48px);
    margin-inline: auto;
}

.an-sec {
    padding-block: clamp(84px, 11vw, 150px);
}
.an-sec__cabeza {
    margin-bottom: clamp(40px, 5vw, 64px);
    max-width: 720px;
}
.an-sec__cabeza p,
.an-noche__cabeza p {
    color: var(--an-humo);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 60ch;
}

.an-h2 {
    font-family: var(--an-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 5.4vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    color: var(--an-hueso);
    margin: 0 0 0.45em;
    text-wrap: balance;
}

/* ── Botones y enlaces ────────────────────────────────────────── */
.an-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 28px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: var(--an-texto);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.an-btn:focus-visible,
.an-enlace:focus-visible,
.an-faq__item summary:focus-visible,
.an-barra__wa:focus-visible {
    outline: 2px solid var(--an-champana);
    outline-offset: 3px;
}
.an-btn--brasa {
    background: var(--an-brasa);
    color: #fff;
}
.an-btn--brasa:hover {
    background: var(--an-chispa);
    color: #fff;
}
.an-btn--brasa:active { transform: translateY(1px); }
.an-btn--linea {
    background: transparent;
    border-color: var(--an-linea-2);
    color: var(--an-hueso);
}
.an-btn--linea:hover {
    border-color: var(--an-hueso);
    background: rgba(241, 232, 220, 0.06);
    color: var(--an-hueso);
}
.an-btn--chico {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.9rem;
    font-weight: 700;
}
.an-btn--ancho { width: 100%; }
.an-btn[disabled] {
    opacity: 0.6;
    cursor: progress;
}

.an-enlace {
    color: var(--an-hueso);
    text-decoration: underline;
    text-decoration-color: var(--an-brasa);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    font-weight: 600;
}
.an-enlace:hover { color: var(--an-chispa); }

/* ═══ HERO ═══════════════════════════════════════════════════ */
.an-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: var(--an-nav);
    min-height: calc(100vh - var(--an-nav));
    min-height: calc(100svh - var(--an-nav));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px 64px;
    /* mismo margen lateral que .an-wrap, para que todo alinee con el resto de la página */
    padding: clamp(28px, 5vw, 72px) max(24px, calc((100% - 1200px) / 2)) clamp(44px, 7vw, 96px);
    cursor: crosshair;
}
.an-hero__cuerpo,
.an-cuenta { cursor: auto; }

.an-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    filter: saturate(0.9) brightness(0.58);
    transform-origin: 50% 100%;
}
/* Velo: cielo oscuro arriba (donde estallan los fuegos), brasa abajo */
.an-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(120% 60% at 50% 115%, rgba(196, 56, 34, 0.45) 0%, rgba(196, 56, 34, 0) 60%),
        linear-gradient(180deg, rgba(16, 12, 10, 0.92) 0%, rgba(16, 12, 10, 0.4) 40%, rgba(16, 12, 10, 0.55) 72%, var(--an-carbon) 100%);
}
.an-hero__fx {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.an-hero__cuerpo { max-width: 780px; }

.an-hero__titulo {
    font-family: var(--an-display);
    font-weight: 400;
    font-size: clamp(3.6rem, 10.4vw, 10.5rem);
    line-height: 1.06;            /* Anton sube mucho la tilde de la Ñ: con menos interlínea choca con la línea de arriba */
    letter-spacing: 0.002em;
    text-transform: uppercase;
    color: var(--an-hueso);
    margin: 0 0 0.3em;
    max-width: 8.6ch;
}
.an-hero__bajada {
    color: #ddd3c6;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.6;
    max-width: 56ch;
    margin: 0 0 34px;
}
.an-hero__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Cuenta regresiva */
.an-cuenta {
    justify-self: end;
    text-align: right;
    padding-top: 18px;
    border-top: 1px solid rgba(226, 192, 125, 0.45);
    min-width: 0;
}
.an-cuenta__nums {
    display: flex;
    justify-content: flex-end;
    gap: clamp(14px, 2vw, 26px);
}
.an-cuenta__u {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.an-cuenta__u b {
    font-family: var(--an-display);
    font-weight: 400;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1;
    color: var(--an-champana);
    font-variant-numeric: tabular-nums;
}
.an-cuenta__u small {
    color: var(--an-humo);
    font-size: 0.82rem;
    margin-top: 6px;
}
.an-cuenta__u--seg b { color: rgba(226, 192, 125, 0.55); }
.an-cuenta__pie {
    margin: 12px 0 0;
    color: var(--an-hueso);
    font-size: 1rem;
    font-weight: 600;
}
.an-cuenta__pie--feliz {
    font-family: var(--an-display);
    font-weight: 400;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    color: var(--an-champana);
    text-transform: uppercase;
    margin: 0;
}
.an-cuenta__viernes {
    margin: 14px 0 0;
    display: inline-block;
    padding: 8px 14px;
    background: rgba(196, 56, 34, 0.18);
    border: 1px solid rgba(196, 56, 34, 0.6);
    border-radius: 4px;
    color: #ffd9cc;
    font-size: 0.92rem;
}
.an-cuenta__viernes strong { color: #fff; }

.an-hero__pista {
    position: absolute;
    top: clamp(20px, 3vw, 36px);
    right: max(24px, calc((100% - 1200px) / 2));
    margin: 0;
    color: rgba(241, 232, 220, 0.55);
    font-size: 0.85rem;
    pointer-events: none;
    transition: opacity 0.6s ease;
}
.an-hero__pista.is-oculta { opacity: 0; }
html:not(.an-js) .an-hero__pista,
.an-hero--quieto .an-hero__pista { display: none; }
.an-hero--quieto { cursor: auto; }

/* Parallax moderno (reemplaza background-attachment: fixed, que no funciona en iOS) */
@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        .an-hero__img {
            animation: an-parallax linear both;
            animation-timeline: scroll(root);
            animation-range: 0 100vh;
        }
        @keyframes an-parallax {
            to { transform: translateY(14%) scale(1.06); }
        }
    }
}

/* ═══ EMPRESAS ═══════════════════════════════════════════════ */
.an-clientes {
    border-block: 1px solid var(--an-linea);
    background: var(--an-carbon-2);
}
.an-clientes__fila {
    display: flex;
    align-items: center;
    gap: 20px 48px;
    padding-block: 26px;
}
.an-clientes__titulo {
    flex: 0 0 auto;
    max-width: 230px;
    margin: 0;
    color: var(--an-humo-2);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}
.an-clientes__lista {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.an-clientes__lista li {
    color: var(--an-humo);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* ═══ MANIFIESTO + COMPARATIVA ═══════════════════════════════ */
.an-manifiesto__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
    margin-bottom: clamp(72px, 9vw, 120px);
}
.an-manifiesto__texto p {
    color: var(--an-humo);
    font-size: 1.12rem;
    line-height: 1.75;
    margin: 0 0 1.1em;
    max-width: 58ch;
}
.an-manifiesto__foto { margin: 0; }
.an-manifiesto__foto img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--an-radio);
    filter: brightness(0.88) saturate(0.95);
}
.an-manifiesto__foto figcaption {
    margin-top: 14px;
    padding-left: 14px;
    border-left: 2px solid var(--an-brasa);
    color: var(--an-humo-2);
    font-size: 0.9rem;
}

.an-comparativa {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.02rem;
}
.an-comparativa caption {
    text-align: left;
    color: var(--an-hueso);
    font-size: 1.15rem;
    font-weight: 700;
    padding-bottom: 22px;
}
.an-comparativa thead th {
    text-align: left;
    padding: 16px 22px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--an-humo);
    border-bottom: 1px solid var(--an-linea-2);
}
.an-comparativa thead th.an-comparativa__nosotros {
    color: var(--an-hueso);
    border-top: 3px solid var(--an-brasa);
}
.an-comparativa tbody th {
    text-align: left;
    width: 18%;
    padding: 20px 22px 20px 0;
    font-family: var(--an-display);
    font-weight: 400;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--an-hueso);
    vertical-align: top;
}
.an-comparativa td {
    padding: 20px 22px;
    border-bottom: 1px solid var(--an-linea);
    vertical-align: top;
    line-height: 1.55;
    color: var(--an-humo-2);
}
.an-comparativa tbody th { border-bottom: 1px solid var(--an-linea); }
.an-comparativa td.an-comparativa__nosotros {
    color: var(--an-hueso);
    background: rgba(196, 56, 34, 0.08);
}

/* ═══ LA NOCHE ═══════════════════════════════════════════════ */
.an-noche {
    background: var(--an-carbon-2);
    border-top: 1px solid var(--an-linea);
}
.an-noche__grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(40px, 6vw, 96px);
}
.an-noche__cabeza {
    position: sticky;
    top: calc(var(--an-nav) + 40px);
    align-self: start;
}

.an-linea {
    --an-p: 1;                 /* sin JS: todo encendido */
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 0 0 84px;
}
.an-js .an-linea { --an-p: 0; }
/* Riel: se va llenando de brasa con el scroll */
.an-linea::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom,
        var(--an-champana) 0%,
        var(--an-chispa) calc(var(--an-p) * 100%),
        var(--an-linea-2) calc(var(--an-p) * 100%));
}
/* La brasa que baja */
.an-linea::after {
    content: '';
    position: absolute;
    left: 28px;
    top: calc(10px + var(--an-p) * (100% - 20px));
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffe3b0;
    box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.35), 0 0 22px 6px rgba(255, 106, 43, 0.65);
    transform: translate(-50%, -50%);
}
html:not(.an-js) .an-linea::after { display: none; }

.an-paso {
    position: relative;
    padding-bottom: clamp(48px, 6vw, 76px);
}
.an-paso:last-child { padding-bottom: 0; }
.an-paso__num {
    position: absolute;
    left: -84px;
    top: -4px;
    width: 56px;
    padding: 6px 0;
    text-align: center;
    background: var(--an-carbon-2);
    font-family: var(--an-display);
    font-size: 2rem;
    line-height: 1;
    color: var(--an-chispa);
    transition: color 0.35s ease, text-shadow 0.35s ease;
}
.an-js .an-paso:not(.is-encendido) .an-paso__num { color: var(--an-humo-2); }
.an-paso.is-encendido .an-paso__num { text-shadow: 0 0 18px rgba(255, 106, 43, 0.55); }

.an-paso__momento {
    margin: 0 0 6px;
    color: var(--an-champana);
    font-size: 0.92rem;
    font-weight: 600;
}
.an-paso__titulo {
    margin: 0 0 12px;
    font-family: var(--an-display);
    font-weight: 400;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--an-hueso);
}
.an-paso__texto {
    margin: 0;
    color: var(--an-humo);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 56ch;
}

/* ═══ GASTRONOMÍA (pizarra de carta) ═════════════════════════ */
.an-carta__pizarra {
    background:
        radial-gradient(90% 70% at 15% 0%, rgba(226, 192, 125, 0.06), transparent 60%),
        #15100d;
    border: 1px solid var(--an-linea);
    border-radius: 10px;
    padding: clamp(28px, 5vw, 64px);
    box-shadow: inset 0 0 0 10px #120d0b, inset 0 0 0 11px var(--an-linea);
}
.an-carta__cabeza {
    margin-bottom: clamp(32px, 4vw, 52px);
}
.an-carta__cabeza p {
    color: var(--an-humo);
    font-size: 1.1rem;
    margin: 0;
}
.an-carta__columnas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.an-carta__col {
    padding: 0 clamp(20px, 3vw, 40px);
    border-left: 1px solid var(--an-linea);
}
.an-carta__col:first-child {
    padding-left: 0;
    border-left: 0;
}
.an-carta__grupo {
    margin: 0 0 24px;
    font-family: var(--an-display);
    font-weight: 400;
    font-size: 1.7rem;
    text-transform: uppercase;
    color: var(--an-champana);
}
.an-carta__col dl { margin: 0; }
.an-carta__col dt {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--an-hueso);
}
.an-carta__col dd {
    margin: 6px 0 24px;
    color: var(--an-humo);
    font-size: 0.97rem;
    line-height: 1.6;
}
.an-carta__col dd:last-child { margin-bottom: 0; }

/* ═══ ARMA TU CIERRE (configurador + comanda) ════════════════ */
.an-arma {
    background: var(--an-carbon-2);
    border-top: 1px solid var(--an-linea);
}
html:not(.an-js) .an-arma,
html:not(.an-js) .an-brindis { display: none; }

.an-arma__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}

.an-grupo {
    border: 0;
    margin: 0 0 34px;
    padding: 0;
    min-width: 0;
}
.an-grupo legend {
    padding: 0;
    margin-bottom: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--an-hueso);
}
.an-grupo legend small {
    margin-left: 8px;
    font-weight: 400;
    font-size: 0.88rem;
    color: var(--an-humo-2);
}

.an-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.an-chip {
    position: relative;
    display: inline-flex;
}
.an-chip input,
.an-dia input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.an-chip span {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--an-linea-2);
    border-radius: 999px;
    color: var(--an-hueso);
    font-size: 0.97rem;
    font-weight: 500;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    pointer-events: none;
}
.an-chip:hover span { border-color: var(--an-humo); }
.an-chip input:checked + span {
    background: var(--an-brasa);
    border-color: var(--an-brasa);
    color: #fff;
}
.an-chip input:focus-visible + span,
.an-dia input:focus-visible + span {
    outline: 2px solid var(--an-champana);
    outline-offset: 3px;
}
.an-chip--suelto { margin-top: 16px; }

/* Calendario */
.an-cal__grilla {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    max-width: 440px;
}
.an-cal__cab {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--an-humo-2);
    padding-bottom: 4px;
}
.an-dia { position: relative; }
.an-dia span {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 6px;
    background: rgba(241, 232, 220, 0.05);
    border: 1px solid transparent;
    color: var(--an-hueso);
    font-weight: 600;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
    transition: background-color 0.15s ease, color 0.15s ease;
    pointer-events: none;
}
.an-dia--finde span { color: var(--an-humo); }
.an-dia--feriado span::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--an-chispa);
}
.an-dia:hover span { border-color: var(--an-linea-2); }
.an-dia input:checked + span {
    background: var(--an-champana);
    color: var(--an-tinta);
}
.an-dia input:disabled { cursor: not-allowed; }
.an-dia input:disabled + span {
    opacity: 0.28;
    text-decoration: line-through;
}
.an-cal__leyenda {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    color: var(--an-humo-2);
    font-size: 0.86rem;
}
.an-cal__punto {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--an-chispa);
}

/* Comanda (colgada del riel de cocina) */
.an-comanda {
    position: sticky;
    top: calc(var(--an-nav) + 28px);
}
.an-comanda__papel {
    position: relative;
    margin-top: 10px;
    padding: 34px 26px 26px;
    background: var(--an-papel);
    color: var(--an-tinta);
    transform: rotate(-0.8deg);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
/* riel metálico */
.an-comanda__papel::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -4%;
    width: 108%;
    height: 14px;
    border-radius: 3px;
    background: linear-gradient(180deg, #7a716a 0%, #3b3430 55%, #221d1a 100%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    transform: rotate(0.8deg);
}
/* borde dentado inferior (papel cortado) */
.an-comanda__papel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 8px;
    background: conic-gradient(from 135deg at 50% 0, var(--an-papel) 90deg, transparent 0) 0 0 / 16px 8px repeat-x;
}
.an-comanda__marca {
    margin: 0;
    text-align: center;
    font-family: var(--an-display);
    font-size: 1.7rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.an-comanda__titulo {
    margin: 6px 0 16px;
    padding-bottom: 14px;
    text-align: center;
    font-size: 0.86rem;
    font-weight: 600;
    color: #6d5f55;
    border-bottom: 2px dashed rgba(29, 21, 18, 0.25);
}
.an-comanda__lineas { margin: 0; }
.an-comanda__lineas div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(29, 21, 18, 0.18);
}
.an-comanda__lineas dt {
    font-size: 0.84rem;
    color: #75665b;
    padding-top: 1px;
}
.an-comanda__lineas dd {
    margin: 0;
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.4;
    border-radius: 3px;
}
.an-comanda__lineas dd[data-vacio] {
    font-weight: 500;
    font-style: italic;
    color: #9a8a7d;
}
.an-comanda__lineas dd.is-nuevo { animation: an-marca 0.9s ease; }
@keyframes an-marca {
    from { background: rgba(226, 192, 125, 0.7); }
    to   { background: transparent; }
}
.an-comanda__pie {
    margin: 16px 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: #7d6e62;
}
.an-comanda__acciones {
    display: grid;
    gap: 10px;
    margin-top: 40px;
}

/* ═══ BRINDIS ════════════════════════════════════════════════ */
.an-brindis {
    background:
        radial-gradient(60% 80% at 85% 40%, rgba(226, 192, 125, 0.08), transparent 70%),
        var(--an-carbon);
}
.an-brindis__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.an-brindis__panel > p {
    color: var(--an-humo);
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0 0 30px;
    max-width: 52ch;
}
.an-brindis__panel .an-campo { margin-bottom: 26px; }
.an-brindis__panel .an-grupo { margin-bottom: 28px; }

.an-brindis__hoja {
    position: relative;
    margin: 0;
    padding: 8px 0 0 clamp(28px, 4vw, 48px);
    border-left: 3px solid var(--an-champana);
}
.an-brindis__hoja::before {
    content: '\201C';
    position: absolute;
    top: -34px;
    left: clamp(20px, 3.5vw, 40px);
    font-family: var(--an-display);
    font-size: 7rem;
    line-height: 1;
    color: rgba(226, 192, 125, 0.22);
    pointer-events: none;
}
.an-brindis__texto {
    position: relative;
    margin: 0 0 28px;
    min-height: 9.5em;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--an-hueso);
    max-width: 40ch;
}
.an-brindis__texto.is-escribiendo::after {
    content: '';
    display: inline-block;
    width: 0.5em;
    height: 1.05em;
    margin-left: 3px;
    vertical-align: -0.15em;
    background: var(--an-champana);
    animation: an-cursor 0.8s steps(2) infinite;
}
@keyframes an-cursor { 50% { opacity: 0; } }
.an-brindis__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ═══ CAMPOS (brindis + formulario) ══════════════════════════ */
.an-campo {
    display: grid;
    gap: 8px;
    min-width: 0;
}
.an-campo > span {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--an-humo);
}
.an-campo > span small { font-weight: 400; color: var(--an-humo-2); }
.an-campo input,
.an-campo select,
.an-campo textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--an-texto);
    font-size: 16px;               /* ≥16px: evita el zoom de iOS Safari */
    line-height: 1.4;
    color: var(--an-hueso);
    background: rgba(241, 232, 220, 0.05);
    border: 1px solid var(--an-linea-2);
    border-radius: var(--an-radio);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.an-campo select {
    background-image: linear-gradient(45deg, transparent 50%, var(--an-humo) 50%), linear-gradient(135deg, var(--an-humo) 50%, transparent 50%);
    background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
}
.an-campo select option { background: var(--an-carbon); color: var(--an-hueso); }
.an-campo textarea { resize: vertical; min-height: 140px; }
.an-campo input::placeholder,
.an-campo textarea::placeholder { color: var(--an-humo-2); }
.an-campo input:focus,
.an-campo select:focus,
.an-campo textarea:focus {
    outline: none;
    border-color: var(--an-champana);
    box-shadow: 0 0 0 3px rgba(226, 192, 125, 0.22);
}

/* ═══ FAQ ════════════════════════════════════════════════════ */
.an-faq { border-top: 1px solid var(--an-linea); }
.an-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}
.an-faq__grid > .an-h2 {
    position: sticky;
    top: calc(var(--an-nav) + 40px);
}
.an-faq__lista { border-top: 1px solid var(--an-linea-2); }
.an-faq__item { border-bottom: 1px solid var(--an-linea-2); }
.an-faq__item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 24px 48px 24px 0;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--an-hueso);
}
.an-faq__item summary::-webkit-details-marker { display: none; }
.an-faq__item summary::before,
.an-faq__item summary::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 16px;
    height: 2px;
    background: var(--an-chispa);
    transition: transform 0.25s ease;
}
.an-faq__item summary::after { transform: rotate(90deg); }
.an-faq__item[open] summary::after { transform: rotate(0deg); }
.an-faq__item summary:hover { color: #fff; }
.an-faq__resp { padding: 0 48px 26px 0; }
.an-faq__resp p {
    margin: 0 0 12px;
    color: var(--an-humo);
    font-size: 1.03rem;
    line-height: 1.75;
    max-width: 64ch;
}
.an-faq__resp p:last-child { margin-bottom: 0; }

/* ═══ RESERVAR ═══════════════════════════════════════════════ */
.an-reservar {
    background:
        radial-gradient(70% 90% at 0% 100%, rgba(196, 56, 34, 0.22), transparent 65%),
        linear-gradient(160deg, var(--an-carbon) 0%, #170906 100%);
    border-top: 1px solid var(--an-brasa);
}
.an-reservar__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.an-reservar__texto .an-h2 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.an-reservar__texto > p {
    color: var(--an-humo);
    font-size: 1.12rem;
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 46ch;
}
.an-reservar__viernes {
    display: inline-block;
    padding: 8px 14px;
    border-left: 3px solid var(--an-chispa);
    background: rgba(196, 56, 34, 0.14);
    color: #ffd9cc !important;
}
.an-reservar__viernes strong { color: #fff; }
.an-reservar__alt {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.an-form {
    position: relative;
    display: grid;
    gap: 20px;
    padding: clamp(24px, 4vw, 44px);
    background: rgba(26, 20, 17, 0.85);
    border: 1px solid var(--an-linea);
    border-radius: 10px;
}
.an-form__fila {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.an-form__estado {
    margin: 0;
    min-height: 1.4em;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--an-champana);
}
.an-form__estado[data-tipo="error"] { color: #ff9b85; }
.an-form .cf-turnstile { min-height: 65px; }

/* honeypot fuera de pantalla (no display:none: algunos bots lo detectan) */
.an-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ═══ BARRA FIJA EN CELULARES ════════════════════════════════ */
.an-barra { display: none; }

/* ═══ RESPONSIVE ═════════════════════════════════════════════ */
@media (max-width: 1080px) {
    .an-hero {
        grid-template-columns: minmax(0, 1fr);
        align-content: end;
    }
    .an-cuenta {
        justify-self: stretch;
        text-align: left;
    }
    .an-cuenta__nums,
    .an-cuenta__u { justify-content: flex-start; align-items: flex-start; }
    .an-arma__grid { grid-template-columns: minmax(0, 1fr); }
    .an-comanda {
        position: static;
        max-width: 460px;
    }
}

@media (max-width: 900px) {
    .an-manifiesto__grid,
    .an-noche__grid,
    .an-brindis__grid,
    .an-faq__grid,
    .an-reservar__grid { grid-template-columns: minmax(0, 1fr); }
    .an-noche__cabeza,
    .an-faq__grid > .an-h2 { position: static; }
    .an-carta__columnas { grid-template-columns: minmax(0, 1fr); }
    .an-carta__col {
        padding: 28px 0 0;
        margin-top: 28px;
        border-left: 0;
        border-top: 1px solid var(--an-linea);
    }
    .an-carta__col:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
    .an-clientes__fila { flex-direction: column; align-items: flex-start; }
    .an-clientes__titulo { max-width: none; }
}

@media (max-width: 760px) {
    .an-wrap { width: min(1200px, 100% - 40px); }
    .an-hero {
        padding: 28px 20px 40px;
        cursor: auto;
    }
    .an-hero__acciones .an-btn { flex: 1 1 100%; }
    .an-hero__pista { display: none; }
    .an-cuenta__u small { font-size: 0.75rem; }

    /* La tabla se transforma en fichas */
    .an-comparativa thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    .an-comparativa,
    .an-comparativa tbody,
    .an-comparativa tr,
    .an-comparativa th,
    .an-comparativa td { display: block; width: 100%; }
    .an-comparativa caption { display: block; }
    .an-comparativa tr {
        padding: 20px 0;
        border-bottom: 1px solid var(--an-linea);
    }
    .an-comparativa tbody th {
        width: 100%;
        padding: 0 0 12px;
        border: 0;
    }
    .an-comparativa td {
        padding: 12px 14px;
        border: 0;
    }
    .an-comparativa td::before {
        content: attr(data-col);
        display: block;
        margin-bottom: 4px;
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--an-humo-2);
    }
    .an-comparativa td.an-comparativa__nosotros { border-left: 3px solid var(--an-brasa); }
    .an-comparativa td.an-comparativa__nosotros::before { color: #ff9b85; }

    .an-linea { padding-left: 64px; }
    .an-linea::before { left: 21px; }
    .an-linea::after { left: 22px; }
    .an-paso__num { left: -64px; width: 44px; font-size: 1.6rem; }

    .an-form__fila { grid-template-columns: minmax(0, 1fr); }
    .an-comanda { max-width: none; }

    /* barra fija */
    .an-barra {
        display: flex;
        gap: 8px;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 900;
        padding: 8px;
        background: rgba(16, 12, 10, 0.92);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid var(--an-linea-2);
        border-radius: 10px;
        transform: translateY(calc(100% + 30px));
        transition: transform 0.3s ease;
    }
    .an-barra.is-visible { transform: translateY(0); }
    .an-barra .an-btn { flex: 1; min-height: 50px; }
    .an-barra__wa {
        display: grid;
        place-items: center;
        flex: 0 0 50px;
        height: 50px;
        border-radius: 4px;
        background: #25d366;
        color: #0b2b16;
    }
}

@media (prefers-reduced-motion: reduce) {
    .an-main *,
    .an-barra {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
