
/* Sysoiev Academy Booking Form */

.booking-page {
    background: #f6f5f1;
}

.booking-hero {
    padding: 76px 0 92px;
}

.booking-wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 76px;
    align-items: start;
}

.booking-intro {
    padding-top: 26px;
}

.booking-eyebrow {
    margin-bottom: 22px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;

    color: #9a7845;
}

.booking-intro h1 {
    margin: 0 0 24px;

    max-width: 520px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5vw, 68px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.035em;

    color: #101c30;
}

.booking-lede {
    max-width: 520px;
    margin: 0;

    font-size: 18px;
    line-height: 1.65;

    color: #526174;
}

.booking-points {
    margin-top: 46px;
    border-top: 1px solid rgba(16, 28, 48, .16);
}

.booking-points > div {
    padding: 19px 0;

    border-bottom: 1px solid rgba(16, 28, 48, .16);

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-points strong {
    color: #101c30;
    font-size: 15px;
}

.booking-points span {
    color: #687486;
    font-size: 14px;
}


.booking-card {
    background: #fff;

    border: 1px solid rgba(16, 28, 48, .12);

    box-shadow:
        0 24px 70px rgba(16, 28, 48, .09);

    padding: 42px;
}

.form-row {
    margin-bottom: 23px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-row label {
    display: block;

    margin-bottom: 8px;

    color: #101c30;

    font-size: 13px;
    font-weight: 650;
}

.optional {
    color: #87909d;
    font-weight: 400;
}

.form-row input,
.form-row select,
.form-row textarea {
    box-sizing: border-box;
    width: 100%;

    border: 1px solid #cbd0d5;
    border-radius: 0;

    background: #fff;

    padding: 13px 14px;

    color: #101c30;

    font: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color .18s,
        box-shadow .18s;
}

.form-row textarea {
    resize: vertical;
    min-height: 90px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #a8834f;

    box-shadow:
        0 0 0 3px rgba(212, 174, 114, .16);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #9aa1aa;
}

.guardian-check {
    display: grid;
    grid-template-columns: 19px 1fr;
    gap: 11px;

    margin: 6px 0 25px;

    cursor: pointer;

    color: #526174;

    font-size: 13px;
    line-height: 1.5;
}

.guardian-check input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;

    accent-color: #101c30;
}

.booking-submit {
    width: 100%;
    min-height: 57px;

    border: 1px solid #101c30;

    background: #101c30;
    color: #fff;

    padding: 14px 18px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: .015em;

    transition:
        background .18s,
        color .18s,
        opacity .18s;
}

.booking-submit:hover {
    background: #1a2a43;
}

.booking-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.booking-privacy {
    margin: 18px 0 0;

    color: #7a8490;

    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

.booking-privacy a {
    color: #526174;
}

.form-error {
    display: none;

    margin: 0 0 18px;

    padding: 12px 14px;

    border-left: 3px solid #a14949;

    background: #fbf2f2;
    color: #7e3030;

    font-size: 13px;
    line-height: 1.45;
}

.form-error.visible {
    display: block;
}

.website-field {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}


.booking-success {
    padding: 48px 20px;

    text-align: center;
}

.success-mark {
    width: 54px;
    height: 54px;

    margin: 0 auto 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d4ae72;

    color: #9a7845;

    font-family: Georgia, serif;
    font-size: 25px;
}

.booking-success h2 {
    margin: 0 0 13px;

    color: #101c30;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 400;
}

.booking-success p {
    max-width: 480px;

    margin: 0 auto 28px;

    color: #526174;

    line-height: 1.65;
}

.success-link {
    color: #101c30;
    font-weight: 700;
}


@media (max-width: 850px) {

    .booking-hero {
        padding: 45px 0 70px;
    }

    .booking-wrap {
        width: calc(100% - 38px);

        grid-template-columns: 1fr;
        gap: 38px;
    }

    .booking-intro {
        padding-top: 0;
    }

    .booking-intro h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .booking-lede {
        font-size: 16px;
    }

    .booking-points {
        margin-top: 30px;
    }

    .booking-card {
        padding: 26px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
