/* =========================================================
   CONTACT HERO
   ========================================================= */

.adv-contact-hero {
    --hero-navy: #080d15;
    --hero-gold: #c9963e;
    --hero-gold-light: #e0b15a;

    position: relative;

    width: 100%;
    min-height: 500px;

    padding: 82px 24px 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(3, 7, 12, .98) 0%,
            rgba(3, 7, 12, .84) 40%,
            rgba(3, 7, 12, .50) 70%,
            rgba(3, 7, 12, .88) 100%
        ),
        url('http://localhost/advocate/wordpress/wp-content/uploads/2026/08/contact-us-hero.png')
        center center / cover no-repeat;

    /* overflow: hidden; */

    isolation: isolate;
}


/* Overlay */

.adv-contact-hero__overlay {
    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        radial-gradient(
            circle at center 35%,
            rgba(201, 150, 62, .10),
            transparent 38%
        );
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.adv-contact-hero__content {
    position: relative;

    width: 100%;
    max-width: 900px;

    text-align: center;
}


.adv-contact-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;

    color: var(--hero-gold-light);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

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

    letter-spacing: 3px;
    text-transform: uppercase;
}


.adv-contact-hero__line {
    width: 32px;
    height: 1px;

    background: var(--hero-gold);
}


.adv-contact-hero h1 {
    margin: 18px 0 0;

    color: #fff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(48px, 6vw, 78px);

    font-weight: 500;

    line-height: .98;

    letter-spacing: -2px;
}


.adv-contact-hero h1 span {
    display: block;

    margin-top: 8px;

    color: var(--hero-gold-light);
}


.adv-contact-hero p {
    margin: 23px 0 0;

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

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 18px;

    line-height: 1.5;
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.adv-contact-info {
    position: absolute;
    bottom:-20%;
    z-index: 5;

    width: min(1185px, 100%);

    margin-top: 34px;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    background:#171b21;

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

    border-radius: 12px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .45);

    overflow: hidden;
}


/* Individual item */

.adv-contact-info__item {
    position: relative;

    min-width: 0;

    padding: 30px 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    color: #fff;

    text-decoration: none;
}


.adv-contact-info__item + .adv-contact-info__item {
    border-left:
        1px solid rgba(255, 255, 255, .10);
}


/* Icon */

.adv-contact-info__icon {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.adv-contact-info__icon svg {
    width: 31px;
    height: 31px;

    fill: none;

    stroke: var(--hero-gold-light);

    stroke-width: 1.35;
}


/* Text */

.adv-contact-info__content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    text-align: left;
}


.adv-contact-info__title {
    margin-bottom: 5px;

    color: #fff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;

    font-weight: 700;
}


.adv-contact-info__value {
    color: rgba(255, 255, 255, .78);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    line-height: 1.5;
}


/* Hover */

a.adv-contact-info__item {
    transition:
        background .25s ease;
}


