/* ==========================================================
   INDUSTRY HELP
========================================================== */

.industry-help {
    position: relative;
    overflow: hidden;

    padding: 120px 24px;

    background: var(--section-white);
}


.industry-help__container {
    width: 100%;
    max-width: var(--container);

    margin: 0 auto;
}


/* ==========================================================
   HEADER
========================================================== */

.industry-help__header {
    width: 100%;
    max-width: 900px;

    margin: 0 auto 64px;

    text-align: center;
}


/* BADGE */

.industry-help__badge {
    width: fit-content;

    margin: 0 auto;

    padding: 9px 14px;

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

    gap: 8px;

    border: var(--border-primary);
    border-radius: var(--radius-full);

    background: var(--primary-light);

    font-family: var(--font-main);
    font-size: 13px;
    line-height: 1;

    font-weight: var(--fw-semibold);

    color: var(--primary);
}


.industry-help__badge svg {
    width: 16px;
    height: 16px;

    stroke-width: 2.1;
}


/* ==========================================================
   TITLE
========================================================== */

.industry-help__title {
    max-width: 880px;

    margin: 23px auto 0;

    font-family: var(--font-main);

    font-size: clamp(42px, 4.4vw, 62px);
    line-height: 1.06;

    font-weight: var(--fw-extra);

    letter-spacing: -0.045em;

    color: var(--text-main);

    text-wrap: balance;
}


.industry-help__title span {
    display: block;

    margin-top: 5px;

    background: var(--gradient-primary);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent;
}


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

.industry-help__intro {
    max-width: 680px;

    margin: 23px auto 0;

    font-family: var(--font-main);

    font-size: 17px;
    line-height: 1.72;

    font-weight: var(--fw-normal);

    color: var(--text-muted);

    text-wrap: pretty;
}


/* ==========================================================
   GRID
========================================================== */

.industry-help__grid {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    border: var(--border-light);
    border-radius: 28px;

    overflow: hidden;

    background: var(--bg-white);

    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.07);
}


/* ==========================================================
   ITEM
========================================================== */

.industry-help__item {
    position: relative;

    min-height: 380px;

    padding: 38px 40px 30px;

    display: flex;
    flex-direction: column;

    background: var(--bg-white);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}


/* Vertical divider */

.industry-help__item:nth-child(odd) {
    border-right: var(--border-light);
}


/* Horizontal divider */

.industry-help__item:nth-child(-n + 2) {
    border-bottom: var(--border-light);
}


@media (hover: hover) {

    .industry-help__item:hover {
        z-index: 2;

        background:
            linear-gradient(
                145deg,
                var(--bg-white) 0%,
                var(--primary-soft) 100%
            );

        box-shadow:
            inset 0 0 0 1px rgba(37, 99, 235, 0.08);
    }

}


/* ==========================================================
   TOP
========================================================== */

.industry-help__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* NUMBER */

