/* ==========================================================
   SPECTRA ASSET MANAGEMENT
   CONTACT US PAGE
========================================================== */

.contact-page {
    --contact-navy: #123058;
    --contact-navy-dark: #001b3c;

    --contact-green: #15803d;
    --contact-green-dark: #166534;

    --contact-green-light: #f0fdf4;

    --contact-bg: #f8fafc;

    --contact-text: #1e293b;
    --contact-muted: #64748b;

    --contact-border: #e2e8f0;

    background: var(--contact-bg);
}


/* ==========================================================
   HEADER OVER BANNER
========================================================== */

.contact-page .site-header {
    position: absolute;

    top: 16px;
    left: 0;

    width: 100%;

    z-index: 1000;
}


.contact-page .site-header.header-sticky {
    position: fixed;

    top: 10px;
}



/* ==========================================================
   CONTACT BANNER
========================================================== */

.contact-banner {
    position: relative;

    width: 100%;
    height: 390px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: var(--contact-navy-dark);
}


.contact-banner-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}


.contact-banner-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 27, 60, 0.75),
            rgba(0, 27, 60, 0.45),
            rgba(0, 27, 60, 0.60)
        );
}


.contact-banner-content {
    position: relative;

    z-index: 4;

    width: min(90%, 900px);

    margin-top: 55px;

    text-align: center;
}


.contact-breadcrumb {
    width: fit-content;

    margin: 0 auto 14px;

    padding: 6px 12px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    border: 1px solid rgba(255,255,255,0.22);

    border-radius: 40px;

    background: rgba(255,255,255,0.09);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    color: #ffffff;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.05em;
}


.contact-breadcrumb a {
    display: inline-flex;

    align-items: center;

    gap: 4px;

    color: #86efac;
}


.contact-breadcrumb .material-symbols-outlined {
    font-size: 13px;
}


.contact-banner h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(38px, 4vw, 55px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -0.04em;

    text-shadow:
        0 3px 15px rgba(0,0,0,0.18);
}



/* ==========================================================
   MAIN CONTACT SECTION
========================================================== */

.contact-main-section {
    padding: 90px 0 80px;

    background: #f8fafc;
}


.contact-main-grid {
    max-width: 1050px;

    display: grid;

    grid-template-columns:
        minmax(280px, 0.75fr)
        minmax(470px, 1.25fr);

    gap: 32px;

    align-items: stretch;
}



/* ==========================================================
   CONTACT INFORMATION CARD
========================================================== */

.contact-information-card {
    padding: 32px 28px;

    border: 1px solid var(--contact-border);

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 8px 28px rgba(18, 48, 88, 0.055);
}


.contact-information-card h2 {
    margin: 0 0 10px;

    color: var(--contact-navy);

    font-size: 22px;

    font-weight: 700;
}


.contact-information-intro {
    margin: 0 0 28px;

    color: var(--contact-muted);

    font-size: 12px;

    line-height: 1.7;
}



/* ==========================================================
   CONTACT DETAILS
========================================================== */

.contact-detail-list {
    display: flex;

    flex-direction: column;
}


.contact-detail-item {
    padding: 19px 0;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    border-top: 1px solid #edf2f7;
}


.contact-detail-item:first-child {
    padding-top: 0;

    border-top: 0;
}


.contact-detail-item:last-child {
    padding-bottom: 0;
}


.contact-detail-icon {
    width: 39px;
    height: 39px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background: #ecfdf5;

    color: var(--contact-green);
}


.contact-detail-icon .material-symbols-outlined {
    font-size: 19px;
}


.contact-detail-content {
    min-width: 0;
}


.contact-detail-label {
    display: block;

    margin-bottom: 4px;

    color: #94a3b8;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.045em;
}


.contact-detail-content a,
.contact-detail-value {
    color: var(--contact-navy);

    font-size: 13px;

    font-weight: 700;

    transition: color 0.2s ease;
}


.contact-detail-content a:hover,
a.contact-detail-item:hover .contact-detail-value {
    color: var(--contact-green);
}


.contact-detail-content p {
    margin: 0;

    color: var(--contact-navy);

    font-size: 11px;

    font-weight: 600;

    line-height: 1.55;
}


