.home-hero{
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    align-items: center;
    gap: 56px;

    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 38px 0 42px;
}

.home-hero-content{
    min-width: 0;
    max-width: 680px;
}

.home-hero .eyebrow{
    margin: 0 0 18px;

    color: #b87333;

    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-hero-title{
    margin: 0 0 24px;

    font-family: "Space Mono", monospace;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.home-hero-title-main{
    display: block;
    color: #2b2b2b;
}

.home-hero-title-accent{
    display: block;
    color: #6c151e;
}


/* ==========================================
   HERO - TEKST
========================================== */

.home-hero-lead{
    max-width: 620px;
    margin: 0;

    color: #2b2b2b;

    font-family: "Poppins", sans-serif;
    font-size: 18px;
    line-height: 1.75;
}


/* ==========================================
   HERO - PRZYCISKI
========================================== */

.home-hero-actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;

    margin-top: 32px;
}

.home-hero-actions .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 13px 24px;

    border-radius: 999px;

    text-decoration: none;
}

.home-hero-actions .btn-primary{
    background: #6c151e;
    border-color: #6c151e;
    color: #f5dabf;
}

.home-hero-actions .btn-primary:hover{
    background: #571118;
    border-color: #571118;
}

.home-hero-actions .btn-ghost{
    border: 1px solid transparent;
    color: #2b2b2b;
    background: transparent;
}

.home-hero-actions .btn-ghost:hover{
    color: #6c151e;
    background: transparent;
}


/* ==========================================
   HERO - GRAFIKA
========================================== */

.home-hero-visual{
    display: flex;
    align-items: flex-end;
    justify-content: center;

    min-width: 0;
    min-height: 460px;
}

.home-hero-image{
    width: 100%;
    max-width: 620px;
    max-height: 540px;
    object-fit: contain;
    object-position: center bottom;
}


.home-help{
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 20px 0 90px;
    overflow: hidden;
    border-radius: 28px;

    
}

.home-help::before,.home-help::after{
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.home-help::before{
    width: 260px;
    height: 260px;
    left: -110px;
    bottom: -70px;
    background: rgba(245, 218, 191, .45);
}

.home-help::after{
    width: 320px;
    height: 320px;
    right: -150px;
    bottom: -150px;
    background: rgba(107, 122, 69, .10);
}

.home-help-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}


.home-help-card{
    position: relative;

    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;

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

    padding: 28px;

    border: 1px solid rgba(108, 21, 30, .10);
    border-radius: 22px;

    background: #fffaf4;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.home-help-card:hover{
    transform: translateY(-4px);

    border-color: rgba(108, 21, 30, .25);

    box-shadow:
        0 16px 36px rgba(43, 43, 43, .08);
}


/* ==========================================
   IKONY
========================================== */

.home-help-icon{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: #f5dabf;
    color: #6c151e;

    font-size: 23px;
}

.home-help-card:nth-child(even) .home-help-icon{
    background: #e6e8d8;
    color: #6b7a45;
}


.home-help-card-content{
    display: flex;
    flex-direction: column;

    min-width: 0;
    width: 100%;
}

.home-help-card h2{
    margin: 2px 0 14px;

    color: #2b2b2b;

    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;

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

.home-help-card p{
    margin: 0 0 24px;

    color: #2b2b2b;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.7;

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


/* ==========================================
   STRZAŁKA
========================================== */

.home-help-arrow{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-top: auto;

    border-radius: 50%;

    background: #b87333;
    color: #f5dabf;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease;
}

.home-help-arrow:hover{
    transform: translateX(3px);

    background: #6c151e;
    color: #f5dabf;
}

.home-help-arrow i{
    font-size: 18px;
    line-height: 1;
}


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

@media (max-width: 1024px){

    .home-hero{
        grid-template-columns: 1fr 1fr;
        gap: 32px;

        width: min(100% - 36px, 960px);
        padding-top: 54px;
    }

    .home-hero-title{
        font-size: clamp(40px, 5vw, 58px);
    }

    .home-hero-visual{
        min-height: 400px;
    }

    .home-help{
        width: min(100% - 36px, 960px);
    }

    .home-help-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


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

@media (max-width: 768px){

    .home-hero{
        grid-template-columns: 1fr;
        gap: 34px;

        width: calc(100% - 32px);
        padding: 42px 0 32px;
    }

    .home-hero-content{
        max-width: none;
    }

    .home-hero-title{
        font-size: clamp(38px, 11vw, 52px);
    }

    .home-hero-lead{
        font-size: 16px;
    }

    .home-hero-actions{
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero-actions .btn{
        width: 100%;
        text-align: center;
    }

    .home-hero-visual{
        min-height: 0;
    }

    .home-hero-image{
        max-width: 540px;
        max-height: none;
    }

    .home-help{
        padding: 20px 0 64px;

    }

    .home-help-grid{
        grid-template-columns: 1fr;
    }

    .home-help-card{
        min-height: 0;
    }

}


/* ==========================================
   MAŁE TELEFONY
========================================== */

@media (max-width: 480px){

    .home-hero-title{
        font-size: 38px;
    }

    .home-help-card{
        grid-template-columns: 48px minmax(0, 1fr);

        gap: 14px;
        padding: 22px 18px;

        border-radius: 18px;
    }

    .home-help-icon{
        width: 48px;
        height: 48px;

        font-size: 20px;
    }

    .home-help-card h2{
        font-size: 18px;
    }

    .home-help-card p{
        font-size: 14px;
    }

}