
/* ==========================================
   PARRILLEROS STEAKHOUSE
   MENU PAGE — WESTERN EDITION
========================================== */

.menu-page {
    --gold: #dba94f;
    --gold-light: #f3d58e;
    --cream: #f4e3c4;
    --red: #8f211c;
    --wood: #2b160c;
    background: #160904;
    color: var(--cream);
}

/* ==========================================
   1. PORTADA
========================================== */

.menu-hero {
    position: relative;
    min-height: 440px;
    padding: 70px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    overflow: hidden;

    background:
        radial-gradient(ellipse at 75% 50%, rgba(117, 55, 19, .22), transparent 40%),
        linear-gradient(90deg, rgba(19, 8, 3, .96), rgba(19, 8, 3, .72)),
        url("../assets/fondo-madera-sedes.png") center / cover no-repeat;

    border-bottom: 2px solid #a66d31;
}

.menu-hero::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(218, 169, 79, .18);
    pointer-events: none;
}

.menu-hero .inner-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.menu-hero .eyebrow {
    color: var(--gold);
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    letter-spacing: 5px;
    font-size: 13px;
    text-transform: uppercase;
}

.menu-hero h1 {
    color: var(--cream);
    font-family: "Rye", serif;
    font-size: clamp(48px, 5.5vw, 76px);
    line-height: 1.08;
    margin: 18px 0;
    text-shadow: 0 5px 15px #0009;
}

.menu-hero h1 em {
    color: var(--gold);
    font-style: normal;
}

.menu-hero .inner-hero-copy > p:last-child {
    color: #dfc49e;
    font-size: 17px;
    line-height: 1.7;
}

/* MASCOTA */

.menu-mascot {
    position: relative;
    width: 350px;
    height: 340px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.menu-mascot::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(186, 100, 30, .13);
    filter: blur(45px);
}

.menu-mascot img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 15px 18px #0009);

    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 88%,
        transparent 100%
    );
}

.menu-mascot .speech {
    position: absolute;
    top: 10%;
    right: -12px;
    z-index: 3;
    transform: rotate(3deg);
}

/* ==========================================
   2. SECCIÓN DE MENÚS
========================================== */

.menu-section {
    position: relative;
    padding: 90px 5% 110px;
    overflow: hidden;

    background:
        radial-gradient(ellipse at 50% 0%, rgba(116, 57, 24, .20), transparent 55%),
        linear-gradient(rgba(25, 10, 4, .94), rgba(19, 8, 3, .98)),
        url("../assets/fondo-madera-sedes.png") center / cover fixed;
}

.menu-section::before,
.menu-section::after {
    content: "✦";
    position: absolute;
    color: rgba(218, 169, 79, .12);
    font-size: 180px;
    pointer-events: none;
}

.menu-section::before {
    top: 80px;
    left: -45px;
}

.menu-section::after {
    right: -45px;
    bottom: 100px;
}

.menu-section .section-title {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 auto 48px;
}

