
/* =====================================================
   PARRILLEROS STEAKHOUSE
   Hoja de estilos principal
   ===================================================== */


/* =====================================================
   1. FUENTES Y VARIABLES
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Rye&family=Oswald:wght@400;500;600;700&display=swap');

:root {
    --bg: #160c08;
    --bg2: #21130d;
    --panel: #281910;
    --panel2: #342116;
    --red: #a51d20;
    --red2: #c42c2d;
    --gold: #e1b76d;
    --cream: #f8ecd5;
    --muted: #c0aa91;
    --line: #6c4529;
    --ink: #1b100b;
}


/* =====================================================
   2. CONFIGURACIÓN GENERAL
   ===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =====================================================
   3. ENCABEZADO Y NAVEGACIÓN
   ===================================================== */

.topbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100px;
    padding: 0 5%;
}

.topbar.compact {
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font: 700 20px Oswald, sans-serif;
    letter-spacing: 1.5px;
    line-height: 1;
}

.brand small {
    display: block;
    font: 9px 'DM Sans';
    letter-spacing: 4px;
    text-align: center;
    margin-top: 5px;
}

.brand-flame {
    font-size: 29px;
    color: #e7a53c;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 700;
}

.main-nav a {
    padding: 9px 0;
    color: #e9d8bd;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}

.main-nav a.active {
    border-bottom: 2px solid var(--red2);
}

.main-nav .nav-reserve {
    background: var(--red);
    padding: 13px 18px;
    border-radius: 5px;
    color: white;
    border: 1px solid #e25a42;
}

.mobile-menu {
    display: none;
    background: none;
    color: var(--cream);
    border: 0;
    font-size: 25px;
}


/* =====================================================
   4. PORTADA PRINCIPAL - HERO
   ===================================================== */

.hero {
    height: min(730px, calc(100vh - 78px));
    min-height: 600px;
    position: relative;
    overflow: hidden;
    background: #21130c;
}

/* Video de fondo */

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    inset: 0;
    opacity: .55;
}

/* Capa oscura sobre el video */

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #160a05 0%,
            #1a0d07ef 34%,
            #1a0d0766 68%,
            #160a05a8
        ),
        linear-gradient(
            0deg,
            #160a05 0%,
            transparent 35%
        );
}

/* Contenedor de texto y mascota */

.hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1320px;
    margin: auto;
    padding: 30px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Texto de portada */

.hero-copy {
    max-width: 590px;
}

.eyebrow {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 800;
    margin: 0 0 13px;
}

.eyebrow span {
    display: inline-block;
    width: 23px;
    height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin: 0 8px;
}

.hero h1,
.inner-hero h1,
.booking-heading h1 {
    font: 600 clamp(45px, 6vw, 82px)/.98 Rye, Georgia, serif;
    letter-spacing: 1px;
    margin: 14px 0;
    color: #f8e5bf;
    text-shadow: 0 5px 18px #000;
}

.hero h1 em,
.section-title h2 em,
.menu-promo h2 em,
.celebration h2 em,
.inner-hero h1 em,
.booking-heading h1 em {
    font-style: normal;
    color: var(--gold);
}

.hero-sub {
    font: 500 22px Oswald;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 16px 0 7px;
}

.hero-desc {
    color: #e1cbb0;
    max-width: 410px;
    line-height: 1.7;
    font-size: 14px;
}

/* Botones */

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 19px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .6px;
    transition: .2s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
}

