/* Public booking terminal */
.booking-page {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    background: var(--bg);
}
.booking-page .lp-bg {
    background: var(--bg);
}
.booking-page .lp-grid {
    inset: 0;
    transform: none;
    animation: none;
    opacity: 0.45;
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
    background-size: 80px 80px;
}
.booking-nav {
    position: relative;
    z-index: 5;
    width: min(calc(100% - 2rem), 1180px);
    margin: 1rem auto 0;
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(16px);
}
.booking-nav .lp-brand {
    color: var(--text);
    font-size: 0.9rem;
}
.booking-nav .lp-brand .logo {
    width: 32px;
    height: 32px;
}
.booking-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.booking-main {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 2rem), 1180px);
    margin: 0 auto;
    padding: 5rem 0 4rem;
}
.booking-intro {
    max-width: 850px;
    margin-bottom: 3rem;
}
.booking-kicker,
.booking-card-head span {
    color: var(--primary);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}
.booking-intro h1 {
    margin: 0.8rem 0 1.2rem;
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.84;
    letter-spacing: -0.075em;
}
.booking-intro > p {
    max-width: 620px;
    color: var(--text-muted);
    line-height: 1.75;
}
.booking-steps {
    display: flex;
    width: fit-content;
    margin-top: 1.8rem;
    border: 1px solid var(--border);
    background: var(--surface);
}
.booking-steps span {
    padding: 0.8rem 1rem;
    border-right: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.booking-steps span:last-child {
    border: 0;
}
.booking-steps b {
    margin-right: 0.45rem;
    color: var(--primary);
}
.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
    gap: 1rem;
    align-items: start;
}
.booking-card {
    border: 1px solid var(--border);
    background: var(--surface);
}
.booking-card-head {
    min-height: 82px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}
