/* ==========================================================
   MAURADIAN GUTTERS
   CANONICAL SITE SHELL

   THIS HEADER IS NOW THE PAGE-TO-PAGE CONSTANT.

   ONLY HERO IMAGE + HERO COPY CHANGE BY PAGE.
   ========================================================== */

:root {
    --mg-yellow: #f7b900;
    --mg-dark: #020d18;
    --mg-dark-2: #041321;
    --mg-border: rgba(247,185,0,.26);
}


/* ==========================================================
   CANONICAL HEADER
   ========================================================== */

#mg-site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    z-index: 10000;

    height: 158px;

    background:
        linear-gradient(
            180deg,
            rgba(0,8,20,.88) 0%,
            rgba(0,8,20,.55) 65%,
            rgba(0,8,20,0) 100%
        );
}


.mg-site-header-inner {
    width: min(1320px, calc(100% - 70px));
    height: 158px;

    margin: 0 auto;

    position: relative;

    display: flex;
    align-items: flex-start;
}


/* ==========================================================
   LOGO — FIXED FOR EVERY PAGE
   ========================================================== */

.mg-site-logo {
    position: absolute;

    left: 0;
    top: 10px;

    width: 190px;

    z-index: 10020;
}


.mg-site-logo img {
    width: 190px;
    height: auto;

    display: block;

    filter:
        drop-shadow(
            0 5px 9px rgba(0,0,0,.55)
        );
}


/* ==========================================================
   NAV — FIXED FOR EVERY PAGE
   ========================================================== */

.mg-site-primary-nav {
    position: absolute;

    right: 0;
    top: 32px;

    height: 52px;

    display: flex;
    align-items: center;

    gap: 34px;
}


.mg-site-primary-nav a {
    min-height: 45px;

    display: inline-flex;
    align-items: center;

    color: white;

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

    line-height: 1;

    text-decoration: none;
    text-transform: uppercase;

    white-space: nowrap;

    border-bottom:
        2px solid transparent;
}


.mg-site-primary-nav a.is-active {
    color: var(--mg-yellow);

    border-bottom-color:
        var(--mg-yellow);
}


.mg-site-primary-nav .mg-site-quote {
    height: 50px;

    padding: 0 28px;

    background:
        var(--mg-yellow);

    color:
        #07111b;

    border-bottom:
        0;
}


/* ==========================================================
   SERVICE AREA HERO

   IMAGE BEGINS AT THE ABSOLUTE TOP.
   HEADER OVERLAYS IMAGE.

   THIS IS THE ONLY PAGE-SPECIFIC VISUAL.
   ========================================================== */

#mg-page-hero {
    position: relative;

    min-height: 445px;

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

    overflow: hidden;

    background-image:
        var(--mg-page-hero-image);

    background-size:
        cover;

    background-repeat:
        no-repeat;

    /*
       SHOW THE TOP LIGHTNING.
    */
    background-position:
        center top;
}


.mg-page-hero-shade {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,7,18,.08) 0%,
            rgba(0,7,18,.12) 24%,
            rgba(0,7,18,.28) 55%,
            rgba(0,7,18,.64) 100%
        );
}


.mg-page-hero-content {
    position: relative;

    z-index: 5;

    width:
        min(
            980px,
            calc(100% - 40px)
        );

    padding:
        0 20px 40px;

    text-align:
        center;

    color:
        white;
}


.mg-page-eyebrow {
    margin-bottom: 10px;

    color:
        white;

    font-size:
        15px;

    font-weight:
        850;

    letter-spacing:
        .22em;

    text-transform:
        uppercase;

    text-shadow:
        0 2px 6px rgba(0,0,0,.8);
}


.mg-page-hero-content h1 {
    margin:
        0;

    font-size:
        clamp(
            48px,
            5vw,
            70px
        );

    font-weight:
        900;

    line-height:
        .96;

    text-transform:
        uppercase;

    text-shadow:
        0 5px 10px rgba(0,0,0,.72);
}


.mg-page-hero-content h1 strong {
    display:
        block;

    margin-top:
        8px;

    color:
        var(--mg-yellow);
}


