/* ==========================================================
   MERITZA CLASSES
   HOW IT WORKS
   Version : 4.2.0

   Desktop:
   60% Process
   40% Illustration

   Visual:
   Vertical milestone journey
   Smaller circular icons
   Grey step numbers
   Blue connector
   Gold editorial eyebrow

   Spacing:
   Controlled by global homepage spacing system
========================================================== */


/* ==========================================================
   SECTION
========================================================== */

.mc-how-it-works{

    position:relative;

    /*
     * Outer spacing is controlled globally by
     * .mc-home-section.
     *
     * This section controls internal layout only.
     */

    padding-top:0;

    padding-bottom:0;

    overflow:hidden;

}


/* ==========================================================
   HEADER
========================================================== */

.mc-how-header{

    position:relative;

    max-width:820px;

    margin:0 auto 12px;

    text-align:center;

    z-index:5;

}


/* ==========================================================
   EDITORIAL EYEBROW
   Same visual language as THE MERITZA DIFFERENCE
========================================================== */

.mc-how-eyebrow{

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    max-width:720px;

    margin:0 auto 10px;

    gap:18px;

}


/* ==========================================================
   EYEBROW TEXT
========================================================== */

.mc-how-eyebrow-text{

    flex-shrink:0;

    color:#B98C14;

    font-size:.84rem;

    font-weight:800;

    letter-spacing:.17em;

    line-height:1;

    white-space:nowrap;

}


/* ==========================================================
   GOLD FADING LINES
========================================================== */

.mc-how-eyebrow-line{

    flex:1;

    height:2px;

    opacity:1;

}


/* ==========================================================
   LEFT GOLD LINE
========================================================== */

.mc-how-eyebrow-line:first-child{

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(212,175,55,.20) 15%,
            rgba(212,175,55,.55) 55%,
            rgba(212,175,55,.95) 100%
        );

}


/* ==========================================================
   RIGHT GOLD LINE
========================================================== */

.mc-how-eyebrow-line:last-child{

    background:
        linear-gradient(
            90deg,
            rgba(212,175,55,.95) 0%,
            rgba(212,175,55,.55) 45%,
            rgba(212,175,55,.20) 85%,
            transparent 100%
        );

}


/* ==========================================================
   TITLE
========================================================== */

.mc-how-title{

    margin:0;

    color:#0A1946;

    font-size:2.2rem;

    font-weight:800;

    line-height:1.1;

    letter-spacing:-.7px;

}


/* ==========================================================
   DESCRIPTION
========================================================== */

.mc-how-description{

    max-width:640px;

    margin:5px auto 0;

    color:#52627A;

    font-size:.9rem;

    line-height:1.4;

}


/* ==========================================================
   MAIN LAYOUT
========================================================== */

.mc-how-layout{

    display:grid;

    grid-template-columns:60% 40%;

    align-items:center;

    min-height:455px;

}


/* ==========================================================
   PROCESS AREA
========================================================== */

.mc-how-process{

    position:relative;

    width:100%;

    height:365px;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    padding:5px 8% 5px 2%;

}


/* ==========================================================
   CONNECTOR
========================================================== */

.mc-how-connector{

    position:absolute;

    left:calc(2% + 82px);

    top:63px;

    bottom:63px;

    width:3px;

    z-index:1;

}


/* ==========================================================
   CONNECTOR LINE
========================================================== */

.mc-how-connector-line{

    position:absolute;

    left:0;

    top:0;

    width:3px;

    height:100%;

    background:
        linear-gradient(
            180deg,
            #3667AA 0%,
            #3667AA 42%,
            #D4AF37 42%,
            #D4AF37 45%,
            #3667AA 45%,
            #3667AA 100%
        );

    border-radius:20px;

    opacity:.78;

}


/* ==========================================================
   GOLD CONNECTOR DOTS
========================================================== */

.mc-how-connector-line::before,
.mc-how-connector-line::after{

    content:"";

    position:absolute;

    left:50%;

    width:9px;

    height:9px;

    transform:translateX(-50%);

    border-radius:50%;

    background:#D4AF37;

    border:2px solid #FFFFFF;

    box-shadow:
        0 2px 7px rgba(212,175,55,.22);

}


.mc-how-connector-line::before{

    top:33.33%;

}


.mc-how-connector-line::after{

    top:66.66%;

}


/* ==========================================================
   STEP
========================================================== */

.mc-how-step{

    position:relative;

    display:grid;

    grid-template-columns:52px 58px 1fr;

    align-items:center;

    width:100%;

    min-height:82px;

    z-index:3;

}


/* ==========================================================
   NUMBER
========================================================== */

