
/* ========================================================
   CONTACT / BOOK DEMO
======================================================== */

.contact-eyebrow {
    color: var(--brand-primary);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .14em;
}


/* HERO */

.contact-hero {
    min-height: 100vh;

    padding: 170px 0 130px;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 95px;

    align-items: start;
}

.contact-copy h1 {
    max-width: 720px;

    margin-top: 27px;

    font-size:
        clamp(
            58px,
            6.8vw,
            98px
        );

    line-height: .93;

    letter-spacing: -.055em;
}

.contact-copy h1 span {
    display: block;

    color: var(--brand-primary);
}

.contact-intro {
    max-width: 620px;

    margin-top: 30px;

    color: var(--text-secondary);

    font-size: 19px;

    line-height: 1.7;
}


/* POINTS */

.contact-points {
    max-width: 650px;

    margin-top: 55px;

    border-top:
        1px solid var(--border);
}

.contact-points article {
    display: grid;

    grid-template-columns:
        48px 1fr;

    gap: 18px;

    padding: 22px 0;

    border-bottom:
        1px solid var(--border);
}

.contact-points article > span {
    color: var(--brand-primary);

    font-size: 10px;

    font-weight: 800;
}

.contact-points strong {
    font-size: 14px;
}

.contact-points p {
    max-width: 480px;

    margin-top: 7px;

    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.65;
}


/* FORM CARD */

.contact-form-card {
    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 20px;

    background: #0b1015;

    box-shadow:
        0 45px 120px
        rgba(0,0,0,.35);
}

.contact-form-card__head {
    min-height: 78px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 0 27px;

    border-bottom:
        1px solid var(--border);
}

.contact-dot {
    width: 9px;
    height: 9px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--brand-primary);

    box-shadow:
        0 0 18px
        rgba(13,116,255,.7);
}

.contact-form-card__head strong,
.contact-form-card__head span {
    display: block;
}

.contact-form-card__head strong {
    font-size: 13px;
}

.contact-form-card__head span {
    margin-top: 4px;

    color: var(--text-muted);

    font-size: 10px;
}


/* FORM */

.contact-form {
    padding: 28px;
}

.contact-field-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}

.contact-field {
    margin-bottom: 20px;
}

.contact-field label {
    display: block;

    margin-bottom: 9px;

    color: #cbd4dd;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .04em;
}

.contact-field label span {
    color: var(--brand-primary);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;

    padding: 14px 15px;

    border:
        1px solid var(--border);

    border-radius: 9px;

    outline: none;

    background: #090e12;

    color: white;

    font: inherit;

    font-size: 13px;

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

.contact-field textarea {
    resize: vertical;

    min-height: 125px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #65707b;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color:
        var(--brand-primary);

    box-shadow:
        0 0 0 3px
        rgba(13,116,255,.08);
}

.contact-field select {
    cursor: pointer;
}

.contact-error {
    display: block;

    margin-top: 7px;

    color: #ff8b8b;

    font-size: 10px;
}

.contact-form-errors {
    margin-bottom: 20px;

    padding: 14px;

    border:
        1px solid
        rgba(255,100,100,.25);

    border-radius: 9px;

    background:
        rgba(255,100,100,.05);

    color: #ffaaaa;

    font-size: 11px;
}

.contact-submit {
    width: 100%;

    justify-content: center;

    margin-top: 6px;
}

.contact-privacy {
    margin-top: 15px;

    color: var(--text-muted);

    font-size: 9px;

    line-height: 1.6;

    text-align: center;
}


/* SUCCESS */

.contact-success {
    min-height: 650px;

    display: flex;

    flex-direction: column;

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

    padding: 55px;
}

.contact-success__icon {
    width: 62px;
    height: 62px;

    display: grid;

    place-items: center;

    margin-bottom: 35px;

    border:
        1px solid
        rgba(67,206,142,.35);

    border-radius: 50%;

    background:
        rgba(67,206,142,.08);

    color: #87e7b9;

    font-size: 24px;
}

.contact-success h2 {
    max-width: 500px;

    margin-top: 20px;

    font-size:
        clamp(
            42px,
            5vw,
            65px
        );

    line-height: .98;

    letter-spacing: -.04em;
}

.contact-success p {
    max-width: 500px;

    margin: 25px 0 32px;

    color: var(--text-secondary);

    font-size: 16px;

    line-height: 1.7;
}


/* BOTTOM */

.contact-bottom {
    padding: 150px 0;

    border-top:
        1px solid var(--border);
}

.contact-bottom h2 {
    max-width: 1100px;

    margin-top: 28px;

    font-size:
        clamp(
            58px,
            8vw,
            108px
        );

    line-height: .93;

    letter-spacing: -.055em;
}

.contact-bottom h2 span {
    color: var(--brand-primary);
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .contact-hero {
        padding-top: 130px;
    }

    .contact-field-row {
        grid-template-columns: 1fr;
    }

    .contact-success {
        min-height: 500px;

        padding: 30px;
    }

}