.booking-card-head h2 {
    margin: 0.3rem 0 0;
    font-size: 1.25rem;
    letter-spacing: -0.04em;
}
.booking-card-head > strong {
    color: var(--primary);
    font-size: 2rem;
}
.live-indicator {
    padding: 0.35rem 0.5rem;
    color: var(--primary);
    border: 1px solid color-mix(in srgb, var(--primary) 40%, var(--border));
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.12em;
}
#publicBookingForm {
    padding: 1.25rem;
}
.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}
.booking-field-wide {
    grid-column: span 2;
}
.booking-form-grid .form-group {
    margin: 0;
}
.booking-form-grid label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.booking-form-grid input {
    min-height: 48px;
    border-radius: 2px;
    background: var(--bg);
}
.booking-check-btn,
.booking-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 1rem;
    justify-content: center;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
}
.booking-availability {
    min-height: 95px;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    background: var(--bg);
}
.booking-availability > p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}
.booking-availability-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}
.booking-availability-head strong {
    color: var(--primary);
    font-size: 1.4rem;
}
.booking-availability-head small {
    color: var(--text-muted);
}
.booking-unit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 0.8rem;
    background: var(--border);
    border: 1px solid var(--border);
}
.booking-unit-grid span {
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    font-size: 0.72rem;
}
.booking-unit-grid b {
    margin-bottom: 0.15rem;
    color: var(--primary);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
}
.booking-loading {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.booking-loading i {
    width: 14px;
    height: 14px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: bookingSpin 0.7s linear infinite;
}
@keyframes bookingSpin {
    to {
        transform: rotate(360deg);
    }
}
.booking-error {
    margin: 0.8rem 0 0;
    padding: 0.7rem;
    color: var(--danger);
    border-left: 2px solid var(--danger);
    background: color-mix(in srgb, var(--danger) 8%, transparent);
    font-size: 0.76rem;
}
.booking-note,
.schedule-lead {
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.6;
}
.booking-note {
    margin: 0.7rem 0 0;
    text-align: center;
}
.schedule-lead {
    margin: 0;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}
.schedule-table-wrap {
    overflow-x: auto;
}
.schedule-table {
    min-width: 620px;
}
.schedule-table th {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.schedule-table td {
    font-size: 0.76rem;
}
.schedule-table td:first-child {
    display: flex;
    flex-direction: column;
}
.schedule-table td small {
    margin-top: 0.15rem;
    color: var(--text-muted);
}
.schedule-empty {
    padding: 2rem !important;
    color: var(--text-muted);
    text-align: center;
}
.booking-footer {
    position: relative;
    z-index: 2;
    padding: 1.5rem max(1rem, calc((100% - 1180px) / 2));
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.68rem;
}
@media (max-width: 920px) {
    .booking-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 600px) {
    .booking-nav .lp-brand {
        font-size: 0;
    }
    .booking-nav-actions .btn {
        padding-inline: 0.65rem;
        font-size: 0.62rem;
    }
    .booking-main {
        padding-top: 3.5rem;
    }
    .booking-intro h1 {
        font-size: clamp(3rem, 16vw, 4.5rem);
    }
    .booking-steps {
        width: 100%;
    }
    .booking-steps span {
        flex: 1;
        padding: 0.7rem 0.45rem;
        font-size: 0.56rem;
    }
    .booking-steps b {
        display: block;
        margin: 0 0 0.2rem;
    }
    .booking-form-grid {
        grid-template-columns: 1fr;
    }
    .booking-field-wide {
        grid-column: auto;
    }
    .booking-unit-grid {
        grid-template-columns: 1fr;
    }
    .booking-footer {
        flex-direction: column;
    }
}
@media (prefers-reduced-motion: reduce) {
    .booking-loading i {
        animation: none;
    }
}

/* Prevent form controls and the schedule table from widening the page itself. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}
.booking-nav,
.booking-main,
.booking-layout,
.booking-card,
.booking-form-grid,
.booking-form-grid > *,
.booking-card-head > * {
    min-width: 0;
}
.booking-intro h1,
.booking-intro p,
.booking-card-head h2,
.booking-availability,
.booking-note {
    overflow-wrap: anywhere;
}
.booking-nav .lp-brand img {
    object-fit: contain;
}

/* Floating contact launcher is duplicated here because booking does not load landing-reborn.css. */
.float-chat {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    justify-items: end;
    gap: 0.65rem;
}
.float-chat-menu {
    display: grid;
    gap: 0.5rem;
    justify-items: end;
}
.float-chat-menu[hidden] {
    display: none;
}
.float-chat-item,
.float-chat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 10px 28px rgba(2, 20, 30, 0.2);
}
.float-chat-item {
    width: 44px;
    height: 44px;
}
.float-chat-item svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}
.float-chat-item span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.float-chat-whatsapp {
    background: #25d366;
}
.float-chat-instagram {
    background: #d62976;
}
.float-chat-facebook {
    background: #1877f2;
}
.float-chat-btn {
    width: 58px;
    height: 58px;
    padding: 0;
    cursor: pointer;
    background: var(--text);
    color: var(--surface);
}
.float-chat-btn svg {
    width: 25px;
    height: 25px;
}
.float-chat-btn .ico-close {
    display: none;
}
.float-chat.open .ico-chat {
    display: none;
}
.float-chat.open .ico-close {
    display: block;
}
@media (max-width: 600px) {
    .booking-nav,
    .booking-main {
        width: calc(100% - 1.25rem);
    }
    .booking-nav-actions {
        min-width: 0;
    }
    .booking-nav-actions .btn {
        white-space: normal;
        text-align: center;
    }
    .booking-card-head {
        padding-inline: 0.85rem;
        gap: 0.5rem;
    }
    #publicBookingForm {
        padding: 0.85rem;
    }
    .schedule-table {
        min-width: 540px;
    }
    .float-chat {
        right: max(0.75rem, env(safe-area-inset-right));
        bottom: max(0.75rem, env(safe-area-inset-bottom));
    }
    .float-chat-item {
        width: 40px;
        height: 40px;
    }
    .float-chat-btn {
        width: 52px;
        height: 52px;
    }
}
