/* =========================================================
   GLOBAL POINT TRADE - CONTACT PAGE
========================================================= */


/* HERO */
.contact-page-hero {
    position: relative;
    overflow: hidden;

    color: #ffffff;
    background: var(--navy-deep);
}

.contact-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(34, 119, 177, .25),
            transparent 34%
        );
}

.contact-page-hero-grid {
    position: relative;
    z-index: 2;

    min-height: 450px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-page-hero-copy {
    padding: 55px 0;
}

.contact-page-hero h1 {
    margin-bottom: 22px;

    font-size: clamp(48px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
}

.contact-page-hero h1 span {
    color: var(--orange);
}

.contact-page-hero-copy > p {
    max-width: 650px;
    margin-bottom: 25px;

    color: rgba(255, 255, 255, .88);

    font-size: 17px;
    line-height: 1.65;
}

.contact-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.contact-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: rgba(255,255,255,.90);

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

.contact-hero-points i {
    color: #ff7749;
}

.contact-page-hero-visual {
    height: 350px;

    border: 1px solid rgba(255,255,255,.17);

    box-shadow: 0 20px 50px rgba(0,0,0,.28);

    overflow: hidden;
}

.contact-page-hero-visual img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* MAIN CONTACT AREA */
.contact-main-section {
    padding-top: 70px;
    padding-bottom: 75px;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #f7fafc 100%
        );
}

.contact-main-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 55px;
    align-items: start;
}


/* LEFT CONTACT DETAILS */
.contact-details-panel {
    padding: 15px 0;
}

.contact-details-panel h2 {
    margin-bottom: 16px;
}

.contact-details-intro {
    max-width: 500px;
    margin-bottom: 28px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.7;
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.contact-detail-item {
    min-height: 78px;
    padding: 15px 0;

    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: start;
    gap: 14px;

    border-bottom: 1px solid #e3e9ee;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color: #0d70e8;

    border: 1px solid #dce7f2;
    background: #f7fbff;

    font-size: 23px;
}

.contact-detail-item span {
    display: block;
    margin-bottom: 3px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-detail-item a,
.contact-detail-item p {
    margin: 0;

    color: var(--text);

    font-size: 14px;
    font-weight: 650;

    line-height: 1.5;
}

.contact-detail-item a:hover {
    color: var(--orange);
}

.contact-side-note {
    margin-top: 30px;
    padding: 20px;

    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;

    color: #ffffff;

    background: var(--navy);
}

.contact-side-note > i {
    font-size: 31px;
    color: #8bc3ef;
}

.contact-side-note strong,
.contact-side-note span {
    display: block;
}

.contact-side-note strong {
    margin-bottom: 4px;
}

.contact-side-note span {
    color: rgba(255,255,255,.78);

    font-size: 12px;
    line-height: 1.55;
}


/* FORM CARD */
.contact-form-card {
    padding: 36px;

    background: #ffffff;
    border: 1px solid #dfe7ee;

    box-shadow: 0 16px 40px rgba(8,45,75,.10);
}

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

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
}

.contact-form-heading h2 {
    margin-bottom: 0;
}

.contact-form-heading > i {
    color: #0d70e8;
    font-size: 38px;
}

.contact-alert {
    margin-bottom: 22px;
    padding: 15px 17px;

    display: flex;
    gap: 10px;
    align-items: flex-start;

    border: 1px solid transparent;

    font-size: 13px;
    line-height: 1.5;
}

.contact-alert-success {
    color: #14532d;

    border-color: #bbf7d0;
    background: #f0fdf4;
}

.contact-alert-error {
    color: #7f1d1d;

    border-color: #fecaca;
    background: #fef2f2;
}

.contact-reference {
    margin-top: 6px;
    font-size: 12px;
}

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

.contact-form {
    position: relative;
}

.contact-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    left: -9999px !important;
}

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

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

.contact-field label {
    margin-bottom: 7px;

    display: block;

    color: var(--text);

    font-size: 12px;
    font-weight: 800;
}

