/* =========================================================
   MAGISTVAPK.NET
   CONTACT PAGE
========================================================= */

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


/* =========================================================
   PAGE
========================================================= */

.contact-page {
    width: 100%;

    padding:
        48px 20px
        70px;

    background: #ffffff;

    color: #17191f;

    font-family:
        "Manrope",
        Arial,
        sans-serif;
}


.contact-container {
    width: min(1000px, 100%);

    margin: 0 auto;
}


/* =========================================================
   PAGE HEADING
========================================================= */

.contact-heading {
    width: min(700px, 100%);

    margin:
        0 auto
        30px;

    text-align: center;
}


.contact-heading h1 {
    margin:
        0 0
        9px;

    color: #17191f;

    font-family:
        "Sora",
        "Manrope",
        sans-serif;

    font-size: clamp(
        38px,
        5vw,
        54px
    );

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -1.7px;
}


.contact-heading p {
    width: min(600px, 100%);

    margin: 0 auto;

    color: #626a77;

    font-size: 16px;

    line-height: 1.6;

    font-weight: 600;
}


/* =========================================================
   CONTACT CARD
========================================================= */

.contact-card {
    width: 100%;

    padding:
        30px 38px
        34px;

    border:
        1px solid
        #e0e4e9;

    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 14px 42px
        rgba(20, 27, 36, .06);
}


/* =========================================================
   CARD INTRO
========================================================= */

.contact-card__intro {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 27px;
}


.contact-card__icon {
    width: 62px;

    height: 62px;

    flex: 0 0 62px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #fff0e9;

    color: #f4511e;
}


.contact-card__icon i {
    font-size: 25px;
}


.contact-card__intro h2 {
    margin:
        0 0
        4px;

    color: #17191f;

    font-family:
        "Sora",
        sans-serif;

    font-size: 24px;

    line-height: 1.3;

    font-weight: 800;
}


.contact-card__intro p {
    margin: 0;

    color: #646c78;

    font-size: 14px;

    line-height: 1.6;

    font-weight: 500;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
    width: 100%;
}


.contact-form__row {
    display: grid;

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

    gap: 22px;
}


/* =========================================================
   FIELD
========================================================= */

.contact-field {
    width: 100%;

    margin-bottom: 19px;
}


.contact-field label {
    display: block;

    margin-bottom: 7px;

    color: #17191f;

    font-size: 14px;

    line-height: 1.4;

    font-weight: 800;
}


.contact-field label span {
    color: #f4511e;
}


/* =========================================================
   INPUT WRAPPER
========================================================= */

.contact-input {
    position: relative;

    width: 100%;
}


.contact-input > i {
    position: absolute;

    left: 17px;

    top: 50%;

    transform:
        translateY(-50%);

    z-index: 2;

    color: #737c89;

    font-size: 15px;

    pointer-events: none;
}


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

    border:
        1px solid
        #d7dce3;

    border-radius: 9px;

    background: #ffffff;

    color: #252b33;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 14px;

    font-weight: 500;

    outline: none;

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


.contact-input input,
.contact-input select {
    height: 54px;

    padding:
        0 18px
        0 49px;
}


.contact-input textarea {
    min-height: 150px;

    padding:
        16px 18px
        16px 49px;

    line-height: 1.65;

    resize: vertical;
}


.contact-input--textarea > i {
    top: 20px;

    transform: none;
}


.contact-input input::placeholder,
.contact-input textarea::placeholder {
    color: #939ba6;
}


/* Focus */

.contact-input input:focus,
.contact-input select:focus,
.contact-input textarea:focus {
    border-color: #f4511e;

    box-shadow:
        0 0 0 3px
        rgba(244,81,30,.10);
}


/* =========================================================
   SELECT
========================================================= */

.contact-input select {
    cursor: pointer;
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {
    width: 100%;

    min-height: 59px;

    margin-top: 2px;

    padding:
        12px 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    border: 0;

    border-radius: 8px;

    background: #f4511e;

    color: #ffffff;

    cursor: pointer;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 15px;

    line-height: 1;

    font-weight: 800;

    box-shadow:
        0 8px 22px
        rgba(244,81,30,.20);

    transition:
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}


.contact-submit i,
.contact-submit span {
    color: #ffffff;
}


@media (hover:hover) {

    .contact-submit:hover {
        background: #e94312;

        transform:
            translateY(-2px);

        box-shadow:
            0 11px 27px
            rgba(244,81,30,.28);
    }

}


/* =========================================================
   ALERTS
========================================================= */

.contact-alert {
    width: 100%;

    margin-bottom: 23px;

    padding:
        15px 17px;

    display: flex;

    align-items: flex-start;

    gap: 12px;

    border-radius: 9px;

    font-size: 13px;

    line-height: 1.55;
}


.contact-alert > i {
    margin-top: 3px;

    font-size: 17px;
}


.contact-alert strong {
    display: block;

    margin-bottom: 2px;
}


.contact-alert span {
    display: block;
}


.contact-alert ul {
    margin:
        5px 0
        0 18px;

    padding: 0;
}


/* Success */

.contact-alert--success {
    border:
        1px solid
        #bce5cb;

    background: #f0fbf4;

    color: #176b38;
}


/* Error */

.contact-alert--error {
    border:
        1px solid
        #f0c5c5;

    background: #fff5f5;

    color: #a52c2c;
}


/* =========================================================
   HONEYPOT
========================================================= */

.contact-honeypot {
    position: absolute !important;

    left: -9999px !important;

    width: 1px !important;

    height: 1px !important;

    overflow: hidden !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .contact-page {
        padding:
            42px 18px
            60px;
    }


    .contact-card {
        padding:
            28px 28px
            31px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .contact-page {
        padding:
            34px 13px
            48px;
    }


    .contact-heading {
        margin-bottom: 25px;
    }


    .contact-heading h1 {
        font-size: 34px;

        letter-spacing: -1px;
    }


    .contact-heading p {
        font-size: 13.5px;

        line-height: 1.6;
    }


    .contact-card {
        padding:
            22px 15px
            20px;

        border-radius: 13px;
    }


    .contact-card__intro {
        gap: 13px;

        margin-bottom: 23px;
    }


    .contact-card__icon {
        width: 48px;

        height: 48px;

        flex-basis: 48px;
    }


    .contact-card__icon i {
        font-size: 19px;
    }


    .contact-card__intro h2 {
        font-size: 18px;
    }


    .contact-card__intro p {
        font-size: 12.5px;

        line-height: 1.5;
    }


    /* One column */

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

        gap: 0;
    }


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


    .contact-field label {
        font-size: 13px;
    }


    .contact-input input,
    .contact-input select {
        height: 51px;

        font-size: 13px;
    }


    .contact-input textarea {
        min-height: 140px;

        font-size: 13px;
    }


    .contact-submit {
        min-height: 54px;

        font-size: 14px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .contact-page {
        padding:
            30px 10px
            43px;
    }


    .contact-heading h1 {
        font-size: 31px;
    }


    .contact-card {
        padding:
            19px 12px
            16px;
    }


    .contact-card__intro {
        align-items: flex-start;
    }


    .contact-card__icon {
        width: 43px;

        height: 43px;

        flex-basis: 43px;
    }


    .contact-card__intro h2 {
        font-size: 17px;
    }


    .contact-card__intro p {
        font-size: 12px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.contact-submit:focus-visible,
.contact-input input:focus-visible,
.contact-input select:focus-visible,
.contact-input textarea:focus-visible {
    outline:
        3px solid
        #111111;

    outline-offset: 3px;
}