/* ========================================
   DivaRoza Home — Только главная страница
   ======================================== */

/* ========================================
   HERO СЕКЦИЯ — ПОЛНОШИРИННЫЙ БАННЕР
   ======================================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-light);
}

/* ===== ФОН НА ВСЮ ШИРИНУ ===== */
.hero-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.hero-section__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    transition: transform 0.8s ease;
    width: 100%;
    height: 100%;
}

.hero-section:hover .hero-section__bg-image {
    transform: scale(1.03);
}

.hero-section__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(245, 243, 240, 0.92) 0%,
        rgba(245, 243, 240, 0.70) 40%,
        rgba(255, 240, 243, 0.50) 70%,
        rgba(255, 240, 243, 0.30) 100%
    );
    z-index: 1;
}

/* ===== КОНТЕЙНЕР С КОНТЕНТОМ ===== */
.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section__content {
    max-width: 640px;
    padding: 60px 0;
    animation: heroFadeUp 0.8s ease forwards;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section__badge {
    display: inline-block;
    padding: 4px 16px;
    margin-bottom: 16px;
    background: rgba(230, 84, 118, 0.12);
    border: 1px solid rgba(230, 84, 118, 0.15);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #E65476;
}

.hero-section__title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.08;
    color: var(--color-dark);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.hero-section__highlight {
    color: #E65476;
    position: relative;
}

.hero-section__highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(230, 84, 118, 0.20);
    border-radius: 2px;
}

.hero-section__subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-gray);
    margin: 0 0 28px;
    font-weight: 400;
    max-width: 520px;
}

.hero-section__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-section__btn {
    padding: 16px 36px;
    font-size: 16px;
}

.hero-section__btn--outline {
    border: 2px solid #E65476;
    color: #E65476;
    background: transparent;
}

.hero-section__btn--outline:hover {
    background: #E65476;
    color: #fff;
    transform: translateY(-3px);
}

/* ===== АДАПТИВ ===== */