.btn-red {
    background: linear-gradient(120deg, #921619, #c22b2d);
    border: 1px solid #e25b48;
    color: white;
    box-shadow: 0 8px 24px #0007;
}

.btn-outline {
    border: 1px solid var(--gold);
    color: #f7d99d;
    background: #1a100ac9;
}


/* =====================================================
   5. MASCOTA PRINCIPAL
   ===================================================== */

.mascot-wrap {
    width: min(39%, 440px);
    height: 90%;
    align-self: flex-end;

    /* IMPORTANTE:
       relative permite que la mascota permanezca
       dentro del flujo de Flexbox. */

    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mascot-wrap img {
    height: 200%;
    max-width: 200%;
    object-fit: contain;
    object-position: bottom;
    mix-blend-mode: screen;
    filter: drop-shadow(0 14px 25px #000b);
    position: relative;
    z-index: 1;
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 82%,
        transparent 100%
    );
     mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 82%,
        transparent 100%
    );
}

/* Iluminación detrás del toro */

.mascot-glow {
    position: absolute;
    bottom: 4%;
    width: 90%;
    height: 45%;
    background: radial-gradient(
        ellipse,
        #bd682d55,
        transparent 70%
    );
}

/* Letrero de bienvenida */

.mascot-tag,
.speech {
    position: absolute;
    background: #f4d7a4;
    color: #29170d;
    border: 2px solid #a96b30;
    border-radius: 6px;
    padding: 10px 13px;
    font: 600 15px Rye;
    box-shadow: 0 8px 20px #0008;
    z-index: 3;
}

.mascot-tag {
    right: 0;
    bottom: 22%;
}

/* Sello decorativo */

.hero-stamp {
    position: absolute;
    right: 3%;
    top: 12%;
    z-index: 2;
    border: 1px solid #d8a85a88;
    border-radius: 50%;
    width: 105px;
    height: 105px;
    display: grid;
    place-content: center;
    text-align: center;
    color: #f2c979;
    font: 10px Oswald;
    letter-spacing: 2px;
    transform: rotate(10deg);
    line-height: 1.5;
}

.hero-stamp b {
    font-size: 16px;
}

.scroll-cue {
    position: absolute;
    bottom: 16px;
    left: 6%;
    z-index: 3;
    color: #d8b77d;
    font-size: 9px;
    letter-spacing: 2px;
}

.scroll-cue span {
    font-size: 19px;
    margin-left: 10px;
}


/* =====================================================
   6. FRANJA DE CARACTERÍSTICAS
   ===================================================== */

.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #21140d;
    border-block: 1px solid #694324;
    padding: 25px 7%;
    position: relative;
}

.feature-strip > div {
    display: grid;
    justify-items: center;
    gap: 5px;
    border-right: 1px solid #62442b;
}

.feature-strip > div:last-child {
    border: 0;
}

.feature-strip b {
    color: var(--gold);
    font-size: 25px;
}

.feature-strip strong {
    font: 600 14px Oswald;
    letter-spacing: 1px;
}

.feature-strip small {
    font-size: 10px;
    color: var(--muted);
}


/* =====================================================
   7. SECCIONES GENERALES
   ===================================================== */

.section {
    padding: 82px clamp(20px, 7vw, 100px);
}

.section-title {
    text-align: center;
    margin: 0 auto 34px;
}

.section-title h2,
.menu-promo h2,
.celebration h2 {
    font: 600 clamp(32px, 4vw, 49px)/1.1 Rye, Georgia, serif;
    margin: 8px 0 12px;
}

.section-title > p:last-child {
    color: var(--muted);
    font-size: 13px;
}


/* =====================================================
   8. TARJETAS DE SEDES
   ===================================================== */

   /* PLACA DE MADERA - NUESTRAS SEDES */

.section-sign {
    display: block;
    width: min(100%, 560px);
    height: auto;
    margin: 15px auto 20px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px #0008);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1200px;
    margin: auto;
}

.location-card {
    background: linear-gradient(150deg, #352216, #21140e);
    border: 1px solid #714b2c;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 14px 30px #0005;
}

.location-image {
    height: 210px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.location-image:after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, #1e110b);
}

.location-body {
    padding: 18px 20px 20px;
}

.card-kicker {
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--gold);
}

.location-body h3 {
    font: 600 25px Rye;
    margin: 7px 0;
}

.location-body p {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 17px;
}

.card-actions {
    display: flex;
    gap: 8px;
}

.small-btn {
    flex: 1;
    text-align: center;
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 10px 6px;
    font-size: 10px;
    font-weight: 800;
    color: #f5d79d;
}

.small-btn.red {
    background: var(--red);
    border-color: #c84c37;
    color: white;
}

/* =================================
   SECCIÓN NUESTRAS SEDES
================================= */

.locations-section {
    position: relative;
    background-image:
        linear-gradient(
            rgba(20, 8, 3, 0.25),
            rgba(20, 8, 3, 0.25)
        ),
        url("../assets/fondo\ madera.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 100px 5%;
}
/* =====================================
   TARJETAS DE SEDES - MARCO WESTERN
===================================== */

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    max-width: 1250px;
    margin: 45px auto 0;
}

.location-card {
    position: relative;
    isolation: isolate;
    min-width: 0;
    background: linear-gradient(145deg, #3b2012, #1b0d07);
    border-radius: 12px;
    overflow: visible;
    padding: 12px;
    border: none;
    box-shadow: 0 12px 30px #0009;
}

/* Marco PNG por encima de toda la tarjeta */
.location-card::before {
    content: "";
    position: absolute;
    inset: -12px;
    background: url("../assets/marco-sede.png") center / 100% 100% no-repeat;
    z-index: 5;
    pointer-events: none;
}

/* Fotografía de la sede */
.location-card img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 5px;
}