.industry-help__number {
    font-family: var(--font-main);

    font-size: 24px;
    line-height: 1;

    font-weight: var(--fw-bold);

    letter-spacing: 0.08em;

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


/* ICON */

.industry-help__icon {
    width: 52px;
    height: 52px;

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

    flex-shrink: 0;

    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            var(--primary-light),
            var(--blue-soft)
        );

    color: var(--primary);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.industry-help__icon svg {
    width: 23px;
    height: 23px;

    stroke-width: 1.9;
}


@media (hover: hover) {

    .industry-help__item:hover .industry-help__icon {
        transform: translateY(-3px);

        background: var(--bg-white);
    }

}


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

.industry-help__content {
    max-width: 500px;

    margin-top: 55px;
}


/* EYEBROW */

.industry-help__eyebrow {
    display: block;

    margin-bottom: 9px;

    font-family: var(--font-main);

    font-size: 13px;
    line-height: 1.2;

    font-weight: var(--fw-bold);

    letter-spacing: 0.07em;

    text-transform: uppercase;

    color: var(--primary);
}


/* TITLE */

.industry-help__content h3 {
    margin: 0;

    font-family: var(--font-main);

    font-size: clamp(25px, 2vw, 31px);
    line-height: 1.18;

    font-weight: var(--fw-bold);

    letter-spacing: -0.035em;

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


/* DESCRIPTION */

.industry-help__content p {
    max-width: 460px;

    margin: 13px 0 0;

    font-family: var(--font-main);

    font-size: 16px;
    line-height: 1.68;

    font-weight: var(--fw-normal);

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


/* ==========================================================
   FOOTER
========================================================== */

.industry-help__footer {
    width: 100%;

    margin-top: auto;
    padding-top: 30px;

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

    gap: 20px;
}


.industry-help__footer span {
    padding: 7px 11px;

    border: var(--border-light);
    border-radius: var(--radius-full);

    background: var(--bg-main);

    font-family: var(--font-main);

    font-size: 14px;
    line-height: 1;

    font-weight: var(--fw-semibold);

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


.industry-help__footer svg {
    width: 18px;
    height: 18px;

    color: var(--text-light);

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


@media (hover: hover) {

    .industry-help__item:hover .industry-help__footer svg {
        color: var(--primary);

        transform: translate(2px, -2px);
    }

}


/* ==========================================================
   BOTTOM CTA
========================================================== */

.industry-help__bottom {
    margin-top: 30px;

    padding: 25px 30px;

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

    gap: 30px;

    border: var(--border-light);
    border-radius: var(--radius-lg);

    background: var(--section-soft);
}


.industry-help__bottom p {
    margin: 0;

    font-family: var(--font-main);

    font-size: 15px;
    line-height: 1.55;

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


.industry-help__bottom p strong {
    font-weight: var(--fw-semibold);

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


.industry-help__link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    flex-shrink: 0;

    font-family: var(--font-main);

    font-size: 14px;
    line-height: 1;

    font-weight: var(--fw-semibold);

    color: var(--primary);

    text-decoration: none;

    transition:
        gap 0.25s ease,
        color 0.25s ease;
}


.industry-help__link svg {
    width: 17px;
    height: 17px;
}


.industry-help__link:hover {
    gap: 11px;

    color: var(--primary-hover);
}

/* ==========================================================
   RESPONSIVE — 1240px
========================================================== */

@media (max-width: 1240px) {

    .industry-help {
        padding:
            105px 28px;
    }


    .industry-help__header {
        margin-bottom: 55px;
    }


    .industry-help__title {
        font-size:
            clamp(40px, 4.5vw, 56px);
    }


    .industry-help__item {
        min-height: 365px;

        padding:
            34px 34px 28px;
    }


    .industry-help__content {
        margin-top: 48px;
    }


    .industry-help__content h3 {
        font-size: 27px;
    }
    


}


/* ==========================================================
   RESPONSIVE — 786px
========================================================== */

@media (max-width: 786px) {

    .industry-help {
        padding:
            85px 20px;
    }


    .industry-help__header {
        margin-bottom: 45px;
    }


    .industry-help__title {
        font-size:
            clamp(36px, 7.5vw, 48px);

        line-height: 1.08;
    }


    .industry-help__intro {
        max-width: 600px;

        margin-top: 20px;

        font-size: 16px;
        line-height: 1.7;
    }


    .industry-help__grid {
        grid-template-columns: 1fr;

        border-radius: 22px;
    }


    .industry-help__item {
        min-height: 330px;

        padding:
            30px;
    }


    .industry-help__item:nth-child(odd) {
        border-right: none;
    }


    .industry-help__item:nth-child(-n + 2) {
        border-bottom: var(--border-light);
    }


    .industry-help__item:nth-child(3) {
        border-bottom: var(--border-light);
    }


    .industry-help__content {
        max-width: 560px;

        margin-top: 40px;
    }


    .industry-help__content h3 {
        font-size: 26px;
    }


    .industry-help__content p {
        max-width: 540px;

        font-size: 15px;
    }


    .industry-help__bottom {
        margin-top: 24px;

        padding: 23px 25px;
    }
    




}


/* ==========================================================
   RESPONSIVE — 480px
========================================================== */

@media (max-width: 480px) {

    .industry-help {
        padding:
            70px 16px;
    }


    .industry-help__header {
        margin-bottom: 36px;
    }


    .industry-help__badge {
        padding:
            8px 12px;

        font-size: 12px;
    }


    .industry-help__badge svg {
        width: 15px;
        height: 15px;
    }


    .industry-help__title {
        margin-top: 18px;

        font-size:
            clamp(32px, 9.5vw, 40px);

        line-height: 1.08;

        letter-spacing: -0.04em;
    }


    .industry-help__title span {
        margin-top: 4px;
    }


    .industry-help__intro {
        margin-top: 17px;

        font-size: 15px;
        line-height: 1.65;
    }


    .industry-help__grid {
        border-radius: 18px;
    }


    .industry-help__item {
        min-height: 310px;

        padding:
            24px 22px;
    }


    .industry-help__icon {
        width: 46px;
        height: 46px;

        border-radius: 13px;
    }


    .industry-help__icon svg {
        width: 20px;
        height: 20px;
    }


    .industry-help__number {
        font-size: 19px;
    }


    .industry-help__content {
        margin-top: 34px;
    }


    .industry-help__eyebrow {
        margin-bottom: 7px;

        font-size: 11px;
    }


    .industry-help__content h3 {
        font-size: 23px;
        line-height: 1.22;
    }


    .industry-help__content p {
        margin-top: 10px;

        font-size: 14px;
        line-height: 1.65;
    }


    .industry-help__footer {
        padding-top: 25px;
    }


    .industry-help__footer span {
        padding:
            7px 10px;

        font-size: 12px;
    }


    .industry-help__bottom {
        margin-top: 18px;

        padding:
            21px 20px;

        flex-direction: column;
        align-items: flex-start;

        gap: 14px;

        border-radius: 17px;
    }


    .industry-help__bottom p {
        font-size: 14px;
    }


    .industry-help__link {
        font-size: 14px;
    }
    


}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .industry-help__item,
    .industry-help__icon,
    .industry-help__footer svg,
    .industry-help__link {
        transition: none;
    }
    
    .re-businesses__tab,
    .re-businesses__cta,
    .re-businesses__cta svg,
    .re-businesses__image {
        transition: none;
    }

}