a.adv-contact-info__item:hover {
    background:
        rgba(201, 150, 62, .06);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .adv-contact-info {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .adv-contact-info__item:nth-child(3) {
        border-left: 0;
        border-top:
            1px solid rgba(255, 255, 255, .10);
    }


    .adv-contact-info__item:nth-child(4) {
        border-top:
            1px solid rgba(255, 255, 255, .10);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

/* =========================================================
   MOBILE CONTACT HERO
   ========================================================= */

@media (max-width: 650px) {

    .adv-contact-hero {
        position: relative;

        width: 100%;
        min-height: auto;

        padding:
            120px
            16px
            35px;

        display: flex;
        flex-direction: column;
        align-items: center;

        background-position: center center;
    }


    /* =====================================================
       HERO CONTENT
       ===================================================== */

    .adv-contact-hero__content {
        width: 100%;
        max-width: 100%;

        position: relative;
        z-index: 2;

        text-align: center;
    }


    .adv-contact-hero__eyebrow {
        display: inline-flex;

        align-items: center;
        justify-content: center;

        gap: 8px;

        font-size: 9px;
        line-height: 1.4;

        letter-spacing: 1.8px;

        white-space: nowrap;
    }


    .adv-contact-hero__line {
        width: 18px;
        min-width: 18px;
        height: 1px;
    }


    .adv-contact-hero h1 {
        margin:
            18px auto 0;

        max-width: 100%;

        font-size:
            clamp(28px, 10vw, 42px);

        line-height: 1.05;

        letter-spacing: -1px;

        word-break: normal;
    }


    .adv-contact-hero h1 span {
        margin-top: 6px;
    }


    .adv-contact-hero p {
        max-width: 300px;

        margin:
            18px auto 0;

        font-size: 14px;

        line-height: 1.6;
    }


    /* =====================================================
       CONTACT INFORMATION
       IMPORTANT:
       Remove absolute positioning on mobile
       ===================================================== */

    .adv-contact-info {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        z-index: 5;

        width: 100%;

        margin:
            35px 0 0;

        display: grid;

        grid-template-columns: 1fr;

        background: #171b21;

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

        border-radius: 12px;

        overflow: hidden;

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


    /* =====================================================
       CONTACT ITEMS
       ===================================================== */

    .adv-contact-info__item {
        width: 100%;

        min-height: 88px;

        padding:
            20px 18px;

        display: flex;

        align-items: center;
        justify-content: flex-start;

        gap: 15px;
    }


    .adv-contact-info__item + .adv-contact-info__item {
        border-left: 0;

        border-top:
            1px solid rgba(255, 255, 255, .10);
    }


    /* =====================================================
       ICON
       ===================================================== */

    .adv-contact-info__icon {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;
    }


    .adv-contact-info__icon svg {
        width: 27px;
        height: 27px;
    }


    /* =====================================================
       TEXT
       ===================================================== */

    .adv-contact-info__content {
        flex: 1;

        min-width: 0;

        text-align: left;
    }


    .adv-contact-info__title {
        margin-bottom: 4px;

        font-size: 14px;
    }


    .adv-contact-info__value {
        font-size: 13px;

        line-height: 1.5;

        overflow-wrap: anywhere;
    }


    /* =====================================================
       ADDRESS
       ===================================================== */

    .adv-contact-info__item:nth-child(3)
    .adv-contact-info__value {
        max-width: 260px;
    }

}


/* =========================================================
   CONTACT HERO
   ========================================================= */

.adv-contact-hero {
    --hero-navy: #080d15;
    --hero-gold: #c9963e;
    --hero-gold-light: #e0b15a;

    position: relative;
    width: 100%;
    min-height: 500px;
    padding: 82px 24px 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    /* Updated relative path pointing to Contect Banner Desktop.png */
    background:
        linear-gradient(
            90deg,
            rgba(3, 7, 12, .98) 0%,
            rgba(3, 7, 12, .84) 40%,
            rgba(3, 7, 12, .50) 70%,
            rgba(3, 7, 12, .88) 100%
        ),
        url('../images/Contact Banner Desktop.png') center center / cover no-repeat;

    isolation: isolate;
}


/* =========================================================
   MOBILE CONTACT HERO
   ========================================================= */

@media (max-width: 650px) {

    .adv-contact-hero {
        position: relative;

        width: 100%;
        min-height: auto;

        padding: 120px 16px 35px;

        display: flex;
        flex-direction: column;
        align-items: center;

        /* Mobile specific background image */
        background:
            linear-gradient(
                90deg,
                rgba(3, 7, 12, .98) 0%,
                rgba(3, 7, 12, .84) 40%,
                rgba(3, 7, 12, .50) 70%,
                rgba(3, 7, 12, .88) 100%
            ),
            url('../images/Contect Banner Mobile.png') center center / cover no-repeat;
    }

}

/* Desktop Hero Background */
.adv-contact-hero {
    background:
        linear-gradient(
            90deg,
            rgba(3, 7, 12, .98) 0%,
            rgba(3, 7, 12, .84) 40%,
            rgba(3, 7, 12, .50) 70%,
            rgba(3, 7, 12, .88) 100%
        ),
        var(--contact-bg-desktop) center center / cover no-repeat;
}

/* Mobile Hero Background */
@media (max-width: 650px) {
    .adv-contact-hero {
        background:
            linear-gradient(
                90deg,
                rgba(3, 7, 12, .98) 0%,
                rgba(3, 7, 12, .84) 40%,
                rgba(3, 7, 12, .50) 70%,
                rgba(3, 7, 12, .88) 100%
            ),
            var(--contact-bg-mobile) center center / cover no-repeat;
    }
}


/* Keep contact email in lowercase */
.adv-contact-hero .adv-contact-info__value {
    text-transform: none;
}

.adv-contact-hero a[href^="mailto:"] .adv-contact-info__value {
    text-transform: lowercase;
}