@media (max-width: 1200px) {
    .hero-section {
        min-height: 440px;
    }
    .hero-section__title {
        font-size: 40px;
    }
    .hero-section__subtitle {
        font-size: 17px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 400px;
    }
    .hero-section__content {
        max-width: 100%;
        padding: 48px 0;
    }
    .hero-section__title {
        font-size: 36px;
    }
    .hero-section__subtitle {
        font-size: 16px;
        max-width: 100%;
    }
    .hero-section__bg-image {
        background-position: center 40%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 340px;
    }
    .hero-section__content {
        padding: 32px 0;
    }
    .hero-section__title {
        font-size: 28px;
    }
    .hero-section__title br {
        display: none;
    }
    .hero-section__subtitle {
        font-size: 15px;
    }
    .hero-section__subtitle br {
        display: none;
    }
    .hero-section__actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-section__btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }
    .hero-section__bg-overlay {
        background: linear-gradient(
            135deg,
            rgba(245, 243, 240, 0.95) 0%,
            rgba(245, 243, 240, 0.80) 50%,
            rgba(255, 240, 243, 0.60) 100%
        );
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 280px;
    }
    .hero-section__content {
        padding: 24px 0;
    }
    .hero-section__badge {
        font-size: 10px;
        padding: 3px 12px;
        margin-bottom: 12px;
    }
    .hero-section__title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .hero-section__subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .hero-section__btn {
        font-size: 14px;
        padding: 12px 20px;
    }
}
/* Эмоции */
.emotion-block { padding: 64px 0; background: var(--color-white); }
.emotion-title { text-align: center; font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 36px; }
.emotion-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.emotion-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; background: var(--color-light); border-radius: var(--radius-md); transition: all var(--transition-base); text-decoration: none; color: var(--color-dark); text-align: center; }
.emotion-card:hover { background: var(--color-primary); color: var(--color-white); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.emotion-icon { font-size: 40px; }
.emotion-label { font-family: var(--font-body); font-size: 16px; font-weight: 700; }
.emotion-hint { font-size: 12px; opacity: 0.7; }

/* Повод */
.occasion-block { padding: 64px 0; background: var(--color-light); }
.occasion-title { text-align: center; font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 36px; }
.occasion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.occasion-card { display: flex;  justify-content: center; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px; background: var(--color-white); border-radius: var(--radius-md); transition: all var(--transition-base); text-decoration: none; color: var(--color-dark); text-align: center; }
.occasion-card:hover { background: var(--color-primary); color: var(--color-white); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.occasion-icon { font-size: 32px; }
.occasion-label { font-family: var(--font-body); font-size: 14px; font-weight: 600; }

/* Как заказать */
.howto-block { padding: 64px 0; background: var(--color-white); }
.howto-title { text-align: center; font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 36px; }
.howto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.howto-step { text-align: center; padding: 32px 20px; position: relative; }
.howto-num { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: var(--color-white); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.howto-icon { font-size: 32px; color: var(--color-primary); display: block; margin: 0 auto 12px; }
.howto-step h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.howto-step p { font-size: 14px; color: var(--color-gray); }

/* Отзывы */
.reviews-block { padding: 64px 0; background: var(--color-light); }
.reviews-layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.reviews-static { display: flex; flex-direction: column; gap: 12px; }
.reviews-title { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; margin-bottom: 4px; }
.reviews-rating { display: flex; align-items: baseline; gap: 8px; }
.reviews-num { font-size: 48px; font-weight: 700; color: var(--color-dark); line-height: 1; }
.reviews-label { font-size: 14px; color: var(--color-gray); }
.reviews-stars { color: #FFB800; font-size: 22px; letter-spacing: 3px; }
.reviews-score { font-size: 14px; color: var(--color-gray); }
.reviews-seo-text { font-size: 13px; color: var(--color-gray); line-height: 1.6; }
.reviews-sources { display: flex; gap: 6px; flex-wrap: wrap; }
.reviews-sources span { font-size: 11px; color: var(--color-gray-light); background: var(--color-white); padding: 3px 8px; border-radius: var(--radius-xs); }
.reviews-all-btn { margin-top: 8px; align-self: flex-start; }

.reviews-slider { position: relative; overflow: hidden; }
.reviews-track { display: flex; gap: 16px; transition: transform 0.4s ease; cursor: grab; }
.reviews-track.active { cursor: grabbing; user-select: none; }
.review-card { min-width: 280px; max-width: 300px; flex-shrink: 0; padding: 20px; background: var(--color-white); border-radius: var(--radius-md); }
.review-card .review-stars { color: #FFB800; font-size: 14px; letter-spacing: 1px; margin-bottom: 8px; }
.review-card .review-text { font-size: 14px; color: var(--color-dark); line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-card .review-author { font-size: 12px; color: var(--color-gray); }
.review-card .review-source { font-size: 12px; color: var(--color-gray-light); }

.reviews-nav { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 16px; }
.reviews-prev, .reviews-next { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-border); background: var(--color-white); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all var(--transition-fast); }
.reviews-prev:hover, .reviews-next:hover { border-color: var(--color-primary); color: var(--color-primary); }

.seo-block { padding: 48px 0 64px; background: var(--color-white); text-align: left; }
.seo-content { text-align: left; max-width: 100%; margin: 0 0 24px 0; overflow: hidden; max-height: 240px; position: relative; }
.seo-content.expanded { max-height: none; }
.seo-content::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(transparent, var(--color-white)); pointer-events: none; transition: opacity 0.3s ease; }
.seo-content.expanded::after { opacity: 0; }
.seo-content h2, .seo-content h3 { font-size: 20px; margin: 20px 0 12px; }
.seo-content p, .seo-content li { font-size: 14px; color: var(--color-gray); line-height: 1.7; margin-bottom: 10px; }
.seo-content ul { padding-left: 20px; margin-bottom: 16px; }
.seo-toggle { display: inline-flex; margin: 0; }

.blog-card-img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-md) var(--radius-md) 0 0; margin-bottom: 16px; }
.blog-card { padding: 0 0 24px 0; overflow: hidden; }
.blog-card h3, .blog-card p { padding: 0 20px; }
.blog-card-icon { display: none; }



/* Блог */
.blog-block { padding: 64px 0; background: var(--color-white); }
.blog-title { text-align: center; font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 36px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 24px; background: var(--color-light); border-radius: var(--radius-md); text-decoration: none; color: var(--color-dark); transition: all var(--transition-base); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-icon { font-size: 40px; margin-bottom: 12px; }
.blog-card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.blog-card p { font-size: 13px; color: var(--color-gray); line-height: 1.5; }
.blog-footer { margin-top: 24px; }
/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .emotion-grid { grid-template-columns: repeat(3, 1fr); }
    .reviews-layout { grid-template-columns: 1fr; gap: 32px; }
    .reviews-static { text-align: center; align-items: center; }
    .reviews-all-btn { align-self: center; }
}
@media (max-width: 768px) {
    .welcome-title { font-size: 18px; }
    .welcome-features { gap: 8px; font-size: 12px; }
    .emotion-grid { grid-template-columns: repeat(2, 1fr); }
    .occasion-grid { grid-template-columns: repeat(2, 1fr); }
    .howto-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-grid { grid-template-columns: 1fr; }
    .review-card { min-width: 260px; }
}

/* Популярные категории на главной */
.popular-cats {
    padding: 56px 0;
    background: var(--color-bg);
}

.popular-cats-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--color-dark);
}

.popular-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .popular-cats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.popular-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.popular-cat-card:hover {
    border-color: var(--color-primary, #E65476);
    box-shadow: 0 4px 16px rgba(230, 84, 118, 0.1);
}

.popular-cat-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.popular-cat-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--color-dark);
    margin-bottom: 2px;
    text-align: center;
}

.popular-cat-hint {
    font-size: 12px;
    color: var(--color-gray);
}

.trust-block {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF0F3 100%);
    padding: 40px 0;
    margin-bottom: 40px;
    border-radius: 24px;
}
.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
    text-align: center;
}
.trust-item {
    flex: 1;
    min-width: 140px;
}
.trust-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #E65476;
    line-height: 1.2;
}
.trust-label {
    display: block;
    font-size: 14px;
    color: #6B6B6B;
    margin-top: 4px;
}
.trust-stars {
    display: block;
    font-size: 14px;
    color: #FFB800;
    margin-top: 4px;
}
@media (max-width: 768px) {
    .trust-grid { gap: 16px; }
    .trust-number { font-size: 24px; }
}

