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

.tl-contact-page {
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: #10264c;
}

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

.tl-contact-page svg {
    display: block;
}


/* =========================================================
   COMMON
========================================================= */

.tl-contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: #f4511e;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tl-contact-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 5px;
    background: #f4511e;
}


/* =========================================================
   HERO
========================================================= */

.tl-contact-hero {
    padding: 28px 0 0;
}

.tl-contact-hero-card {
    position: relative;

    min-height: 470px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-radius: 18px;

    background: #06295b;
}

.tl-contact-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.tl-contact-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 26, 60, .96) 0%,
            rgba(3, 38, 78, .83) 38%,
            rgba(3, 38, 78, .30) 70%,
            rgba(3, 38, 78, .08) 100%
        );
}

.tl-contact-hero-content {
    position: relative;
    z-index: 2;
    padding: 65px;

    color: #fff;
}

.tl-contact-hero-content .tl-contact-kicker {
    color: #ff8358;
}

.tl-contact-hero-content
.tl-contact-kicker::before {
    background: #ff6e3b;
}

.tl-contact-hero-content h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(22px, 3vw, 44px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -2px;
}

.tl-contact-hero-content p {
    max-width: 775px;
    margin: 0 0 26px;
    color: rgba(255,255,255,.86);
    font-size: 16px;
    line-height: 1.75;
}

.tl-contact-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;

    flex-wrap: wrap;
}

.tl-contact-primary-btn,
.tl-contact-secondary-btn {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.tl-contact-primary-btn {
    background: #f4511e;
    color: #fff !important;
}

.tl-contact-primary-btn svg {
    width: 18px;
    height: 18px;
}

.tl-contact-secondary-btn {
    border: 1px solid rgba(255,255,255,.65);
    background: rgba(255,255,255,.07);
    color: #fff !important;
}


/* =========================================================
   CONTACT INFO
========================================================= */

.tl-contact-info-section {
    padding: 60px 0;
}

.tl-contact-info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));
    gap: 18px;
}

.tl-contact-info-card {
    min-height: 220px;
    padding: 27px;
    border: 1px solid #e1e7ee;
    border-radius: 12px;
    background: #fff;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.tl-contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 15px 35px rgba(12, 50, 96, .08);
}

.tl-contact-info-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf5ff;
    color: #1765b6;
}

.tl-contact-info-card:nth-child(2)
.tl-contact-info-icon {
    background: #fff1eb;
    color: #f4511e;
}

.tl-contact-info-card:nth-child(3)
.tl-contact-info-icon {
    background: #edf9f2;
    color: #169954;
}

.tl-contact-info-card:nth-child(4)
.tl-contact-info-icon {
    background: #f2efff;
    color: #6d57c7;
}

.tl-contact-info-icon svg {
    width: 23px;
    height: 23px;
}

.tl-contact-info-card h2 {
    margin: 0 0 8px;
    color: #102c58;
    font-size: 18px;
}

.tl-contact-info-card p {
    margin: 0 0 14px;
    color: #768397;
    font-size: 16px;
    line-height: 1.65;
}

.tl-contact-info-card a,
.tl-contact-info-card strong {
    color: #125da8;
    font-size: 16px;
    font-weight: 700;
}


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

.tl-contact-main-section {
    padding: 75px 0;
    background: #f6f9fd;
}

.tl-contact-main-grid {
    display: grid;
    grid-template-columns:
        minmax(0,1.55fr)
        minmax(300px,.8fr);
    align-items: start;
    gap: 28px;
}


/* FORM CARD */

.tl-contact-form-card {
    padding: 38px;
    border: 1px solid #e0e7ee;
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 10px 35px rgba(12,48,90,.05);
}

.tl-contact-form-card h2 {
    margin: 0;
    color: #0d2b59;
    font-size: 34px;
    line-height: 1.2;
}

.tl-contact-form-intro {
    margin: 10px 0 27px;
    color: #748196;
    font-size: 16px;
}

.tl-contact-form {
    display: grid;
    gap: 17px;
}

.tl-contact-form-row {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));
    gap: 16px;
}

.tl-contact-field {
    display: grid;
    gap: 7px;
}

.tl-contact-field label {
    color: #203b62;
    font-size: 16px;
    font-weight: 700;
}

