.hero-block {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    margin-top: -100px;
    padding-top: 100px;
    overflow-y: hidden; 
}

.hero-block__container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 100vh;
    gap: 8em;
    padding: 60px 20px;
}

.hero-block__image {
    width: 100%;
    margin-bottom: 40px;
}

.hero-block__image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-block__title {
	display: flex;
	justify-content: flex-start;
    width: 100%;
    margin-bottom: 40px;
}

.hero-block__h1 {
    font-family: var(--first-family); 
    font-weight: 700;
	font-size: 13.5vw;  
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #f2f2f2;
    text-transform: none;
    margin: 0;
    padding: 0;
    white-space: nowrap; 
}

.hero-block__content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.hero-block__text-1 {
    display: flex;
    flex-direction: column;
    gap: .15em;
    width: auto;
}

.hero-block__text-1-top,
.hero-block__text-1-bottom {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: #f2f2f2;
    margin: 0;
}

.hero-block__text-1-top {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    max-width: 45ch;
    text-wrap: balance;
}

.hero-block__text-1-bottom {
    display: flex;
    justify-content: flex-end;
    text-align: right;
    max-width: 55ch;
    margin-left: auto;
    text-wrap: balance;
}

.hero-block__text-2 {
    display: flex;
    flex-direction: row;
    width: 50%;
}

.hero-block__text-2 p {
    max-width: 30ch;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: #f2f2f2;
    text-align: left;
    margin: 0;
}

.hero-block__button-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 1em;
}

.hero-block__button {
    display: inline-block;
    background: transparent;    
    text-decoration: none;
    font-family: var(--second-first);
    font-weight: 600;
    font-size: 30px;
    line-height: 90%;
    color: #f2f2f2;
    padding: .2em 0;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .08s ease;
}

.hero-block__button:hover {
    background-color: white;
    color: black;
}

.hero-animate {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero-block {
        margin-top: -80px;
        padding-top: 80px;
        min-height: 90vh;
        width: 100%;
    }
    
    .hero-block__container {
        padding: 40px 30px;
        gap: 2.5em;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .hero-block__image {
        margin-bottom: 30px;
    }
    
    .hero-block__content {
        width: 100%;
        gap: 2em;
    }
    
    .hero-block__text-1 {
        align-items: flex-start;
    }
    
    .hero-block__text-1-top,
    .hero-block__text-1-bottom {
        font-size: 15px;
        margin: 0;
        max-width: 55ch;
    }
    
    .hero-block__text-2 {
        width: 35%;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .hero-block__text-2 p {
        font-size: 15px;
    }

    .hero-block__button-wrapper {
        justify-content: flex-start;
        padding: 0;
    }
    
    .hero-block__button {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero-block {
        width: 100%;
        min-height: 100vh;
        margin-top: -80px;
        padding-top: 80px;
    }
    
    .hero-block__container {
        justify-content: space-between;
        align-items: flex-start;
        min-height: 90vh;
        padding: 40px 30px;
        gap: 2.5em;
    }
    
    .hero-block__image {
        margin-bottom: 30px;
    }
	
	.hero-block__h1 {
        font-size: clamp(28px, 9vw, 9999px);
        white-space: normal;
    }
    
    .hero-block__content {
        width: 100%;
        gap: 2em;
    }
    
    .hero-block__text-1 {
        align-items: flex-start;
    }
    
    .hero-block__text-1-top,
    .hero-block__text-1-bottom {
        font-size: 15px;
        margin: 0;
        max-width: 55ch;
    }
    
    .hero-block__text-2 {
        width: 35%;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .hero-block__text-2 p {
        font-size: 15px;
    }

    .hero-block__button-wrapper {
        justify-content: flex-start;
        padding: 0;
    }
    
    .hero-block__button {
        font-size: 20px;
    }
    
    .hero-animate {
        transform: translateY(-20px);
    }
}

@media (max-width: 480px) {
    .hero-block__container {
        justify-content: end;
        min-height: 90vh;
        padding: 0 15px 60px 15px;
        gap: 1em;
    }

    .hero-block__image {
        margin-bottom: 4em;
    }

	.hero-block__h1 {
        font-size: clamp(22px, 10.5vw, 9999px);
        white-space: normal;
    }
	
    .hero-block__content {
        gap: 1em;
    }
    
    .hero-block__text-1-top,
    .hero-block__text-1-bottom,
    .hero-block__text-2 p {
        font-size: 13px;
    }
    
    .hero-block__text-1-bottom {
        justify-content: flex-end;
        text-align: left;
        padding-left: 10%;
    }

    .hero-block__text-2 {
        max-width: none;
        width: 100%;
    }

    .hero-block__button-wrapper {
        padding-top: 2em; 
    }

    .hero-block__button {
        font-size: 22px;
    }
    
    .hero-animate {
        transform: translateY(-15px);
    }
}