/* Adventures Lab Booking 1.4.0
   Визуальная система собрана под Adventures Lab / Avada:
   белый фон, тёмная типографика, спокойные серые поверхности и оранжевый акцент. */

.alb-booking {
    --alb-accent: #f7941d;
    --alb-accent-dark: #e77f08;
    --alb-text: #2b2b2b;
    --alb-muted: #777;
    --alb-line: #dedede;
    --alb-soft: #f7f7f7;
    --alb-soft-accent: #fff8ef;

    margin: 38px 0 34px;
    font-family: inherit;
    color: var(--alb-text);
}

.alb-booking__card {
    width: 100%;
    max-width: 620px;
    margin: 0;
    background: transparent;
}

.alb-booking__header {
    margin: 0 0 20px;
}

.alb-booking__header h2 {
    margin: 0 0 10px;
    font-family: inherit;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.02em;
    text-transform: uppercase;
    color: #202020;
}

.alb-booking__header h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin-top: 13px;
    background: var(--alb-accent);
}

.alb-booking__header p {
    max-width: 590px;
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #8a8a8a;
}

/* Форма намеренно уже колонки товара: так она выглядит как действие,
   а не как ещё один контентный блок во всю ширину страницы. */
.alb-booking__form {
    width: 100%;
    max-width: 520px;
    padding: 18px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-top: 3px solid var(--alb-accent);
    border-radius: 7px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .035);
}

.alb-booking__trip {
    margin: 0 0 12px;
    padding: 12px 14px;
    background: var(--alb-soft-accent);
    border-left: 3px solid var(--alb-accent);
    border-radius: 3px;
    box-sizing: border-box;
}

.alb-booking__trip span {
    display: block;
    margin-bottom: 3px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9a9a9a;
}

.alb-booking__trip strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #363636;
}

.alb-booking .alb-booking__grid {
    display: block !important;
}

.alb-booking .alb-field {
    position: relative;
    display: block !important;
    width: 100% !important;
    margin: 0 0 9px !important;
}

.alb-booking .alb-field input {
    display: block !important;
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 21px 14px 6px !important;
    border: 1px solid var(--alb-line) !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #252525 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.alb-booking .alb-field input:hover {
    border-color: #c8c8c8 !important;
}

.alb-booking .alb-field input:focus {
    border-color: var(--alb-accent) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(247, 148, 29, .09) !important;
}

.alb-booking .alb-field label {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    z-index: 2;
    margin: 0 !important;
    padding: 0 !important;
    color: #555 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    pointer-events: none;
    transform: translateY(-50%);
    transform-origin: left top;
    transition: top .14s ease, transform .14s ease, font-size .14s ease, color .14s ease;
}

.alb-booking .alb-field label span {
    color: #d72727 !important;
}

.alb-booking .alb-field input:focus + label,
.alb-booking .alb-field input:not(:placeholder-shown) + label {
    top: 7px !important;
    transform: none !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #777 !important;
}

.alb-booking .alb-field input:focus + label {
    color: var(--alb-accent-dark) !important;
}

/* CAPTCHA выглядит частью формы, но не конкурирует с основными полями. */
.alb-captcha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 12px 0 12px;
    padding: 10px 12px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background: var(--alb-soft);
    box-sizing: border-box;
}

.alb-captcha__text {
    display: flex;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    font-size: 13px;
    line-height: 1.3;
    color: #555;
    white-space: nowrap;
}

.alb-captcha__text strong {
    color: #333;
    font-weight: 600;
}

.alb-booking .alb-captcha__answer {
    width: 58px !important;
    height: 34px !important;
    min-height: 34px !important;
    flex: 0 0 58px;
    margin: 0 !important;
    padding: 4px 6px !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #222 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center;
    outline: none !important;
}

.alb-booking .alb-captcha__answer:focus {
    border-color: var(--alb-accent) !important;
    box-shadow: 0 0 0 3px rgba(247, 148, 29, .09) !important;
}

.alb-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #666;
    cursor: pointer;
}

.alb-consent input {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    flex: 0 0 17px;
    accent-color: var(--alb-accent);
}

.alb-booking__actions {
    margin: 16px 0 0;
}

.alb-booking__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 205px;
    min-height: 46px;
    margin: 0;
    padding: 12px 24px;
    border: 0;
    border-radius: 4px;
    background: var(--alb-accent);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: .055em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(231, 127, 8, .20);
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.alb-booking__submit:hover,
.alb-booking__submit:focus {
    background: var(--alb-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(231, 127, 8, .24);
}

.alb-booking__submit:active {
    transform: translateY(0);
}

.alb-booking__submit:disabled {
    opacity: .58;
    cursor: wait;
    transform: none;
}

.alb-booking__status {
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.45;
}

.alb-booking__status.is-error { color: #b31217; }
.alb-booking__status.is-info { color: #777; }

.alb-booking__success {
    max-width: 520px;
    margin: 0;
    padding: 22px;
    box-sizing: border-box;
    border: 1px solid #e7e7e7;
    border-top: 3px solid var(--alb-accent);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .035);
}

.alb-booking__success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 11px;
    border-radius: 50%;
    background: var(--alb-soft-accent);
    color: var(--alb-accent-dark);
    font-size: 24px;
    line-height: 1;
}

.alb-booking__success h3 {
    margin: 0 0 7px;
    font-size: 21px;
    color: #252525;
}

.alb-booking__success p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

@media (max-width: 767px) {
    .alb-booking {
        margin: 30px 0 26px;
    }

    .alb-booking__header {
        margin-bottom: 17px;
    }

    .alb-booking__header h2 {
        font-size: 25px;
    }

    .alb-booking__header p {
        font-size: 14px;
    }

    .alb-booking__form,
    .alb-booking__success {
        max-width: none;
    }

    .alb-booking__form {
        padding: 14px;
    }

    .alb-booking__trip {
        padding: 11px 12px;
    }

    .alb-booking .alb-field input {
        height: 54px !important;
        min-height: 54px !important;
        padding-left: 13px !important;
        padding-right: 13px !important;
        font-size: 16px !important;
    }

    .alb-booking .alb-field label {
        left: 13px !important;
        font-size: 14px !important;
    }

    .alb-captcha {
        padding: 9px 10px;
    }

    .alb-booking__submit {
        width: 100%;
    }
}
