/* Contact page layout and page-specific refinements. */

/* Keep enquiry feedback visible and distinguishable from the form fields. */
#contactFormNote {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
}

#contactFormNote.is-success {
    padding: 12px 15px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #f0fdf4;
    color: #15803d;
}

#contactFormNote.is-error {
    padding: 12px 15px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
}

#contact-form button[type="submit"]:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.contact-page-section {
    --contact-navy: #082d55;
    --contact-blue: #1766ad;
    display: block;
    padding: clamp(64px, 7vw, 100px) 0;
    background:
        linear-gradient(rgba(31, 96, 155, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 96, 155, .035) 1px, transparent 1px),
        #f3f7fb;
    background-size: 42px 42px;
}

@media (min-width: 951px) and (max-width: 1200px) {
    .contact-us-page .nav {
        gap: 7px;
    }

    .contact-us-page .nav-link {
        font-size: 11px;
    }
}

@media (max-width: 760px) {
    .contact-us-page .about-hero-content {
        max-width: 76%;
    }

    .contact-us-page .about-hero::after {
        width: 48%;
        opacity: .55;
    }

    .contact-us-page .about-hero-stamp {
        display: none;
    }
}

.contact-page-header {
    width: min(1260px, calc(100% - 64px));
    margin: 0 auto clamp(28px, 4vw, 46px);
    text-align: center;
}

.contact-page-header>span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1766ad;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
}

.contact-page-header>span::before {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.contact-page-header h2 {
    margin-top: 10px;
    color: #082d55;
    font-family: "Manrope", sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.12;
}

.contact-page-header p {
    max-width: 720px;
    margin: 12px auto 0;
    color: #536983;
    font-size: 15px;
    line-height: 1.75;
}

.contact-page-section .contact-container {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-items: stretch;
    gap: clamp(28px, 5vw, 68px);
    width: min(1260px, calc(100% - 64px));
}

.contact-page-section .contact-intro {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    max-width: none;
    overflow: hidden;
    padding: clamp(30px, 4vw, 54px);
    border-radius: 26px;
    background: linear-gradient(145deg, #082749 0%, #0b4774 58%, #09627d 100%);
    box-shadow: 0 24px 60px rgba(8, 45, 85, .18);
    color: #f5faff;
}

.contact-page-section .contact-intro::before,
.contact-page-section .contact-intro::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(178, 227, 241, .14);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.contact-page-section .contact-intro::before {
    top: -180px;
    right: -160px;
    width: 420px;
    height: 420px;
}

.contact-page-section .contact-intro::after {
    top: -120px;
    right: -100px;
    width: 300px;
    height: 300px;
}

.contact-section-index {
    margin: 4px 0 14px;
    color: #b7d7ec;
    font-size: 14px;
    font-weight: 500;
}

.contact-page-section .contact-intro h2 {
    max-width: 560px;
    color: #fff;
    font-size: clamp(34px, 3.5vw, 48px);
    line-height: 1.12;
}

.contact-page-section .contact-intro h2 span {
    color: #a9e3e5;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.contact-page-section .contact-page-lead {
    max-width: 480px;
    margin: 16px 0 0;
    color: #d1e0ee;
    font-size: 14px;
    line-height: 1.8;
}

.contact-page-section .contact-eyebrow {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    color: #a9e3e5;
}

.contact-page-section .contact-details {
    position: relative;
    z-index: 1;
    gap: 10px;
    margin-top: 25px;
}

.contact-page-section .contact-detail-card {
    min-height: 68px;
    border-color: rgba(231, 245, 255, .16);
    border-radius: 13px;
    background: rgba(255, 255, 255, .075);
    box-shadow: none;
    color: #f5faff;
    backdrop-filter: blur(8px);
}

.contact-page-section .contact-detail-card:hover {
    border-color: rgba(169, 227, 229, .55);
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 10px 28px rgba(0, 12, 30, .14);
}

.contact-page-section .contact-detail-icon {
    border-radius: 11px;
    background: rgba(169, 227, 229, .14);
    color: #a9e3e5;
}

.contact-page-section .contact-detail-card small,
.contact-page-section .contact-detail-card strong,
.contact-page-section .contact-detail-arrow {
    color: #f5faff;
}

.contact-page-section .contact-detail-card small {
    color: #a9c6dc;
}

.contact-page-section .contact-form {
    align-self: center;
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid #e3ebf3;
    border-radius: 24px;
    box-shadow: 0 20px 56px rgba(18, 53, 86, .1);
}

.contact-page-section .contact-form-heading h3 {
    font-size: clamp(25px, 2.5vw, 31px);
}

.contact-page-section .contact-form-submit button {
    min-width: 176px;
    border-radius: 10px;
}

.contact-map-wrap {
    width: min(1260px, calc(100% - 64px));
    margin: 34px auto 0;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid #e1eaf3;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(18, 53, 86, .09);
}

.contact-map-heading {
    margin-bottom: 18px;
}

.contact-map-heading>span {
    color: #1766ad;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.contact-map-heading h3 {
    margin-top: 5px;
    color: #082d55;
    font-family: "Manrope", sans-serif;
    font-size: clamp(21px, 2.5vw, 29px);
    font-weight: 800;
    letter-spacing: -.035em;
}

.contact-map-heading p {
    margin-top: 5px;
    color: #647990;
    font-size: 13px;
    line-height: 1.6;
}

.contact-map-frame {
    height: clamp(270px, 38vw, 430px);
    overflow: hidden;
    border: 1px solid #dbe5ef;
    border-radius: 15px;
    background: #eaf1f7;
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .contact-page-section .contact-container {
        width: min(100% - 48px, 760px);
        gap: 22px;
    }

    .contact-page-section .contact-intro {
        padding: 28px 22px;
    }

    .contact-page-header,
    .contact-map-wrap {
        width: min(100% - 48px, 760px);
    }
}

@media (max-width: 700px) {
    .contact-page-section .contact-container {
        grid-template-columns: 1fr;
        width: min(100% - 40px, 540px);
    }

    .contact-page-header {
        width: min(100% - 40px, 540px);
        margin-bottom: 25px;
    }

    .contact-page-header h2 {
        font-size: clamp(30px, 8vw, 39px);
    }

    .contact-page-header p {
        font-size: 14px;
    }

    .contact-page-section .contact-intro {
        min-height: 0;
        padding: 30px 24px;
    }

    .contact-page-section .contact-form {
        padding: 27px 22px;
    }

    .contact-map-wrap {
        width: min(100% - 40px, 540px);
        margin-top: 24px;
        padding: 20px;
        border-radius: 18px;
    }

    .contact-map-frame {
        height: 290px;
        border-radius: 12px;
    }
}