/* Contenido de la tarjeta */
.location-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 15px 8px 12px;
}

.location-card h3 {
    color: #f4d7a4;
    font-family: "Rye", serif;
    font-size: 25px;
    margin: 10px 0;
}

.location-card p {
    color: #e5c9a0;
    margin-bottom: 15px;
}

/* Botones */
.location-card-actions {
    display: flex;
    gap: 10px;
}

.location-card-actions a {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 5px;
}

.location-card-actions .menu-btn {
    color: #f4d7a4;
    border: 1px solid #d9a441;
}

.location-card-actions .reserve-btn {
    color: white;
    background: #a71919;
    border: 1px solid #d43b30;
}

/* Tablet */
@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Celular */
@media (max-width: 620px) {
    .location-grid {
        grid-template-columns: 1fr;
        max-width: 390px;
        gap: 35px;
    }

    .location-card img {
        height: 200px;
    }
}

/* FRANJA DECORATIVA ESTILO VIEJO OESTE */

.western-divider {
    position: relative;
    width: 100%;
    padding: 55px 20px;
    overflow: hidden;
    text-align: center;

    background:
        linear-gradient(rgba(20, 8, 2, .25), rgba(20, 8, 2, .45)),
        url("../assets/fondo-madera.jpg") center 55% / cover no-repeat;

    border-top: 3px solid #9a5720;
    border-bottom: 3px solid #9a5720;
}

.western-divider-inner {
    max-width: 900px;
    margin: auto;
    padding: 25px;

    background: rgba(28, 12, 5, .78);
    border: 2px solid #b87932;
    outline: 1px solid rgba(231, 182, 92, .35);
    outline-offset: 6px;

    box-shadow: 0 10px 35px #0009;
}

.western-star {
    display: block;
    color: #e8b34f;
    font-size: 35px;
    margin-bottom: 10px;
}

.western-eyebrow {
    color: #d6a34c;
    font: 700 11px "Oswald", sans-serif;
    letter-spacing: 4px;
}

.western-divider h2 {
    color: #f4dfb8;
    font: 42px "Rye", serif;
    margin: 12px 0;
}

.western-divider h3 {
    color: #e4ad50;
    font: 600 17px "Oswald", sans-serif;
    letter-spacing: 2px;
}

.western-divider-inner > p:last-child {
    color: #e3c9a5;
    font-size: 14px;
    margin-top: 12px;
}

@media (max-width: 620px) {
    .western-divider {
        padding: 35px 18px;
    }

    .western-divider-inner {
        padding: 20px 12px;
    }

    .western-divider h2 {
        font-size: 27px;
    }

    .western-divider h3 {
        font-size: 13px;
    }
}




/* ========================================
   VIVE LA EXPERIENCIA PARRILLEROS
======================================== */

.experience-section {
    position: relative;
    width: 100%;
    padding: 90px 5% 150px;
    overflow: hidden;

    background:
        linear-gradient(
            to bottom,
            rgba(20, 7, 2, 0.08),
            rgba(20, 7, 2, 0.12)
        ),
        url("../assets/fondo\ 2.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-top: 1px solid #80501f;
}

/* CONTENEDOR PRINCIPAL */

.experience-content {
    position: relative;
    z-index: 2;

    max-width: 1500px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 45px;
}

/* TEXTO DE LA IZQUIERDA */

.experience-copy {
    color: #f5e3c0;
}

.experience-copy .eyebrow {
    color: #e0ad4f;
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.experience-copy h2 {
    font-family: "Rye", serif;
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1.12;
    margin: 0 0 22px;
    color: #f4e2c0;
    text-transform: uppercase;
}

.experience-copy h2 em {
    color: #e2b65e;
    font-style: normal;
}

.experience-copy > p:not(.eyebrow) {
    color: #f0d7b3;
    font-size: 16px;
    line-height: 1.7;
    max-width: 290px;
    margin: 0 0 28px;
}

/* BOTÓN INSTAGRAM */

.experience-copy .instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 13px 19px;

    color: #f6dfb4;
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: 14px;

    border: 2px solid #d99a32;
    border-radius: 9px;
    background: rgba(35, 12, 4, 0.85);

    transition: 0.3s ease;
}

.experience-copy .instagram-link:hover {
    background: #9f1d1d;
    border-color: #f2c46d;
    transform: translateY(-3px);
}

/* GALERÍA DE VIDEOS */

.experience-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

/* TARJETAS DE VIDEO */

.experience-card {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;

    border: 2px solid #d99a32;
    border-radius: 16px;

    background: #1b0d07;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);

    transition: transform 0.3s ease, border-color 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-6px);
    border-color: #f2c46d;
}