.tl-contact-field input,
.tl-contact-field select,
.tl-contact-field textarea {
    width: 100%;
    border: 1px solid #d8e0e9;
    border-radius: 6px;
    background: #fff;
    color: #233a5d;
    outline: none;
    font-family: inherit;
    font-size: 16px;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.tl-contact-field input,
.tl-contact-field select {
    height: 47px;
    padding: 0 13px;
}

.tl-contact-field textarea {
    min-height: 145px;
    padding: 13px;
    resize: vertical;
}

.tl-contact-field input:focus,
.tl-contact-field select:focus,
.tl-contact-field textarea:focus {
    border-color: #2870bf;
    box-shadow:
        0 0 0 3px rgba(40,112,191,.10);
}


/* CONSENT */

.tl-contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #68778b;
    font-size: 16px;
    line-height: 1.55;
}

.tl-contact-consent input {
    margin-top: 3px;
    flex: 0 0 auto;
}

.tl-contact-consent a {
    color: #1764b3;
}


/* SUBMIT */

.tl-contact-submit {
    width: fit-content;
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 6px;
    background: #f4511e;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background .2s ease,
        transform .2s ease;
}

.tl-contact-submit:hover {
    background: #df4114;
    transform: translateY(-1px);
}

.tl-contact-submit svg {
    width: 16px;
    height: 16px;
}

.tl-contact-form-status {
    min-height: 20px;
    color: #159553;
    font-size: 16px;
    font-weight: 600;
}


/* =========================================================
   SUPPORT SIDEBAR
========================================================= */

.tl-contact-support-card {
    position: sticky;
    top: 95px;
    padding: 32px;
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            #0b3f82,
            #061f51
        );
    color: #fff;
}

body.admin-bar
.tl-contact-support-card {
    top: 127px;
}

.tl-contact-support-kicker {
    color: #ff8358;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tl-contact-support-card h2 {
    margin: 10px 0 12px;
    color: #fff;
    font-size: 27px;
    line-height: 1.2;
}

.tl-contact-support-card > p {
    margin: 0 0 22px;
    color: rgba(255,255,255,.76);
    font-size: 16px;
    line-height: 1.65;
}


/* CALL BOX */

.tl-contact-call-box {
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: #fff !important;
}

.tl-contact-call-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f4511e;
}

.tl-contact-call-icon svg {
    width: 18px;
    height: 18px;
}

.tl-contact-call-box small {
    display: block;
    color: rgba(255,255,255,.65);
    font-size: 16px;
}

.tl-contact-call-box strong {
    display: block;
    margin-top: 3px;
    color: #fff;
    font-size: 16px;
}


/* SUPPORT LIST */

.tl-contact-support-list {
    margin-top: 25px;
    display: grid;
    gap: 13px;
}

.tl-contact-support-list > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tl-contact-support-list span {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    color: #7fdaa3;
}

.tl-contact-support-list svg {
    width: 13px;
    height: 13px;
}

.tl-contact-support-list p {
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 16px;
}


/* NOTE */

.tl-contact-support-note {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.14);
}

.tl-contact-support-note strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 16px;
}