.contact-field label span {
    color: var(--orange);
}

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

    border: 1px solid #ccd8e2;
    border-radius: 3px;

    background: #ffffff;

    color: var(--text);

    outline: 0;

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

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

.contact-field textarea {
    min-height: 150px;
    padding: 12px 13px;

    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #0d70e8;

    box-shadow:
        0 0 0 3px rgba(13, 112, 232, .10);
}

.contact-field small {
    margin-top: 6px;

    display: block;

    color: #7b8c9d;

    font-size: 10px;
    line-height: 1.45;
}

.contact-form-bottom {
    margin-top: 4px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.contact-form-bottom p {
    max-width: 500px;
    margin: 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.5;
}

.contact-submit-btn {
    flex: 0 0 auto;
}


/* SUPPORT AREAS */
.contact-support-section {
    background: #f5f8fb;
}

.contact-centered-heading {
    text-align: center;
}

.contact-support-grid {
    margin-top: 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-support-card {
    padding: 30px;

    background: #ffffff;
    border: 1px solid #e0e7ed;

    box-shadow: 0 8px 24px rgba(8,45,75,.06);
}

.contact-support-card > i {
    color: #0d70e8;
    font-size: 34px;
}

.contact-support-card h3 {
    margin: 14px 0 7px;

    font-size: 18px;
}

.contact-support-card p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.6;
}


/* BOTTOM CTA */
.contact-bottom-cta {
    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(3,35,59,.97),
            rgba(3,35,59,.82)
        ),
        url("/assets/images/cta/port-cta.jpg")
        center / cover no-repeat;
}

.contact-bottom-cta-inner {
    min-height: 210px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.contact-bottom-cta h2 {
    max-width: 690px;
    margin-bottom: 10px;

    color: #ffffff;
}

.contact-bottom-cta p {
    margin: 0;

    color: rgba(255,255,255,.78);
}


/* RESPONSIVE */
@media (max-width: 992px) {

    .contact-page-hero-grid,
    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-hero-grid {
        padding: 45px 0;
    }

    .contact-page-hero-copy {
        padding: 0;
    }

    .contact-page-hero-visual {
        height: 320px;
    }

    .contact-main-grid {
        gap: 35px;
    }

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

    .contact-bottom-cta-inner {
        padding: 45px 0;

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

@media (max-width: 640px) {

    .contact-page-hero h1 {
        font-size: 42px;
    }

    .contact-page-hero-visual {
        height: 260px;
    }

    .contact-form-card {
        padding: 24px 18px;
    }

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

    .contact-form-bottom {
        align-items: stretch;
        flex-direction: column;
    }

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

/* =========================================================
   CONTACT PHONE COUNTRY PREFIX - INLINE LAYOUT
   Keeps Email on the left and Phone on the right.
   Country code + number stay on ONE line.
========================================================= */

.contact-phone-group {
    width: 100% !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: stretch !important;
    gap: 0 !important;
}

.contact-phone-group .contact-phone-prefix-select {
    flex: 0 0 112px !important;
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;

    height: 52px !important;

    margin: 0 !important;

    border-radius: 3px 0 0 3px !important;
    border-right: 0 !important;

    background-color: #f7fbff !important;

    color: #183b57 !important;
    font-weight: 800 !important;
}

.contact-phone-group input[type="tel"] {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;

    height: 52px !important;

    margin: 0 !important;

    border-radius: 0 3px 3px 0 !important;
}

.contact-phone-group .contact-phone-prefix-select:focus {
    position: relative;
    z-index: 3;
    border-right: 1px solid #0d70e8 !important;
}

.contact-phone-group input[type="tel"]:focus {
    position: relative;
    z-index: 2;
}

.contact-phone-help {
    display: block;
    margin-top: 6px;
}

/*
 * Even on mobile, keep the phone prefix + number together
 * on one horizontal line inside the Phone field.
 */
@media (max-width: 640px) {

    .contact-phone-group .contact-phone-prefix-select {
        flex-basis: 104px !important;
        width: 104px !important;
        min-width: 104px !important;
        max-width: 104px !important;
    }
}