/* VIDEO E IMAGEN */

.experience-card video,
.experience-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.experience-card video {
    cursor: pointer;
}

/* BOTÓN DE REPRODUCCIÓN */

.experience-card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 65px;
    height: 65px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: 5px;

    color: white;
    font-size: 25px;

    background: rgba(0, 0, 0, 0.65);
    border: 2px solid #e5b75c;

    cursor: pointer;
    z-index: 5;

    transition: opacity 0.3s ease, background 0.3s ease;
}

.experience-card .play-icon:hover {
    background: #a51e1e;
}

/* CUANDO EL VIDEO ESTÁ REPRODUCIÉNDOSE */

.experience-card.is-playing .play-icon {
    opacity: 0;
    pointer-events: none;
}

/* AL PASAR EL CURSOR SE PUEDE VOLVER A PAUSAR */

.experience-card.is-playing:hover .play-icon {
    opacity: 1;
    pointer-events: auto;
}

/* ========================================
   TABLETS
======================================== */

@media (max-width: 1000px) {

    .experience-section {
        padding: 70px 4% 110px;
    }

    .experience-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .experience-copy {
        text-align: center;
    }

    .experience-copy > p:not(.eyebrow) {
        margin-left: auto;
        margin-right: auto;
    }

    .experience-gallery {
        max-width: 850px;
        margin: 0 auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* AJUSTE DEL FONDO EN CELULARES */

@media (max-width: 620px) {

    .experience-section {
        background-color: #1b0b05;

        background-size:
            auto,
            auto 55%;

        background-position:
            center,
            center bottom;

        background-repeat:
            no-repeat,
            no-repeat;
    }
}



/* AJUSTE DEL TEXTO EN COMPUTADOR */

@media (min-width: 1001px) {

    .experience-content {
        grid-template-columns: 290px minmax(0, 1fr);
        gap: 45px;
    }

    .experience-copy {
        min-width: 0;
        max-width: 290px;
    }

    .experience-copy h2 {
        font-size: clamp(30px, 2.2vw, 40px);
        line-height: 1.12;
        overflow-wrap: normal;
    }

    .experience-copy > p:not(.eyebrow) {
        max-width: 280px;
    }
}





/* =====================================================
   11. CELEBRACIONES
   ===================================================== */

.celebration {
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: center;
    padding: 35px 10%;
    background: linear-gradient(90deg, #170c07, #34190d);
    overflow: hidden;
}

.celebration-copy {
    position: relative;
    z-index: 2;
}

.celebration h2 {
    font-size: 48px;
}

/* Desvanecer la mascota de celebraciones */

.celebration-mascot {
    overflow: hidden;
    position: relative;
}

.celebration-mascot img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;

    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 78%,
        rgba(0, 0, 0, 0.8) 88%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 78%,
        rgba(0, 0, 0, 0.8) 88%,
        transparent 100%
    );
}

.birthday-note {
    position: absolute;
    right: 0;
    top: 16%;
    font: 15px Rye;
    background: #f3d49c;
    color: #28170d;
    padding: 13px;
    border: 2px solid #a96b30;
    border-radius: 6px;
    transform: rotate(5deg);
}

@media (max-width: 620px) {
    .birthday-note {
        display: none !important;
    }
}

/* ==========================================
   FOOTER — PARRILLEROS STEAKHOUSE
========================================== */

.footer {
    position: relative;
    width: 100%;
    padding: 55px 20px 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background:
        linear-gradient(rgba(19, 8, 3, .94), rgba(19, 8, 3, .99)),
        url("../assets/fondo-madera-sedes.png") center / cover no-repeat;

    border-top: 2px solid #9b652e;
}

/* LOGO */

.footer .brand {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 230px;
    margin: 0 auto 20px;
}

.footer .brand img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* FRASE */

.footer > p {
    margin: 0 0 25px;
    color: #d9bd96;
    font-size: 15px;
    letter-spacing: .5px;
}

/* SEPARADOR */

.footer::before {
    content: "";
    width: 100px;
    height: 1px;
    margin-bottom: 22px;
    background: #b17a39;
}

/* ENLACES */

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 35px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #e8d3af;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: color .25s ease;
}

.footer-links a:hover {
    color: #e2ae54;
}

/* COPYRIGHT */

.footer > small {
    color: #9f8464;
    font-size: 12px;
}