.mg-page-hero-content p {
    margin:
        16px auto 20px;

    font-size:
        16px;

    font-weight:
        650;

    text-shadow:
        0 2px 5px rgba(0,0,0,.8);
}


.mg-page-hero-button {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        48px;

    padding:
        0 25px;

    background:
        var(--mg-yellow);

    color:
        #06111a;

    font-size:
        13px;

    font-weight:
        850;

    text-decoration:
        none;

    text-transform:
        uppercase;
}


/* ==========================================================
   CENTER CITY SELECTOR
   ========================================================== */

#city-list {
    width:
        min(
            1280px,
            calc(100% - 30px)
        );

    margin:
        0 auto !important;

    display:
        flex !important;

    flex-wrap:
        wrap !important;

    justify-content:
        center !important;

    align-items:
        center !important;

    gap:
        10px !important;
}


#city-list button,
#city-list a {
    min-height:
        42px !important;

    padding:
        10px 17px !important;

    font-size:
        14px !important;
}


/* ==========================================================
   CANONICAL FOOTER
   ========================================================== */

#mg-site-footer {
    width:
        100%;

    background:
        #03101a;

    border-top:
        1px solid var(--mg-border);

    color:
        white;
}


.mg-site-footer-inner {
    width:
        min(
            1320px,
            calc(100% - 70px)
        );

    min-height:
        118px;

    margin:
        0 auto;

    display:
        grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items:
        center;

    gap:
        32px;
}


/* BRAND */

.mg-site-footer-brand {
    display:
        flex;

    align-items:
        center;

    gap:
        15px;
}


.mg-site-footer-brand img {
    width:
        74px;

    height:
        auto;
}


.mg-site-footer-brand strong {
    display:
        block;

    font-size:
        18px;
}


.mg-site-footer-brand span {
    display:
        block;

    margin-top:
        3px;

    color:
        #c0cad2;

    font-size:
        12px;
}


/* FOOTER NAV */

.mg-site-footer-nav {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        22px;
}


.mg-site-footer-nav a {
    color:
        white;

    font-size:
        12px;

    font-weight:
        800;

    text-decoration:
        none;

    text-transform:
        uppercase;

    white-space:
        nowrap;
}


/* SOCIAL NETWORKS */

.mg-site-social {
    display:
        flex;

    justify-content:
        flex-end;

    align-items:
        center;

    gap:
        10px;
}


.mg-site-social-title {
    margin-right:
        6px;

    font-size:
        11px;

    font-weight:
        850;

    letter-spacing:
        .08em;

    text-transform:
        uppercase;
}


.mg-social-icon {
    width:
        34px;

    height:
        34px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

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

    border-radius:
        50%;

    font-size:
        13px;

    font-weight:
        900;
}


/* COPYRIGHT */

.mg-site-footer-bottom {
    width:
        min(
            1320px,
            calc(100% - 70px)
        );

    margin:
        0 auto;

    padding:
        14px 0 20px;

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

    color:
        #87939d;

    font-size:
        11px;

    text-align:
        center;
}


/* ==========================================================
   HIDE OBSOLETE SHELL ARTIFACTS
   ========================================================== */

.mg-r11-r6-page-stage >
.mg-r11-r4-header,

.mg-r11-r6-page-stage >
.mg-r11-r4-hero,

.mg-r11-r5-visual-stage >
.mg-r11-r4-header,

.mg-r11-r5-visual-stage >
.mg-r11-r4-hero,

.mg-r11-r4-footer,

.mg-r7-site-footer,

.mg-r11-r8-authoritative-footer {
    display:
        none !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1050px) {

    .mg-site-header-inner {
        width:
            calc(100% - 34px);
    }

    .mg-site-logo,
    .mg-site-logo img {
        width:
            150px;
    }

    .mg-site-primary-nav {
        gap:
            16px;
    }

    .mg-site-primary-nav a {
        font-size:
            11px;
    }

    .mg-site-footer-inner {
        width:
            calc(100% - 34px);

        grid-template-columns:
            1fr;

        justify-items:
            center;

        padding:
            26px 0;
    }

    .mg-site-footer-brand,
    .mg-site-social {
        justify-content:
            center;
    }
}
