/* Contact Page */
.contact-page {
    color: #071528;
    background: #ffffff;
}

/* Contact Hero */
.contact-hero {
    position: relative;
    padding: 170px 0 110px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 8% 20%,
            rgba(0, 104, 201, 0.3),
            transparent 32%
        ),
        #06182d;
}

.contact-hero::after {
    position: absolute;
    top: 0;
    right: -180px;
    width: 620px;
    height: 620px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(540px, 1.15fr);
    gap: clamp(60px, 7vw, 110px);
    align-items: start;
}

.contact-hero__intro {
    padding-top: 30px;
}

.contact-hero__intro h1 {
    max-width: 650px;
    margin: 20px 0 28px;
    color: #ffffff;
    font-size: clamp(54px, 5.5vw, 82px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.contact-hero__lead {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
    line-height: 1.75;
}

.contact-hero__details {
    display: grid;
    gap: 0;
    margin-top: 52px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-hero__details a {
    display: flex;
    padding: 18px 0;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-hero__details small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-hero__details strong {
    font-size: 15px;
    font-weight: 600;
}

/* Contact Form */
.contact-form-card {
    padding: clamp(32px, 4vw, 52px);
    color: #071528;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.contact-form-card__heading {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #dce3eb;
}

.contact-form-card__heading h2 {
    max-width: 520px;
    margin: 12px 0 0;
    color: #071528;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.contact-form__grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
}

.contact-form label {
    display: block;
}

.contact-form label > span {
    display: block;
    margin-bottom: 8px;
    color: #48576b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.contact-form__full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    color: #071528;
    font: inherit;
    background: #f7f9fb;
    border: 1px solid #ccd6e1;
    border-radius: 0;
    box-sizing: border-box;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.contact-form input,
.contact-form select {
    height: 52px;
    padding: 0 15px;
}

.contact-form textarea {
    min-height: 140px;
    padding: 14px 15px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: #ffffff;
    border-color: #0068c9;
    box-shadow: 0 0 0 3px rgba(0, 104, 201, 0.12);
}

.contact-form__submit {
    width: 100%;
    margin-top: 26px;
    color: #ffffff;
    background: #0068c9;
    border: 0;
    cursor: pointer;
}

.contact-form__submit:hover {
    background: #0058aa;
}

/* Locations */
.contact-locations {
    padding: 110px 0 120px;
    background: #f3f6f9;
}

.contact-section-heading {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
    margin-bottom: 52px;
    align-items: end;
}

.contact-section-heading h2 {
    max-width: 760px;
    margin: 0;
    color: #071528;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
}

.contact-location-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-location-card {
    position: relative;
    min-height: 380px;
    padding: 42px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce3eb;
}

.contact-location-card > span {
    position: absolute;
    top: 24px;
    right: 30px;
    color: #e4ebf2;
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
}

.contact-location-card .eyebrow {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
}

.contact-location-card h3 {
    position: relative;
    z-index: 1;
    max-width: 450px;
    margin: 0 0 28px;
    color: #071528;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.contact-location-card address {
    margin-bottom: 28px;
    color: #526176;
    font-size: 16px;
    font-style: normal;
    line-height: 1.8;
}

.contact-location-card a {
    display: inline-flex;
    color: #0068c9;
    font-size: 16px;
    font-weight: 700;
}

.contact-location-card__phones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

/* Responsive */
@media (max-width: 1100px) {
    .contact-hero__grid {
        grid-template-columns: 1fr;
    }

    .contact-hero__intro {
        max-width: 760px;
        padding-top: 0;
    }

    .contact-form-card {
        max-width: 760px;
    }
}

@media (max-width: 760px) {
    .contact-hero {
        padding: 130px 0 72px;
    }

    .contact-hero__intro h1 {
        font-size: clamp(46px, 14vw, 64px);
    }

    .contact-hero__details a {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .contact-form-card {
        padding: 28px 22px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .contact-form__full {
        grid-column: auto;
    }

    .contact-locations {
        padding: 72px 0 80px;
    }

    .contact-section-heading {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 34px;
    }

    .contact-location-grid {
        grid-template-columns: 1fr;
    }

    .contact-location-card {
        min-height: 0;
        padding: 32px 26px;
    }

    .contact-location-card > span {
        top: 20px;
        right: 22px;
        font-size: 56px;
    }
}