/* MÓVIL */

@media (max-width: 620px) {
    .footer {
        padding: 40px 18px 22px;
    }

    .footer .brand img {
        width: 155px;
    }

    .footer-links {
        gap: 24px;
    }
}

/* =====================================================
   13. PÁGINAS INTERNAS
   ===================================================== */

.inner-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 50% 0, #442417 0, transparent 40%),
        var(--bg);
}

.inner-hero {
    min-height: 330px;
    padding: 45px 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #170b06, #2d170d);
}

.inner-hero h1,
.booking-heading h1 {
    font-size: clamp(40px, 5vw, 62px);
}

.inner-hero p:not(.eyebrow) {
    color: #d4bea3;
}


/* =====================================================
   14. MENÚS Y VISUALIZADOR PDF
   ===================================================== */

.menu-mascot {
    height: 300px;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.menu-mascot img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
}

.menu-mascot .speech {
    right: -35px;
    top: 30%;
}

.menu-section {
    padding-top: 55px;
}

.branch-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 auto 22px;
}

.branch-tab {
    padding: 13px 22px;
    border: 1px solid #80532f;
    border-radius: 4px;
    background: #26170f;
    color: var(--cream);
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
}

.branch-tab.active {
    background: var(--red);
    border-color: #d4513b;
}

.pdf-panel {
    max-width: 1000px;
    margin: auto;
    border: 1px solid #76502f;
    border-radius: 8px;
    background: #24160f;
    padding: 22px;
}

.pdf-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #604027;
    padding-bottom: 15px;
}

.pdf-head h2 {
    font: 27px Rye;
    margin: 6px 0;
}

.pdf-chip {
    border: 1px solid #a84c37;
    color: #efaa88;
    padding: 7px 12px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
}

.pdf-content {
    min-height: 390px;
}

.pdf-empty {
    min-height: 390px;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    padding: 25px;
    color: var(--muted);
}

.pdf-empty > span {
    font-size: 52px;
    color: var(--gold);
}

.pdf-empty h3 {
    font: 24px Oswald;
    color: var(--cream);
    margin: 14px 0 4px;
}

.pdf-empty p {
    font-size: 12px;
    line-height: 1.7;
}

.pdf-frame {
    width: 100%;
    height: 75vh;
    min-height: 480px;
    border: 0;
    background: #fff;
    margin-top: 18px;
}

.pdf-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}


/* =====================================================
   15. SISTEMA DE RESERVAS
   ===================================================== */

.booking-main {
    padding: 48px 20px 75px;
}

.booking-heading {
    text-align: center;
    margin-bottom: 26px;
}

.booking-heading h1 {
    margin: 10px 0;
}

.booking-heading > p:last-child {
    color: var(--muted);
    font-size: 13px;
}

.booking-layout {
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 25px;
    align-items: center;
}

.booking-mascot {
    position: relative;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}

.booking-mascot img {
    height: 430px;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
}

.booking-mascot .speech {
    top: 20%;
    right: 0;
}

.booking-mascot > p {
    max-width: 260px;
    color: #cdb89f;
    font-size: 12px;
    line-height: 1.6;
}

.mascot-cake {
    position: absolute;
    top: 9%;
    font-size: 30px;
    color: var(--gold);
    letter-spacing: 9px;
}


/* Formulario */

.booking-card {
    background: #f0dfc3;
    color: #2b1b12;
    border: 5px solid #684327;
    border-radius: 9px;
    padding: clamp(18px, 3vw, 32px);
    box-shadow: 0 22px 50px #0008;
}

.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 26px;
}

.step {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8a7258;
    font-size: 11px;
    font-weight: 700;
}

.step b {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #bba486;
    color: #fff;
}

.step.active {
    color: #7e201a;
}

.step.active b {
    background: #a51d20;
}

.stepper > i {
    height: 1px;
    width: 42px;
    background: #bba486;
}

.booking-card h2 {
    font: 25px Rye;
    margin: 0 0 5px;
}

.muted {
    font-size: 11px;
    color: #826c56;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin: 22px 0;
}

.form-grid label {
    display: grid;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    border: 1px solid #c5ac8b;
    border-radius: 4px;
    background: #fffaf0;
    color: #2b1b12;
    padding: 12px;
    font-size: 12px;
    outline: none;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    border-color: #a51d20;
}

.deposit-box {
    background: #e2cfad;
    border: 1px solid #c0a17b;
    border-radius: 5px;
    padding: 14px;
    margin: 15px 0;
}

.deposit-box > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
}

