/* =========================================================
   VIA AURA - HOW IT WORKS
========================================================= */

.va-how {
    width: 100%;
    background: #f7f3ec;

    border-top: 1px solid rgba(196, 154, 74, 0.20);
    border-bottom: 1px solid rgba(196, 154, 74, 0.20);
}


/* =========================================================
   GRID
   1/6 | 1/6 | 1/6 | 1/6 | 1/3
========================================================= */

.va-how__grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr
        1fr
        2fr;
}


/* =========================================================
   COLUMN
========================================================= */

.va-how__column {
    position: relative;

    min-width: 0;
    min-height: 560px;

    padding: 22px 18px 26px;

    box-sizing: border-box;

    border-right: 1px solid rgba(196, 154, 74, 0.20);

    display: flex;
    flex-direction: column;

    text-align: center;
}

.va-how__column:last-child {
    border-right: 0;
}


/* =========================================================
   HEADINGS
========================================================= */

.va-how__heading {
    min-height: 64px;

    margin-bottom: 14px;
}

.va-how__column h2 {
    margin: 0 0 4px;

    font-family: var(--va-font-heading);

    font-size: clamp(16px, 1.1vw, 21px);
    line-height: 1.15;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.03em;

    color: var(--va-navy);
}

.va-how__heading span {
    display: block;

    font-size: 10px;
    line-height: 1.3;

    font-weight: 500;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    color: var(--va-navy);
}


/* =========================================================
   INTRO
========================================================= */

.va-how__intro {
    padding-left: 16px;
    padding-right: 16px;

    text-align: left;
}

.va-how__intro > h2 {
    min-height: 64px;

    margin: 0 0 14px;

    text-align: center;
}


/* Timeline */

.va-how__timeline {
    position: relative;

    display: flex;
    flex-direction: column;

    gap: 34px;

    margin-top: 8px;
}


/* vertical line */

.va-how__timeline::before {
    content: "";

    position: absolute;

    left: 45px;
    top: 29px;
    bottom: 29px;

    width: 1px;

    background: rgba(196, 154, 74, 0.45);
}


.va-how__timeline-item {
    position: relative;

    display: grid;

    grid-template-columns: 26px 46px minmax(0, 1fr);

    align-items: start;

    gap: 8px;

    z-index: 2;
}


.va-how__number {
    width: 26px;
    height: 26px;

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

    border-radius: 50%;

    background: var(--va-gold);

    color: #fff;

    font-size: 11px;
    font-weight: 600;
}


.va-how__step-icon {
    width: 46px;
    height: 46px;

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

    border: 1px solid var(--va-gold);
    border-radius: 50%;

    background: #f7f3ec;

    color: var(--va-navy);

    font-size: 20px;
}


.va-how__timeline-copy {
    min-width: 0;
}


.va-how__timeline-copy h3 {
    margin: 1px 0 5px;

    font-family: var(--va-font-body);

    font-size: 10px;
    line-height: 1.25;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.03em;

    color: var(--va-navy);
}


.va-how__timeline-copy p {
    margin: 0;

    font-size: 9px;
    line-height: 1.45;

    color: var(--va-text);

    overflow-wrap: normal;
    word-break: normal;
}


/* =========================================================
   PRODUCT COLUMNS
========================================================= */

.va-how__product-column {
    padding-left: 14px;
    padding-right: 14px;
}


.va-how__product-layout {
    flex: 1;

    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(72px, 0.95fr)
        minmax(85px, 1.05fr);

    align-items: center;

    gap: 12px;
}


/* product image */

.va-how__product-image {
    min-width: 0;

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


.va-how__product-image img {
    display: block;

    width: 100%;
    max-width: 112px;
    height: auto;

    max-height: 380px;

    object-fit: contain;
}


/* =========================================================
   BENEFITS
========================================================= */

.va-how__benefits {
    min-width: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;

    gap: 18px;
}


.va-how__benefits p {
    position: relative;

    margin: 0;

    padding-left: 27px;

    font-size: 9px;
    line-height: 1.4;

    text-align: left;

    color: var(--va-text);
}


.va-how__benefits p::before {
    content: "◯";

    position: absolute;

    left: 0;
    top: -3px;

    color: var(--va-gold);

    font-size: 17px;
}


/* =========================================================
   SACHETS
========================================================= */

.va-how__sachets {
    padding-left: 22px;
    padding-right: 22px;
}


.va-how__sachet-layout {
    flex: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 2.2fr)
        minmax(120px, 0.8fr);

    align-items: center;

    gap: 24px;
}


