/* ========== ОБЩИЙ КОНТЕЙНЕР 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;
}

/* ========== ЗАГОЛОВОК СТРАНИЦЫ ========== */
.page-title-wrapper {
    padding: 40px 0 0;
    background: #FFFFFF;
}

.page-title {
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: 48px;
    line-height: 1.2;
    color: var(--color-black);
    margin: 0;
    text-align: center;
    -webkit-text-stroke: 1px #000000;
}

/* ========== КОНТАКТЫ ========== */
.contacts-main {
    padding: 60px 0;
    background: #FFFFFF;
}

.contacts-main__grid {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

/* Левая колонка */
.contacts-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Контактная информация */
.contacts-info {
    background: #F7EBEC;
    border-radius: 24px;
    padding: 25px 30px;
}

.contacts-info__item {
    margin-bottom: 20px;
    font-family: var(--font-main);
    font-size: 15px;
}

.contacts-info__item:last-child {
    margin-bottom: 0;
}

.contacts-info__label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: var(--color-black);
    font-size: 14px;
}

.contacts-info__value {
    font-weight: 300;
    color: var(--color-black);
    text-decoration: none;
    display: block;
    line-height: 1.4;
    font-size: 14px;
}

.contacts-info__value:hover {
    color: var(--color-pink);
}

/* Карта (уменьшенная) */
.contacts-map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contacts-map iframe {
    display: block;
    width: 100%;
    height: 260px;
}

/* Правая колонка - форма (уменьшенная) */
.request-card {
    flex: 1;
    background: #F7EBEC;
    border-radius: 24px;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
}

.request-card__title {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 28px;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 20px;
    margin-top: 50px;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.request-form__input,
.request-form__textarea {
    width: 100%;
    padding: 10px 16px;
    font-family: var(--font-main);
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    background: white;
}

.request-form__input:focus,
.request-form__textarea:focus {
    outline: none;
    border-color: var(--color-pink);
}

.request-form__textarea {
    resize: vertical;
    min-height: 80px;
    border-radius: 20px;
}

.request-form__btn {
    background: var(--color-pink);
    border: none;
    border-radius: 40px;
    padding: 10px 20px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 5px;
}

.request-form__btn:hover {
    background: #9e3e52;
    transform: scale(1.02);
}

.request-form__contacts {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.request-form__contacts p {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.request-form__contacts a {
    color: var(--color-pink);
    text-decoration: none;
}

.request-form__contacts a:hover {
    text-decoration: underline;
}

/* ========== АДАПТИВ ========== */


/* ---------- Адаптив 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;
    }
}

/* ---------- Адаптив заголовка страницы ---------- */
@media (max-width: 900px) {
    .page-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
}

/* ========== АДАПТИВ ДЛЯ СТРАНИЦЫ "КОНТАКТЫ" ========== */

/* 1200px - 901px (компьютерная версия) */
@media (max-width: 1200px) {
    .contacts-main__grid {
        gap: 30px;
    }
    
    .contacts-info {
        padding: 20px 25px;
    }
    
    .request-card {
        padding: 20px 25px;
    }
    
    .request-card__title {
        font-size: 26px;
        margin-top: 30px;
    }
}

/* 900px (сохраняем горизонтальное расположение, уменьшаем отступы) */
@media (max-width: 900px) {
    .page-title {
        font-size: 40px;
    }
    
    .contacts-main {
        padding: 50px 0;
    }
    
    .contacts-main__grid {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }
    
    .contacts-left {
        flex: 1;
        gap: 20px;
    }
    
    .contacts-info {
        padding: 20px;
    }
    
    .contacts-info__item {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .contacts-info__label {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .contacts-info__value {
        font-size: 13px;
    }
    
    .contacts-map iframe {
        height: 240px;
    }
    
    .request-card {
        flex: 1;
        padding: 20px;
    }
    
    .request-card__title {
        font-size: 24px;
        margin-top: 20px;
        margin-bottom: 15px;
    }
    
    .request-form {
        gap: 10px;
    }
    
    .request-form__input,
    .request-form__textarea {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .request-form__textarea {
        min-height: 70px;
    }
    
    .request-form__btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .request-form__contacts p {
        font-size: 11px;
    }
}

/* 768px (переходим на колонку, делаем красиво) */
@media (max-width: 768px) {
    .contacts-main {
        padding: 40px 0;
    }
    
    /* Оставляем горизонтальное расположение */
    .contacts-main__grid {
        display: flex;
        flex-direction: row;
        gap: 25px;
    }
    
    .contacts-left {
        flex: 1;
        gap: 20px;
    }
    
    .contacts-info {
        padding: 20px;
    }
    
    .contacts-info__item {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .contacts-info__label {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .contacts-info__value {
        font-size: 12px;
    }
    
    .contacts-map iframe {
        height: 200px;
    }
    
    .request-card {
        flex: 1;
        padding: 20px;
    }
    
    .request-card__title {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .request-form {
        gap: 10px;
    }
    
    .request-form__input,
    .request-form__textarea {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .request-form__textarea {
        min-height: 70px;
    }
    
    .request-form__btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .request-form__contacts p {
        font-size: 10px;
    }
}

/* 600px (уменьшаем отступы, форма компактнее) */
@media (max-width: 600px) {
    .contacts-main {
        padding: 30px 0;
    }
    
    .contacts-main__grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .contacts-info {
        padding: 20px;
    }
    
    .contacts-info__item {
        margin-bottom: 15px;
        text-align: center;
    }
    
    .contacts-info__label,
    .contacts-info__value {
        font-size: 13px;
    }
    
    .contacts-map iframe {
        height: 220px;
    }
    
    .request-card {
        padding: 20px;
    }
    
    .request-card__title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .request-form {
        gap: 10px;
    }
    
    .request-form__input,
    .request-form__textarea {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .request-form__textarea {
        min-height: 80px;
    }
    
    .request-form__btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* 480px (мобильная версия) */
@media (max-width: 480px) {
    .page-title {
        font-size: 32px;
    }
    
    .contacts-main {
        padding: 25px 0;
    }
    
    .contacts-info {
        padding: 18px;
    }
    
    .contacts-info__item {
        margin-bottom: 12px;
    }
    
    .contacts-info__label,
    .contacts-info__value {
        font-size: 12px;
    }
    
    .contacts-map iframe {
        height: 200px;
    }
    
    .request-card {
        padding: 18px;
    }
    
    .request-card__title {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .request-form {
        gap: 8px;
    }
    
    .request-form__input,
    .request-form__textarea {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .request-form__textarea {
        min-height: 70px;
    }
    
    .request-form__btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .request-form__contacts {
        margin-top: 15px;
        padding-top: 10px;
    }
    
    .request-form__contacts p {
        font-size: 10px;
        margin-bottom: 3px;
    }
}

/* 360px (очень маленькие телефоны) */
@media (max-width: 360px) {
    .contacts-info {
        padding: 15px;
    }
    
    .contacts-info__label,
    .contacts-info__value {
        font-size: 11px;
    }
    
    .contacts-map iframe {
        height: 180px;
    }
    
    .request-card {
        padding: 15px;
    }
    
    .request-card__title {
        font-size: 20px;
    }
    
    .request-form__input,
    .request-form__textarea {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .request-form__textarea {
        min-height: 60px;
    }
    
    .request-form__btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}