/* ============================================
   DIALUX — Общие стили проекта
   ============================================ */

/* ---------- CSS-переменные ---------- */
:root {
    /* Цвета */
    --dark: #2D2E34;
    --dark-card: #3E3F48;
    --green: #469D69;
    --green-dark: #016749;
    --orange: #F69F0C;
    --blue: #3D83F7;
    --red: #DC3F28;
    --red-dark: #B5321F;
    --gradient: linear-gradient(90deg, #DC3F28 0%, #B5321F 100%);
    --light-bg: linear-gradient(180deg, #F4F4F4 0%, #FCFCFC 100%);
    --white: #FFFFFF;
    --white-off: #FFFEFE;
    --gray-line: #DCDCDC;
    --gray-line-2: #D8D8D8;
    --gray-avatar: #CFCFCF;
    --gray-field: #EDEDED;
    --gray-placeholder: #B3B3B3;

    /* Тени */
    --shadow-card: 1px 1px 111px 0px rgba(0, 0, 0, 0.1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* Радиусы */
    --radius-card: 20px;
    --radius-btn: 80px;

    /* Шрифт */
    --font: 'Montserrat', sans-serif;

    /* Контейнер */
    --container: 1300px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 18px;
    line-height: 28px;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: var(--font);
    border: none;
    background: none;
    cursor: pointer;
}

/* ---------- Контейнер ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 700;
    font-size: 22px;
    line-height: 22px;
    border-radius: var(--radius-btn);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(220, 63, 40, 0.35);
}

.btn--primary:hover {
    box-shadow: 0 12px 40px rgba(220, 63, 40, 0.45);
}

.btn--secondary {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--gray-line);
}

.btn--secondary:hover {
    border-color: var(--dark);
}

.btn--header {
    background: var(--gradient);
    color: var(--white);
    font-size: 18px;
    line-height: 18px;
    padding: 21px 50px;
}

/* ---------- Бейдж ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-btn);
    padding: 15px 30px;
    width: fit-content;
}

.badge__text {
    font-weight: 600;
    font-size: 15px;
    line-height: 15px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ============================================
   БЛОК 1: HERO
   ============================================ */
.hero {
    position: relative;
    background: var(--white);
    overflow: hidden;
    padding: 0 0 60px ;
}

/* Фон */
.hero__bg {
    position: absolute;
    inset: 0;
    background: url('../images/bg-hero.png') center top / cover no-repeat;
    z-index: 0;
}

/* Декоративные слои */
.hero__decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.hero__decor--layer4 {
    left: -29px;
    top: 812px;
    width: 893px;
    height: auto;
    opacity: 0.9;
}

.hero__decor--layer2 {
    right: 0;
    top: 580px;
    width: 786px;
    height: auto;
    opacity: 0.9;
}

.hero__decor--layer5 {
    right: 50px;
    top: 211px;
    width: 220px;
    height: auto;
}

/* ---------- Шапка ---------- */
.hero__header {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 20px;
}

.hero__logo img {
    width: 153px;
    height: 37px;
}

.hero__nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
}

.hero__nav-link {
    font-size: 18px;
    line-height: 18px;
    color: var(--dark);
    white-space: nowrap;
    transition: color 0.2s ease;
}

.hero__nav-link:hover {
    color: var(--red);
}

.hero__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    margin-left: auto;
}

.hero__burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero__burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hero__burger.active span:nth-child(2) {
    opacity: 0;
}

.hero__burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Разделитель */
.hero__divider {
    height: 2px;
    background: var(--gray-line-2);
    margin-top: 25px;
}

/* ---------- Основной контент ---------- */
.hero__main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-top: 80px;
    position: relative;
}

/* Левая колонка */
.hero__left {
    max-width: 660px;
    flex: 1;
    z-index: 2;
}

.hero__title {
    font-weight: 800;
    font-size: 55px;
    line-height: 68.4px;
    text-transform: uppercase;
    color: var(--dark);
    margin-top: 30px;
    max-width: 660px;
}

/* Белая карточка с цитатой */
.hero__quote-card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 32px 40px;
    margin-top: 30px;
    max-width: 760px;
    z-index: 1;
}

