/*
|--------------------------------------------------------------------------
| MAKKY B2B
| Hero
|--------------------------------------------------------------------------
*/

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

.mb2b-hero{

    position:relative;

    display:flex;

    align-items:center;

    min-height:calc(100vh - 88px);

    width:100%;

    max-width:100%;

    margin-left:0;

    margin-right:0;

    overflow:hidden;

    background-color:#062431;

    background-repeat:no-repeat;

    background-size:cover;

    background-position:center center;

    isolation:isolate;

}

/* ==========================================================================
   OVERLAY
========================================================================== */

.mb2b-hero::before{

    content:"";

    position:absolute;

    inset:0;

    z-index:-1;

    background:rgba(0,0,0,.52);

}

.mb2b-hero__overlay{

    position:absolute;

    inset:0;

    z-index:-1;

    pointer-events:none;

    background:
        linear-gradient(
            90deg,
            rgba(3,27,38,.94) 0%,
            rgba(3,27,38,.78) 34%,
            rgba(3,27,38,.30) 62%,
            rgba(3,27,38,.05) 100%
        );

}

/* ==========================================================================
   CONTAINER
========================================================================== */

.mb2b-hero__container{

    position:relative;

    z-index:2;

    display:flex;

    align-items:center;

    width:100%;

    min-height:inherit;

}

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

.mb2b-hero__content{

    width:100%;

    max-width:680px;

    padding-top:80px;

}

/* ==========================================================================
   EYEBROW
========================================================================== */

.mb2b-hero__eyebrow{

    margin:0 0 18px;

    color:#FFA300;

    font-size:14px;

    line-height:1.4;

    font-weight:700;

    letter-spacing:.6px;

    text-transform:uppercase;

}

/* ==========================================================================
   HEADING
========================================================================== */

.mb2b-hero__heading{

    margin:0 0 24px;

    color:#FFFFFF;

    font-size:58px;

    line-height:1.08;

    font-weight:700;

    letter-spacing:-1.5px;

}

/* ==========================================================================
   DESCRIPTION
========================================================================== */

.mb2b-hero__description{

    max-width:560px;

    margin:0 0 24px;

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

    font-size:18px;

    line-height:1.6;

    font-weight:400;

}

/* ==========================================================================
   PRODUCTS
========================================================================== */

.mb2b-hero__products{

    margin:0 0 32px;

    color:#FFFFFF;

    font-size:15px;

    line-height:1.8;

    font-weight:600;

}

.mb2b-hero__products-row{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:0;

}

.mb2b-hero__product{

    display:inline-flex;

    align-items:center;

    white-space:nowrap;

}

.mb2b-hero__product-separator{

    display:inline-block;

    margin:0 11px;

    color:#FFA300;

    font-weight:700;

}

.mb2b-hero__product-name{

    color:#FFFFFF;

}

/* ==========================================================================
   ACTIONS
========================================================================== */

.mb2b-hero__actions{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:12px;

}

/* ==========================================================================
   BUTTON
========================================================================== */

.mb2b-hero__button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    min-height:52px;

    padding:0 22px;

    border:1px solid transparent;

    border-radius:8px;

    font-size:14px;

    line-height:1;

    font-weight:700;

    text-decoration:none;

    cursor:pointer;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;

}

.mb2b-hero__button:hover{

    transform:translateY(-2px);

}

.mb2b-hero__button-text{

    display:inline-flex;

    align-items:center;

}

.mb2b-hero__button-icon{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

    line-height:1;

}

/* ==========================================================================
   PRIMARY
========================================================================== */

.mb2b-hero__button--primary{

    background:#FFA300;

    color:#FFFFFF;

}

.mb2b-hero__button--primary:hover{

    background:#E59400;

    color:#FFFFFF;

}

/* ==========================================================================
   SECONDARY
========================================================================== */

.mb2b-hero__button--secondary{

    background:rgba(255,255,255,.08);

    border-color:rgba(255,255,255,.42);

    color:#FFFFFF;

}

.mb2b-hero__button--secondary:hover{

    background:rgba(255,255,255,.16);

    border-color:#FFFFFF;

    color:#FFFFFF;

}

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

@media (max-width:1024px){

    .mb2b-hero{

        min-height:620px;

    }

    .mb2b-hero__content{

        max-width:620px;

        padding-top:60px;

    }

    .mb2b-hero__heading{

        font-size:48px;

    }

    .mb2b-hero__description{

        font-size:17px;

    }

}

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

