.hero {
    position: relative;
    width: 100%;
    min-height: 560px;
    height: clamp(560px, 50vw, 850px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    z-index: 0;
}

/* ===== Верхняя строка: лого + контакты ===== */

.hero__topbar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 11.51vw;
    flex-wrap: wrap;
    padding-top: clamp(20px, 2vw, 30px);
}

.hero__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.hero__brand-icon {
    width: clamp(56px, 6.5vw, 130px);
    height: clamp(56px, 6.55vw, 130px);
    object-fit: contain;
    flex-shrink: 0;
}

.hero__brand-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero__brand-title {
    font-family: var(--font-serif);
    font-size: clamp(20px, 2vw, 34px);
    line-height: 0.9;
    color: var(--color-black);
}

.hero__brand-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(11px, 1vw, 17px);
    line-height: 0.9;
    color: var(--color-black);
}

.hero__contacts {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.8vw, 30px);
    flex-wrap: wrap;
    padding-top: 8px;
}

.hero__contact {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-black);
    white-space: nowrap;
}

.hero__contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero__contact-text {
    font-family: var(--font-sans);
    font-size: clamp(12px, 0.9vw, 16px);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
}

/* ===== Основной контент ===== */

.hero__content {

    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(20px, 2vw, 40px);
    padding-bottom: clamp(30px, 4vw, 70px);
}

.hero__title {
    margin: 0;
    max-width: 725px;
    font-family: var(--font-serif);
    font-size: clamp(30px, 4.6vw, 70px);
    line-height: 0.9;
    font-weight: 400;
    color: var(--color-black);
}

.hero__subtitle {
    margin: -8px 0 0;
    max-width: 460px;
    font-family: var(--font-sans);
    font-size: clamp(15px, 1.6vw, 24px);
    line-height: 1.3;
    color: var(--color-black);
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 100px;
    background: var(--color-active);
    color: var(--color-peach);
    font-family: var(--font-sans);
    font-size: clamp(12px, 1vw, 18px);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
}
.hero__cta:hover {
    background: #61262a;
}

/* ===== Боковая плашка "Условия рассрочки" ===== */

.hero__promo {
    position: fixed;
    z-index: 2;
    top: 32%;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-beige);
    border-radius: 20px 20px 0 0;
    text-decoration: none;
    color: #fff;
    transform-origin: right center;
    transform: rotate(-90deg);
}

.hero__promo-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hero__promo-text {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ===== Адаптив ===== */

@media (max-width: 1420px) {

.hero__title {
    max-width: 680px; 
}
}

@media (max-width: 1280px) {

.hero__title {
    max-width: 635px; 
}
}
@media (max-width: 1200px) {

.hero__title {
    max-width: 590px; 
}
}
@media (max-width: 1024px) {

.hero__title {
    max-width: 510px; 
}
}



@media (max-width: 767px) {
    .hero {
        height: auto;
        min-height: 620px;
        padding-bottom: 60px;
    }
    .hero__topbar {
        gap: 14px;
    }
    .hero__contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .hero__content {
        padding-top: 24px;
    }
.hero__promo {

    gap: 8px;
    padding: 8px 16px;
 
}




}


@media (max-width: 480px) {
.hero {
    gap: 12px;
}

.hero__title {
    max-width: 310px;
}
.hero__subtitle {
    max-width: 310px;
}

.hero__bg {
    object-position: 14%; 
}
.hero__cta {
    padding: 12px 28px;
   
}

.hero__promo {
    top: auto;
    bottom: 0;
    right: auto;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 2px 20px 0 0;
    transform: rotate(0deg);
}

}
