
/* ==========================================
   PARRILLEROS STEAKHOUSE
   RESERVAS — WESTERN EDITION
========================================== */

.reservation-page {
    --gold: #dba94f;
    --gold-light: #f3d58e;
    --cream: #f4e3c4;
    --red: #92211d;
    --dark: #190b05;
    --paper: #f0dfc1;
    --paper-dark: #dfc49c;

    background: var(--dark);
    color: var(--cream);
}

/* ==========================================
   1. CONTENEDOR PRINCIPAL
========================================== */

.booking-main {
    position: relative;
    min-height: 850px;
    padding: 65px 5% 100px;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 15%,
            rgba(116, 55, 25, .25),
            transparent 55%
        ),
        linear-gradient(
            rgba(22, 9, 3, .92),
            rgba(22, 9, 3, .97)
        ),
        url("../assets/fondo-madera-sedes.png") center / cover no-repeat;
}

.booking-main::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(218, 169, 79, .14);
    pointer-events: none;
}

/* ==========================================
   2. ENCABEZADO
========================================== */

.booking-heading {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 45px;
}

.booking-heading .eyebrow {
    color: var(--gold);
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.booking-heading h1 {
    color: var(--cream);
    font-family: "Rye", serif;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.15;
    margin: 14px 0;
    text-shadow: 0 5px 18px #0008;
}

.booking-heading h1 em {
    color: var(--gold);
    font-style: normal;
}

.booking-heading > p:last-child {
    color: #d3b995;
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   3. DISTRIBUCIÓN GENERAL
========================================== */

.booking-layout {
    position: relative;
    z-index: 1;

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

    display: grid;
    grid-template-columns:
        minmax(380px, .85fr)
        minmax(650px, 1.35fr);

    align-items: center;
    gap: 65px;
}

/* ==========================================
   4. MASCOTA
========================================== */

.booking-mascot {
    position: relative;
    min-height: 580px;
    padding-bottom: 15px;

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

    text-align: center;
}

.booking-mascot::before {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;
    background: rgba(177, 87, 32, .16);
    filter: blur(75px);
}

.booking-mascot .mascot-cake {
    position: absolute;
    top: 5%;
    z-index: 2;

    color: var(--gold);
    font-size: 32px;
    letter-spacing: 12px;
}

.booking-mascot img {
    position: relative;
    z-index: 1;

    display: block;
    width: 100%;
    max-width: 490px;
    height: 510px;

    object-fit: contain;
    object-position: center bottom;

    filter:
        drop-shadow(0 12px 18px rgba(0, 0, 0, .35))
        drop-shadow(0 0 28px rgba(151, 76, 30, .12));

    /* Desvanecer la parte inferior para integrarla con el fondo */
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 83%,
        rgba(0, 0, 0, .85) 91%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 83%,
        rgba(0, 0, 0, .85) 91%,
        transparent 100%
    );
}

/* Globo de diálogo */

.booking-mascot .speech {
    position: absolute;
    z-index: 3;
    top: 18%;
    right: -5px;

    padding: 16px 19px;

    color: #351b0d;
    background: #f2d6a3;

    border: 2px solid #b77a36;
    border-radius: 6px;

    font-family: "Rye", serif;
    font-size: 15px;
    line-height: 1.4;

    transform: rotate(3deg);
    box-shadow: 0 8px 18px #0006;
}

/* Texto debajo de la mascota */

.booking-mascot > p {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 350px;

    margin: -5px auto 0;
    padding: 0 15px;

    color: #d9bd94;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;

    text-shadow: 0 2px 8px #000;
}

/* ==========================================
   5. TARJETA DEL FORMULARIO
========================================== */

.booking-card {
    position: relative;
    width: 100%;
    padding: 28px 34px;

    color: #392517;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .18),
            transparent 45%
        ),
        var(--paper);

    border: 2px solid #9a6839;
    border-radius: 8px;

    box-shadow:
        0 20px 55px #0009,
        inset 0 0 0 5px rgba(137, 86, 42, .09);
}

.booking-card::before {
    content: "";
    position: absolute;
    inset: 9px;

    border: 1px solid rgba(145, 96, 49, .2);
    border-radius: 4px;

    pointer-events: none;
}

/* ==========================================
   6. INDICADOR DE PASOS
========================================== */

.stepper {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    margin-bottom: 28px;
}

.step {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #957c60;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.step b {
    width: 28px;
    height: 28px;

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

    color: #fff2d8;
    background: #b9a17e;

    border-radius: 50%;
    font-size: 12px;

    transition: .3s ease;
}

.step.active {
    color: #8d211c;
}

.step.active b {
    color: white;
    background: var(--red);
    box-shadow: 0 3px 9px #8e211c40;
}