@media (max-width:767px){

    .mb2b-hero{

        min-height:620px;

        align-items:flex-end;

        background-position:72% center;

    }

    .mb2b-hero__overlay{

        background:
            linear-gradient(
                180deg,
                rgba(3,27,38,.18) 0%,
                rgba(3,27,38,.68) 45%,
                rgba(3,27,38,.97) 100%
            );

    }

    .mb2b-hero__container{

        align-items:flex-end;

    }

    .mb2b-hero__content{

        max-width:100%;

        padding-top:32px;

        padding-bottom:36px;

    }

    .mb2b-hero__eyebrow{

        margin-bottom:10px;

        font-size:12px;

    }

    .mb2b-hero__heading{

        margin-bottom:16px;

        font-size:34px;

        line-height:1.08;

        letter-spacing:-.7px;

    }

    .mb2b-hero__description{

        margin-bottom:16px;

        font-size:15px;

        line-height:1.5;

    }

    .mb2b-hero__products{

        margin-bottom:20px;

        font-size:13px;

        line-height:1.7;

    }

    .mb2b-hero__actions{

        width:100%;

        flex-direction:column;

        align-items:stretch;

        gap:10px;

    }

    .mb2b-hero__button{

        width:100%;

        min-height:50px;

    }

}

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

@media (max-width:480px){

    .mb2b-hero{

        min-height:600px;

        background-position:74% center;

    }

    .mb2b-hero__content{

        padding-bottom:28px;

    }

    .mb2b-hero__heading{

        font-size:32px;

        line-height:1.08;

    }

    .mb2b-hero__description{

        font-size:14px;

    }

}

@media (max-width:767px){

    .mb2b-hero__content{

        transform:translateY(-100px);

    }

}


/* ==========================================================================
   PRODUCTS — REPEATER / ICON
   ========================================================================== */

.mb2b-hero__products {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--mb2b-products-row-gap, 10px)
         var(--mb2b-products-column-gap, 22px);
    margin-bottom: var(--mb2b-products-bottom-spacing, 32px);
    color: var(--mb2b-products-color, #FFFFFF);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 600;
}

.mb2b-hero__products--row {
    flex-direction: row;
}

.mb2b-hero__products--column {
    flex-direction: column;
    align-items: flex-start;
}

.mb2b-hero__product {
    display: inline-flex;
    align-items: center;
    gap: var(--mb2b-product-icon-gap, 8px);
    color: inherit;
    text-decoration: none;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.mb2b-hero__product:hover {
    color: inherit;
    text-decoration: none;
    opacity: .82;
}

.mb2b-hero__product-name {
    color: var(--mb2b-products-text-accent, #FFA300);
}

.mb2b-hero__product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--mb2b-product-icon-size, 18px);
    height: var(--mb2b-product-icon-size, 18px);
    color: var(--mb2b-product-icon-color, #FFA300);
    line-height: 1;
    flex: 0 0 auto;
}

.mb2b-hero__product-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.mb2b-hero__product-icon i {
    font-size: var(--mb2b-product-icon-size, 18px);
    line-height: 1;
    color: currentColor;
}

/* Old separator markup is no longer used by the repeater. */
.mb2b-hero__products .mb2b-hero__product-separator {
    display: none;
}

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

.mb2b-hero__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 18px;
    line-height: 1;
}

.mb2b-hero__button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.mb2b-hero__button-icon i {
    line-height: 1;
}

/* ==========================================================================
   PRODUCTS — MOBILE
   ========================================================================== */

@media (max-width: 767px) {

    .mb2b-hero__products {
        gap: var(--mb2b-products-row-gap-mobile, 10px)
             var(--mb2b-products-column-gap-mobile, 18px);
        margin-bottom: var(--mb2b-products-bottom-spacing-mobile, 20px);
        font-size: 13px;
        line-height: 1.7;
    }

    .mb2b-hero__products--row .mb2b-hero__product {
        flex: 0 0 auto;
    }

    .mb2b-hero__products--column {
        gap: var(--mb2b-products-row-gap-mobile, 10px);
    }

    .mb2b-hero__product-icon {
        width: var(--mb2b-product-icon-size-mobile, 18px);
        height: var(--mb2b-product-icon-size-mobile, 18px);
    }

    .mb2b-hero__product-icon i {
        font-size: var(--mb2b-product-icon-size-mobile, 18px);
    }

    .mb2b-hero__button-icon {
        margin-left: 8px;
    }
}
