:root {
    color-scheme: dark;
    --cyan: #45e8ff;
    --orange: #ff9a52;
    --yellow: #ffe16b;
    --purple: #c89dff;
    --midnight: #100b23;
    --line: rgba(190, 165, 241, 0.58);
    --line-soft: rgba(190, 165, 241, 0.35);
    --dance-gradient: linear-gradient(115deg, var(--cyan), var(--purple) 32%, var(--orange) 65%, var(--yellow));
    --text: #f6fbff;
    --muted: #b9cada;
    --danger: #ff7d92;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.48), 0 0 65px rgba(157, 84, 250, 0.22);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--midnight);
}

body.reservation-page {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background-color: var(--midnight);
    background-image:
        linear-gradient(rgba(166, 130, 223, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 130, 223, 0.12) 1px, transparent 1px),
        radial-gradient(ellipse at 7% 18%, rgba(38, 198, 234, 0.27), transparent 42%),
        radial-gradient(ellipse at 94% 76%, rgba(255, 138, 62, 0.25), transparent 41%),
        radial-gradient(ellipse at 70% 12%, rgba(145, 62, 250, 0.44), transparent 49%),
        linear-gradient(155deg, #090f22, var(--midnight) 53%, #291231);
    background-size: 36px 36px, 36px 36px, auto, auto, auto, auto;
    font-family: "Montserrat", Arial, sans-serif;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    scrollbar-width: none;
}

body.reservation-page::-webkit-scrollbar,
.app-card::-webkit-scrollbar {
    display: none;
}

button,
input,
select {
    font: inherit;
}

button {
    touch-action: manipulation;
}

.ambient-orb {
    position: fixed;
    z-index: 0;
    width: 18rem;
    height: 18rem;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.78;
    filter: drop-shadow(0 0 24px rgba(38, 198, 234, 0.38));
}

.ambient-orb--left {
    top: 8%;
    left: -15rem;
    background: radial-gradient(circle at 70% 60%, rgba(38, 198, 234, 0.38), transparent 56%);
}

.ambient-orb--right {
    right: -15rem;
    bottom: 6%;
    border-color: var(--orange);
    background: radial-gradient(circle at 30% 40%, rgba(255, 169, 85, 0.34), transparent 58%);
    filter: drop-shadow(0 0 22px rgba(255, 158, 74, 0.5));
}

.reservation-app {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 100dvh;
    padding: 12px;
}

.app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 500px);
    min-height: calc(100dvh - 24px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(ellipse at 10% 4%, rgba(0, 189, 222, 0.15), transparent 42%),
        radial-gradient(ellipse at 96% 85%, rgba(238, 99, 87, 0.18), transparent 49%),
        linear-gradient(155deg, #111125, #1c1236 52%, #1d102b);
    box-shadow: var(--shadow);
    isolation: isolate;
    scrollbar-width: none;
}

.app-card::after {
    position: absolute;
    right: -12%;
    bottom: -5.5rem;
    left: -12%;
    z-index: -1;
    height: 9rem;
    border-top: 1px solid var(--cyan);
    border-radius: 50% 50% 0 0;
    background: var(--dance-gradient);
    opacity: 0.46;
    content: "";
    transform: rotate(-2deg);
}

.corner-accent {
    position: absolute;
    z-index: 3;
    width: 31px;
    height: 31px;
    pointer-events: none;
}

.corner-accent::before,
.corner-accent::after {
    position: absolute;
    border-radius: 99px;
    background: var(--cyan);
    content: "";
    box-shadow: 0 0 10px rgba(38, 198, 234, 0.45);
}

.corner-accent::before {
    width: 28px;
    height: 3px;
}

.corner-accent::after {
    width: 3px;
    height: 28px;
}

.corner-accent--tl { top: -1px; left: -1px; }
.corner-accent--tr { top: -1px; right: -1px; transform: rotate(90deg); }
.corner-accent--bl { bottom: -1px; left: -1px; transform: rotate(-90deg); }
.corner-accent--br { right: -1px; bottom: -1px; transform: rotate(180deg); }

.corner-accent--tr::before,
.corner-accent--tr::after { background: var(--purple); }
.corner-accent--br::before,
.corner-accent--br::after { background: var(--orange); }
.corner-accent--bl::before,
.corner-accent--bl::after { background: var(--yellow); }

.app-header {
    padding: 32px 20px 0;
}

.brand-kicker {
    width: fit-content;
    margin: 0 auto 24px;
    padding: 8px 23px;
    border: 1px solid rgba(102, 181, 208, 0.48);
    border-radius: 999px;
    color: var(--yellow);
    background: linear-gradient(110deg, rgba(38, 198, 234, 0.13), rgba(173, 97, 255, 0.24), rgba(255, 154, 82, 0.14));
    box-shadow: inset 0 0 18px rgba(78, 184, 207, 0.07), 0 0 16px rgba(38, 198, 234, 0.07);
    font-family: "Orbitron", "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    line-height: 1;
    text-transform: uppercase;
}

.stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.stepper__item {
    position: relative;
    min-width: 0;
    text-align: center;
}

.stepper__item:not(:last-child)::after {
    position: absolute;
    top: 17px;
    left: calc(50% + 19px);
    width: calc(100% - 38px);
    height: 2px;
    background: var(--line);
    content: "";
    transition: background 260ms ease, box-shadow 260ms ease;
}

.stepper__item.is-complete:not(:last-child)::after {
    background: var(--dance-gradient);
    box-shadow: 0 0 9px rgba(38, 198, 234, 0.42);
}

.stepper__button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 56px;
    padding: 0 2px;
    border: 0;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
}

