/* ============================================================
   Teatro Alquipistas · Entradas — hoja de estilos
   Colores sólidos (sin degradados), responsive y accesible.
   ============================================================ */
/* Paleta de alquipistas: verde corporativo y cian de apoyo, sobre grises
   neutros. Colores sólidos, sin degradados. */
:root {
    --bg: #f7f7f7;
    --ink: #333333;
    --muted: #6a6a6a;
    --primary: #569e28;
    --primary-dark: #46811f;
    --accent: #4bd0ea;
    --accent-dark: #29b6d4;
    --oscuro: #2f3a2a;
    --card: #ffffff;
    --line: #e6e6e6;
    --ok: #569e28;
    --radius: 14px;
    --shadow: 0 6px 20px rgba(29, 21, 38, .10);
    --shadow-lg: 0 14px 40px rgba(29, 21, 38, .18);
    --wrap: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

/* Accesibilidad: foco visible y salto al contenido */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Cabecera ---------- */
.site-header { background: var(--primary-dark); color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand__mark { color: var(--accent); font-size: 1.2rem; }
.brand__name strong { font-weight: 800; }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: #efeaf5; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { background: var(--primary); color: #fff; padding: 72px 0 64px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--accent); margin: 0 0 12px; font-weight: 700; }
.hero__title { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; font-weight: 800; }
.hero__lead { margin: 0 0 26px; font-size: 1.15rem; color: #efe9f6; max-width: 34ch; }

/* ---------- Botones ---------- */
.btn {
    display: inline-block; border: 0; cursor: pointer;
    background: var(--primary); color: #fff; font-weight: 700;
    padding: 12px 22px; border-radius: 999px; font-size: 1rem;
    transition: transform .08s ease, background .15s ease; text-align: center;
}
.btn:hover { text-decoration: none; background: var(--primary-dark); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #241a2e; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--lg { padding: 15px 30px; font-size: 1.05rem; }
.btn--sm { padding: 8px 16px; font-size: .9rem; }

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }
.section__title { font-size: 1.7rem; font-weight: 800; margin: 0 0 26px; }
.empty { color: var(--muted); font-size: 1.05rem; }

/* ---------- Rejilla de cartelera ---------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
        overflow: hidden; box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__link { color: inherit; display: block; }
.card__link:hover { text-decoration: none; }
.card__media { aspect-ratio: 5 / 7; background: #efeaf3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 16px 16px 18px; }
.card__date { color: var(--primary); font-weight: 700; font-size: .85rem; margin: 0 0 6px; }
.card__title { font-size: 1.1rem; margin: 0 0 4px; font-weight: 800; }
.card__venue { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
.card__price { font-weight: 700; font-size: .95rem; }

/* ---------- Detalle de evento ---------- */
.back { font-weight: 600; }
.evento { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 40px; align-items: start; margin-top: 10px; }
.evento__poster img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: #efeaf3; }
.evento__title { font-size: 2rem; font-weight: 800; margin: 0 0 16px; }
.evento__meta { list-style: none; padding: 0; margin: 0 0 20px; color: var(--ink); display: grid; gap: 6px; }
.evento__desc { color: #3b3345; margin-bottom: 24px; }
.evento__subtitle { font-size: 1.25rem; margin: 0 0 12px; }
.tarifas { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; max-width: 420px; }
.tarifa { display: flex; justify-content: space-between; padding: 12px 16px; background: #fff;
          border: 1px solid var(--line); border-radius: 10px; }
.tarifa__precio { font-weight: 800; color: var(--primary); }
.evento__note { color: var(--muted); font-size: .9rem; margin-top: 10px; }

/* ---------- Selección de localidades ---------- */
.loc { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.loc__h1 { font-size: 1.9rem; font-weight: 800; margin: 0 0 4px; }
.loc__sub { color: var(--primary); font-weight: 700; margin: 0 0 22px; }
.loc__h2 { font-size: 1.1rem; margin: 0 0 12px; }

.seatwrap { position: relative; overflow: auto; max-width: 100%; }
.seatmap { position: relative; width: calc(100% * var(--zoom, 1)); max-width: none; margin: 0 auto; background: #efeaf3;
           border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
           container-type: inline-size; --seat: 14px; }
.seatwrap { --mapw: 820px; }
.seatwrap > .seatmap { max-width: calc(var(--mapw) * var(--zoom, 1)); }
.seatmap img { width: 100%; display: block; }
/* La butaca escala con el ancho del plano: así nunca se pisan entre sí. */
@supports (width: 1cqw) { .seatmap { --seat: clamp(5px, 1.7cqw, 22px); } }
.seat { position: absolute; width: var(--seat); height: var(--seat);
        margin: calc(var(--seat) / -2) 0 0 calc(var(--seat) / -2); padding: 0;
        border-radius: 50%; border: 1px solid rgba(0,0,0,.3); background: var(--zcol, #28a745);
        cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.35); font-size: 0; transition: transform .08s ease; }

.seattools { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.seattools__btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 12px;
                  font: inherit; font-weight: 700; color: var(--primary); cursor: pointer; line-height: 1.2; }
.seattools__btn:hover { border-color: var(--primary); }
.seattools__zoom { color: var(--muted); font-size: .85rem; min-width: 46px; }
.seatfull { position: fixed; inset: 0; z-index: 60; background: #fff; padding: 14px; overflow: auto; }
.seatfull .seatwrap { --mapw: 100%; }
.seat--libre:hover { transform: scale(1.18); }
.seat.is-sel { background: var(--accent); border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(75,208,234,.55); }
.seat--ocupada { background: #c9c4d1; cursor: not-allowed; }
.seat--acc { border: 2px solid #2673d6; }

.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; padding: 12px 0 0; margin: 0; font-size: .85rem; color: var(--muted); }
.legend .dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 6px; }
.dot--free { background: #28a745; } .dot--sel { background: var(--accent); }
.dot--occ { background: #c9c4d1; } .dot--acc { border: 2px solid #2673d6; background: #fff; }

.libres { margin-top: 26px; }
.libre { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: #fff; }
.libre__dot { width: 14px; height: 14px; border-radius: 4px; }
.libre__name { font-weight: 700; flex: 1; }
.libre__price { font-weight: 700; color: var(--primary); }
.libre__stock { color: var(--muted); font-size: .85rem; }
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper__btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.stepper__btn:hover { background: #f3eff8; }
.stepper__val { min-width: 26px; text-align: center; font-weight: 700; }

.loc__side { position: sticky; top: 20px; background: #fff; border: 1px solid var(--line);
             border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.sel { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.sel__empty { color: var(--muted); }
.sel__item { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.sel__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15rem; margin: 10px 0 16px; }
.sel__total strong { font-size: 1.4rem; color: var(--primary); }
.sel__note { color: var(--muted); font-size: .85rem; margin: 12px 0 0; }
#continuar { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 820px) {
    .loc { grid-template-columns: 1fr; }
    .loc__side { position: static; }
}

/* ---------- Resumen ---------- */
.container--narrow { max-width: 680px; }
.resumen { width: 100%; border-collapse: collapse; margin: 10px 0 20px; background: #fff;
           border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.resumen th, .resumen td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.resumen thead th { background: #f3eff8; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.resumen .num { text-align: right; }
.resumen tfoot td { font-weight: 800; font-size: 1.1rem; border-bottom: 0; }
.resumen__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- Formularios / alertas / pago ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
/* La etiqueta puede ser un <label> anidado o un <span> dentro de un <label>. */
.field label, .field > span { display: block; font-weight: 600; margin-bottom: 6px; }
/* Todos los campos de texto se ven igual: si se listan por tipo, el que se
   olvide (password, search, number…) se queda con el estilo nativo y desentona. */
.field input:not([type=checkbox]):not([type=radio]),
.field select,
.field textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
    font-size: 1rem; font-family: inherit; background: #fff; color: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field small { color: var(--muted); display: block; margin-top: 4px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field--check label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }

.alert { border-radius: 10px; padding: 12px 16px; margin: 0 0 18px; }
.alert--error { background: #fdecec; border: 1px solid #f5b5b5; color: #a11; }
.alert--error ul { margin: 0; padding-left: 18px; }
.alert--info { background: #eef4fd; border: 1px solid #b9d3f2; color: #24507e; }

.check-hero { text-align: center; padding: 20px 0 10px; }
.check-hero__mark { width: 74px; height: 74px; border-radius: 50%; background: var(--ok); color: #fff;
    font-size: 40px; line-height: 74px; margin: 0 auto 14px; }
.check-hero h1 { margin: 0 0 6px; font-size: 1.9rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: #d9d3e2; margin-top: 40px; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.site-footer__brand { margin: 0; font-weight: 600; }
.site-footer__legal { display: flex; gap: 18px; }
.site-footer__legal a { color: #b9b0c9; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .evento { grid-template-columns: 1fr; }
    .evento__poster { max-width: 300px; }
    .site-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* Acceso de abonados en la cabecera: se distingue del resto de la navegación. */
.site-nav__cuenta { border: 1px solid var(--line); border-radius: 20px; padding: 5px 14px; }
.site-nav__cuenta:hover { border-color: var(--primary); }

/* Casilla de conformidad (RGPD y similares) en los formularios públicos. */
.check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; font-size: .95rem; }
.check input { margin-top: 4px; flex: 0 0 auto; }
.check span { font-weight: 400; }

/* El botón de envío no debe quedar pegado al último campo del formulario. */
.form .btn[type=submit], .form button[type=submit] { margin-top: 10px; }

/* Campo de contraseña con botón de mostrar/ocultar. */
.pw { position: relative; display: block; }
.pw__ojo { position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
           background: none; border: 0; padding: 6px; cursor: pointer; color: var(--muted);
           display: flex; align-items: center; border-radius: 8px; }
.pw__ojo:hover { color: var(--primary); }
.pw input { padding-right: 44px; }

/* La navegación alinea verticalmente sus elementos: el enlace de cuenta lleva
   borde y padding, y sin esto quedaba más bajo que el resto. */
.site-nav { align-items: center; }

/* Botones de acción con icono en el área del abonado. */
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 26px; }
.acciones .btn { display: inline-flex; align-items: center; gap: 8px; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }

/* El botón de cerrar sesión, despegado del texto que lo precede. */
.salir { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Banda diagonal "Completo" sobre el cartel, cuando no quedan localidades. */
.card__media { position: relative; }
.card__media.is-completo img { filter: grayscale(.65); opacity: .75; }
.banda-completo {
    /* Centrada sobre el cartel y cruzándolo de lado a lado: se ancla al centro
       y se hace más ancha que la imagen, de modo que los extremos se cortan
       contra el borde (el contenedor recorta lo que sobra). */
    position: absolute; top: 50%; left: 50%;
    width: 150%;
    transform: translate(-50%, -50%) rotate(-20deg);
    background: #c0392b; color: #fff;
    font-weight: 800; font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase;
    text-align: center; padding: 9px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
    pointer-events: none;
}
.btn--off { background: #8d8698; }
.btn--off:hover { background: #8d8698; }

/* En la ficha del evento la banda es mayor, sobre el cartel grande. */
/* En la ficha, el cartel es mayor: se recorta la banda contra sus esquinas
   redondeadas para que no sobresalga por los lados. */
.evento__poster { position: relative; overflow: hidden; border-radius: var(--radius); }
.evento__poster.is-completo img { filter: grayscale(.65); opacity: .75; }
.evento__poster .banda-completo { font-size: 1.5rem; padding: 12px 0; }

/* ============================================================
   PORTADA — rediseño con la paleta de alquipistas
   ============================================================ */

/* ---------- Hero a dos columnas ---------- */
.hero { background: var(--primary); color: #fff; padding: 60px 0; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center; }
.hero__eyebrow { color: #eaffdd; }
.hero__title { text-shadow: 0 2px 10px rgba(0,0,0,.15); }
.hero__lead { color: #f0fbe8; max-width: 46ch; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* Botón de contorno para la acción secundaria sobre fondo de color */
.btn--linea { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.btn--linea:hover { background: rgba(255,255,255,.14); color: #fff; }

/* Tarjeta del evento destacado, ligeramente girada */
.hero__destacado { display: block; background: #fff; color: var(--ink);
                   border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-lg);
                   transform: rotate(-1.4deg); transition: transform .15s ease; }
.hero__destacado:hover { transform: rotate(0) translateY(-4px); text-decoration: none; }
.hero__etiqueta { display: inline-block; background: var(--accent); color: #123; font-weight: 800;
                  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
                  padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; }
.hero__cartel { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #eee; }
.hero__cartel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__cartel.is-completo img { filter: grayscale(.65); opacity: .75; }
.hero__nombre { display: block; font-weight: 800; font-size: 1.15rem; margin-top: 12px; }
.hero__fecha { display: block; color: var(--primary); font-weight: 700; font-size: .92rem; }

/* ---------- Franja de ventajas ---------- */
.ventajas { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0; }
.ventajas__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.ventaja h3 { margin: 12px 0 4px; font-size: 1.05rem; }
.ventaja p { margin: 0; color: var(--muted); font-size: .93rem; }
.ventaja__ico { display: inline-flex; align-items: center; justify-content: center;
                width: 46px; height: 46px; border-radius: 12px;
                background: #eef7e7; color: var(--primary); }
.ventaja__ico svg { width: 26px; height: 26px; }

/* ---------- Cabecera de sección ---------- */
.section__cab { margin-bottom: 26px; }
.section__cab .section__title { margin: 0; position: relative; padding-bottom: 12px; }
.section__cab .section__title::after { content: ""; position: absolute; left: 0; bottom: 0;
                                       width: 62px; height: 4px; background: var(--primary); border-radius: 4px; }
.section__sub { color: var(--muted); margin: 10px 0 0; }

/* ---------- Calendario sobre el cartel ---------- */
.card__dia { position: absolute; top: 12px; left: 12px; z-index: 2;
             background: #fff; color: var(--primary); border-radius: 10px;
             padding: 7px 11px; text-align: center; line-height: 1;
             box-shadow: 0 3px 10px rgba(0,0,0,.22); font-weight: 700; font-size: .68rem; letter-spacing: .06em; }
.card__dia strong { display: block; font-size: 1.35rem; color: var(--ink); letter-spacing: 0; }

/* ---------- Franja final del abono ---------- */
.franja { background: var(--oscuro); color: #fff; padding: 52px 0; margin-top: 10px; }
.franja__inner { display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.franja__title { margin: 0 0 8px; font-size: 1.8rem; font-weight: 800; }
.franja__lead { margin: 0; color: #d8e2d3; max-width: 60ch; }
.franja__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

@media (max-width: 860px) {
    .hero__inner, .franja__inner { grid-template-columns: 1fr; }
    .hero__destacado { transform: none; max-width: 420px; }
    .hero { padding: 44px 0; }
}

/* ============================================================
   AJUSTE DE COLOR — azul petróleo + verde alquipistas
   ============================================================ */
:root {
    --petroleo: #1b5566;
    --petroleo-dark: #123f4d;
    --petroleo-suave: #e7f0f3;
}

/* ---------- Cabecera: azul petróleo, texto blanco ---------- */
.site-header { background: var(--petroleo); }
.site-header .brand,
.site-header .brand__name,
.site-nav a { color: #fff; }
.brand__mark { color: #fff; }
.site-nav a:hover { color: #cfe6ed; }
.site-nav__cuenta { border-color: rgba(255,255,255,.55); }
.site-nav__cuenta:hover { border-color: #fff; background: rgba(255,255,255,.12); }

/* ---------- Hero: fondo blanco, texto petróleo ---------- */
.hero { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.hero__eyebrow { color: var(--primary); }
.hero__title { color: var(--petroleo); text-shadow: none; }
.hero__lead { color: var(--muted); }

/* Un botón en azul petróleo y otro en verde, ambos con letra blanca. */
.hero__acciones .btn--accent { background: var(--petroleo); color: #fff; }
.hero__acciones .btn--accent:hover { background: var(--petroleo-dark); }
.hero__acciones .btn--linea { background: var(--primary); color: #fff; box-shadow: none; }
.hero__acciones .btn--linea:hover { background: var(--primary-dark); color: #fff; }

/* La tarjeta destacada ya no va sobre color: necesita borde para separarse. */
.hero__destacado { border: 1px solid var(--line); }
.hero__etiqueta { background: var(--petroleo); color: #fff; }
.hero__fecha { color: var(--petroleo); }

/* ---------- Ventajas: iconos en azul petróleo ---------- */
.ventajas { background: var(--bg); }
.ventaja__ico { background: var(--petroleo-suave); color: var(--petroleo); }
.ventaja h3 { color: var(--petroleo); }

/* ---------- Cartelera: fondo blanco ---------- */
#cartelera { background: #fff; }
.section__cab .section__title { color: var(--petroleo); }
.section__cab .section__title::after { background: var(--primary); }

/* ---------- Franja del abono: azul petróleo, letras blancas ---------- */
.franja { background: var(--petroleo); }
.franja__lead { color: #d6e8ee; }
.franja__cta .btn--accent { background: #fff; color: var(--petroleo); }
.franja__cta .btn--accent:hover { background: #e7f0f3; color: var(--petroleo-dark); }
.franja__cta .btn--linea { box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); color: #fff; }

/* ---------- Menú responsive ---------- */
.site-header__inner { position: relative; }

.nav-toggle {
    display: none;              /* solo aparece en pantallas pequeñas */
    flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px;  /* área de pulsación cómoda con el dedo */
    padding: 0; border: 0; border-radius: 8px;
    background: transparent; cursor: pointer;
}
.nav-toggle__barra { display: block; width: 24px; height: 2px; background: #fff; margin: 0 auto;
                     transition: transform .18s ease, opacity .18s ease; }
.nav-toggle.is-open .nav-toggle__barra:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__barra:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__barra:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--petroleo-dark);
        padding: 6px 0 10px;
        box-shadow: 0 10px 24px rgba(0,0,0,.25);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
    .site-nav a:last-child { border-bottom: 0; }
    /* El acceso de abonados deja de ser una píldora y pasa a ser una fila más. */
    .site-nav__cuenta { border: 0; border-radius: 0; margin-top: 4px; background: rgba(255,255,255,.10); }
    .site-nav__cuenta:hover { background: rgba(255,255,255,.18); }
}