.stepper > i {
    width: 30px;
    height: 1px;
    background: #c7ad8a;
}

/* ==========================================
   7. TÍTULOS DEL FORMULARIO
========================================== */

.booking-card form,
.success-panel {
    position: relative;
    z-index: 1;
}

.booking-card form h2,
.success-panel h2 {
    color: #3c2517;
    font-family: "Rye", serif;
    font-size: 25px;
    margin-bottom: 7px;
}

.booking-card .muted {
    color: #947d62;
    font-size: 12px;
    margin-bottom: 17px;
}

/* ==========================================
   8. CAMPOS DEL FORMULARIO
========================================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;

    color: #4b3320;
    font-size: 12px;
    font-weight: 700;
}

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

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    min-width: 0;
    min-height: 41px;

    padding: 11px 12px;

    color: #392517;
    background: #fffaf0;

    border: 1px solid #c9ad87;
    border-radius: 4px;

    font-family: "DM Sans", sans-serif;
    font-size: 12px;

    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
    color: #a39480;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    border-color: #a46a32;
    box-shadow: 0 0 0 3px rgba(185, 127, 62, .16);
}

.form-grid textarea {
    min-height: 65px;
    resize: vertical;
}

/* ==========================================
   9. INFORMACIÓN DEL ANTICIPO
========================================== */

.deposit-box {
    margin-top: 16px;
    padding: 13px 16px;

    background: #e5d0ad;
    border: 1px solid #c5a477;
    border-radius: 5px;
}

.deposit-box > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.deposit-box span {
    color: #573b23;
    font-size: 11px;
    font-weight: 700;
}

.deposit-box strong {
    color: #9d211e;
    font-family: "Rye", serif;
    font-size: 18px;
    white-space: nowrap;
}

.deposit-box p {
    margin-top: 9px;
    color: #8e775b;
    font-size: 10px;
    line-height: 1.5;
}

/* ==========================================
   10. TÉRMINOS Y CONDICIONES
========================================== */

.terms {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin: 13px 0;

    color: #705b42;
    font-size: 11px;
    line-height: 1.5;
}

.terms input {
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--red);
}

/* ==========================================
   11. BOTÓN DE CONTINUAR
========================================== */

