/* =========================================================
   FIX METHOD
   The FIX Method by AlterMind
   ========================================================= */

.fix-method {
    position: relative;
    padding: 120px 0 130px;
    background: #080d14;
    overflow: hidden;
}

.fix-method__inner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.fix-method__header {
    max-width: 620px;
    margin: 0 auto 78px;
    text-align: center;
}

.fix-method__eyebrow {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fix-method__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 0.95;
    font-weight: 760;
    letter-spacing: -0.055em;
}

.fix-method__intro {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 17px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   PATHWAY
   --------------------------------------------------------- */

.fix-method__pathway {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 0;
}


/* Connecting line */

.fix-method__pathway::before {
    content: "";

    position: absolute;
    top: 9px;
    left: 12.5%;
    right: 12.5%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.28),
            rgba(255, 255, 255, 0.16)
        );
}


/* ---------------------------------------------------------
   STEP
   --------------------------------------------------------- */

.fix-method__step {
    position: relative;
    text-align: center;
    padding: 0 24px;
}

.fix-method__node {
    position: relative;
    z-index: 2;

    display: block;

    width: 18px;
    height: 18px;

    margin: 0 auto 30px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.045);
}


/* ---------------------------------------------------------
   FIND — WHITE
   --------------------------------------------------------- */

.fix-method__step--find .fix-method__node {
    background: #ffffff;
    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.06),
        0 0 24px rgba(255, 255, 255, 0.20);
}

.fix-method__step--find .fix-method__label {
    color: #ffffff;
}


/* ---------------------------------------------------------
   LEARN — BLUE
   --------------------------------------------------------- */

.fix-method__step--learn .fix-method__node {
    background: #4da3ff;
    box-shadow:
        0 0 0 5px rgba(77, 163, 255, 0.07),
        0 0 26px rgba(77, 163, 255, 0.30);
}

.fix-method__step--learn .fix-method__label {
    color: #4da3ff;
}


/* ---------------------------------------------------------
   BUILD — GREEN
   --------------------------------------------------------- */

.fix-method__step--build .fix-method__node {
    background: #63d49b;
    box-shadow:
        0 0 0 5px rgba(99, 212, 155, 0.07),
        0 0 26px rgba(99, 212, 155, 0.28);
}

.fix-method__step--build .fix-method__label {
    color: #63d49b;
}


/* ---------------------------------------------------------
   SOLVE — YELLOW
   --------------------------------------------------------- */

.fix-method__step--solve .fix-method__node {
    background: #f2c94c;
    box-shadow:
        0 0 0 5px rgba(242, 201, 76, 0.07),
        0 0 26px rgba(242, 201, 76, 0.28);
}

.fix-method__step--solve .fix-method__label {
    color: #f2c94c;
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.fix-method__label {
    margin: 0 0 12px;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 0.18em;
}

.fix-method__content h3 {
    margin: 0;

    color: #ffffff;

    font-size: 20px;
    line-height: 1.3;
    font-weight: 650;

    letter-spacing: -0.025em;
}

.fix-method__content p:last-child {
    max-width: 220px;

    margin: 12px auto 0;

    color: rgba(255, 255, 255, 0.48);

    font-size: 14px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 850px) {

    .fix-method {
        padding: 90px 0 100px;
    }

    .fix-method__header {
        margin-bottom: 60px;
    }

    .fix-method__step {
        padding: 0 14px;
    }

    .fix-method__content h3 {
        font-size: 17px;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */
@media (max-width: 680px) {

    .fix-method {
        padding: 50px 0 60px;
    }

    .fix-method__inner {
        width: calc(100% - 30px);
    }

    .fix-method__header {
        margin-bottom: 54px;
    }

    .fix-method__pathway {
        grid-template-columns: 1fr;
        gap: 42px;
    }
    .fix-method__pathway::before {
        top: 9px;
        bottom: 9px;
        left: 50%;
        right: auto;

        width: 1px;
        height: auto;

        transform: translateX(-50%);
    }

    .fix-method__step {
        padding: 0 10px;
    }

    .fix-method__node {
        margin-bottom: 18px;
    }

    .fix-method__content p:last-child {
        max-width: 280px;
    }

}

.fix-method__eyebrow span {
    color: #4da3ff;
}

.fix-method__title span {
    color: #f2c94c;
}