/* ========== ОБЩИЙ КОНТЕЙНЕР 1200px ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== ХЕРО-БЛОК ========== */
.hero {
    width: 100%;
    background-color: transparent;
    background-image: url('../images/feedback__bg-5.png');
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    width: 100%;
}

.hero__studio {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.2;
    color: var(--color-black);
}

.hero__slogan {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.3;
    color: var(--color-black);
    max-width: 800px;
}

/* ========== ОБЁРТКА ДЛЯ ЛОГОТИПА И ЦВЕТКОВ ========== */
.hero__logo-wrapper {
    position: relative;
    display: inline-block;
}

/* Заголовок (логотип) */
.hero__title {
    position: relative;
    z-index: 10;
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: clamp(40px, 8vw, 75px);
    line-height: 1.2;
    color: var(--color-black);
    max-width: 900px;
    word-break: break-word;
    margin: 0;
    -webkit-text-stroke: 1px #000000;
}

/* ========== ВСЕ ЦВЕТКИ СПРАВА (группируем) ========== */
.hero__flower {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Левый цветок (ближе к логотипу) */
.hero__flower--left {
    right: -305px;
    width: 331px;
    height: 751px;
    background: url('../images/flower-front-1.png') no-repeat center/contain;
    background-size: contain;
    z-index: 1;
    top: 362px;
}

/* Центральный цветок (посередине) */
.hero__flower--center {
    right: -537px;
    width: 376px;
    height: 658px;
    background: url('../images/flower-front-2.png') no-repeat center/contain;
    background-size: contain;
    z-index: 2;
    top: 100px;
}

/* Правый цветок (самый дальний) */
.hero__flower--right {
    right: -788px;
    width: 627px;
    height: 894px;
    background: url('../images/flower-front-3.png') no-repeat center/contain;
    background-size: contain;
    z-index: 1;
    top: 443px;
}

/* ========== НОВЫЙ БЛОК "О НАС" ========== */
.about-new {
    padding: 80px 0;
    background: #FFFFFF;
}

.about-new__grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-new__content {
    flex: 1;
}

.about-new__title {
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: 48px;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: 25px;
}

.about-new__text {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.about-new__text:last-child {
    margin-bottom: 0;
}

.about-new__image {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
}

.about-new__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== БЛОК "ПОЧЕМУ МЫ" ========== */
.why-us {
    padding: 80px 0;
    background: #F7EBEC;
}

.why-us__layout {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
}

.why-us__left {
    flex: 1.2;
}

.why-us__right {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
    min-height: 300px;
}

.why-us__title {
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: 48px;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: 15px;
}

.why-us__subtitle {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-black);
    margin-bottom: 30px;
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.why-us__card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    background: #FFFFFF;
}

.why-us__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--color-pink);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    flex-shrink: 0;
}

.why-us__text {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    color: #333;
    line-height: 1.3;
}

.why-us__quote {
    margin-bottom: 25px;
    margin-left: 700px;
    margin-top: 50px;
}

.why-us__quote p {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-black);
    margin: 0;
}

.why-us__button-wrapper {
    margin-left: 780px;
}