.booking-card .submit-btn {
    width: 100%;
    min-height: 48px;

    color: #fff2db;
    background: linear-gradient(135deg, #a42520, #771511);

    border: 1px solid #c18a49;
    border-radius: 5px;

    font-family: "Oswald", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;

    cursor: pointer;
    transition: .25s ease;

    box-shadow: 0 7px 17px rgba(90, 26, 13, .22);
}

.booking-card .submit-btn:hover {
    background: linear-gradient(135deg, #bb332a, #8d1a16);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(90, 26, 13, .3);
}

.booking-card .fine-print {
    margin-top: 12px;
    color: #9a8367;
    font-size: 10px;
    text-align: center;
}

/* ==========================================
   12. PANEL DE SOLICITUD PREPARADA
========================================== */

.success-panel {
    text-align: center;
}

.success-panel.hidden,
.booking-card form.hidden {
    display: none;
}

.success-check {
    width: 65px;
    height: 65px;

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

    margin: 0 auto 20px;

    color: white;
    background: #8b211b;
    border: 3px solid #d5a34f;
    border-radius: 50%;

    font-size: 30px;
}

.success-panel > p {
    color: #80684e;
    font-size: 13px;
    line-height: 1.6;
}

.summary-box {
    margin: 25px 0;
    padding: 18px;

    text-align: left;

    background: #e5d0ad;
    border: 1px solid #c5a477;
    border-radius: 5px;
}

.summary-box p {
    padding: 7px 0;
    color: #60452d;
    font-size: 12px;
    border-bottom: 1px solid rgba(130, 91, 51, .15);
}

.summary-box p:last-child {
    border-bottom: none;
}

.summary-box b {
    color: #392517;
}

.booking-card .btn-outline {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-height: 45px;
    padding: 12px 22px;

    color: #8f211c;
    border: 1px solid #9d6a37;
    border-radius: 4px;

    font-family: "Oswald", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;

    transition: .25s ease;
}

.booking-card .btn-outline:hover {
    color: white;
    background: #8f211c;
}

/* ==========================================
   13. TABLETS
========================================== */

@media (min-width: 651px) and (max-width: 1099px) {

    .booking-main {
        padding: 55px 4% 75px;
    }

    .booking-layout {
        max-width: 100%;
        grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
        gap: 25px;
    }

    .booking-mascot {
        min-height: 430px;
    }

    .booking-mascot img {
        max-width: 390px;
        height: 430px;
    }

    .booking-mascot .speech {
        right: -12px;
        font-size: 12px;
        padding: 12px 14px;
    }

    .booking-mascot > p {
        max-width: 300px;
        margin-top: 0;
        font-size: 13px;
    }

    .booking-card {
        padding: 25px;
    }

}

/* ==========================================
   14. CELULARES
========================================== */


/* ==========================================
   CELULARES — RESERVAS
========================================== */

@media (max-width: 650px) {

    .booking-main {
        min-height: auto;
        padding: 40px 16px 55px;
        overflow: hidden;
        background-attachment: scroll;
    }

    /* ENCABEZADO */

    .booking-heading {
        width: 100%;
        margin: 0 auto 35px;
        padding: 0 5px;
        text-align: center;
    }

    .booking-heading .eyebrow {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .booking-heading h1 {
        font-size: clamp(30px, 8.5vw, 38px);
        line-height: 1.2;
        margin: 12px 0;
    }

    .booking-heading > p:last-child {
        max-width: 310px;
        margin: 0 auto;
        font-size: 13px;
        line-height: 1.6;
    }

    /* DISTRIBUCIÓN */

    .booking-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    /* MASCOTA */

    .booking-mascot {
        width: 100%;
        min-height: auto;
        padding: 15px 0 5px;
        margin: 0;
        overflow: visible;
    }

    .booking-mascot .mascot-cake {
        top: 0;
        font-size: 19px;
        letter-spacing: 9px;
    }

    .booking-mascot img {
        display: block;
        width: 100%;
        max-width: 300px;
        height: 300px;
        margin: 0 auto;

        object-fit: contain;
        object-position: center bottom;
        transform: none;

        filter:
            drop-shadow(0 12px 18px rgba(0, 0, 0, .4))
            drop-shadow(0 0 20px rgba(151, 76, 30, .12));

        -webkit-mask-image: linear-gradient(
            to bottom,
            #000 0%,
            #000 88%,
            rgba(0, 0, 0, .75) 95%,
            transparent 100%
        );

        mask-image: linear-gradient(
            to bottom,
            #000 0%,
            #000 88%,
            rgba(0, 0, 0, .75) 95%,
            transparent 100%
        );
    }

    /* GLOBO */

    .booking-mascot .speech {
        top: 18%;
        right: max(0px, calc(50% - 145px));

        padding: 10px 12px;
        font-size: 10px;
        line-height: 1.35;
    }

    /* TEXTO BAJO LA MASCOTA */

    .booking-mascot > p {
        position: relative;
        z-index: 2;

        width: 100%;
        max-width: 280px;

        margin: 5px auto 0;
        padding: 0 10px;

        color: #d9bd94;
        font-size: 12px;
        line-height: 1.6;
        text-align: center;
        text-shadow: 0 2px 8px #000;
    }

    /* FORMULARIO */

    .booking-card {
        width: 100%;
        padding: 25px 17px;
    }

    .stepper {
        gap: 7px;
        margin-bottom: 25px;
    }

    .step {
        gap: 5px;
        font-size: 10px;
    }

    .step b {
        width: 25px;
        height: 25px;
        font-size: 11px;
    }

    .stepper > i {
        width: 18px;
    }

    .booking-card form h2,
    .success-panel h2 {
        font-size: 19px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .form-grid input,
    .form-grid select,
    .form-grid textarea {
        min-height: 46px;
        font-size: 13px;
    }

    .form-grid textarea {
        min-height: 90px;
    }

    /* ANTICIPO */

    .deposit-box {
        padding: 14px;
    }

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

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

    /* BOTÓN */

    .booking-card .submit-btn {
        min-height: 50px;
        font-size: 12px;
    }

    /* FOOTER */

    .reservation-page .footer {
        padding: 40px 18px 22px;
    }

}


/* Ocultar globo de diálogo en celulares */
@media (max-width: 650px) {
    .booking-mascot .speech {
        display: none !important;
    }
}
/* ==========================================
   15. PANTALLAS MUY PEQUEÑAS
========================================== */

@media (max-width: 380px) {

    .booking-card {
        padding: 22px 13px;
    }

    .stepper {
        gap: 5px;
    }

    .step {
        font-size: 9px;
    }

    .stepper > i {
        width: 12px;
    }

    .booking-mascot .speech {
        right: 0;
    }

}

/* LOGO OFICIAL DEL ENCABEZADO */

.topbar .brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .brand img {
    display: block;
    width: 155px;
    height: 65px;
    object-fit: contain;
}

/* CELULARES */

@media (max-width: 620px) {
    .topbar .brand img {
        width: 125px;
        height: 55px;
    }
}
/* ==========================================
   16. FOOTER
========================================== */

.reservation-page .footer {
    border-top: 2px solid #98612e;
}


/* ==========================================
   PASO 2 — PAGO Y CARGA DE COMPROBANTE
========================================== */

.payment-panel {
    position: relative;
    z-index: 1;
    text-align: center;
}

.payment-panel.hidden {
    display: none;
}

.payment-panel h2 {
    color: #3c2517;
    font-family: "Rye", serif;
    font-size: 25px;
    margin-bottom: 12px;
}

.payment-intro,
.payment-instructions {
    color: #70583e;
    font-size: 13px;
    line-height: 1.65;
    max-width: 520px;
    margin: 0 auto 18px;
}

.payment-intro strong {
    color: #92211d;
    white-space: nowrap;
}

.payment-key-card {
    max-width: 390px;
    margin: 20px auto;
    padding: 22px 18px;
    background: #e5d0ad;
    border: 1px solid #c5a477;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.payment-key-card span {
    color: #70583e;
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.payment-key-card strong {
    color: #8f211c;
    font-family: "Oswald", sans-serif;
    font-size: clamp(27px, 5vw, 36px);
    letter-spacing: 2px;
}

.copy-key-btn {
    padding: 9px 18px;
    color: #fff2db;
    background: #6e1b16;
    border: 1px solid #b77a36;
    border-radius: 4px;
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.receipt-upload {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-width: 520px;
    margin: 22px auto 12px;
    padding: 17px;
    color: #4b3320;
    background: #f8ecd8;
    border: 1px dashed #a46a32;
    border-radius: 5px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
}

.receipt-upload input {
    width: 100%;
    color: #60452d;
    font: inherit;
}

.receipt-upload small {
    color: #947d62;
    font-size: 10px;
    font-weight: 400;
}

.receipt-preview {
    max-width: 520px;
    margin: 12px auto 18px;
    padding: 12px;
    background: #e5d0ad;
    border-radius: 5px;
    color: #60452d;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.receipt-preview.hidden {
    display: none;
}

.receipt-preview img {
    display: block;
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
    margin: 10px auto 0;
    border-radius: 4px;
}

.payment-back-btn {
    display: block;
    margin: 15px auto 0;
    padding: 8px 12px;
    color: #8f211c;
    background: transparent;
    border: 0;
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 650px) {
    .payment-panel h2 {
        font-size: 20px;
    }

    .payment-key-card {
        padding: 19px 12px;
    }

    .receipt-upload {
        padding: 14px;
    }
}


/* ==========================================
   EXPERIENCIA ESPECIAL PARRILLEROS
========================================== */

.reservation-benefits {
    width: min(1100px, calc(100% - 40px));
    margin: 15px auto 55px;
    padding: 38px 45px;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(36, 17, 10, 0.97),
            rgba(68, 29, 18, 0.96)
        );

    border: 1px solid #bd914b;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.reservation-benefits::before,
.reservation-benefits::after {
    content: "✦";
    position: absolute;
    color: #c99b4d;
    font-size: 45px;
    opacity: 0.35;
}

.reservation-benefits::before {
    top: 15px;
    left: 20px;
}

.reservation-benefits::after {
    bottom: 12px;
    right: 22px;
}

.benefits-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.benefits-eyebrow {
    color: #d5a64f;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 600;
}

.benefits-content h2 {
    margin: 13px 0;
    color: #f5e5c5;
    font-family: 'Rye', serif;
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.3;
}

.benefits-content h2 em {
    color: #d5a64f;
    font-style: normal;
}

.benefits-description {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #d8c3a3;
    font-size: 14px;
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(205, 162, 91, 0.35);
    border-radius: 9px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: rgba(198, 151, 70, 0.15);
    border: 1px solid #b98a40;
    border-radius: 50%;
}

.benefit-icon span {
    font-size: 25px;
}

.benefit-item h3 {
    margin: 0 0 7px;
    color: #e4b95e;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
}

.benefit-item p {
    margin: 0;
    color: #e1d2bd;
    font-size: 13px;
    line-height: 1.6;
}

.benefits-footer {
    margin-top: 27px;
    color: #d8ad62;
    font-family: 'Rye', serif;
    font-size: 13px;
    line-height: 1.8;
}

.benefits-footer span {
    padding: 0 9px;
}

/* RESPONSIVE */

@media (max-width: 650px) {

    .reservation-benefits {
        width: calc(100% - 28px);
        padding: 30px 19px;
        margin-bottom: 35px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .benefit-item {
        padding: 17px;
    }

    .benefits-eyebrow {
        letter-spacing: 2px;
    }

    .benefits-footer {
        font-size: 11px;
    }

}
