/* ==========================================================
   MAURADIAN GUTTERS — R10
   M5 VISUAL SITE PREVIEW
   ========================================================== */

.mg-r10-visual-content {
    background:
        linear-gradient(
            180deg,
            #030b13,
            #07111a
        );

    padding:
        54px
        0
        24px;
}

.mg-r10-intro,
.mg-r10-split,
.mg-r10-service-grid,
.mg-r10-cta-panel {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin-left: auto;
    margin-right: auto;
}

.mg-r10-intro {
    position: relative;

    min-height: 470px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border:
        1px solid
        rgba(245,183,0,.34);

    border-radius: 14px;
}

.mg-r10-intro-bg {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mg-r10-intro-copy {
    position: relative;

    z-index: 1;

    width: min(610px, 80%);

    padding: 54px;
}

.mg-r10-eyebrow {
    display: block;

    margin-bottom: 12px;

    color: #f4b600;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: .15em;

    text-transform: uppercase;
}

.mg-r10-intro h2,
.mg-r10-copy h2,
.mg-r10-cta-panel h2 {
    margin:
        0
        0
        18px;

    color: #fff;

    font-size:
        clamp(
            30px,
            4vw,
            52px
        );

    line-height: 1.04;
}

.mg-r10-intro p,
.mg-r10-copy p {
    color:
        rgba(
            255,
            255,
            255,
            .84
        );

    font-size: 17px;

    line-height: 1.7;
}

.mg-r10-button {
    display: inline-block;

    margin-top: 12px;

    padding:
        14px
        21px;

    color: #07101a;

    background: #f4b600;

    font-size: 13px;
    font-weight: 900;

    text-decoration: none;

    text-transform: uppercase;

    border-radius: 4px;
}

.mg-r10-split {
    display: grid;

    grid-template-columns:
        1.05fr
        .95fr;

    margin-top: 34px;

    overflow: hidden;

    background: #08131d;

    border:
        1px solid
        rgba(245,183,0,.23);

    border-radius: 12px;
}

.mg-r10-split.reverse {
    grid-template-columns:
        .95fr
        1.05fr;
}

.mg-r10-split.reverse
.mg-r10-photo {
    order: 2;
}

.mg-r10-split.reverse
.mg-r10-copy {
    order: 1;
}

.mg-r10-photo {
    min-height: 420px;
}

.mg-r10-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.mg-r10-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 46px;
}

.mg-r10-copy h2 {
    font-size:
        clamp(
            27px,
            3.3vw,
            43px
        );
}

.mg-r10-service-grid {
    display: grid;

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

    margin-top: 34px;

    overflow: hidden;

    border:
        1px solid
        rgba(245,183,0,.25);

    border-radius: 12px;
}

.mg-r10-service-grid article {
    min-height: 210px;

    padding: 30px;

    background:
        linear-gradient(
            160deg,
            #07131d,
            #030b12
        );

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

.mg-r10-service-grid article:last-child {
    border-right: 0;
}

.mg-r10-service-grid article > span {
    color: #f4b600;

    font-size: 13px;
    font-weight: 900;
}

.mg-r10-service-grid h3 {
    margin:
        12px
        0
        12px;

    color: #fff;

    font-size: 21px;
}

.mg-r10-service-grid p {
    margin: 0;

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

    line-height: 1.55;
}

.mg-r10-cta-panel {
    margin-top: 34px;

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

    gap: 30px;

    box-sizing: border-box;

    padding:
        38px
        42px;

    background:
        linear-gradient(
            110deg,
            #101b20,
            #071019
        );

    border:
        1px solid
        rgba(245,183,0,.36);

    border-radius: 12px;
}

.mg-r10-cta-panel h2 {
    max-width: 720px;

    margin-bottom: 0;

    font-size:
        clamp(
            25px,
            3vw,
            40px
        );
}

/* Footer */

.mg-r10-footer {
    margin: 0;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #07111a,
            #101916
        );

    border-top:
        1px solid
        rgba(245,183,0,.38);
}

.mg-r10-footer-inner {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin: 0 auto;

    padding:
        42px
        0
        24px;
}

.mg-r10-footer-brand {
    display: flex;
    align-items: center;

    gap: 20px;
}

.mg-r10-footer-brand img {
    width: 105px;
    height: auto;
}

.mg-r10-footer-brand h2 {
    margin:
        0
        0
        7px;

    color: #fff;

    font-size: 27px;
}

.mg-r10-footer-brand p {
    margin: 0;

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

.mg-r10-footer nav {
    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    margin-top: 30px;

    padding:
        22px
        0;

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

    border-bottom:
        1px solid
        rgba(255,255,255,.09);
}

.mg-r10-footer nav a {
    color: #fff;

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

    text-decoration: none;

    text-transform: uppercase;
}

.mg-r10-footer nav a:hover {
    color: #f4b600;
}

.mg-r10-footer nav .quote {
    color: #07101a;

    background: #f4b600;

    padding:
        8px
        12px;
}

.mg-r10-footer-contact {
    display: flex;
    flex-wrap: wrap;

    gap: 25px;

    padding-top: 22px;
}

.mg-r10-footer-contact a,
.mg-r10-footer-contact span {
    color:
        rgba(
            255,
            255,
            255,
            .76
        );

    text-decoration: none;
}

.mg-r10-footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 15px;

    margin-top: 25px;

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

    font-size: 12px;
}

@media
(max-width: 880px) {

    .mg-r10-split,
    .mg-r10-split.reverse {
        grid-template-columns: 1fr;
    }

    .mg-r10-split.reverse
    .mg-r10-photo,
    .mg-r10-split.reverse
    .mg-r10-copy {
        order: initial;
    }

    .mg-r10-service-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .mg-r10-cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media
(max-width: 560px) {

    .mg-r10-intro-copy {
        width: auto;

        padding: 30px;
    }

    .mg-r10-service-grid {
        grid-template-columns: 1fr;
    }
}