.contact-detail-content small {
    display: block;

    margin-top: 2px;

    color: #94a3b8;

    font-size: 9px;
}


.contact-closed {
    display: block;

    margin-top: 2px;

    color: #dc2626;

    font-size: 9px;

    font-weight: 700;
}



/* ==========================================================
   FORM CARD
========================================================== */

.contact-form-card {
    padding: 36px 38px;

    border: 1px solid var(--contact-border);

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(18,48,88,0.06);
}


.contact-form-label {
    width: fit-content;

    padding: 5px 10px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    border: 1px solid #bbf7d0;

    border-radius: 40px;

    background: #f0fdf4;

    color: var(--contact-green);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.06em;
}


.contact-form-label > span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--contact-green);
}


.contact-form-card h2 {
    margin: 15px 0 8px;

    color: var(--contact-navy);

    font-size: 29px;

    font-weight: 700;

    letter-spacing: -0.025em;
}


.contact-form-intro {
    max-width: 630px;

    margin: 0 0 27px;

    color: var(--contact-muted);

    font-size: 11px;

    line-height: 1.7;
}



/* ==========================================================
   FORM
========================================================== */

.contact-page-form {
    display: flex;

    flex-direction: column;

    gap: 17px;
}


.contact-form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}


.contact-page-field {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.contact-page-field label {
    color: var(--contact-navy);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.035em;
}


.contact-page-field label span {
    color: #dc2626;
}


.contact-page-field input,
.contact-page-field select,
.contact-page-field textarea {
    width: 100%;

    padding: 12px 13px;

    border: 1px solid #dbe3ec;

    border-radius: 8px;

    outline: 0;

    background: #ffffff;

    color: var(--contact-text);

    font-size: 11px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-page-field input,
.contact-page-field select {
    min-height: 43px;
}


.contact-page-field textarea {
    min-height: 115px;

    resize: vertical;
}


.contact-page-field input::placeholder,
.contact-page-field textarea::placeholder {
    color: #a8b3c1;
}


.contact-page-field input:focus,
.contact-page-field select:focus,
.contact-page-field textarea:focus {
    border-color: var(--contact-green);

    box-shadow:
        0 0 0 3px rgba(21,128,61,0.07);
}


.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: fit-content;

    min-width: 135px;

    min-height: 46px;

    padding: 0 24px;

    border: 0;

    border-radius: 8px;

    background: var(--contact-green);

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(21,128,61,0.18);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.contact-submit-btn .material-symbols-outlined {
    font-size: 18px;
}

.contact-submit-btn:hover {
    background: var(--contact-green-dark);

    transform: translateY(-2px);
}



/* ==========================================================
   OFFICE LOCATION
========================================================== */

.office-location-section {
    padding: 30px 0 85px;

    background: #f8fafc;
}


.office-location-section .container {
    max-width: 1050px;
}


.office-location-heading {
    max-width: 700px;

    margin: 0 auto 35px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}


.office-location-heading h2 {
    margin: 14px 0 6px;

    color: var(--contact-navy);

    font-size: 28px;

    line-height: 1.2;

    font-weight: 700;
}


.office-location-heading p {
    margin: 0;

    color: var(--contact-muted);

    font-size: 11px;
}



/* ==========================================================
   MAP
========================================================== */

.spectra-map-wrapper {
    position: relative;

    width: 100%;
    height: 460px;

    overflow: hidden;

    border: 1px solid #dbe3ec;

    border-radius: 13px;

    background: #e2e8f0;

    box-shadow:
        0 10px 30px rgba(18,48,88,0.09);
}


.spectra-map {
    width: 100%;
    height: 100%;

    border: 0;
}


/* ==========================================================
   MAP LOCATION CARD
========================================================== */

.map-location-card {
    position: absolute;

    left: 20px;
    bottom: 20px;

    z-index: 10;

    width: 290px;

    padding: 20px;

    border: 1px solid rgba(226,232,240,0.9);

    border-radius: 10px;

    background: rgba(255,255,255,0.95);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 10px 30px rgba(15,23,42,0.14);
}


.map-location-label {
    margin-bottom: 8px;

    display: flex;

    align-items: center;

    gap: 6px;

    color: var(--contact-green);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.055em;
}


.map-location-label > span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--contact-green);
}


