.mountain-theme {
    min-height: calc(100vh - 120px);
    background:
        linear-gradient(160deg, rgba(15, 32, 39, 0.88) 0%, rgba(32, 58, 67, 0.72) 50%, rgba(44, 83, 100, 0.82) 100%),
        var(--background-image-url) center/cover no-repeat fixed;
    color: #fff;
    padding: 42px 0 72px;
    font-family: 'DM Sans', sans-serif;
}

.booking-shell {
    max-width: 920px;
}

.booking-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 30px 18px;
    background: rgba(9, 20, 27, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.booking-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 300'%3E%3Cpolygon points='0,300 120,80 240,180 360,40 480,160 600,20 720,140 800,60 800,300' fill='white'/%3E%3C/svg%3E") bottom/cover no-repeat;
    pointer-events: none;
}

.booking-card > div {
    position: relative;
    z-index: 1;
}

.booking-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.logo-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #1a1200;
    font-size: 20px;
}

.brand-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    letter-spacing: 0.2px;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.82rem;
}

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

.booking-heading h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 8px;
}

.booking-heading span {
    color: #d8f8bc;
}

.booking-heading p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.98rem;
    margin-bottom: 0;
}

.flow-stage {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.42);
}

.flow-stage-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.flow-stage-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.flow-stage-item.done {
    color: rgba(255, 255, 255, 0.78);
}

.flow-stage-item.done .flow-stage-dot {
    background: #4ade80;
    color: #0b2511;
    border-color: transparent;
}

.flow-stage-item.active {
    color: #ffd200;
}

.flow-stage-item.active .flow-stage-dot {
    background: #ffd200;
    color: #1a1200;
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.16);
}

.booking-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.phone-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.country-prefix,
.form-control,
select.form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #fff;
}

.country-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 0 14px;
    font-weight: 600;
}

.form-control,
select.form-control {
    height: 50px;
    padding: 0.85rem 1rem;
    box-shadow: none;
}

.form-control:focus,
select.form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffd200;
    color: #fff;
    box-shadow: 0 0 0 0.18rem rgba(255, 210, 0, 0.18);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

select.form-control option {
    background: #203a43;
    color: #fff;
}

.info-note,
.section-block {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.info-note {
    margin-top: 10px;
    padding: 12px 14px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: rgba(255, 210, 0, 0.88);
    background: rgba(255, 210, 0, 0.08);
    border-color: rgba(255, 210, 0, 0.2);
}

.section-block {
    padding: 18px;
}

.accent-select {
    border-color: rgba(255, 210, 0, 0.28);
}

.coupon-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.coupon-row .form-control {
    flex: 1;
}

.travellers-block {
    text-align: center;
}

#additional-persons {
    display: grid;
    gap: 12px;
    margin-bottom: 0;
}

.person-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
}

.otp-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.otp-label {
    display: block;
    text-align: center;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.68);
}

.otp-input {
    width: 52px;
    height: 58px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    border-radius: 12px;
}

.status-message {
    margin: 10px 0 0;
    font-size: 0.9rem;
}

.status-success {
    color: #67e8a4;
}

.verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.24);
    color: #67e8a4;
    font-size: 0.86rem;
    margin: 10px 0 0;
}

.button-stack {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.booking-btn,
.btn-compact,
.btn-info {
    border: none;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.12s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.booking-btn {
    min-height: 50px;
}

.btn-primary.booking-btn,
.btn-success.booking-btn,
.btn-primary.btn-compact,
.btn-info {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #1a1200;
    box-shadow: 0 14px 36px rgba(247, 151, 30, 0.22);
}

.btn-success.booking-btn {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: #08210d;
    box-shadow: 0 14px 36px rgba(34, 197, 94, 0.22);
}

.booking-btn:hover,
.btn-compact:hover,
.btn-info:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.booking-btn:disabled,
.btn-compact:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

#next-button.otp-ready {
    box-shadow: 0 0 0 2px rgba(255, 210, 0, 0.65), 0 0 26px rgba(255, 210, 0, 0.45);
    animation: otp-ready-pulse 0.82s ease-in-out infinite;
}

.booking-form.otp-focus-mode .form-control,
.booking-form.otp-focus-mode select.form-control,
.booking-form.otp-focus-mode .form-label,
.booking-form.otp-focus-mode .info-note,
.booking-form.otp-focus-mode .section-block {
    filter: blur(1.5px);
    opacity: 0.52;
    transition: filter 0.18s ease, opacity 0.18s ease;
    pointer-events: none;
}

.booking-form.otp-focus-mode .mobile-group .form-control,
.booking-form.otp-focus-mode .mobile-group .form-label,
.booking-form.otp-focus-mode .mobile-group .info-note,
.booking-form.otp-focus-mode .country-prefix,
.booking-form.otp-focus-mode #next-button {
    filter: none;
    opacity: 1;
    pointer-events: auto;
}

@keyframes otp-ready-pulse {
    0%, 100% {
        transform: translateY(0);
        filter: saturate(1);
    }
    50% {
        transform: translateY(-3px);
        filter: saturate(1.16);
    }
}

.btn-compact {
    min-width: 108px;
    padding: 0 18px;
}

.invalid-feedback,
.alert-messages {
    position: relative;
    z-index: 2;
}

.booking-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1100;
}

.booking-modal.is-open {
    display: block;
}

.booking-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 6, 10, 0.78);
    backdrop-filter: blur(3px);
}

.booking-modal-content {
    position: relative;
    max-width: 560px;
    margin: 8vh auto;
    background: rgba(15, 31, 41, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    overflow: hidden;
    color: #fff;
}

.booking-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-modal-header h3 {
    margin: 0;
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
}

.booking-modal-close {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.booking-modal-body {
    padding: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
}

.summary-row strong {
    color: #fff;
    text-align: right;
}

.summary-row-total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.summary-row-total strong {
    color: #ffd200;
}

.summary-coupon-block {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-coupon-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.68);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.summary-coupon-row .btn {
    min-width: 100px;
}

.summary-coupon-message {
    margin: 8px 0 0;
    min-height: 18px;
    font-size: 0.83rem;
}

.summary-coupon-message.success {
    color: #67e8a4;
}

.summary-coupon-message.error {
    color: #fda4af;
}

.summary-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.booking-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 20px 20px;
}

.booking-modal-actions .btn {
    min-height: 46px;
    border-radius: 10px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .mountain-theme {
        padding: 24px 0 48px;
    }

    .booking-card {
        border-radius: 18px;
        padding: 16px 10px;
    }

    .booking-form {
        padding: 18px;
    }

    .phone-row,
    .coupon-row,
    .person-fields {
        flex-direction: column;
        display: flex;
    }

    .country-prefix,
    .btn-compact {
        width: 100%;
    }

    .otp-group {
        gap: 8px;
    }

    .otp-input {
        width: 46px;
        height: 52px;
    }

    .flow-stage {
        gap: 10px;
        font-size: 0.72rem;
    }

    .booking-modal-content {
        margin: 4vh 12px;
    }

    .booking-modal-actions {
        grid-template-columns: 1fr;
    }
}