.why-us__btn {
    display: inline-block;
    background: var(--color-pink);
    color: white;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 14px 48px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.why-us__btn:hover {
    background: #9e3e52;
    transform: scale(1.02);
}


/* ---------- Адаптив hero (текст всегда СЛЕВА) ---------- */
@media (max-width: 900px) {
    .hero {
        background-image: none;
        background-color: var(--color-pink-bg);
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;    /* ← текст слева */
        text-align: left;           /* ← текст слева */
        padding: 40px 20px;
    }
    
    .hero__title,
    .hero__slogan {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        background: var(--color-pink-bg);
        background-image: none;
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero .container {
        align-items: flex-start;    /* ← текст слева */
        text-align: left;           /* ← текст слева */
        margin-top: 50px;
        gap: 15px;
    }
    
    .hero__studio,
    .hero__title,
    .hero__slogan,
    .hero__btn {
        text-align: left;           /* ← текст слева */
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero__title {
        font-size: 50px;
        max-width: 100%;
    }
    
    .hero__slogan {
        max-width: 100%;
        font-size: 15px;
    }
    
    .hero__studio {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 100px;
    }
    
    .hero__title {
        font-size: 34px;
    }
}

/* ========== АДАПТИВ ЦВЕТКОВ В ХЕРО-БЛОКЕ (всегда справа) ========== */

/* 1100px */
@media (max-width: 1100px) {
    .hero__flower--left {
        right: -180px;
        width: 280px;
        height: 630px;
        top: 320px;
    }
    
    .hero__flower--center {
        right: -350px;
        width: 320px;
        height: 560px;
        top: 80px;
    }
    
    .hero__flower--right {
        right: -597px;
        width: 530px;
        height: 760px;
        top: 390px;
    }
}

/* 900px */
@media (max-width: 900px) {
    .hero {
        padding: 80px 0 85px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 18px;
    }
    
    .hero__studio {
        font-size: 18px;
    }
    
    .hero__title {
        font-size: 52px;
    }
    
    .hero__slogan {
        font-size: 16px;
        max-width: 100%;
    }
    
    /* Цветы для 900px */
    .hero__flower--left {
        right: -169px;
        width: 250px;
        height: 560px;
        top: 320px;
    }
    
    .hero__flower--center {
        right: -328px;
        width: 270px;
        height: 470px;
        top: 150px;
    }
    
    .hero__flower--right {
        right: -518px;
        width: 390px;
        height: 560px;
        top: 340px;
    }
}

/* 768px */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 18px;
    }
    
    .hero__studio {
        font-size: 17px;
    }
    
    .hero__title {
        font-size: 44px;
    }
    
    .hero__slogan {
        font-size: 15px;
        max-width: 100%;
    }
    
    /* Цветы для 768px */
    .hero__flower--left {
        right: -140px;
        width: 230px;
        height: 510px;
        top: 290px;
    }
    
    .hero__flower--center {
        right: -270px;
        width: 245px;
        height: 430px;
        top: 140px;
    }
    
    .hero__flower--right {
        right: -430px;
        width: 355px;
        height: 510px;
        top: 310px;
    }
}

/* 600px */
@media (max-width: 600px) {
    .hero {
        padding: 45px 0 60px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 16px;
    }
    
    .hero__studio {
        font-size: 16px;
    }
    
    .hero__title {
        font-size: 40px;
    }
    
    .hero__slogan {
        font-size: 14px;
        max-width: 100%;
    }
    
    /* Цветы для 600px */
    .hero__flower--left {
        right: -100px;
        width: 200px;
        height: 450px;
        top: 268px;
    }
    
    .hero__flower--center {
        right: -200px;
        width: 210px;
        height: 380px;
        top: 125px;
    }
    
    .hero__flower--right {
        right: -330px;
        width: 300px;
        height: 450px;
        top: 280px;
    }
}

/* 520px */
@media (max-width: 520px) {
    .hero__flower--left {
        right: -76px;
        width: 180px;
        height: 400px;
        top: 253px;
    }
    
    .hero__flower--center {
        right: -167px;
        width: 190px;
        height: 340px;
        top: 115px;
    }
    
    .hero__flower--right {
        right: -276px;
        width: 270px;
        height: 400px;
        top: 260px;
    }
}

/* 480px */
@media (max-width: 480px) {
    .hero {
        padding: 30px 0 40px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 15px;
    }
    
    .hero__studio {
        font-size: 16px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__slogan {
        font-size: 14px;
        max-width: 100%;
    }
    
    /* Цветы всегда справа, только уменьшаем */
    .hero__flower--left {
        right: -65px;
        width: 163px;
        height: 371px;
        top: 235px;
    }
    
    .hero__flower--center {
        right: -163px;
        width: 165px;
        height: 290px;
        top: 128px;
    }
    
    .hero__flower--right {
        right: -260px;
        width: 243px;
        height: 346px;
        top: 248px;
    }
}

/* 420px */
@media (max-width: 420px) {

    .hero__flower--left {
        right: -22px;
        width: 136px;
        height: 309px;
        top: 221px;
    }
    
    .hero__flower--center {
        right: -86px;
        width: 123px;
        height: 216px;
        top: 128px;
    }
    
    .hero__flower--right {
        right: -187px;
        width: 198px;
        height: 282px;
        top: 225px;
    }
}

/* ========== АДАПТИВ ДЛЯ СТРАНИЦЫ "О НАС" ========== */

/* 1200px — 2 колонки */
@media (max-width: 1200px) {
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .why-us__quote {
        margin-left: auto;
        max-width: 350px;
    }
    
    .why-us__button-wrapper {
        margin-left: auto;
    }
}

/* 1024px */
@media (max-width: 1024px) {
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .why-us__quote {
        margin-left: 0;
        max-width: 100%;
    }
    
    .why-us__button-wrapper {
        margin-left: 0;
    }
}

/* 900px — оставляем горизонтальное расположение, но фиксируем проблему с вылезанием */
@media (max-width: 900px) {
    .about-new__grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-new__title {
        font-size: 40px;
        text-align: center;
    }
    
    .about-new__text {
        text-align: left;
        font-size: 16px;
    }
    
    .why-us__layout {
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
    }
    
    .why-us__left {
        flex: 1;
    }
    
    .why-us__right {
        flex: 1;
        align-items: flex-start;
        min-height: auto;
    }
    
    .why-us__title {
        font-size: 40px;
        text-align: left;
    }
    
    .why-us__subtitle {
        text-align: left;
        font-size: 16px;
    }
    
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 0 0 30px 0;
    }
    
    .why-us__quote {
        margin-left: 0;
        text-align: left;
        margin-bottom: 20px;
        max-width: 100%;
    }
    
    .why-us__button-wrapper {
        margin-left: 0;
        text-align: left;
    }
}

/* 768px */
@media (max-width: 768px) {
    .about-new {
        padding: 50px 0;
    }
    
    .about-new__title {
        font-size: 36px;
    }
    
    .about-new__text {
        font-size: 16px;
    }
    
    .why-us {
        padding: 50px 0;
    }
    
    .why-us__layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .why-us__title {
        font-size: 36px;
    }
    
    .why-us__subtitle {
        font-size: 16px;
    }
    
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .why-us__card {
        justify-content: flex-start;
        padding: 10px 15px;
    }
    
    .why-us__text {
        font-size: 14px;
    }
    
    .why-us__quote p {
        font-size: 16px;
    }
    
    .why-us__btn {
        font-size: 15px;
        padding: 12px 32px;
    }
}

/* 600px */
@media (max-width: 600px) {
    .about-new {
        padding: 40px 0;
    }
    
    .about-new__title {
        font-size: 32px;
    }
    
    .about-new__text {
        font-size: 15px;
    }
    
    .why-us {
        padding: 40px 0;
    }
    
    .why-us__title {
        font-size: 32px;
    }
    
    .why-us__subtitle {
        font-size: 15px;
    }
    
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .why-us__text {
        font-size: 13px;
    }
    
    .why-us__quote p {
        font-size: 15px;
    }
    
    .why-us__btn {
        font-size: 14px;
        padding: 10px 28px;
    }
}

/* 550px — 2 колонки */
@media (max-width: 550px) {
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .why-us__card {
        padding: 8px 12px;
    }
    
    .why-us__text {
        font-size: 12px;
    }
}

/* 480px — 2 колонки */
@media (max-width: 480px) {
    .about-new__title {
        font-size: 28px;
    }
    
    .about-new__text {
        font-size: 14px;
    }
    
    .why-us__title {
        font-size: 28px;
    }
    
    .why-us__subtitle {
        font-size: 14px;
    }
    
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .why-us__text {
        font-size: 11px;
    }
    
    .why-us__quote p {
        font-size: 14px;
    }
    
    .why-us__btn {
        font-size: 13px;
        padding: 8px 20px;
    }
    
    .why-us__card {
        padding: 6px 10px;
    }
    
    .why-us__check {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
}

/* 420px */
@media (max-width: 420px) {
    .about-new__title {
        font-size: 26px;
    }
    
    .about-new__text {
        font-size: 13px;
    }
    
    .why-us__title {
        font-size: 26px;
    }
    
    .why-us__subtitle {
        font-size: 13px;
    }
    
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .why-us__text {
        font-size: 10px;
    }
    
    .why-us__quote p {
        font-size: 13px;
    }
    
    .why-us__btn {
        font-size: 12px;
        padding: 8px 16px;
    }
}