/* =========================================================
   M-RESEARCH
   CONTACT PAGE
   ========================================================= */


/* =========================================================
   CONTACT HERO
   ========================================================= */

.contact-hero {
    position: relative;
    min-height: 390px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(12, 29, 18, 0.95),
            rgba(12, 29, 18, 0.68)
        ),
        url("../images/contact/contact-hero.jpg")
        center / cover no-repeat;

    color: var(--mr-white);
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 1;

    max-width: 760px;

    padding: 75px 0;
}

.contact-hero-content .home-section-label {
    margin-bottom: 18px;
    color: var(--mr-gold-400);
}

.contact-hero-content h1 {
    margin: 0;

    color: var(--mr-white);

    font-size: clamp(44px, 6vw, 74px);
    font-weight: 500;
    line-height: 1.04;

    letter-spacing: -0.045em;
}

.contact-hero-content h1 span {
    color: var(--mr-gold-400);
}

.contact-hero-content > p:last-child {
    max-width: 650px;

    margin: 25px 0 0;

    color: rgba(255, 255, 255, 0.66);

    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   CONTACT DETAILS
   ========================================================= */

.contact-details {
    padding: 105px 0;

    background: var(--mr-white);
}

.contact-details-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, 0.85fr);

    gap: 110px;

    align-items: start;
}

.contact-intro {
    max-width: 650px;
}

.contact-intro h2 {
    margin: 18px 0 28px;

    color: var(--mr-green-900);

    font-size: clamp(38px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.05;

    letter-spacing: -0.045em;
}

.contact-intro h2 span {
    color: var(--mr-gold-600);
}

.contact-intro p:not(.home-section-label) {
    max-width: 610px;

    margin: 0 0 18px;

    color: var(--mr-text-muted);

    font-size: 14px;
    line-height: 1.9;
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-information {
    border-top:
        1px solid var(--mr-border);
}

.contact-item {
    display: grid;

    grid-template-columns: 42px 1fr;

    gap: 18px;

    padding: 25px 0;

    border-bottom:
        1px solid var(--mr-border);
}

.contact-item-number {
    padding-top: 3px;

    color: var(--mr-gold-600);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.08em;
}

.contact-item-label {
    display: block;

    margin-bottom: 7px;

    color: var(--mr-text-muted);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-item-value {
    display: inline-block;

    color: var(--mr-green-900);

    font-size: 16px;
    font-weight: 500;

    transition:
        color var(--mr-transition);
}

a.contact-item-value:hover {
    color: var(--mr-gold-700);
}


/* =========================================================
   LOCATION
   ========================================================= */

.contact-location {
    padding: 100px 0;

    background: var(--mr-ivory);
}

.location-heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 0.7fr);

    gap: 80px;

    align-items: end;

    margin-bottom: 42px;
}

.location-heading h2 {
    margin: 17px 0 0;

    color: var(--mr-green-900);

    font-size: clamp(38px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.05;

    letter-spacing: -0.045em;
}

.location-heading h2 span {
    color: var(--mr-gold-600);
}

.location-heading > p {
    max-width: 500px;

    margin: 0;

    color: var(--mr-text-muted);

    font-size: 13px;
    line-height: 1.85;
}


/* =========================================================
   MAP
   ========================================================= */

.location-map {
    position: relative;

    width: 100%;
    height: 480px;

    overflow: hidden;

    background: var(--mr-green-900);

    box-shadow:
        0 20px 50px
        rgba(12, 29, 18, 0.10);
}

.location-map iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;

    filter:
        grayscale(100%)
        contrast(0.92);
}

.location-map-card {
    position: absolute;

    left: 28px;
    bottom: 28px;

    min-width: 230px;

    display: flex;
    flex-direction: column;

    gap: 5px;

    padding: 20px 22px;

    background:
        rgba(255, 255, 255, 0.96);

    border-left:
        3px solid var(--mr-gold-500);

    box-shadow:
        0 12px 35px
        rgba(12, 29, 18, 0.15);
}

.location-map-label {
    color: var(--mr-gold-600);

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.location-map-card strong {
    color: var(--mr-green-900);

    font-size: 15px;
    font-weight: 600;
}

.location-map-card > span:last-child {
    color: var(--mr-text-muted);

    font-size: 10px;
}


/* =========================================================
   CTA
   ========================================================= */

.contact-cta {
    padding: 90px 0;

    background: var(--mr-green-950);
}

.contact-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 70px;
}

.contact-cta-inner > div:first-child {
    max-width: 760px;
}

.contact-cta-inner .home-section-label {
    color: var(--mr-gold-400);
}

.contact-cta-inner h2 {
    margin: 18px 0 20px;

    color: var(--mr-white);

    font-size: clamp(38px, 5vw, 60px);
    font-weight: 500;
    line-height: 1.05;

    letter-spacing: -0.045em;
}

.contact-cta-inner h2 span {
    color: var(--mr-gold-400);
}

.contact-cta-inner p {
    max-width: 620px;

    margin: 0;

    color: rgba(255, 255, 255, 0.56);

    font-size: 13px;
    line-height: 1.85;
}


/* =========================================================
   CTA ACTIONS
   ========================================================= */

.contact-cta-actions {
    flex-shrink: 0;

    display: flex;
    flex-direction: column;

    align-items: stretch;

    gap: 13px;

    min-width: 220px;
}

.contact-cta-button {
    min-height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    padding: 0 22px;

    background: var(--mr-gold-500);

    color: var(--mr-green-950);

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background var(--mr-transition),
        transform var(--mr-transition);
}

.contact-cta-button svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        transform var(--mr-transition);
}