.map-location-card h3 {
    margin: 0 0 7px;

    color: var(--contact-navy);

    font-size: 14px;

    line-height: 1.4;
}


.map-location-card p {
    margin: 0 0 13px;

    color: var(--contact-muted);

    font-size: 9px;

    line-height: 1.6;
}


.map-location-card a {
    width: fit-content;

    padding: 7px 10px;

    display: inline-flex;

    align-items: center;

    gap: 5px;

    border-radius: 6px;

    background: #ecfdf5;

    color: var(--contact-green);

    font-size: 9px;

    font-weight: 700;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


.map-location-card a:hover {
    background: var(--contact-green);

    color: #ffffff;
}


.map-location-card a .material-symbols-outlined {
    font-size: 13px;
}



/* ==========================================================
   IMMEDIATE ASSISTANCE
========================================================== */

.assistance-section {
    padding: 0 0 85px;

    background: #f8fafc;
}


.assistance-section .container {
    max-width: 1050px;
}


.assistance-box {
    min-height: 145px;

    padding: 30px 38px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;

    border-radius: 13px;

    background:
        linear-gradient(
            110deg,
            #001b3c,
            #123058
        );

    box-shadow:
        0 12px 30px rgba(0,27,60,0.17);
}


.assistance-copy {
    max-width: 480px;
}


.assistance-copy h2 {
    margin: 0 0 7px;

    color: #ffffff;

    font-size: 21px;

    font-weight: 700;
}


.assistance-copy p {
    margin: 0;

    color: #cbd5e1;

    font-size: 10px;

    line-height: 1.6;
}


.assistance-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


.assistance-call,
.assistance-whatsapp {
    min-height: 39px;

    padding: 0 16px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    border-radius: 7px;

    font-size: 10px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.assistance-call {
    border: 1px solid rgba(255,255,255,0.18);

    background: rgba(255,255,255,0.08);

    color: #ffffff;
}


.assistance-whatsapp {
    background: var(--contact-green);

    color: #ffffff;
}


.assistance-call:hover,
.assistance-whatsapp:hover {
    transform: translateY(-2px);
}


.assistance-whatsapp:hover {
    background: var(--contact-green-dark);
}


.assistance-actions .material-symbols-outlined {
    font-size: 16px;
}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 950px) {

    .contact-main-grid {
        grid-template-columns: 1fr;

        max-width: 750px;
    }


    .contact-information-card,
    .contact-form-card {
        width: 100%;
    }


    .assistance-box {
        align-items: flex-start;

        flex-direction: column;
    }


    .assistance-actions {
        flex-wrap: wrap;
    }

}



/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .contact-banner {
        height: 340px;
    }


    .contact-banner-content {
        margin-top: 50px;
    }


    .contact-banner h1 {
        font-size: 38px;
    }


    .contact-main-section {
        padding: 65px 0;
    }


    .contact-information-card,
    .contact-form-card {
        padding: 25px 20px;
    }


    .contact-form-card h2 {
        font-size: 25px;
    }


    .contact-form-row {
        grid-template-columns: 1fr;
    }


    .contact-submit-btn {
        width: 100%;
    }


    .office-location-section {
        padding-bottom: 65px;
    }


    .spectra-map-wrapper {
        height: 430px;
    }


    .map-location-card {
        left: 12px;
        bottom: 12px;

        width: calc(100% - 24px);
    }


    .assistance-section {
        padding-bottom: 65px;
    }


    .assistance-box {
        padding: 28px 22px;
    }


    .assistance-actions {
        width: 100%;

        flex-direction: column;
    }


    .assistance-call,
    .assistance-whatsapp {
        width: 100%;
    }

}



/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 450px) {

    .contact-banner {
        height: 310px;
    }


    .contact-banner h1 {
        font-size: 33px;
    }


    .contact-information-card h2 {
        font-size: 20px;
    }


    .spectra-map-wrapper {
        height: 400px;
    }


    .office-location-heading h2 {
        font-size: 25px;
    }


    .assistance-copy h2 {
        font-size: 19px;
    }

}

a.contact-detail-item { color: inherit; text-decoration: none; }
a.contact-detail-item:focus-visible { outline: 3px solid #15803d; outline-offset: 4px; }