.deposit-box strong {
    font: 22px Oswald;
    color: #8e1d1d;
    white-space: nowrap;
}

.deposit-box p {
    font-size: 10px;
    color: #765f49;
    line-height: 1.5;
    margin: 8px 0 0;
}

.terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 10px;
    color: #6b5847;
    margin: 15px 0;
}

.terms input {
    accent-color: #a51d20;
}

.submit-btn {
    width: 100%;
    border: 0;
}

.fine-print {
    text-align: center;
    color: #917d68;
    font-size: 10px;
    margin: 12px 0 0;
}

.hidden {
    display: none !important;
}

.success-panel {
    text-align: center;
    padding: 25px 0;
}

.success-check {
    margin: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #32724b;
    color: white;
    display: grid;
    place-items: center;
    font-size: 25px;
}

.success-panel h2 {
    margin-top: 15px;
}

.success-panel > p {
    font-size: 12px;
    color: #6e5b48;
    line-height: 1.6;
}

.summary-box {
    text-align: left;
    background: #e3d0ae;
    padding: 15px;
    border-radius: 5px;
    margin: 17px 0;
    font-size: 12px;
}

.summary-box p {
    margin: 7px 0;
}

.summary-box b {
    color: #8b241f;
}


/* =====================================================
   16. PANEL ADMINISTRATIVO - DEMO
   ===================================================== */

.admin-page {
    display: grid;
    grid-template-columns: 230px 1fr;
    background: #17100d;
    min-height: 100vh;
}