.contact-cta-button:hover {
    background: var(--mr-gold-400);

    transform:
        translateY(-1px);
}

.contact-cta-button:hover svg {
    transform:
        translateX(4px);
}

.contact-cta-secondary {
    min-height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    color: var(--mr-white);

    font-size: 11px;
    font-weight: 500;

    transition:
        border-color var(--mr-transition),
        color var(--mr-transition);
}

.contact-cta-secondary:hover {
    border-color:
        rgba(208, 167, 83, 0.6);

    color: var(--mr-gold-400);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .contact-details-grid {
        gap: 65px;
    }

    .location-heading {
        gap: 45px;
    }

    .contact-cta-inner {
        gap: 45px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .contact-hero {
        min-height: 340px;
    }

    .contact-hero-content {
        padding: 60px 0;
    }

    .contact-hero-content h1 {
        font-size: clamp(40px, 11vw, 54px);
    }

    .contact-hero-content > p:last-child {
        font-size: 13px;
        line-height: 1.75;
    }


    .contact-details {
        padding: 75px 0;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .contact-intro h2 {
        font-size: 40px;
    }


    .contact-location {
        padding: 75px 0;
    }

    .location-heading {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 30px;
    }

    .location-heading h2 {
        font-size: 40px;
    }

    .location-map {
        height: 390px;
    }

    .location-map-card {
        left: 18px;
        bottom: 18px;
    }


    .contact-cta {
        padding: 70px 0;
    }

    .contact-cta-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 35px;
    }

    .contact-cta-inner h2 {
        font-size: 40px;
    }

    .contact-cta-actions {
        width: 100%;
    }

    .contact-cta-button,
    .contact-cta-secondary {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .contact-hero {
        min-height: 315px;
    }

    .contact-hero-content {
        padding: 52px 0;
    }

    .contact-hero-content h1 {
        font-size: 37px;
    }

    .contact-details {
        padding: 60px 0;
    }

    .contact-intro h2 {
        font-size: 35px;
    }

    .contact-item {
        grid-template-columns: 32px 1fr;
        gap: 12px;
    }

    .contact-item-value {
        font-size: 14px;
    }

    .contact-location {
        padding: 60px 0;
    }

    .location-heading h2 {
        font-size: 35px;
    }

    .location-map {
        height: 340px;
    }

    .location-map-card {
        min-width: 200px;
        padding: 16px 18px;
    }

    .contact-cta {
        padding: 60px 0;
    }

    .contact-cta-inner h2 {
        font-size: 35px;
    }

}