/* =========================
   BOOKING HEADER
========================= */

.booking-header {

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 30px 8% 10px;

}


.booking-header .logo img {

    width: 260px;

}


/* =========================
   BOOKING PAGE
========================= */

.booking-page {

    width: min(1400px, 92%);

    margin: 0 auto;

    padding: 50px 0 100px;

}


/* =========================
   BOOKING HEADING
========================= */

.booking-heading {

    max-width: 800px;

    margin: 0 auto 70px;

    text-align: center;

}


.booking-heading h1 {

    margin: 20px 0 28px;

    font-size: clamp(3.5rem, 7vw, 6rem);

    line-height: .95;

    letter-spacing: -3px;

}


.booking-heading h1 span {

    color: var(--gold);

}


.booking-heading p {

    max-width: 650px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.7;

}


/* =========================
   BOOKING GRID
========================= */

.booking-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

    max-width: 1100px;

    margin: 0 auto;

}


/* =========================
   BOOKING CARD
========================= */

.booking-card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 390px;

    padding: 38px;

    overflow: hidden;

    background:
        rgba(255,255,255,.045);

    border: 1px solid
        rgba(255,255,255,.08);

    border-radius: 32px;

    backdrop-filter: blur(20px);

    transition:

        transform .35s ease,

        background .35s ease,

        border-color .35s ease;

}


.booking-card:hover {

    transform: translateY(-8px);

    background:
        rgba(255,255,255,.07);

    border-color:
        rgba(233,196,106,.35);

}


/* =========================
   RECOMMENDED CARD
========================= */

.booking-card.recommended {

    border-color:
        rgba(233,196,106,.35);

    background:

        linear-gradient(

            145deg,

            rgba(233,196,106,.10),

            rgba(255,255,255,.045)

        );

}


.recommended-badge {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 22px;

    color: var(--gold);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

}


/* =========================
   CARD ICON
========================= */

.booking-card-icon {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 28px;

    border-radius: 18px;

    background:

        rgba(233,196,106,.12);

    color: var(--gold);

    font-size: 22px;

}


/* =========================
   CARD CONTENT
========================= */

.booking-card-content {

    display: flex;

    flex-direction: column;

    flex: 1;

}


.booking-category {

    margin-bottom: 14px;

    color: var(--gold);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

}


.booking-card h2 {

    margin-bottom: 18px;

    font-size: 36px;

    line-height: 1;

    letter-spacing: -1px;

}


.booking-card h2 span {

    color: var(--gold);

}


.booking-card p {

    max-width: 440px;

    margin-bottom: 30px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.7;

}


/* =========================
   BOOKING BUTTON
========================= */

.booking-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: 100%;

    margin-top: auto;

    padding: 16px 22px;

    border: 1px solid
        rgba(255,255,255,.15);

    border-radius: 16px;

    background:

        rgba(255,255,255,.05);

    color: var(--text);

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;

}


.booking-button:hover {

    color: var(--gold);

    border-color:

        rgba(233,196,106,.5);

    transform: translateY(-3px);

}


.booking-button i {

    transition: transform .3s ease;

}


.booking-button:hover i {

    transform: translateX(4px);

}


/* =========================
   BACK BUTTON
========================= */

.booking-selection
.back-home-button {

    margin-top: 55px;

}


/* =========================
   CALENDAR SECTION
========================= */

.booking-calendar-section {

    display: none;

    width: 100%;

    padding: 40px 0 100px;

}


.booking-calendar-section.active {

    display: block;

}


/* =========================
   CALENDAR HEADER
========================= */

.calendar-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 24px;

    max-width: 1200px;

    margin: 0 auto 40px;

}


.calendar-title {

    flex: 1 1 auto;

    min-width: 0;

    text-align: center;

}


.calendar-title h1 {

    margin-top: 20px;

    font-size:

        clamp(3rem, 6vw, 5.5rem);

    line-height: .95;

    letter-spacing: -3px;

}


.calendar-title h1 span {

    color: var(--gold);

}


/* =========================
   BACK TO PLANS

   El botón real y el spacer
   invisible comparten estas
   reglas base (misma clase),
   así que siempre miden lo
   mismo y el título queda
   perfectamente centrado sin
   riesgo de superponerse con
   el botón, sin importar el
   largo del nombre del plan.
========================= */

.calendar-back-button {

    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 20px;

    white-space: nowrap;

    border: 1px solid

        rgba(255,255,255,.15);

    border-radius: 14px;

    background: transparent;

    color: var(--text);

    font-family: inherit;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;

}


.calendar-back-button:hover {

    color: var(--gold);

    border-color:

        rgba(233,196,106,.4);

}


.calendar-header-spacer {

    visibility: hidden;

    pointer-events: none;

    cursor: default;

}


/* =========================
   TIDYCAL CONTAINER
========================= */

.tidycal-container {

    width: 100%;

    max-width: 1100px;

    min-height: 500px;

    margin: 0 auto;

    padding: 20px;

    border:

        1px solid

        rgba(255,255,255,.08);

    border-radius: 28px;

    background:

        rgba(255,255,255,.035);

    backdrop-filter: blur(20px);

}


/* =========================
   BOOKING CALENDARS
   (show only the active one)

   Esta regla vive FUERA de cualquier
   @media query a propósito: debe
   aplicarse en escritorio y en mobile
   por igual. Antes estaba atrapada
   dentro de @media (max-width: 900px),
   por eso en escritorio se veían los
   4 calendarios a la vez.
========================= */

#tidycalContainer > .booking-calendar {

    display: none;

}


#tidycalContainer > .booking-calendar.active {

    display: block;

    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    padding: 20px;

    border: 1px solid
        rgba(255,255,255,.08);

    border-radius: 28px;

    background:
        rgba(255,255,255,.035);

    backdrop-filter: blur(20px);

}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {


    .booking-header {

        padding-top: 25px;

    }


    .booking-header .logo img {

        width: 240px;

    }


    .booking-page {

        width: 84%;

        padding-top: 60px;

    }


    .booking-heading {

        margin-bottom: 45px;

    }


    .booking-heading h1 {

        font-size: 58px;

        line-height: .92;

        letter-spacing: -2px;

    }


    .booking-heading p {

        font-size: 18px;

    }


    .booking-grid {

        grid-template-columns: 1fr;

        gap: 18px;

    }


    .booking-card {

        min-height: 390px;

        padding: 32px 26px;

        border-radius: 28px;

    }


    .booking-card h2 {

        font-size: 32px;

    }


    .booking-calendar-section {

        padding-top: 40px;

    }


    .calendar-header {

        flex-direction: column;

        align-items: center;

        gap: 18px;

        margin-bottom: 30px;

    }


    .calendar-header-spacer {

        display: none;

    }


    .calendar-title h1 {

        font-size: 48px;

        letter-spacing: -2px;

    }


    .tidycal-container {

        padding: 0;

        border: none;

        background: transparent;

        border-radius: 0;

    }


    #tidycalContainer > .booking-calendar.active {

        padding: 0;

        border: none;

        background: transparent;

        border-radius: 0;

    }

}