/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
    background: #ffffff;
}


/* =========================================================
   01. HERO
   ========================================================= */

.contact-hero {
    position: relative;

    height: 720px;

    overflow: hidden;

    background: #ffffff;
}


/* BACKGROUND
   ========================================================= */

.contact-hero-background {
    position: absolute;
    z-index: 0;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;
}

.contact-hero-background img {
    display: block;

    width: 100%;
    height: auto;
}


/* CONTAINER
   ========================================================= */

.contact-hero-container {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    height: 720px;
}


/* CONTENT
   ========================================================= */

.contact-hero-content {
    width: 100%;
    max-width: 500px;
}

.contact-hero-eyebrow {
    display: block;

    margin-bottom: 20px;

    color: var(--jf-blue);

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.contact-hero-title {
    margin: 0 0 28px;

    color: var(--jf-navy);

    font-size: 43px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.contact-hero-title strong {
    color: var(--jf-blue);

    font-weight: 700;
}

.contact-hero-description {
    max-width: 430px;

    margin: 0 0 30px;

    color: #39495f;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}


/* BUTTON
   ========================================================= */

.contact-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 50px;

    padding: 0 26px;

    border: 1px solid var(--jf-blue);
    border-radius: 5px;

    background: var(--jf-blue);
    color: #ffffff;

    box-shadow:
        0 10px 24px rgba(0, 84, 214, 0.14);

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    transition:
        background-color var(--jf-transition),
        border-color var(--jf-transition),
        transform var(--jf-transition),
        box-shadow var(--jf-transition);
}

.contact-hero-button:hover {
    border-color: var(--jf-blue-hover);

    background: var(--jf-blue-hover);

    box-shadow:
        0 13px 28px rgba(0, 84, 214, 0.2);

    transform: translateY(-2px);
}

.contact-hero-button svg {
    flex: 0 0 18px;
}


/* =========================================================
   HERO FEATURES
   ========================================================= */

.contact-hero-features {
    position: absolute;

    top: 50%;
    right: 0;

    display: flex;
    flex-direction: column;

    gap: 34px;

    width: 330px;

    transform: translateY(-50%);
}

.contact-hero-feature {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: start;

    column-gap: 18px;
}

.contact-hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border: 6px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;

    background: var(--jf-blue);
    color: #ffffff;

    box-shadow:
        0 4px 18px rgba(4, 37, 87, 0.15);
}

.contact-hero-feature-icon svg {
    width: 28px;
    height: 28px;
}

.contact-hero-feature-content {
    padding-top: 3px;
}

.contact-hero-feature-content h3 {
    margin: 0 0 8px;

    color: var(--jf-navy);

    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.contact-hero-feature-content p {
    margin: 0;

    color: #40506a;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) and (min-width: 768px) {

    .contact-hero {
        height: 640px;
    }

    .contact-hero-container {
        height: 640px;
    }

    .contact-hero-content {
        max-width: 410px;
    }

    .contact-hero-title {
        font-size: 36px;
    }

    .contact-hero-description {
        max-width: 370px;

        font-size: 13px;
    }

    .contact-hero-features {
        right: 10px;

        width: 280px;

        gap: 28px;
    }

    .contact-hero-feature {
        grid-template-columns: 46px 1fr;

        column-gap: 13px;
    }

    .contact-hero-feature-icon {
        width: 46px;
        height: 46px;

        border-width: 5px;
    }

    .contact-hero-feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .contact-hero-feature-content h3 {
        font-size: 12px;
    }

    .contact-hero-feature-content p {
        font-size: 10px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .contact-hero {
        height: 920px;
    }

    .contact-hero-background {
        height: 100%;
    }

    .contact-hero-background img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center top;
    }

    .contact-hero-container {
        display: block;

        height: 920px;

        padding-top: 40px;
        padding-bottom: 440px;
    }

    .contact-hero-content {
        width: 100%;
        max-width: 100%;
    }

    .contact-hero-eyebrow {
        margin-bottom: 14px;

        font-size: 10px;
    }

    .contact-hero-title {
        max-width: 350px;

        margin-bottom: 20px;

        font-size: 34px;
    }

    .contact-hero-description {
        max-width: 330px;

        margin-bottom: 24px;

        font-size: 13px;
        line-height: 1.65;
    }

    .contact-hero-button {
        display: none;
    }

    .contact-hero-features {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .contact-hero {
        height: 880px;
    }

    .contact-hero-container {
        height: 880px;

        padding-top: 34px;
        padding-bottom: 410px;
    }

    .contact-hero-title {
        max-width: 320px;

        font-size: 31px;
    }

    .contact-hero-description {
        max-width: 305px;

        font-size: 12px;
    }
}

/* =========================================================
   02. CONTACT DETAILS
   ========================================================= */

.contact-details {
    position: relative;

    padding: 72px 0 82px;

    background: #ffffff;
}

.contact-details-container {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.45fr);

    gap: 64px;
}


/* =========================================================
   LEFT COLUMN
   ========================================================= */

.contact-details-info {
    min-width: 0;
}

.contact-details-eyebrow {
    display: block;

    margin-bottom: 10px;

    color: var(--jf-blue);

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.contact-details-title {
    margin: 0 0 24px;

    color: var(--jf-navy);

    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.contact-details-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* CARD
   ========================================================= */

.contact-details-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;

    min-height: 92px;

    padding: 15px 20px;

    border: 1px solid #e6eaf0;
    border-radius: 6px;

    background: #ffffff;
    color: inherit;

    box-shadow:
        0 7px 24px rgba(8, 33, 70, 0.035);

    transition:
        border-color var(--jf-transition),
        box-shadow var(--jf-transition),
        transform var(--jf-transition);
}

a.contact-details-card:hover {
    border-color: rgba(0, 84, 214, 0.25);

    box-shadow:
        0 10px 28px rgba(8, 33, 70, 0.07);

    transform: translateY(-2px);
}

.contact-details-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border-radius: 50%;

    background: #f2f5fb;
    color: var(--jf-blue);
}

.contact-details-icon svg {
    width: 27px;
    height: 27px;
}

.contact-details-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
}

.contact-details-label {
    margin-bottom: 4px;

    color: #455268;

    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
}

.contact-details-card-content strong {
    margin-bottom: 4px;

    color: var(--jf-blue);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.contact-details-card-content small {
    color: var(--jf-navy);

    font-size: 10px;
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================================
   FORM COLUMN
   ========================================================= */

.contact-form-column {
    min-width: 0;

    padding-left: 48px;

    border-left: 1px solid #dce3ed;
}

.contact-form {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.contact-form-field {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.contact-form-field label {
    color: var(--jf-navy);

    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
    display: block;

    width: 100%;

    border: 1px solid #d9e0e9;
    border-radius: 5px;

    outline: none;

    background: #ffffff;
    color: var(--jf-navy);

    font: inherit;

    font-size: 12px;

    transition:
        border-color var(--jf-transition),
        box-shadow var(--jf-transition);
}

.contact-form-field input,
.contact-form-field select {
    height: 46px;

    padding: 0 15px;
}

.contact-form-field textarea {
    min-height: 112px;

    padding: 14px 15px;

    resize: vertical;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    color: #929cad;

    opacity: 1;
}

.contact-form-field select {
    appearance: auto;

    color: #7f8999;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
    border-color: var(--jf-blue);

    box-shadow:
        0 0 0 3px rgba(0, 84, 214, 0.07);
}


/* =========================================================
   CONSENT
   ========================================================= */

.contact-form-consent {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    width: fit-content;

    cursor: pointer;
}

.contact-form-consent input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.contact-form-checkbox {
    position: relative;

    flex: 0 0 16px;

    width: 16px;
    height: 16px;

    margin-top: 1px;

    border: 1px solid #8ca7d5;
    border-radius: 3px;

    background: #ffffff;

    transition:
        background-color var(--jf-transition),
        border-color var(--jf-transition);
}

.contact-form-consent input:checked + .contact-form-checkbox {
    border-color: var(--jf-blue);

    background: var(--jf-blue);
}

.contact-form-consent input:checked + .contact-form-checkbox::after {
    content: "";

    position: absolute;

    top: 2px;
    left: 5px;

    width: 4px;
    height: 8px;

    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;

    transform: rotate(45deg);
}

.contact-form-consent-text {
    color: #39495f;

    font-size: 9px;
    font-weight: 400;
    line-height: 1.65;
}

.contact-form-consent-text a {
    color: var(--jf-blue);

    font-weight: 700;
}

.contact-form-consent-text a:hover {
    text-decoration: underline;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.contact-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    width: fit-content;
    min-width: 178px;
    min-height: 48px;

    padding: 0 22px;

    border: 1px solid var(--jf-blue);
    border-radius: 5px;

    background: var(--jf-blue);
    color: #ffffff;

    box-shadow:
        0 10px 24px rgba(0, 84, 214, 0.13);

    cursor: pointer;

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    transition:
        background-color var(--jf-transition),
        border-color var(--jf-transition),
        transform var(--jf-transition),
        box-shadow var(--jf-transition);
}

.contact-form-submit:hover {
    border-color: var(--jf-blue-hover);

    background: var(--jf-blue-hover);

    box-shadow:
        0 13px 28px rgba(0, 84, 214, 0.18);

    transform: translateY(-2px);
}

.contact-form-submit svg {
    flex: 0 0 17px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .contact-details {
        padding: 62px 0 72px;
    }

    .contact-details-container {
        grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);

        gap: 38px;
    }

    .contact-form-column {
        padding-left: 36px;
    }

    .contact-details-card {
        grid-template-columns: 54px minmax(0, 1fr);

        padding: 14px;
    }

    .contact-details-icon {
        width: 46px;
        height: 46px;
    }

    .contact-details-card-content strong {
        font-size: 13px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .contact-details {
        padding: 54px 0 62px;
    }

    .contact-details-container {
        display: flex;
        flex-direction: column;

        gap: 54px;
    }

    .contact-details-title {
        margin-bottom: 22px;

        font-size: 25px;
    }

    .contact-details-card {
        grid-template-columns: 58px minmax(0, 1fr);

        min-height: 86px;

        padding: 14px 16px;
    }

    .contact-details-icon {
        width: 48px;
        height: 48px;
    }

    .contact-details-card-content strong {
        font-size: 14px;
    }

    .contact-form-column {
        padding-left: 0;

        border-left: 0;
    }

    .contact-form-row {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .contact-form-field input,
    .contact-form-field select {
        height: 48px;
    }

    .contact-form-field textarea {
        min-height: 130px;
    }

    .contact-form-submit {
        width: 100%;

        min-height: 50px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .contact-details {
        padding: 48px 0 56px;
    }

    .contact-details-container {
        gap: 48px;
    }

    .contact-details-title {
        font-size: 23px;
    }

    .contact-details-card {
        grid-template-columns: 52px minmax(0, 1fr);

        padding: 13px;
    }

    .contact-details-icon {
        width: 44px;
        height: 44px;
    }

    .contact-details-icon svg {
        width: 24px;
        height: 24px;
    }

    .contact-details-card-content strong {
        font-size: 13px;
    }

    .contact-details-card-content small {
        font-size: 9px;
    }

    .contact-form {
        gap: 16px;
    }
}

/* =========================================================
   03. LOCATION
   ========================================================= */

.contact-location {
    position: relative;

    padding: 0 0 72px;

    background: #ffffff;
}

.contact-location-container {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);

    min-height: 330px;

    padding-right: 0;
    padding-left: 0;

    overflow: hidden;

    border: 1px solid #edf0f5;
    border-radius: 10px;

    background: #ffffff;

    box-shadow:
        0 10px 35px rgba(7, 30, 67, 0.035);
}


/* MAP
   ========================================================= */

.contact-location-map {
    position: relative;

    min-height: 330px;

    overflow: hidden;

    background: #eef2f5;
}

.contact-location-map iframe {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* CONTENT
   ========================================================= */

.contact-location-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 42px 46px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(0, 84, 214, 0.045),
            transparent 45%
        ),
        #ffffff;
}

.contact-location-heading {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;

    gap: 18px;
}


/* ICON
   ========================================================= */

.contact-location-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border-radius: 50%;

    background: #f2f5fb;
    color: var(--jf-blue);
}

.contact-location-icon svg {
    width: 28px;
    height: 28px;
}


/* TITLE
   ========================================================= */

.contact-location-heading h2 {
    margin: 4px 0 12px;

    color: var(--jf-navy);

    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.contact-location-heading p {
    max-width: 370px;

    margin: 0;

    color: #39495f;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}


/* BENEFITS
   ========================================================= */

.contact-location-benefits {
    display: flex;
    flex-direction: column;

    gap: 12px;

    margin: 26px 0 26px;
    padding: 0;

    list-style: none;
}

.contact-location-benefits li {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 0;
    padding: 0;

    color: var(--jf-navy);

    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;

    list-style: none;
}

.contact-location-check {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 16px;

    width: 16px;
    height: 16px;

    color: var(--jf-blue);
}


/* BUTTON
   ========================================================= */

.contact-location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    width: fit-content;
    min-height: 46px;

    padding: 0 22px;

    border: 1px solid var(--jf-blue);
    border-radius: 5px;

    background: #ffffff;
    color: var(--jf-blue);

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    transition:
        background-color var(--jf-transition),
        color var(--jf-transition),
        transform var(--jf-transition),
        box-shadow var(--jf-transition);
}

.contact-location-button:hover {
    background: var(--jf-blue);
    color: #ffffff;

    box-shadow:
        0 10px 24px rgba(0, 84, 214, 0.14);

    transform: translateY(-2px);
}

.contact-location-button svg {
    flex: 0 0 17px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .contact-location-container {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .contact-location-content {
        padding: 36px 30px;
    }

    .contact-location-heading {
        grid-template-columns: 48px minmax(0, 1fr);

        gap: 14px;
    }

    .contact-location-icon {
        width: 46px;
        height: 46px;
    }

    .contact-location-heading h2 {
        font-size: 22px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .contact-location {
        padding-bottom: 58px;
    }

    .contact-location-container {
        display: flex;
        flex-direction: column;

        min-height: 0;

        border-radius: 8px;
    }

    .contact-location-map {
        min-height: 310px;
    }

    .contact-location-content {
        padding: 34px 26px 36px;
    }

    .contact-location-heading {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .contact-location-heading h2 {
        margin-top: 2px;

        font-size: 22px;
    }

    .contact-location-heading p {
        font-size: 12px;
    }

    .contact-location-benefits {
        margin: 24px 0;
    }

    .contact-location-button {
        min-height: 48px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .contact-location-map {
        min-height: 270px;
    }

    .contact-location-content {
        padding: 28px 20px 30px;
    }

    .contact-location-heading {
        grid-template-columns: 42px minmax(0, 1fr);

        gap: 13px;
    }

    .contact-location-icon {
        width: 42px;
        height: 42px;
    }

    .contact-location-icon svg {
        width: 24px;
        height: 24px;
    }

    .contact-location-heading h2 {
        font-size: 20px;
    }

    .contact-location-benefits li {
        align-items: flex-start;

        font-size: 10px;
    }

    .contact-location-check {
        margin-top: 1px;
    }

    .contact-location-button {
        width: 100%;
    }
}