.tl-contact-support-note p {
    margin: 0;
    color: rgba(255,255,255,.64);
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   QUICK HELP
========================================================= */

.tl-contact-help-section {
    padding: 75px 0;
}

.tl-contact-center-heading {
    max-width: 650px;
    margin: 0 auto 37px;
    text-align: center;
}

.tl-contact-center-heading
.tl-contact-kicker {
    justify-content: center;
}

.tl-contact-center-heading h2 {
    margin: 0 0 10px;
    color: #0d2b59;
    font-size: 34px;
}

.tl-contact-center-heading p {
    max-width: 540px;
    margin: 0 auto;
    color: #758297;
    font-size: 16px;
    line-height: 1.7;
}

.tl-contact-help-grid {
    display: grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap: 17px;
}

.tl-contact-help-grid > a {
    min-height: 190px;
    padding: 26px;
    border: 1px solid #e1e7ed;
    border-radius: 11px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.tl-contact-help-grid > a:hover {
    transform: translateY(-4px);
    box-shadow:
        0 15px 35px rgba(10,49,94,.08);
}

.tl-contact-help-grid > a > span {
    width: 45px;
    height: 45px;
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf5ff;
    color: #1765b6;
}

.tl-contact-help-grid > a:nth-child(2) > span {
    background: #fff1eb;
    color: #f4511e;
}

.tl-contact-help-grid > a:nth-child(3) > span {
    background: #edf9f2;
    color: #159553;
}

.tl-contact-help-grid > a:nth-child(4) > span {
    background: #f1efff;
    color: #715bc8;
}

.tl-contact-help-grid svg {
    width: 22px;
    height: 22px;
}

.tl-contact-help-grid h3 {
    margin: 0 0 8px;
    color:#102d59;
    font-size: 17px;
}

.tl-contact-help-grid p {
    margin: 0;
    color: #748196;
    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   CTA
========================================================= */

.tl-contact-cta-section {
    padding: 0 0 70px;
}

.tl-contact-cta {
    min-height: 170px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-radius: 14px;
    background:
        linear-gradient(
            110deg,
            #073a7b,
            #0a5b9d
        );

    color: #fff;
}

.tl-contact-cta span {
    color: #ff875f;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tl-contact-cta h2 {
    margin: 7px 0;
    color: #fff;
    font-size: 29px;
}

.tl-contact-cta p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
}

.tl-contact-cta > a {
    min-width: 150px;
    min-height: 44px;
    padding: 0 18px;
    flex: 0 0 auto;

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

    gap: 7px;

    border-radius: 6px;

    background: #f4511e;
    color: #fff;

    font-size: 16px;
    font-weight: 700;
}

.tl-contact-cta > a svg {
    width: 15px;
    height: 15px;
}


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

@media (max-width: 1000px) {

    .tl-contact-info-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

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

    .tl-contact-support-card {
        position: static;
    }

    .tl-contact-help-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


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

@media (max-width: 650px) {

    .tl-contact-hero {
        padding-top: 12px;
    }

    .tl-contact-hero-card {
        min-height: 500px;

        align-items: flex-end;

        border-radius: 12px;
    }

    .tl-contact-hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(3,26,60,.97) 0%,
                rgba(3,26,60,.83) 52%,
                rgba(3,26,60,.25) 100%
            );
    }

    .tl-contact-hero-content {
        padding: 32px 23px;
    }

    .tl-contact-hero-content h1 {
        font-size: 37px;
    }

    .tl-contact-hero-content p {
        font-size: 16px;
    }

    .tl-contact-primary-btn,
    .tl-contact-secondary-btn {
        width: 100%;
    }


    /* INFO */

    .tl-contact-info-section {
        padding: 45px 0;
    }

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


    /* FORM */

    .tl-contact-main-section {
        padding: 50px 0;
    }

    .tl-contact-form-card,
    .tl-contact-support-card {
        padding: 25px 20px;
    }

    .tl-contact-form-card h2 {
        font-size: 29px;
    }

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

    .tl-contact-submit {
        width: 100%;
    }


    /* HELP */

    .tl-contact-help-section {
        padding: 50px 0;
    }

    .tl-contact-center-heading h2 {
        font-size: 29px;
    }

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


    /* CTA */

    .tl-contact-cta-section {
        padding-bottom: 50px;
    }

    .tl-contact-cta {
        padding: 28px 22px;

        flex-direction: column;
        align-items: flex-start;
    }

    .tl-contact-cta h2 {
        font-size: 25px;
    }

    .tl-contact-cta > a {
        width: 100%;
    }

}

/* =========================================================
   CONTACT FORM SUBMIT BUTTON FIX
========================================================= */

.tl-contact-page .tl-contact-form .tl-contact-submit {
    width: auto !important;
    min-width: 165px !important;
    min-height: 46px !important;

    margin: 5px 0 0 !important;
    padding: 0 22px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;

    align-self: flex-start !important;

    border: 0 !important;
    border-radius: 6px !important;

    background: #f4511e !important;
    background-image: none !important;

    color: #ffffff !important;

    box-shadow:
        0 7px 18px rgba(244, 81, 30, 0.22) !important;

    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 600 !important;

    text-align: center !important;
    text-transform: none !important;

    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    transition:
        background-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease !important;
}

.tl-contact-page .tl-contact-form .tl-contact-submit:hover,
.tl-contact-page .tl-contact-form .tl-contact-submit:focus {
    background: #dc4013 !important;
    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow:
        0 10px 22px rgba(244, 81, 30, 0.28) !important;
}

.tl-contact-page .tl-contact-form .tl-contact-submit svg {
    width: 16px !important;
    height: 16px !important;

    flex: 0 0 16px !important;

    display: block !important;

    margin: 0 !important;

    color: #ffffff !important;
}

.tl-contact-page .tl-contact-form .tl-contact-submit svg path {
    stroke: currentColor !important;
}


/* MOBILE */

@media (max-width: 650px) {

    .tl-contact-page .tl-contact-form .tl-contact-submit {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;

        align-self: stretch !important;
    }

}