.hero-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    gap: 2rem;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
}

/* 320 и меньше */
@media (max-width: 320px) {
    .hero-section {
        gap: 1.5rem;
        padding: 1.75rem 1rem 0;
    }
}

/* 321–375 */
@media (min-width: 321px) and (max-width: 375px) {
    .hero-section {
        gap: 1.75rem;
        padding: 2rem 1.25rem 0;
    }
}

/* 376–425 */
@media (min-width: 376px) and (max-width: 425px) {
    .hero-section {
        gap: 1.85rem;
        padding: 2.25rem 1.5rem 0;
    }
}

/* 426–768 */
@media (min-width: 426px) and (max-width: 768px) {
    .hero-section {
        gap: 2rem;
        padding: 2.5rem 1.75rem 0;
    }
}

/* 769–1024 */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        gap: 2.5rem;
        padding-right: 1.5rem;
        grid-template-columns: 0.8fr 2.2fr;
    }
}

/* 1025–1440 */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-section {
        gap: 3rem;
        padding-right: 3rem;
        grid-template-columns: 0.7fr 2.3fr;
    }
}

/* 1441–2560 */
@media (min-width: 1441px) and (max-width: 2560px) {
    .hero-section {
        gap: 3.5rem;
        padding-right: 4rem;
    }
}

.hero-spacer {
    /* intentionally empty */
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 768px) {
    .hero-content {
        order: -1;
        gap: 0.85rem;
    }
}

@media (max-width: 320px) {
    .hero-content {
        gap: 0.75rem;
    }
}

@media (min-width: 1440px) and (max-width: 2560px) {
    .hero-content {
        gap: 1.25rem;
    }
}

/* замена %brandTitle */
.hero-title {
    margin: 0;
    color: var(--text-main);
    font-size: 94px;
    line-height: 1.1;
    font-weight: 700;
}

/* замена %textMiniDark */
.hero-subtitle {
    margin: 0;
    padding: 0;
    color: var(--text-2);
    font-size: 12px;
}

/* Для SplitText mask */
.mask {
    display: block;
    overflow: hidden;
    visibility: inherit;
}

/* responsive typography for hero title/subtitle (из typography.scss) */
@media (max-width: 1440px) {
    .hero-title {
        font-size: 76px;
        line-height: 1.08;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 76px;
        line-height: 1.1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 64px;
        line-height: 1.15;
    }
}

@media (max-width: 425px) {
    .hero-title {
        font-size: 48px;
        line-height: 1.2;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 44px;
        line-height: 1.22;
    }
    .hero-subtitle {
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 40px;
        line-height: 1.25;
    }
    .hero-subtitle {
        font-size: 10px;
    }
}