.mc-how-number{

    display:flex;

    align-items:center;

    justify-content:flex-end;

    padding-right:14px;

    color:#8B96A7;

    font-size:1.35rem;

    font-weight:800;

    line-height:1;

}


/* ==========================================================
   ICON
========================================================== */

.mc-how-icon{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    width:58px;

    height:58px;

    margin:0 auto;

    border-radius:50%;

    background:#FFFFFF;

    border:2px solid #2867C7;

    color:#2867C7;

    box-shadow:
        0 6px 16px rgba(10,25,70,.08);

    z-index:4;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

}


/* ==========================================================
   ICON
========================================================== */

.mc-how-icon i{

    font-size:1.15rem;

    line-height:1;

}


/* ==========================================================
   GOLD ACCENT
========================================================== */

.mc-how-icon::after{

    content:"";

    position:absolute;

    width:6px;

    height:6px;

    right:2px;

    bottom:6px;

    border-radius:50%;

    background:#D4AF37;

    border:2px solid #FFFFFF;

}


/* ==========================================================
   STEP CONTENT
========================================================== */

.mc-how-step-content{

    padding-left:22px;

    padding-right:15px;

}


.mc-how-step-content h3{

    margin:0;

    color:#0A1946;

    font-size:1rem;

    font-weight:800;

    line-height:1.25;

}


.mc-how-step-content p{

    max-width:330px;

    margin:4px 0 0;

    color:#607089;

    font-size:.76rem;

    line-height:1.4;

}


/* ==========================================================
   HOVER
========================================================== */

.mc-how-step:hover
.mc-how-icon{

    transform:translateY(-2px);

    background:#FFFFFF;

    border-color:#D4AF37;

    color:#2867C7;

    box-shadow:
        0 10px 24px rgba(212,175,55,.16);

}


/* ==========================================================
   RIGHT VISUAL
========================================================== */

.mc-how-visual{

    position:relative;

    min-height:455px;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:visible;

}


/* ==========================================================
   VISUAL GLOW
========================================================== */

.mc-how-visual-glow{

    position:absolute;

    width:360px;

    height:360px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(54,103,170,.07) 0%,
            rgba(212,175,55,.055) 42%,
            transparent 72%
        );

    pointer-events:none;

}


/* ==========================================================
   ILLUSTRATION
========================================================== */

.mc-how-illustration{

    position:relative;

    z-index:2;

    display:block;

    width:100%;

    max-width:430px;

    height:430px;

    object-fit:contain;

    filter:
        drop-shadow(
            0 18px 35px rgba(10,25,70,.08)
        );

}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width:991.98px){

    .mc-how-layout{

        grid-template-columns:58% 42%;

        min-height:430px;

    }


    .mc-how-process{

        height:415px;

        padding-right:4%;

    }


    .mc-how-step{

        grid-template-columns:45px 52px 1fr;

    }


    .mc-how-icon{

        width:52px;

        height:52px;

    }


    .mc-how-connector{

        left:calc(2% + 71px);

    }


    .mc-how-step-content{

        padding-left:17px;

    }


    .mc-how-step-content h3{

        font-size:.88rem;

    }


    .mc-how-step-content p{

        font-size:.68rem;

    }


    .mc-how-number{

        font-size:1.2rem;

        color:#8B96A7;

    }


    .mc-how-icon i{

        font-size:1rem;

    }


    .mc-how-illustration{

        max-width:350px;

        height:350px;

    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:767.98px){

    .mc-how-header{

        margin-bottom:28px;

    }


    .mc-how-eyebrow{

        gap:10px;

    }


    .mc-how-eyebrow-text{

        font-size:.64rem;

        letter-spacing:.12em;

    }


    .mc-how-eyebrow-line{

        height:1px;

    }


    .mc-how-title{

        font-size:1.8rem;

    }


    .mc-how-description{

        font-size:.84rem;

    }


    .mc-how-layout{

        display:flex;

        flex-direction:column;

        min-height:auto;

    }


    .mc-how-process{

        height:440px;

        padding:0;

    }


    .mc-how-step{

        grid-template-columns:42px 54px 1fr;

    }


    .mc-how-number{

        font-size:1.05rem;

        padding-right:10px;

        color:#8B96A7;

    }


    .mc-how-icon{

        width:54px;

        height:54px;

        border-width:2px;

    }


    .mc-how-icon i{

        font-size:1rem;

    }


    .mc-how-connector{

        left:96px;

        top:58px;

        bottom:58px;

    }


    .mc-how-step-content{

        padding-left:15px;

    }


    .mc-how-step-content h3{

        font-size:.82rem;

    }


    .mc-how-step-content p{

        font-size:.66rem;

    }


    .mc-how-visual{

        min-height:320px;

        margin-top:25px;

    }


    .mc-how-illustration{

        max-width:300px;

        height:300px;

    }

}