.admin-side {
    background: #100a08;
    border-right: 1px solid #54351f;
    padding: 25px 18px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.admin-side nav {
    display: grid;
    gap: 8px;
}

.admin-side nav a {
    padding: 12px;
    color: #d7c5ad;
    border-radius: 4px;
    font-size: 12px;
}

.admin-side nav a.selected {
    background: #a51d20;
    color: white;
}

.admin-side > small {
    margin-top: auto;
    color: #8d7863;
    font-size: 10px;
}

.admin-content {
    padding: 35px;
    max-width: 1300px;
    width: 100%;
    margin: auto;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-top h1 {
    font: 30px Oswald;
}

.admin-top > span {
    font-size: 11px;
    color: var(--muted);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 25px 0;
}

.admin-stats div {
    padding: 20px;
    background: #2b1b13;
    border: 1px solid #654329;
    border-radius: 6px;
    display: grid;
    gap: 8px;
}

.admin-stats small {
    color: var(--muted);
    font-size: 11px;
}

.admin-stats b {
    font: 30px Oswald;
    color: var(--gold);
}

.admin-table {
    padding: 20px;
    background: #21150f;
    border: 1px solid #654329;
    border-radius: 6px;
    overflow: auto;
}

.admin-table h2 {
    font: 22px Oswald;
}

.admin-table h2 span {
    font: 10px 'DM Sans';
    color: var(--muted);
    margin-left: 10px;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    min-width: 600px;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid #4a3020;
}

.admin-table th {
    color: var(--gold);
}

.admin-table i {
    font-style: normal;
    padding: 5px 9px;
    border-radius: 15px;
}

.pending {
    background: #614719;
    color: #ffe0a0;
}

.confirmed {
    background: #1d5938;
    color: #b4f0c4;
}


/* =====================================================
   17. TABLETS - PANTALLAS HASTA 850 PX
   ===================================================== */

@media (max-width: 850px) {

    .main-nav {
        gap: 17px;
    }

    .main-nav a {
        font-size: 11px;
    }

    .hero-inner {
        padding-inline: 5%;
    }

    .mascot-wrap {
        width: 40%;
    }

    .location-grid {
        gap: 13px;
    }

    .location-image {
        height: 170px;
    }

    .menu-promo {
        grid-template-columns: 1fr .8fr;
    }

    .steak-photo {
        display: none;
    }

    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-layout {
        grid-template-columns: .6fr 1.4fr;
    }

    .booking-mascot img {
        height: 350px;
    }

    .admin-page {
        grid-template-columns: 190px 1fr;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =====================================================
   18. CELULARES - PANTALLAS HASTA 620 PX
   ===================================================== */

@media (max-width: 620px) {

    /* Encabezado */

    .topbar {
        height: 66px;
        padding: 0 17px;
    }

    .brand {
        font-size: 17px;
    }

    .brand-flame {
        font-size: 23px;
    }

    .mobile-menu {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: #160b06;
        padding: 15px 20px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        border-bottom: 1px solid var(--line);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px;
    }

    .main-nav .nav-reserve {
        text-align: center;
    }


    /* Portada */

    .hero {
        height: auto;
        min-height: 0;
        padding-bottom: 25px;
    }

    .hero-inner {
        height: auto;
        padding: 42px 22px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
        position: relative;
        z-index: 3;
        text-align: center;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .eyebrow span {
        width: 15px;
        margin: 0 5px;
    }

    .hero h1 {
        font-size: clamp(32px, 9vw, 45px);
        line-height: 1.05;
        margin: 14px 0;
    }

    .hero-sub {
        font-size: 18px;
    }

    .hero-desc {
        font-size: 12px;
        max-width: 100%;
        line-height: 1.6;
    }

    /* Botones en columna */

    .hero-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 20px;
    }

    .hero-actions .btn {
        width: 100%;
        font-size: 10px;
        padding: 13px 10px;
    }

    /* Toro debajo del texto */

    .mascot-wrap {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 300px;
        align-self: center;
        margin-top: 5px;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .mascot-wrap img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: contain;
        object-position: center bottom;
        transform: none;
    }

    /* Letrero del toro */

    .mascot-tag {
        right: 2%;
        bottom: 12%;
        font-size: 11px;
        padding: 8px 10px;
    }

    /* Sello decorativo */

    .hero-stamp {
        width: 70px;
        height: 70px;
        font-size: 7px;
        right: 5%;
        top: 12px;
    }

    .hero-stamp b {
        font-size: 11px;
    }

    .scroll-cue {
        display: none;
    }


    /* Características */

    .feature-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        padding: 22px 10px;
    }

    .feature-strip > div {
        border: 0;
    }

    .feature-strip strong {
        font-size: 11px;
    }

    .feature-strip small {
        font-size: 9px;
    }


    /* Secciones generales */

    .section {
        padding: 55px 18px;
    }

    .section-title h2 {
        font-size: 31px;
    }


    /* Sedes */

    .location-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .location-image {
        height: 190px;
    }


    /* Promoción de menú */

    .menu-promo {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .menu-promo-copy {
        padding: 45px 22px 10px;
    }

    .menu-promo h2 {
        font-size: 38px;
    }

    .mascot-menu {
        height: 300px;
    }

    .mascot-menu .speech {
        right: 7%;
        top: 12%;
    }


    /* Reels */

    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }

    .reel-placeholder {
        height: 210px;
        padding: 10px;
    }

    .reel-placeholder b {
        font-size: 16px;
    }

    .reel-placeholder small {
        font-size: 8px;
    }


    /* Celebraciones */

    .celebration {
        grid-template-columns: 1fr;
        padding: 45px 22px 0;
    }

    .celebration h2 {
        font-size: 39px;
    }

    .celebration-mascot {
        height: 310px;
    }

    .birthday-note {
        right: 7%;
    }


    /* Footer */

    .footer .brand {
        font-size: 17px;
    }


    /* Páginas internas */

    .inner-hero {
        min-height: 260px;
        padding: 35px 22px;
    }

    .inner-hero h1,
    .booking-heading h1 {
        font-size: 39px;
    }

    .menu-mascot {
        height: 210px;
    }

    .menu-mascot .speech {
        right: -8px;
        top: 15%;
        font-size: 11px;
    }


    /* Menús y PDF */

    .menu-section {
        padding: 45px 15px;
    }

    .branch-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .branch-tab {
        padding: 11px 4px;
        font-size: 10px;
    }

    .pdf-panel {
        padding: 13px;
    }

    .pdf-content,
    .pdf-empty {
        min-height: 300px;
    }

    .pdf-frame {
        height: 65vh;
        min-height: 350px;
    }

    .pdf-actions {
        flex-direction: column;
    }


    /* Reservas */

    .booking-main {
        padding: 35px 12px 55px;
    }

    .booking-heading {
        padding: 0 8px;
    }

    .booking-layout {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .booking-mascot {
        min-height: 0;
        height: 240px;
        order: 0;
    }

    .booking-mascot img {
        height: 240px;
    }

    .booking-mascot .speech {
        right: 8%;
        top: 8%;
        font-size: 11px;
    }

    .booking-mascot > p {
        display: none;
    }

    .mascot-cake {
        top: 0;
        font-size: 21px;
    }

    .booking-card {
        padding: 16px 13px;
        border-width: 3px;
    }

    .stepper {
        gap: 6px;
        margin-bottom: 20px;
    }

    .step {
        font-size: 9px;
        gap: 4px;
    }

    .step b {
        width: 24px;
        height: 24px;
    }

    .stepper > i {
        width: 22px;
    }

    .booking-card h2 {
        font-size: 21px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 11px;
        margin: 17px 0;
    }

    .form-grid .full {
        grid-column: auto;
    }

    .deposit-box > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .deposit-box strong {
        font-size: 21px;
    }


    /* Panel administrativo */

    .admin-page {
        grid-template-columns: 1fr;
    }

    .admin-side {
        padding: 13px 15px;
        gap: 14px;
    }

    .admin-side nav {
        display: flex;
        overflow: auto;
        gap: 5px;
    }

    .admin-side nav a {
        white-space: nowrap;
        padding: 9px;
    }

    .admin-side > small {
        display: none;
    }

    .admin-content {
        padding: 20px 13px;
    }

    .admin-top {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .admin-top h1 {
        font-size: 25px;
    }

    .admin-stats {
        gap: 8px;
    }

    .admin-stats div {
        padding: 13px;
    }

    .admin-stats b {
        font-size: 24px;
    }

    .admin-table {
        padding: 13px;
    }
}


/* =====================================================
   19. CELULARES PEQUEÑOS - HASTA 380 PX
   ===================================================== */

@media (max-width: 380px) {

    .hero-inner {
        padding-inline: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .mascot-wrap {
        height: 260px;
    }

    .mascot-tag {
        font-size: 10px;
        padding: 7px 8px;
    }

    .hero-stamp {
        width: 60px;
        height: 60px;
        font-size: 6px;
    }

    .hero-stamp b {
        font-size: 9px;
    }

    .hero-actions .btn {
        font-size: 9px;
    }
}


/* ===== LOGO DE LA BARRA DE NAVEGACIÓN ===== */


/* =========================================
   ENCABEZADO Y LOGO
========================================= */

.topbar {
    height: 85px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 100;
    background: #160c08;
}

/* LOGO CENTRADO */

.topbar .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.topbar .brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* NAVEGACIÓN DE ESCRITORIO */

.topbar .main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
    position: relative;
    z-index: 2;
}

/* BOTÓN HAMBURGUESA */

.mobile-menu {
    display: none;
}

/* =========================================
   VERSIÓN CELULAR
========================================= */

@media (max-width: 620px) {

    .topbar {
        height: 72px;
        padding: 0 15px;
        justify-content: center;
    }

    /* Logo centrado y proporcionado */

    .topbar .brand {
        width: 190px;
        height: 65px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    /* Hamburguesa a la izquierda */

    .mobile-menu {
        display: block;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        background: transparent;
        border: none;
        color: #f8ecd5;
        font-size: 25px;
        cursor: pointer;
    }

    /* Menú cerrado por defecto */

    .topbar .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 15px 20px 20px;
        background: #160c08;
        border-bottom: 1px solid #6c4529;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        z-index: 4;
    }

    /* Menú abierto al pulsar */

    .topbar .main-nav.open {
        display: flex;
    }

    .topbar .main-nav a {
        display: block;
        width: 100%;
        padding: 12px;
        text-align: center;
    }

    .topbar .main-nav .nav-reserve {
        text-align: center;
    }
}



/* =========================================
   TABLETS: HASTA 850 PX
========================================= */

@media (min-width: 621px) and (max-width: 850px) {

    /* ENCABEZADO */

    .topbar {
        height: 80px;
        padding: 0 20px;
        justify-content: center;
    }

    .topbar .brand {
        width: 220px;
        height: 70px;
    }

    /* Ocultamos enlaces y mostramos hamburguesa */

    .topbar .main-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
    }

    .topbar .main-nav.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 15px 20px;
        background: #160c08;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        z-index: 10;
    }

    .topbar .main-nav.open a {
        padding: 12px;
        text-align: center;
    }

    /* PORTADA */

    .hero {
        height: auto;
        min-height: 0;
        padding-bottom: 30px;
    }

    .hero-inner {
        height: auto;
        padding: 55px 35px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 25px;
    }

    .hero-copy {
        width: 100%;
        max-width: 650px;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(42px, 7vw, 60px);
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    /* MASCOTA */

    .mascot-wrap {
        width: 65%;
        max-width: 430px;
        height: 390px;
        align-self: center;
        margin-top: 0;
    }

    .mascot-wrap img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
    }

    .mascot-tag {
        right: 0;
        bottom: 15%;
    }

    /* SELLO */

    .hero-stamp {
        right: 4%;
        top: 20px;
        width: 85px;
        height: 85px;
    }

    /* CARACTERÍSTICAS */

    .feature-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-strip > div {
        border: none;
    }
}