.menu-section .section-title .eyebrow {
    color: var(--gold);
    letter-spacing: 4px;
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.menu-section .section-title h2 {
    color: var(--cream);
    font-family: "Rye", serif;
    font-size: clamp(34px, 4vw, 52px);
    margin: 14px 0;
    text-shadow: 0 4px 12px #0008;
}

.menu-section .section-title h2 em {
    color: var(--gold);
    font-style: normal;
}

.menu-section .section-title > p:last-child {
    color: #d8bd99;
    font-size: 15px;
}

/* ==========================================
   3. SELECTOR DE SEDES
========================================== */

.branch-tabs {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    margin: 0 auto 55px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.branch-tabs button {
    position: relative;
    min-height: 115px;
    padding: 25px 18px;
    overflow: hidden;

    color: var(--cream);
    background:
        linear-gradient(145deg, rgba(105, 57, 28, .55), rgba(35, 15, 7, .96));

    border: 1px solid #98602b;
    border-radius: 5px;

    font-family: "Rye", serif;
    font-size: 17px;
    line-height: 1.4;

    cursor: pointer;
    transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;

    box-shadow:
        inset 0 0 0 4px rgba(0, 0, 0, .18),
        0 12px 25px #0006;
}

.branch-tabs button::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(222, 174, 94, .22);
    pointer-events: none;
}

.branch-tabs button::after {
    content: "✦";
    position: absolute;
    bottom: 7px;
    right: 13px;
    color: rgba(232, 190, 111, .45);
    font-size: 15px;
}

.branch-tabs button:hover {
    transform: translateY(-6px);
    border-color: var(--gold-light);
    background: linear-gradient(145deg, #70401e, #35180a);
    box-shadow: 0 15px 30px #0008;
}

.branch-tabs button.active,
.branch-tabs button[aria-selected="true"] {
    color: #fff0d1;
    background: linear-gradient(135deg, #a12d24, #5d130f);
    border: 2px solid var(--gold);
    box-shadow:
        inset 0 0 0 4px rgba(0, 0, 0, .15),
        0 0 25px rgba(195, 125, 45, .2),
        0 12px 25px #0008;
}

/* ==========================================
   4. CONTENEDOR DE LA CARTA
========================================== */

.pdf-panel {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    margin: 0 auto;
    padding: 12px;

    overflow: hidden;
    background: linear-gradient(145deg, #4a2814, #211006);
    border: 1px solid #b47a36;
    border-radius: 8px;

    box-shadow:
        0 25px 55px #0009,
        inset 0 0 0 1px rgba(255, 220, 160, .08);
}

.pdf-head {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background:
        linear-gradient(110deg, rgba(0, 0, 0, .48), rgba(90, 45, 18, .22));
    border-bottom: 1px solid #98612e;
}

.pdf-head .eyebrow {
    color: var(--gold);
    letter-spacing: 4px;
    font-size: 11px;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
}

.pdf-head h2 {
    color: var(--cream);
    font-family: "Rye", serif;
    font-size: clamp(20px, 2.5vw, 28px);
    margin-top: 10px;
}

.pdf-chip {
    padding: 10px 17px;
    color: #fff0d1;
    background: #92201d;
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px #0005;
}

/* VISOR */

.pdf-content {
    width: 100%;
    min-height: 750px;
    margin-top: 16px;
    overflow: hidden;
    background: #2b1a10;
    border: 1px solid rgba(218, 169, 79, .25);
}

.pdf-content iframe,
.pdf-content object,
.pdf-content embed {
    display: block;
    width: 100%;
    height: 750px;
    border: none;
    background: #fff;
}

/* ESTADO VACÍO */

.pdf-empty {
    min-height: 500px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--cream);
}

.pdf-empty > span {
    font-size: 65px;
    color: var(--gold);
    text-shadow: 0 5px 15px #0008;
}

.pdf-empty h3 {
    margin: 20px 0 10px;
    font-family: "Rye", serif;
    font-size: 21px;
}

.pdf-empty p {
    color: #c9ad89;
    line-height: 1.6;
}

/* ACCIONES */

.pdf-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 25px 12px;
}

.pdf-actions a,
.pdf-actions button {
    padding: 13px 24px;
    color: #fff0d1;
    background: linear-gradient(135deg, #9d2921, #681511);
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    letter-spacing: .5px;
    text-decoration: none;
    cursor: pointer;
    transition: .25s ease;
}

.pdf-actions a:hover,
.pdf-actions button:hover {
    transform: translateY(-3px);
    background: #b33227;
    box-shadow: 0 7px 18px #0006;
}

/* ==========================================
   5. FOOTER
========================================== */

.menu-page .footer .brand img {
    display: block;
    width: min(190px, 65%);
    max-width: 190px;
    height: auto;
    margin: 0 auto 15px;
    object-fit: contain;
}

.menu-page .footer .brand {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 220px;
    margin: 0 auto 15px;
}

.menu-page .footer {
    text-align: center;
}



/* ==========================================
   6. TABLETS
========================================== */

@media (max-width: 900px) {
    .menu-hero {
        min-height: 370px;
        padding: 55px 5%;
    }

    .menu-mascot {
        width: 270px;
    height: 280px;
}
    }

    .menu-mascot img {
        width: 500px;
    height: 400px;
    max-width: none;
    object-fit: contain;
    }

    .branch-tabs {
        gap: 14px;
    }

    .branch-tabs button {
        font-size: 15px;
    }

    .pdf-content,
    .pdf-content iframe,
    .pdf-content object,
    .pdf-content embed {
        height: 650px;
        min-height: 650px;
    }

    @media (min-width: 1100px) {
    .menu-hero {
        gap: 15px;
    }

    .menu-hero .inner-hero-copy {
        flex: 1;
    }

    .menu-mascot {
        width: 430px;
        margin-right: 40px;
    }
}


/* ==========================================
   7. CELULARES
========================================== */

@media (max-width: 620px) {

    /* ======================================
       PORTADA DE MENÚS
    ====================================== */

    .menu-hero {
        position: relative;
        min-height: auto;
        height: auto;
        padding: 45px 18px 0;

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;

        text-align: center;
        overflow: hidden;
    }

    /* TEXTO PRINCIPAL */

    .menu-hero .inner-hero-copy {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
    }

    .menu-hero .eyebrow {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .menu-hero h1 {
        font-size: clamp(37px, 10vw, 46px);
        line-height: 1.12;
        margin: 14px 0;
    }

    .menu-hero .inner-hero-copy > p:last-child {
        max-width: 340px;
        margin: 0 auto;
        font-size: 14px;
        line-height: 1.5;
    }

    /* MASCOTA */

    .menu-mascot {
        position: relative;
        right: auto;
        bottom: auto;
        transform: none;

        width: 100%;
        max-width: 330px;
        height: 285px;
        margin: 5px auto 0;

        display: flex;
        justify-content: center;
        align-items: flex-end;

        flex-shrink: 0;
        z-index: 1;
    }

    .menu-mascot img {
        position: relative;
        width: 100%;
        max-width: 330px;
        height: 100%;

        object-fit: contain;
        object-position: center bottom;
    }

    /* OCULTAR ELEMENTOS DECORATIVOS */

    .menu-mascot .speech {
        display: none;
    }

    .menu-hero-stamp {
        display: none;
    }

    /* ======================================
       SECCIÓN SELECTOR DE SEDES
    ====================================== */

    .menu-section {
        padding: 55px 16px 65px;
        background-attachment: scroll;
    }

    .menu-section .section-title {
        margin-bottom: 32px;
    }

    .menu-section .section-title .eyebrow {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .menu-section .section-title h2 {
        font-size: 32px;
    }

    .menu-section .section-title > p:last-child {
        font-size: 13px;
        line-height: 1.5;
    }

    /* ======================================
       TARJETAS DE LAS SEDES
    ====================================== */

    .branch-tabs {
        grid-template-columns: 1fr;
        gap: 13px;
        margin-bottom: 38px;
    }

    .branch-tabs button {
        width: 100%;
        min-height: 75px;
        padding: 17px;
        font-size: 16px;
    }

    /* ======================================
       PANEL DEL PDF
    ====================================== */

    .pdf-panel {
        padding: 7px;
        border-radius: 7px;
    }

    .pdf-head {
        padding: 20px 15px;
        gap: 10px;
    }

    .pdf-head .eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .pdf-head h2 {
        font-size: 18px;
        line-height: 1.3;
    }

    .pdf-chip {
        padding: 8px 11px;
        font-size: 12px;
        flex-shrink: 0;
    }

    /* VISOR */

    .pdf-content {
        min-height: 550px;
        margin-top: 10px;
        overflow: hidden;
    }

    .pdf-content iframe,
    .pdf-content object,
    .pdf-content embed {
        display: block;
        width: 100%;
        height: 550px;
        border: none;
    }

    /* ESTADO VACÍO */

    .pdf-empty {
        min-height: 400px;
        padding: 25px 15px;
    }

    .pdf-empty h3 {
        font-size: 17px;
    }

    .pdf-empty p {
        font-size: 13px;
    }

    /* BOTONES PDF */

    .pdf-actions {
        justify-content: center;
        padding: 16px 8px 8px;
        gap: 10px;
    }

    .pdf-actions a,
    .pdf-actions button {
        flex: 1 1 100%;
        text-align: center;
        padding: 13px 15px;
    }

    /* ======================================
       FOOTER
    ====================================== */

    .menu-page .footer {
        padding: 40px 18px 22px;
    }

    .menu-page .footer .brand img {
        width: 150px;
        max-width: 100%;
    }

    .menu-page .footer-links {
        gap: 24px;
    }
}


/* ==========================================
   SELLO WESTERN — CONTENIDO DENTRO DEL CÍRCULO
========================================== */

.menu-hero-stamp {
    position: relative;
    z-index: 2;

    width: 190px;
    min-width: 190px;
    height: 190px;
    padding: 20px;

    margin: 0;
    flex-shrink: 0;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    text-align: center;
    color: #e7bd70;

    border: 1px solid rgba(218, 169, 79, .7);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(116, 59, 23, .48),
            rgba(27, 11, 4, .85)
        );

    box-shadow:
        0 0 0 7px rgba(218, 169, 79, .06),
        0 0 30px rgba(170, 91, 35, .2);
}

.menu-hero-stamp::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(218, 169, 79, .65);
    border-radius: 50%;
    pointer-events: none;
}

.menu-hero-stamp .stamp-star {
    font-size: 23px;
    line-height: 1;
    margin: 0 0 5px;
}

.menu-hero-stamp .stamp-line {
    display: block;
    width: 55px;
    height: 1px;
    flex-shrink: 0;
    background: #c28b40;
    margin: 3px 0;
}

.menu-hero-stamp p {
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-size: 9px;
    line-height: 1.3;
    letter-spacing: 2px;
}

.menu-hero-stamp h2 {
    margin: 4px 0;
    font-family: "Rye", serif;
    font-size: 18px;
    line-height: 1.15;
    color: #f4dfb5;
}

.menu-hero-stamp small {
    display: block;
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-size: 8px;
    line-height: 1.2;
    letter-spacing: 1.5px;
}