.stepper__button:disabled {
    cursor: default;
}

.stepper__number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(116, 180, 209, 0.58);
    border-radius: 50%;
    background: #06192d;
    box-shadow: inset 0 0 12px rgba(80, 173, 207, 0.08);
    color: #9db7cc;
    font-size: 1rem;
    font-weight: 700;
    transition: 240ms ease;
}

.stepper__label {
    overflow: hidden;
    color: inherit;
    font-size: 0.66rem;
    font-weight: 500;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stepper__item.is-current .stepper__number {
    border-color: transparent;
    color: #021521;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    box-shadow: 0 0 16px rgba(38, 198, 234, 0.5);
    transform: scale(1.08);
}

.stepper__item.is-current .stepper__label,
.stepper__item.is-complete .stepper__label {
    color: var(--text);
    font-weight: 700;
}

.stepper__item.is-complete .stepper__number {
    border-color: transparent;
    color: #021521;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(38, 198, 234, 0.32);
}

.booking-form {
    display: grid;
    flex: 1;
    margin: 0;
    padding: 0 20px 30px;
}

.form-stage {
    grid-area: 1 / 1;
    align-self: start;
    width: 100%;
    padding-top: 31px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(22px);
    transition: opacity 240ms ease-out, transform 240ms var(--ease);
}

.form-stage.is-active {
    position: relative;
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.form-stage.is-before {
    transform: translateX(-22px);
}

.form-stage[hidden] {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .form-stage.is-entering {
        --stage-entry-x: 22px;
    }

    .form-stage.is-entering-from-left {
        --stage-entry-x: -22px;
    }

    .form-stage.is-entering > :is(.stage-copy, .field-block, .price-card, .payment-note,
        .choice-group, .event-summary, .reservation-summary, .stage-actions, .delivery-note),
    .form-stage.is-entering .personal-fields > .text-field {
        animation: stage-content-bounce 440ms var(--stage-entry-delay, 0ms) backwards;
    }

    .form-stage.is-entering > :is(.field-block, .choice-group),
    .form-stage.is-entering .text-field {
        --stage-entry-delay: 45ms;
    }

    .form-stage.is-entering > :is(.price-card, .choice-group--level),
    .form-stage.is-entering > .field-block + .field-block,
    .form-stage.is-entering .text-field:nth-child(2) {
        --stage-entry-delay: 75ms;
    }

    .form-stage.is-entering > .event-summary,
    .form-stage.is-entering .text-field:nth-child(3) {
        --stage-entry-delay: 105ms;
    }

    .form-stage.is-entering > :is(.payment-note, .reservation-summary),
    .form-stage.is-entering .text-field:nth-child(4) {
        --stage-entry-delay: 135ms;
    }

    .form-stage.is-entering > .reservation-summary + .payment-note {
        --stage-entry-delay: 160ms;
    }

    .form-stage.is-entering > :is(.stage-actions, .delivery-note) {
        --stage-entry-delay: 185ms;
    }

    @keyframes stage-content-bounce {
        0% {
            opacity: 0;
            transform: translate3d(var(--stage-entry-x), 14px, 0);
            animation-timing-function: var(--ease);
        }

        60% {
            opacity: 1;
            transform: translateY(-5px);
            animation-timing-function: ease-in-out;
        }

        82% {
            transform: translateY(2px);
            animation-timing-function: ease-out;
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.stage-copy {
    margin-bottom: 30px;
    text-align: center;
}

.stage-title {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.95rem, 9.4vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.stage-title__accent {
    color: var(--cyan);
    background: var(--dance-gradient);
    background-clip: text;
    color: transparent;
}

.stage-subtitle {
    margin: 10px 0 0;
    color: #e1ecf3;
    font-size: 0.96rem;
    line-height: 1.45;
}

.field-block,
.choice-group {
    position: relative;
    margin: 0 0 14px;
}

.field-label,
.choice-group__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 10px;
    color: #effaff;
    font-size: 0.92rem;
    font-weight: 700;
}

.field-label i,
.choice-group__title i {
    color: var(--yellow);
    font-size: 1.12rem;
}

.selector-card {
    position: relative;
    display: block;
    min-height: 104px;
    padding: 20px 50px 16px 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(135deg, #153046, #251640 60%, #3b1d37);
    box-shadow: inset 0 0 24px rgba(38, 198, 234, 0.05);
}

.selector-card::after {
    position: absolute;
    right: -10%;
    bottom: -3.3rem;
    width: 78%;
    height: 5rem;
    border-top: 1px solid rgba(38, 198, 234, 0.45);
    border-radius: 50%;
    background: var(--dance-gradient);
    opacity: 0.32;
    content: "";
    pointer-events: none;
}

.selector-card:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(38, 198, 234, 0.16), inset 0 0 28px rgba(38, 198, 234, 0.08);
}

.selector-card__icon {
    position: absolute;
    top: 22px;
    left: 19px;
    color: #dcfbff;
    font-size: 1.8rem;
}

.selector-card__label {
    display: block;
    margin-left: 42px;
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 800;
}

.selector-card select {
    position: relative;
    z-index: 1;
    width: calc(100% - 42px);
    min-height: 38px;
    margin: 3px 0 0 42px;
    padding: 0 28px 0 0;
    border: 0;
    outline: 0;
    color: #c4d6e3;
    background: transparent;
    font-size: 0.88rem;
    line-height: 1.3;
    cursor: pointer;
}

.selector-card select option,
.native-select option {
    color: #f4fbff;
    background: #06223a;
}

.pack-card {
    min-height: 92px;
}

.price-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    margin: 22px 2px 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: linear-gradient(135deg, #173143, #29193e);
}

.field-block.hidden {
    display: none;
}

.price-card.hidden {
    display: grid;
}

.price-card__icon {
    display: grid;
    width: 49px;
    height: 49px;
    place-items: center;
    border-right: 1px solid rgba(157, 207, 226, 0.52);
    color: #dffbff;
    font-size: 1.65rem;
}

.price-card > div:not(.price-card__icon) {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-card span {
    color: #eaf8ff;
}

.price-card span:first-child {
    font-size: 0.98rem;
    font-weight: 800;
}

.price-card span:last-child {
    color: var(--yellow);
    font-size: 1.28rem;
    font-weight: 900;
}

.price-card.is-pending > div:not(.price-card__icon) > span:last-child {
    font-size: 0;
}

.price-card.is-pending #priceValue {
    font-size: 0;
}

.price-card.is-pending #priceValue::after {
    color: #d5e5ef;
    content: "Pendiente de selección";
    font-size: 0.83rem;
    font-weight: 500;
}

.choice-grid {
    display: grid;
    gap: 12px;
}

.choice-grid--roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 142px;
    padding: 15px 8px;
    border: 1px solid rgba(111, 183, 214, 0.68);
    border-radius: 18px;
    color: #f4fbff;
    background: rgba(5, 23, 40, 0.72);
    box-shadow: inset 0 0 24px rgba(38, 198, 234, 0.03);
    cursor: pointer;
    transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 160ms ease;
}

.choice-card:hover {
    border-color: rgba(117, 229, 235, 0.9);
    transform: translateY(-2px);
}

.choice-card:active {
    transform: scale(0.97);
}

.choice-card.is-selected {
    border-color: var(--purple);
    color: var(--yellow);
    background: linear-gradient(145deg, #1b4150, #44245e 70%, #572a3f);
    box-shadow: 0 0 20px rgba(175, 101, 255, 0.26);
}

.choice-card__icon {
    margin-bottom: 9px;
    font-size: 2.65rem;
    line-height: 1;
}

.choice-card__label {
    font-size: 1.05rem;
    font-weight: 800;
}

.choice-card__check {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    color: var(--cyan);
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 0 7px rgba(202, 255, 224, 0.38));
}

.choice-card.is-selected .choice-card__check {
    display: block;
}

.choice-group--level {
    margin-top: 24px;
}

.segmented-control {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.segment-button {
    min-height: 48px;
    padding: 8px 4px;
    border: 1px solid rgba(111, 183, 214, 0.7);
    border-radius: 15px;
    color: #ecf7fe;
    background: rgba(5, 24, 42, 0.78);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: 180ms ease;
}

.segment-button:hover {
    border-color: #6eecef;
}

.segment-button.is-selected {
    border-color: transparent;
    color: #052035;
    box-shadow: 0 0 17px rgba(38, 198, 234, 0.23);
}

.native-choice {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.event-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 13px;
    align-items: center;
    margin: 25px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--line-soft);
    border-radius: 15px;
    color: #dceaf3;
    background: rgba(7, 37, 57, 0.64);
}

.event-summary > i {
    color: var(--cyan);
    font-size: 1.25rem;
}

.event-summary strong,
.event-summary span {
    display: block;
}

.event-summary strong {
    margin-bottom: 2px;
    font-size: 0.78rem;
}

.event-summary span {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.personal-fields {
    display: grid;
    gap: 11px;
}

.text-field {
    position: relative;
    margin: 0;
}

.text-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.text-field > i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    color: #d4e8f3;
    font-size: 1.14rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.text-field input {
    width: 100%;
    min-height: 51px;
    padding: 12px 14px 12px 48px;
    border: 1px solid rgba(112, 179, 207, 0.56);
    border-radius: 15px;
    outline: none;
    color: var(--text);
    background: rgba(3, 18, 33, 0.68);
    font-size: 16px;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.text-field input::placeholder {
    color: #b9ccdb;
    opacity: 1;
}

.text-field input:focus {
    border-color: var(--cyan);
    background: rgba(5, 31, 49, 0.88);
    box-shadow: 0 0 0 3px rgba(38, 198, 234, 0.14), 0 0 16px rgba(38, 198, 234, 0.1);
}

.text-field.has-error input,
.field-block.has-error .selector-card,
.choice-group.has-error :is(.choice-card, .segment-button) {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(255, 125, 146, 0.12);
}

.has-error {
    z-index: 3;
    scroll-margin-block-start: 5rem;
}

.field-hint {
    position: absolute;
    inset-block-end: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: max-content;
    max-width: min(100%, 19rem);
    padding: 9px 12px;
    border: 1px solid var(--danger);
    border-radius: 12px;
    color: #fff3f8;
    background: linear-gradient(135deg, #47254c, #26162f);
    box-shadow: 0 6px 24px rgba(12, 6, 24, 0.5), 0 0 14px rgba(255, 125, 146, 0.16);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
    pointer-events: none;
}

.field-hint > i {
    flex-shrink: 0;
    color: var(--danger);
}

.field-hint::after {
    position: absolute;
    inset-block-end: -5px;
    inset-inline-end: 17px;
    width: 9px;
    height: 9px;
    border-right: 1px solid var(--danger);
    border-bottom: 1px solid var(--danger);
    background: #26162f;
    content: "";
    transform: rotate(45deg);
}

.validation-announcement {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
    .field-hint {
        animation: field-hint-enter 260ms var(--ease) both;
    }

    @keyframes field-hint-enter {
        0% { opacity: 0; transform: translateY(6px); }
        70% { opacity: 1; transform: translateY(-2px); }
        100% { opacity: 1; transform: translateY(0); }
    }
}

.reservation-summary {
    margin: 19px 0 0;
    padding: 15px;
    border: 1px solid rgba(89, 174, 203, 0.5);
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(9, 52, 71, 0.84), rgba(4, 25, 41, 0.82));
}

.reservation-summary__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 11px;
    font-size: 0.88rem;
    font-weight: 800;
}

.reservation-summary__title i {
    color: var(--yellow);
    font-size: 1.1rem;
}

.reservation-summary__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.summary-item small,
.summary-item strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.summary-item small {
    margin-bottom: 2px;
    color: #94adbf;
    font-size: 0.64rem;
}

.summary-item strong {
    color: #eefaff;
    font-size: 0.73rem;
}

.payment-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-top: 10px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--text);
    background: linear-gradient(115deg, #163044, #30204a 58%, #442638);
    font-size: 0.78rem;
    font-weight: 700;
}

.payment-note p {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.payment-note p i {
    color: var(--cyan);
    font-size: 1rem;
}

.payment-note__button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 13px;
    border: 0;
    border-radius: 999px;
    color: #150f2a;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
}

.payment-note__button:hover {
    filter: brightness(1.12);
}

.primary-button,
.payment-note__button,
.segment-button.is-selected {
    position: relative;
    isolation: isolate;
    background: var(--dance-gradient);
    background-size: 165% 140%;
    animation: dance-colors 7s ease-in-out infinite alternate;
}

.primary-button::before,
.payment-note__button::before,
.segment-button.is-selected::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: repeating-radial-gradient(ellipse 62% 115% at 25% 160%, transparent 0 25%, rgba(255, 255, 255, 0.26) 33% 38%, transparent 46% 65%);
    background-size: 155% 160%;
    content: "";
    pointer-events: none;
    animation: dance-wave 7s ease-in-out infinite alternate;
}

@keyframes dance-colors {
    0% { background-position: 0% 38%; }
    100% { background-position: 100% 72%; }
}

@keyframes dance-wave {
    0% { background-position: 5% 58%; opacity: 0.65; }
    50% { opacity: 1; }
    100% { background-position: 92% 18%; opacity: 0.7; }
}

.bizum-dialog {
    inset: 0;
    width: min(440px, calc(100% - 28px));
    max-height: calc(100dvh - 28px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid transparent;
    border-radius: 26px;
    color: var(--text);
    background:
        radial-gradient(ellipse at 10% 0%, #263b59, transparent 54%) padding-box,
        linear-gradient(145deg, #19132f, #2c1b48 68%, #422439) padding-box,
        var(--dance-gradient) border-box;
    box-shadow: 0 20px 80px #090518, 0 0 50px rgba(177, 92, 250, 0.26);
}

.bizum-dialog[open] {
    animation: bizum-enter 360ms var(--ease) both;
}

.bizum-dialog::backdrop {
    background: rgba(10, 5, 24, 0.76);
    backdrop-filter: blur(6px);
    animation: bizum-backdrop 260ms ease both;
}

body.reservation-page:has(.bizum-dialog[open]) {
    overflow: hidden;
}

.bizum-dialog__content {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 28px clamp(18px, 6vw, 36px) 16px;
    text-align: center;
}

.bizum-dialog__close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    background: #201635;
    cursor: pointer;
}

.bizum-dialog__close:hover {
    border-color: var(--yellow);
}

.bizum-dialog__icon {
    display: grid;
    width: 60px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 19px;
    color: #150f2a;
    background: var(--dance-gradient);
    font-size: 1.75rem;
    transform: rotate(-8deg);
}

.bizum-dialog h2 {
    margin: 4px 0 0;
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.14;
}

.bizum-dialog__label,
.bizum-dialog__number,
.bizum-dialog__concept,
.bizum-dialog__status {
    margin: 0;
}

.bizum-dialog__label {
    color: var(--muted);
    font-size: 0.83rem;
}

.bizum-dialog__number {
    padding: 9px 14px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--yellow);
    background: #1b142d;
    font-size: clamp(1.45rem, 7vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
    user-select: all;
}

.bizum-dialog__concept {
    max-width: 32ch;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.bizum-dialog__concept strong {
    color: var(--cyan);
}

.bizum-dialog .primary-button {
    width: 100%;
    min-height: 48px;
}

.bizum-dialog__status {
    min-height: 1.2em;
    color: var(--cyan);
    font-size: 0.78rem;
}

@keyframes bizum-enter {
    from { opacity: 0; transform: translateY(22px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bizum-backdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stage-actions {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
    margin-top: 51px;
    padding-bottom: max(0px, env(safe-area-inset-bottom));
}

.stage-actions--single {
    grid-template-columns: 1fr;
}

.primary-button,
.back-button {
    min-height: 58px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 12px 22px;
    color: #150f2a;
    box-shadow: 0 10px 24px rgba(177, 92, 250, 0.23), inset 0 1px rgba(255, 255, 255, 0.35);
    font-size: 1.03rem;
    font-weight: 900;
    transition: transform 160ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary-button:hover {
    filter: brightness(1.06);
    box-shadow: 0 12px 30px rgba(255, 154, 82, 0.29), inset 0 1px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.primary-button:active {
    transform: scale(0.985);
}

.primary-button:disabled {
    cursor: wait;
    filter: grayscale(0.35);
    opacity: 0.7;
}

.primary-button i {
    font-size: 1.25rem;
}

.back-button {
    display: grid;
    place-items: center;
    border: 1px solid rgba(112, 180, 210, 0.62);
    color: #edfaff;
    background: rgba(6, 29, 48, 0.78);
    font-size: 1.25rem;
    transition: 180ms ease;
}

.back-button:hover {
    border-color: var(--cyan);
    background: rgba(11, 53, 70, 0.85);
}

.delivery-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0 0;
    color: #dce9f1;
    font-size: 0.7rem;
    line-height: 1.4;
    text-align: center;
}

.delivery-note i {
    color: #d9f9ff;
    font-size: 1rem;
}

.focus-ring:focus-visible,
.stepper__button:focus-visible,
.choice-card:focus-visible,
.segment-button:focus-visible,
.primary-button:focus-visible,
.back-button:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 24px;
    color: var(--cyan);
    background: var(--midnight);
    transition: opacity 400ms ease, visibility 400ms ease;
}

#preloader::before {
    position: absolute;
    width: min(78vw, 390px);
    height: min(78vw, 390px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(38, 198, 234, 0.16), transparent 65%);
    content: "";
    animation: loader-pulse 1.7s ease-in-out infinite;
}

#preloader img {
    position: relative;
    z-index: 1;
    width: min(70vw, 310px);
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(38, 198, 234, 0.36));
}

.loader-status {
    position: relative;
    z-index: 1;
    font-family: "Orbitron", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

#preloader.loader-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

@keyframes loader-pulse {
    0%, 100% { opacity: 0.52; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.05); }
}

@media (min-width: 600px) {
    .reservation-app {
        align-items: center;
        padding: 24px;
    }

    .app-card {
        min-height: min(848px, calc(100dvh - 48px));
        max-height: calc(100dvh - 48px);
        border-radius: 30px;
    }

    .app-card {
        overflow-y: auto;
    }

    .app-header {
        padding: 32px 28px 0;
    }

    .booking-form {
        padding-right: 28px;
        padding-bottom: 30px;
        padding-left: 28px;
    }

    .stepper__label {
        font-size: 0.72rem;
    }
}

@media (max-width: 359px) {
    .reservation-app {
        padding: 0;
    }

    .app-card {
        min-height: 100dvh;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .app-header,
    .booking-form {
        padding-right: 15px;
        padding-left: 15px;
    }

    .brand-kicker {
        padding-right: 17px;
        padding-left: 17px;
        font-size: 0.65rem;
    }

    .stage-title {
        font-size: 1.9rem;
    }

    .choice-card {
        min-height: 130px;
    }

    .segmented-control {
        gap: 6px;
    }

    .segment-button {
        font-size: 0.74rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