.hero__quote {
    font-size: 20px;
    line-height: 28px;
    color: var(--dark);
    max-width: 460px;
}

.hero__quote strong {
    font-weight: 700;
}

/* Кнопки */
.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.hero__actions .btn {
    width: 374px;
    height: 94px;
}

/* Правая колонка */
.hero__right {
    position: relative;
    width: 463px;
    flex-shrink: 0;
    z-index: 2;
}

/* Карточка товара */
.product-card {
    position: relative;
    width: 390px;
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__like {
    position: absolute;
    top: 20px;
    left: 32px;
    width: 88px;
    height: 88px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.product-card__like img {
    width: 40px;
    height: 38px;
}

.product-card__img {
    width: 471px;
    height: 479px;
    object-fit: contain;
}

/* Плашка Dialux Formula */
.formula-card {
    position: absolute;
    right: 50px;
    bottom: 50px;
    width: 463.55px;
    background: var(--green);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 20px;
    z-index: 99;
    transform: rotate(10deg);
}

.formula-card__content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.formula-card__title {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: var(--white);
}

.formula-card__stars {
    color: #FFD700; /* золотые звёзды */
    font-size: 27px;
    letter-spacing: 2px;
}

.formula-card__subtitle {
    font-size: 18px;
    line-height: 28px;
    color: var(--white);
    max-width: 400px;
}

/* Доктор (по центру, перекрывает) */
.hero__doctor {
    position: absolute;
    left: 61%;
    transform: translateX(-50%);
    bottom: -75px;
    width: 440px;
    object-fit: contain;
    z-index: 3;
    pointer-events: none;
}

/* ---------- Мобильная карточка (только mobile) ---------- */
.hero__mobile {
    display: none;
}

/* ============================================
   БЛОК 2: ПРОБЛЕМА
   ============================================ */
.problem {
    background: var(--dark);
    padding: 80px 0;
}

.problem__title {
    font-weight: 800;
    font-size: 40px;
    line-height: 48px;
    text-transform: uppercase;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
}

.problem__subtitle {
    font-size: 18px;
    line-height: 28px;
    color: var(--gray-placeholder);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.problem__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Карточка проблемы */
.problem-card {
    background: var(--dark-card);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.problem-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.problem-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.problem-card__content {
    padding: 30px;
}

.problem-card__title {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 15px;
}

.problem-card__text {
    font-size: 16px;
    line-height: 28px;
    color: var(--gray-placeholder);
}

/* Адаптив для проблемы */
@media (max-width: 1024px) {
    .problem {
        padding: 60px 0;
    }

    .problem__title {
        font-size: 32px;
        line-height: 40px;
    }

    .problem__cards {
        gap: 20px;
    }

    .problem-card__content {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .problem {
        padding: 50px 0;
    }

    .problem__title {
        font-size: 28px;
        line-height: 36px;
    }

    .problem__subtitle {
        margin-bottom: 40px;
    }

    .problem__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .problem {
        padding: 40px 0;
    }

    .problem__title {
        font-size: 24px;
        line-height: 32px;
    }

    .problem__subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .problem__cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .problem-card__content {
        padding: 20px;
    }
}

/* ============================================
   БЛОК 3: СОЗДАТЕЛЬ
   ============================================ */
.creator {
    background: var(--white);
    padding: 80px 0;
}

.creator__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Левая часть: сгруппированные изображения */
.creator__visual {
    position: relative;
}

.creator__image-wrapper {
    position: relative;
    width: 100%;
}
.sec3-prod{
    position: absolute;
    top: 370px;
    max-width: 400px;
    left: 50%;
    width: 70%;
    transform: translateX(-50%);
}

.creator__image-lab {
    width: 100%;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    display: block;
}

.creator__image-product {
    position: absolute;
    bottom: -10%;
    left: 10%;
    width: 55%;
    max-width: 400px;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

/* Правая часть: контент */
.creator__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.creator__title {
    font-weight: 800;
    font-size: 40px;
    line-height: 48px;
    text-transform: uppercase;
    color: var(--dark);
}

.creator__accent {
    color: var(--red);
}

.creator__description {
    font-size: 18px;
    line-height: 28px;
    color: var(--dark);
    max-width: 570px;
}

/* Карточки ингредиентов */
.creator__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ingredient-card {
    border-radius: var(--radius-card);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.ingredient-card--green {
    background: var(--green);
}

.ingredient-card--green .ingredient-card__title,
.ingredient-card--green .ingredient-card__text {
    color: var(--white);
}

.ingredient-card--white {
    background: var(--white-off);
}

.ingredient-card--shadow {
    box-shadow: var(--shadow-card);
}

.ingredient-card__title {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: var(--white);
}

.ingredient-card__title--dark {
    color: var(--dark);
}

.ingredient-card__text {
    font-size: 16px;
    line-height: 24px;
    color: var(--white);
}

.ingredient-card__text--dark {
    color: var(--dark);
}

/* ============================================
   БЛОК 4: ИССЛЕДОВАНИЯ
   ============================================ */
.research {
    background: var(--white);
    padding: 80px 0;
}

/* Бейдж */
.research__badge {
    display: block;
    max-width: 360px;
    text-align: center;
    align-items: center;
    gap: 10px;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-btn);
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 auto 30px;
}

.research__badge-icon {
    flex-shrink: 0;
}

/* Заголовок */
.research__title {
    font-weight: 800;
    font-size: 40px;
    line-height: 48px;
    text-transform: uppercase;
    color: var(--dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Подзаголовок */
.research__subtitle {
    font-size: 18px;
    line-height: 28px;
    color: var(--dark);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Карточки статистики */
.research__stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

/* Круги с процентами */
.stat-card__circle {
    width: 140px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card__circle--green {
    background: #1B7A5A;
}

.stat-card__circle--orange {
    background: var(--orange);
}

.stat-card__circle--blue {
    background: var(--blue);
}

.stat-card__percent {
    font-weight: 800;
    font-size: 36px;
    line-height: 36px;
    color: var(--white);
}

.stat-card__title {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: var(--dark);
}

.stat-card__text {
    font-size: 16px;
    line-height: 24px;
    color: var(--dark);
    opacity: 0.8;
}

/* Блок истории */
.research__story {
    display: flex;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
    align-items: stretch;
    min-height: 280px;
}

.research__story-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 0 0 0 40px ;
}

.research__story-text p {
    font-size: 16px;
    line-height: 26px;
    color: var(--dark);
}

.research__story-author {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
}

.research__story-image {
    flex-shrink: 0;
    width: 287px;
    border-radius: 16px;
    overflow: hidden;
    align-self: center;
}

.research__story-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

/* Сноска */
.research__footnote {
    font-size: 12px;
    line-height: 18px;
    color: var(--gray-placeholder);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   БЛОК 5: КАК ПРИНИМАТЬ
   ============================================ */
.usage {
    background: var(--white);
    padding: 40px 0 0;
}

.usage__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Левая часть: контент */
.usage__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.usage__title {
    font-weight: 800;
    font-size: 40px;
    line-height: 48px;
    text-transform: uppercase;
    color: var(--dark);
}

.usage__accent {
    color: var(--red);
}

.usage__subtitle {
    font-size: 18px;
    line-height: 28px;
    color: var(--dark);
    max-width: 500px;
}

/* Карточки инструкций */
.usage__cards {
    display: flex;
    gap: 20px;
}

.usage-card {
    flex: 1;
    border-radius: var(--radius-card);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.usage-card--green {
    background: var(--green);
}

.usage-card--green .usage-card__title,
.usage-card--green .usage-card__time,
.usage-card--green .usage-card__note {
    color: var(--white);
}

.usage-card--white {
    background: var(--white-off);
    box-shadow: var(--shadow-card);
}

.usage-card__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: var(--white);
}

.usage-card__title--dark {
    color: var(--dark);
}

.usage-card__time {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: var(--white);
}

.usage-card__time--dark {
    color: var(--dark);
}

.usage-card__note {
    font-size: 14px;
    line-height: 20px;
    color: var(--white);
    opacity: 0.9;
}

.usage-card__note--dark {
    color: var(--dark);
}

/* Блок внимания */
.usage__warning {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 24px 28px;
}

.usage__warning p {
    font-size: 14px;
    line-height: 22px;
    color: var(--dark);
}

.usage__warning strong {
    font-weight: 700;
}

/* Кнопка заказа */
.btn--order {
    background: var(--gradient);
    color: var(--white);
    width: fit-content;
    padding: 22px 50px;
    font-size: 20px;
    line-height: 20px;
}

/* Правая часть: изображение */
.usage__visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.usage__image {
    width: 100%;
    max-width: 500px;
    display: block;
}
.sec5-prod{
    position: absolute;
    max-width: 300px;
    bottom: 70px;
    left: -35px;
}
/* ============================================
   БЛОК 6: ОТЗЫВЫ
   ============================================ */
.reviews {
    background: var(--light-bg);
    padding: 80px 0;
}

.reviews__title {
    font-weight: 800;
    font-size: 40px;
    line-height: 48px;
    text-transform: uppercase;
    color: var(--dark);
    text-align: center;
    margin-bottom: 50px;
}

.reviews__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Карточка отзыва */
.review-card {
    display: flex;
    gap: 30px;
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 30px 40px;
    align-items: flex-start;
}

.review-card__photo {
    flex-shrink: 0;
    width: 104px;
}

.review-card__photo img {
    width: 104px;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.review-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.review-card__quote {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
    color: var(--dark);
    margin: 0;
}

.review-card__badge {
    background: var(--green);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    padding: 8px 20px;
    border-radius: 20px;
    white-space: nowrap;
}

.review-card__text {
    font-size: 18px;
    line-height: 28px;
    color: var(--dark);
    margin: 0;
}

/* ============================================
   АДАПТИВ
   ============================================ */

/* ---------- 1440px ---------- */
@media (max-width: 1440px) {
    .hero__main {
        gap: 20px;
    }

    .hero__right {
        width: 420px;
    }

    .product-card {
        width: 400px;
        height: 510px;
    }

    .product-card__img {
        width: 430px;
        height: 440px;
    }

    .formula-card {

    }

    .hero__doctor {
        width: 450px;
        height: 780px;
    }
}

/* ---------- 1200px ---------- */
@media (max-width: 1200px) {
    .hero__nav {
        gap: 20px;
    }

    .hero__nav-link {
        font-size: 16px;
    }

    .hero__title {
        font-size: 46px;
        line-height: 56px;
    }

    .hero__right {
        width: 380px;
    }

    .product-card {
        width: 360px;
        height: 460px;
    }

    .product-card__img {
        width: 390px;
        height: 400px;
    }

    .formula-card {
        padding: 15px;
    }

    .hero__doctor {
        width: 355px;
        top: 200px;
        left: 60%;
    }
}

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
    .reviews {
        padding: 60px 0;
    }

    .reviews__title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 40px;
    }

    .review-card {
        padding: 24px 30px;
        gap: 24px;
    }

    .review-card__badge {
        font-size: 14px;
        padding: 6px 16px;
    }

    .usage {
        padding: 60px 0;
    }

    .usage__grid {
        gap: 40px;
    }

    .usage__title {
        font-size: 32px;
        line-height: 40px;
    }

    .usage__cards {
        gap: 16px;
    }

    .usage-card {
        padding: 20px 16px;
    }

    .research {
        padding: 60px 0;
    }

    .research__title {
        font-size: 32px;
        line-height: 40px;
    }

    .research__stats {
        gap: 20px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-card__circle {
        width: 120px;
    }

    .stat-card__percent {
        font-size: 30px;
    }

    .research__story {
        padding: 30px;
        gap: 30px;
    }

    .creator {
        padding: 60px 0;
    }

    .creator__grid {
        gap: 40px;
    }

    .creator__title {
        font-size: 32px;
        line-height: 40px;
    }

    .creator__cards {
        gap: 16px;
    }

    .ingredient-card {
        padding: 20px 16px;
    }

    .hero__nav {
        display: none;
        position: absolute;
        top: 100px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        background: var(--white);
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-card);
        padding: 30px;
        z-index: 100;
    }

    .hero__nav.open {
        display: flex;
    }

    .hero__nav-link {
        font-size: 18px;
    }

    .hero__burger {
        display: flex;
    }

    .hero__main {

    }

    .hero__left {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__title {
        max-width: 100%;
    }

    .hero__quote-card {
        max-width: 100%;
    }

    .hero__right {
        width: 100%;
        max-width: 463px;
        margin-top: 40px;
    }

    .product-card {
        margin: 0 auto;
    }

    .hero__doctor {
        position: relative;
        left: -410px;
        transform: none;
        top: 370px;
        width: 300px;
        margin: 40px auto 0;
    }
    .formula-card{
        display: none;
    }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
    .reviews {
        padding: 50px 0;
    }

    .reviews__title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 30px;
    }

    .review-card {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .review-card__photo {
        width: 80px;
    }

    .review-card__photo img {
        width: 80px;
    }

    .review-card__header {
        flex-direction: column;
        gap: 12px;
    }

    .review-card__badge {
        align-self: flex-start;
    }

    .usage {
        padding: 50px 0;
    }

    .usage__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .usage__title {
        font-size: 28px;
        line-height: 36px;
    }

    .usage__cards {
        flex-direction: column;
        gap: 16px;
    }

    .usage__visual {
        order: -1;
    }

    .usage__image {
        max-width: 400px;
        margin: 0 auto;
    }

    .research {
        padding: 50px 0;
    }

    .research__title {
        font-size: 28px;
        line-height: 36px;
    }

    .research__stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-card {
        padding: 30px 24px;
    }

    .stat-card__circle {
        width: 110px;
    }

    .stat-card__percent {
        font-size: 28px;
    }

    .research__story {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
    }

    .research__story-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .creator {
        padding: 50px 0;
    }

    .creator__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .creator__visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .creator__image-product {
        bottom: -8%;
        left: 15%;
        width: 50%;
    }

    .creator__title {
        font-size: 28px;
        line-height: 36px;
    }

    .creator__description {
        max-width: 100%;
    }

    .hero__header {
        gap: 20px;
    }

    .hero__divider {
        margin-top: 40px;
    }
    .hero__main{
        flex-direction: column;
    }
    .hero__title {
        font-size: 40px;
        line-height: 48px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .hero__right{
        margin: 0 auto;
    }
    .hero__actions .btn {
        width: 100%;
        max-width: 374px;
    }

    .hero__doctor {
        top: 193px;
        left: auto;
        margin-top: -310px;
    }
    .research__story-text{
        padding: 0;
    }
    .sec3-prod{
        top: 290px;
    }
}

/* ---------- 480px (мобильная версия из макета) ---------- */
@media (max-width: 480px) {
    .container {
        padding: 0 11px;
    }

    .reviews {
        padding: 40px 0;
    }

    .reviews__title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 24px;
    }

    .reviews__list {
        gap: 16px;
    }

    .review-card {
        padding: 20px;
        gap: 16px;
    }

    .review-card__photo {
        width: 64px;
    }

    .review-card__photo img {
        width: 64px;
    }

    .review-card__quote {
        font-size: 16px;
        line-height: 20px;
    }

    .review-card__badge {
        font-size: 13px;
        padding: 6px 14px;
        white-space: normal;
    }

    .review-card__text {
        font-size: 16px;
        line-height: 24px;
    }

    .usage {
        padding: 40px 0;
    }

    .usage__title {
        font-size: 24px;
        line-height: 32px;
    }

    .usage__subtitle {
        font-size: 16px;
    }

    .usage__cards {
        gap: 12px;
    }

    .usage-card {
        padding: 16px;
    }

    .usage__warning {
        padding: 16px 20px;
    }

    .usage__warning p {
        font-size: 13px;
        line-height: 20px;
    }

    .btn--order {
        width: 100%;
        padding: 18px 30px;
        font-size: 18px;
    }

    .usage__image {
        max-width: 100%;
    }

    .research {
        padding: 40px 0;
    }

    .research__title {
        font-size: 24px;
        line-height: 32px;
    }

    .research__subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .research__stats {
        gap: 16px;
    }

    .stat-card {
        padding: 24px 20px;
    }

    .stat-card__circle {
        width: 100px;
    }

    .stat-card__percent {
        font-size: 24px;
    }

    .stat-card__title {
        font-size: 16px;
    }

    .stat-card__text {
        font-size: 14px;
    }

    .research__story {
        padding: 20px;
        gap: 20px;
    }

    .research__story-text p {
        font-size: 14px;
        line-height: 22px;
    }

    .research__footnote {
        font-size: 10px;
    }

    .creator {
        padding: 40px 0;
    }

    .creator__grid {
        gap: 30px;
    }

    .creator__visual {
        max-width: 100%;
    }

    .creator__image-product {
        bottom: -5%;
        left: 20%;
        width: 45%;
    }

    .creator__title {
        font-size: 24px;
        line-height: 32px;
    }

    .creator__description {
        font-size: 16px;
    }

    .creator__cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ingredient-card {
        padding: 20px 16px;
    }

    .hero{
        padding: 0;
    }

    .hero__header {
        padding-top: 28px;
    }

    .hero__logo img {
        width: 153px;
        height: 37px;
    }

    .btn--header {
        display: none;
    }

    .hero__divider {
        margin-top: 17px;
    }

    .hero__main {
        padding-top: 0;
    }

    .hero__left {
        padding-top: 0;
    }

    .hero__left .badge {
        display: none;
    }

    .hero__left .hero__quote-card {
        display: none;
    }

    .hero__title {
        font-size: 42px;
        line-height: 62.4px;
        margin-top: 20px;
        text-align: left;
        max-width: 458px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
    }

    .hero__actions .btn {
        width: 374px;
        max-width: 100%;
        height: 68px;
    }

    .hero__right {
        margin-top: 30px;
    }

    .product-card {
        width: 100%;
        max-width: 360px;
        height: 440px;
    }

    .product-card__img {
        width: 100%;
        height: auto;
        max-height: 400px;
    }

    .formula-card {
        display: block;
        width: 100%;
        left: 0;
        bottom: -20px;
        padding: 15px;
    }
    .formula-card__subtitle{
        font-size: 15px;
    }
    .formula-card__title{
        font-size: 18px;
    }

    .sec3-prod{
        top: 230px;
    }

    .hero__doctor {
        display: none;
    }

    /* Мобильная карточка с цитатой и доктором */
    .hero__mobile {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-top: 30px;
        position: relative;
    }

    .hero__mobile-quote {
        width: 238px;
        min-height: 406px;
        background: var(--white);
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-card);
        padding: 32px 20px;
        flex-shrink: 0;
        z-index: 2;
    }

    .hero__mobile-quote .hero__quote {
        font-size: 18px;
        line-height: 28px;
        max-width: 198px;
        margin-top: 0;
    }

    .hero__mobile-doctor {
        width: 261px;
        height: 503px;
        object-fit: contain;
        margin-left: -85px;
        z-index: 1;
    }
}

/* ============================================
   БЛОК 7: ФОРМА ЗАКАЗА
   ============================================ */
.order {
    background: var(--dark);
    padding: 80px 0 0;
}

.order__grid {
    display: flex;
    align-items: center;
}

/* Доктор слева */
.order__doctor {
    flex-shrink: 0;
    width: 320px;
}

.order__doctor-img {
    width: 100%;
    display: block;
}
.footer-right{
    background: var(--dark-card);
    display: flex;
    border-radius: var(--radius-card);
}

/* Центральная карточка */
.order__info {
    flex: 1;
    background: var(--dark-card);
    border-radius: var(--radius-card);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order__badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    width: fit-content;
}

.order__title {
    font-weight: 800;
    font-size: 36px;
    line-height: 42px;
    text-transform: uppercase;
    color: var(--white);
}

.order__text {
    font-size: 16px;
    line-height: 24px;
    color: var(--gray-placeholder);
    max-width: 400px;
}

/* Продукт + цена */
.order__product {
    display: flex;
    align-items: center;
    gap: 20px;
}

.order__product-img {
    width: 160px;
    height: auto;
    display: block;
}

.order__price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--red);
    border-radius: 12px;
    padding: 16px 24px;
}

.order__price-old {
    font-size: 16px;
    line-height: 20px;
    color: var(--white);
    text-decoration: line-through;
    opacity: 0.8;
}

.order__price-new {
    font-weight: 800;
    font-size: 28px;
    line-height: 28px;
    color: var(--white);
}

/* Список преимуществ */
.order__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.order__features li {
    font-size: 16px;
    line-height: 24px;
    color: var(--white);
    padding-left: 28px;
    position: relative;
}

.order__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 18px;
}

/* Карточка формы */
.order__form-card {
    flex-shrink: 0;
    width: 340px;
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order__form-title {
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    color: var(--dark);
    text-align: center;
}

.order__form-guarantee {
    background: var(--green);
    color: var(--white);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
}

.order__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order__label {
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    text-transform: uppercase;
    color: var(--dark);
    letter-spacing: 0.05em;
}

.order__input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--gray-line);
    border-radius: 12px;
    font-family: var(--font);
    font-size: 16px;
    line-height: 20px;
    color: var(--dark);
    background: var(--gray-field);
    outline: none;
    transition: border-color 0.2s ease;
}

.order__input::placeholder {
    color: var(--gray-placeholder);
}

.order__input:focus {
    border-color: var(--green);
}

/* Кнопка формы */
.btn--order-form {
    background: var(--gradient);
    color: var(--white);
    width: 100%;
    padding: 20px;
    font-size: 18px;
    line-height: 18px;
    border-radius: var(--radius-btn);
    box-shadow: 0 8px 30px rgba(220, 63, 40, 0.35);
}

.btn--order-form:hover {
    box-shadow: 0 12px 40px rgba(220, 63, 40, 0.45);
}

.order__privacy {
    font-size: 13px;
    line-height: 18px;
    color: var(--gray-placeholder);
    text-align: center;
    margin: 0;
}

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
    .order {
        padding: 60px 0;
    }

    .order__grid {
        flex-direction: column;
    }

    .order__doctor {
        width: 260px;
    }

    .order__info {
        padding: 30px;
        gap: 16px;
    }

    .order__title {
        font-size: 28px;
        line-height: 34px;
    }

    .order__product-img {
        width: 130px;
    }

    .order__price-new {
        font-size: 24px;
    }

    .order__form-card {
        width: 300px;
        padding: 24px;
    }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
    .order {
        padding: 50px 0;
    }

    .footer-right {
        flex-direction: column;
    }

    .order__doctor {
        width: 220px;
        margin: 0 auto;
    }

    .order__info {
        width: 100%;
        padding: 30px 24px;
    }

    .order__title {
        font-size: 28px;
        line-height: 34px;
    }

    .order__product {
        flex-wrap: wrap;
    }

    .order__form-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ---------- 480px ---------- */
@media (max-width: 480px) {
    .order {
        padding: 40px 0;
    }

    .order__doctor {
        width: 180px;
    }

    .order__info {
        padding: 24px 20px;
        gap: 14px;
    }

    .order__badge {
        font-size: 14px;
        padding: 10px 20px;
    }

    .order__title {
        font-size: 24px;
        line-height: 30px;
    }

    .order__text {
        font-size: 14px;
        line-height: 20px;
    }

    .order__product-img {
        width: 110px;
    }

    .order__price {
        padding: 12px 18px;
    }

    .order__price-new {
        font-size: 22px;
    }

    .order__features li {
        font-size: 14px;
    }

    .order__form-card {
        padding: 20px;
    }

    .order__form-title {
        font-size: 18px;
    }

    .order__form-guarantee {
        font-size: 13px;
        padding: 10px 12px;
    }

    .btn--order-form {
        padding: 18px;
        font-size: 16px;
    }
    .sec5-prod{
        bottom: 0;
        left: 0;
    }
}

/* ---------- 360px ---------- */
@media (max-width: 360px) {
    .hero__title {
        font-size: 40px;
        line-height: 48px;
        margin-top: 80px;
    }

    .hero__actions .btn {
        height: 80px;
        font-size: 18px;
    }

    .product-card {
        height: 380px;
    }

    .product-card__like {
        width: 70px;
        height: 70px;
        left: -10px;
        top: 15px;
    }

    .product-card__like img {
        width: 32px;
        height: 30px;
    }

    .hero__mobile-quote {
        width: 200px;
        min-height: 360px;
        padding: 24px 16px;
    }

    .hero__mobile-doctor {
        width: 220px;
        height: 420px;
    }
}



.cpu{
padding: 10px 0;
text-align: center;
}
.cpu img{
display:block;
margin: 0 auto;
width: auto;
}
.cpu a{
display: inline-block;
margin: 5px;
color: #333;
font-size: 14px;
}