/* three products */

.va-how__sachet-products {
    min-width: 0;

    display: grid;

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

    align-items: end;

    gap: 12px;
}


.va-how__sachet-products img {
    display: block;

    width: 100%;
    max-width: 105px;
    height: auto;

    max-height: 380px;

    margin: 0 auto;

    object-fit: contain;
}


/* right feature icons */

.va-how__sachet-features {
    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 28px;
}


.va-how__sachet-features div {
    text-align: center;
}


.va-how__sachet-features span {
    width: 40px;
    height: 40px;

    margin: 0 auto 8px;

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

    border: 1px solid var(--va-gold);
    border-radius: 50%;

    color: var(--va-gold);

    font-size: 18px;
}


.va-how__sachet-features p {
    margin: 0;

    font-size: 9px;
    line-height: 1.35;

    text-transform: uppercase;

    color: var(--va-navy);
}


/* =========================================================
   DESKTOP TUNING
========================================================= */

@media (max-width: 1450px) {

    .va-how__column {
        padding-left: 12px;
        padding-right: 12px;
    }

    .va-how__product-layout {
        gap: 8px;
    }

    .va-how__benefits {
        gap: 14px;
    }

    .va-how__benefits p {
        font-size: 8.5px;
    }

    .va-how__timeline-copy p {
        font-size: 8.5px;
    }

}


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

@media (max-width: 1100px) {

    .va-how__grid {
        grid-template-columns: 1fr 1fr;
    }


    .va-how__column {
        min-height: 540px;

        padding: 34px 30px;

        border-bottom: 1px solid rgba(196, 154, 74, 0.20);
    }


    .va-how__intro {
        min-height: 540px;
    }


    .va-how__product-layout {
        grid-template-columns:
            minmax(120px, 0.9fr)
            1.1fr;

        gap: 24px;
    }


    .va-how__product-image img {
        max-width: 150px;
    }


    .va-how__benefits p {
        font-size: 10px;
    }


    .va-how__sachets {
        grid-column: span 2;
    }


    .va-how__sachet-layout {
        grid-template-columns:
            minmax(0, 2.5fr)
            minmax(160px, 0.7fr);

        gap: 35px;
    }


    .va-how__sachet-products img {
        max-width: 135px;
    }

}


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

@media (max-width: 700px) {

    .va-how__grid {
        display: block;
    }


    .va-how__column {
        min-height: auto;

        padding: 44px 22px;

        border-right: 0;

        border-bottom: 1px solid rgba(196, 154, 74, 0.20);
    }


    .va-how__intro > h2 {
        min-height: auto;
    }


    .va-how__timeline {
        max-width: 420px;

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


    .va-how__timeline-item {
        grid-template-columns:
            28px
            50px
            minmax(0, 1fr);

        gap: 10px;
    }


    .va-how__step-icon {
        width: 50px;
        height: 50px;
    }


    .va-how__timeline::before {
        left: 48px;
    }


    .va-how__timeline-copy h3 {
        font-size: 11px;
    }


    .va-how__timeline-copy p {
        font-size: 10px;
    }


    /* product */

    .va-how__product-layout {
        max-width: 450px;

        margin: 10px auto 0;

        grid-template-columns:
            minmax(130px, 0.9fr)
            minmax(0, 1.1fr);

        gap: 24px;
    }


    .va-how__product-image img {
        max-width: 160px;
    }


    .va-how__benefits {
        gap: 18px;
    }


    .va-how__benefits p {
        font-size: 10px;
    }


    /* sachets */

    .va-how__sachet-layout {
        display: block;
    }


    .va-how__sachet-products {
        max-width: 480px;

        margin: 25px auto 35px;

        gap: 10px;
    }


    .va-how__sachet-products img {
        max-width: 120px;
    }


    .va-how__sachet-features {
        max-width: 420px;

        margin: 0 auto;

        display: grid;

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

        gap: 18px;
    }

}


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

@media (max-width: 460px) {

    .va-how__product-layout {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .va-how__product-image img {
        max-width: 150px;

        margin: 0 auto;
    }


    .va-how__benefits {
        max-width: 260px;

        margin: 0 auto;
    }


    .va-how__sachet-features {
        grid-template-columns: 1fr;

        gap: 20px;
    }

}