/* === home.css — стили главной из premium-макета === */

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: clip; }

:root {
    --bg: #0d0d0d;
    --magenta: #e23a7a;
    --accent: #e23a7a;
    --accent-light: #f06292;
    --white: #fff;
    --text: rgba(255,255,255,.85);
    --text-muted: rgba(255,255,255,.5);
    --muted: rgba(255,255,255,.5);
    --border: rgba(255,255,255,.08);
    --container: 1400px;
    --side-pad: 2.5rem;
    --tr: all .25s ease;
}

a { color: inherit; text-decoration: none; }
body { font-family: 'Montserrat', sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* === HEADER === */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: #000; overflow: visible; }
.site-header::after { content: ''; position: absolute; left: 0; top: 100%; width: 100%; height: 4vw; background: url('/assets/images/block-header.png') top / 100% auto no-repeat; z-index: 101; pointer-events: none; }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--side-pad); height: 56px; display: flex; align-items: center; gap: 2rem; }
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 55px; margin-top: 15px; transition: var(--tr); }
.logo:hover img { transform: scale(1.04); filter: brightness(1.15); }
.main-nav { display: flex; align-items: center; gap: 0; margin-left: 1.5rem; }
.nav-primary { display: flex; align-items: center; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 8px; padding: 6px 16px; gap: 1.2rem; margin-right: 1.5rem; }
.nav-primary a { font-size: .9rem; font-weight: 600; letter-spacing: .5px; color: #fff; transition: var(--tr); }
.nav-primary a:hover { color: var(--accent-light); }
.nav-secondary { display: flex; align-items: center; gap: 1.8rem; }
.nav-secondary a { font-size: .88rem; font-weight: 500; letter-spacing: .3px; color: var(--text-muted); transition: var(--tr); }
.nav-secondary a:hover { color: #fff; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; padding-top: 6px; }
.header-action { display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; transition: var(--tr); background: none; border: none; color: var(--text-muted); font-family: inherit; }
.header-action:hover { color: #fff; }
.header-action svg { width: 22px; height: 22px; fill: currentColor; }
.header-action span { font-size: .65rem; font-weight: 500; letter-spacing: .3px; }
.cart-wrap { position: relative; }
.cart-badge { position: absolute; top: -5px; right: -7px; width: 16px; height: 16px; background: var(--accent); border-radius: 50%; font-size: .6rem; font-weight: 800; color: #fff; display: flex; align-items: center; justify-content: center; }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 4px; }
.mobile-menu-btn svg { width: 28px; height: 28px; fill: currentColor; }

@media (max-width: 1024px) {
    .nav-secondary { display: none; }
    .header-inner { gap: 1rem; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* === FOOTER === */
.footer__tear { line-height: 0; background: #ffd47b; overflow: hidden; }
.footer__tear img { width: 100%; display: block; }
.site-footer { background: #000; padding: 4rem 0 2rem; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--side-pad); display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand__logo { font-family: 'Reggae One', cursive; font-size: 1.6rem; color: #fff; margin-bottom: 1rem; }
.footer-brand__logo span { color: var(--magenta); }
.footer-brand__desc { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; max-width: 280px; margin-bottom: 1rem; }
.footer-brand__legal { font-size: .75rem; color: rgba(255,255,255,.3); line-height: 1.8; }
.footer-col__title { font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .85rem; transition: var(--tr); }
.footer-col a:hover { color: #fff; }
.footer-contacts__item { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.7); font-size: .85rem; margin-bottom: .6rem; }
.footer-contacts__item svg { width: 16px; height: 16px; fill: var(--magenta); flex-shrink: 0; }
.footer-contacts__item a { color: rgba(255,255,255,.7); text-decoration: none; transition: var(--tr); }
.footer-contacts__item a:hover { color: #fff; }
.footer-bottom { max-width: var(--container); margin: 3rem auto 0; padding: 1.5rem var(--side-pad) 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom__copy { font-size: .75rem; color: rgba(255,255,255,.35); }
.footer-bottom__links a { font-size: .75rem; color: rgba(255,255,255,.35); text-decoration: none; margin-left: 1.5rem; transition: var(--tr); }
.footer-bottom__links a:hover { color: #fff; }

@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom__links a { margin-left: 0; margin-right: 1rem; }
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    background: #ffd47b url('/assets/images/sand.webp') center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.hero__spots {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__spots span {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: spotPulse 8s ease-in-out infinite alternate;
}

.hero__spots .s1 { width: 300px; height: 300px; top: -10%; right: 20%; background: rgba(26,10,18,.06); animation-delay: 0s; }
.hero__spots .s2 { width: 200px; height: 200px; top: -5%; right: 5%; background: rgba(26,10,18,.05); animation-delay: 1s; }
.hero__spots .s3 { width: 250px; height: 250px; bottom: 0; right: 35%; background: rgba(26,10,18,.07); animation-delay: 2s; }
.hero__spots .s4 { width: 180px; height: 180px; bottom: 5%; left: 30%; background: rgba(26,10,18,.05); animation-delay: 3s; }
.hero__spots .s5 { width: 120px; height: 120px; top: 30%; left: 10%; background: rgba(26,10,18,.04); animation-delay: 4s; }
.hero__spots .s6 { width: 350px; height: 350px; top: -20%; left: 40%; background: rgba(26,10,18,.06); animation-delay: 5s; }

@keyframes spotPulse {
    0%   { transform: scale(1) translate(0,0); opacity: .6; }
    100% { transform: scale(1.15) translate(10px,-10px); opacity: 1; }
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    min-height: 100vh;
}

.hero__grass {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.hero__grass img { width: 100%; display: block; }

.hero__content { max-width: 500px; padding: 2rem 0; }

.hero__tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 1.8rem;
}

.hero h1 {
    font-family: 'Reggae One', cursive;
    font-size: 3.2rem;
    font-weight: 400;
    color: #a94442;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 1.8rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,.25);
    /* Сброс градиентного текста из base.css */
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #a94442;
}

.hero__sub {
    font-size: 1.1rem;
    color: #000;
    line-height: 1.6;
    margin-bottom: 2.2rem;
    max-width: 450px;
}

.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero .btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .9rem 2.2rem;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
    border: 2px solid #000;
    background: #000;
    color: #fff;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
}
.hero .btn:hover { background: #222; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.hero .btn--ghost { background: transparent; color: #000; }
.hero .btn--ghost:hover { background: rgba(0,0,0,.08); transform: translateY(-2px); }

.hero__figure { position: relative; z-index: 10; justify-self: end; align-self: end; margin-bottom: 6rem; }
.hero__figure img { display: block; max-height: 85vh; width: auto; max-width: 600px; object-fit: contain; filter: drop-shadow(0 20px 60px rgba(0,0,0,.3)); }

/* === КАТЕГОРИИ === */
.categories-section { position: relative; background: #000; margin-top: -2px; padding: 4rem 0 5rem; }

.cat-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.cat-tile {
    background: none; border: none; border-radius: 0; padding: 0;
    display: flex; flex-direction: column; align-items: flex-start;
    text-align: left; cursor: pointer; transition: all .25s ease;
    color: #fff; text-decoration: none;
}
.cat-tile:hover { transform: translateY(-4px); }
.cat-tile img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 1rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); transition: all .25s ease; }
.cat-tile:hover img { transform: scale(1.08); filter: drop-shadow(0 6px 18px rgba(226,58,122,0.35)); }
.cat-tile__label { display: block; font-family: 'Reggae One', cursive; font-size: 1.1rem; font-weight: 400; line-height: 1.3; color: #fff; margin-bottom: .6rem; }
.cat-tile__line { display: block; width: 40px; height: 3px; background: var(--accent, #e23a7a); border-radius: 2px; margin-bottom: .6rem; }
.cat-tile__desc { display: block; font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.5; }

/* === АКЦИИ (слайдер) === */
.promos { background: #000; padding: 4rem 0 6rem; }
.promos__title { text-align: center; font-family: 'Reggae One', cursive; font-size: 1.8rem; font-weight: 400; color: #fff; margin-bottom: 2.5rem; }
.promos__wrap { position: relative; max-width: 1400px; margin: 0 auto; padding: 0 2.5rem; }
.promos__track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.promos__track::-webkit-scrollbar { display: none; }
.promo-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; overflow: hidden; min-height: 320px; }
.promo-slide__img { position: relative; overflow: hidden; }
.promo-slide__img img { width: 100%; height: 100%; object-fit: cover; }
.promo-slide__body { padding: 2.5rem 3rem; display: flex; flex-direction: column; justify-content: flex-start; flex: 1; }
.promo-slide__tag { font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent, #e23a7a); margin-bottom: .8rem; }
.promo-slide__heading { font-family: 'Reggae One', cursive; font-size: 1.5rem; font-weight: 400; color: #fff; line-height: 1.2; margin-bottom: .8rem; }
.promo-slide__line { display: block; width: 40px; height: 3px; background: var(--accent, #e23a7a); border-radius: 2px; margin-bottom: 1rem; }
.promo-slide__text { font-size: .95rem; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 1.5rem; }
.promo-slide__link { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--accent, #e23a7a); transition: all .25s ease; margin-top: auto; text-decoration: none; }
.promo-slide__link:hover { color: #f06292; gap: .7rem; }
.promos__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .25s ease; z-index: 5; }
.promos__nav:hover { background: var(--accent, #e23a7a); border-color: var(--accent, #e23a7a); }
.promos__nav svg { width: 20px; height: 20px; fill: currentColor; }
.promos__nav--prev { left: -22px; }
.promos__nav--next { right: -22px; }
.promos__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.promos__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); border: none; cursor: pointer; transition: all .25s ease; }
.promos__dot.active { background: var(--accent, #e23a7a); transform: scale(1.2); }

/* === ТИЗЕР КОНТАКТНОЙ ЗОНЫ === */
.contact-teaser__tear { line-height: 0; background: #000; overflow: hidden; }
.contact-teaser__tear img { width: 100%; display: block; }
.contact-teaser__tear--bottom { background: #ffc800; }
.contact-teaser { background: #ffc800; padding: 5rem 0; position: relative; }
.contact-teaser__inner { max-width: 1400px; margin: 0 auto; padding: 0 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-teaser__body { color: #1a0a12; }
.contact-teaser__tag { font-size: .7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(26,10,18,.5); margin-bottom: 1rem; }
.contact-teaser__heading { font-family: 'Reggae One', cursive; font-size: 2.2rem; font-weight: 400; line-height: 1.15; margin-bottom: 1rem; color: #1a0a12; }
.contact-teaser__line { display: block; width: 50px; height: 3px; background: #1a0a12; border-radius: 2px; margin-bottom: 1.5rem; }
.contact-teaser__text { font-size: 1rem; line-height: 1.7; color: rgba(26,10,18,.75); margin-bottom: 2rem; }
.contact-teaser__btn { display: inline-flex; align-items: center; gap: .4rem; padding: .9rem 2.2rem; border-radius: 60px; font-size: .9rem; font-weight: 700; background: #1a0a12; color: #ffc800; border: 2px solid #1a0a12; cursor: pointer; transition: all .25s ease; text-decoration: none; }
.contact-teaser__btn:hover { background: transparent; color: var(--accent, #e23a7a); }
.contact-teaser__photo { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.contact-teaser__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

/* === СТАТЬИ === */
.articles { background: #fff; padding: 4rem 0 5rem; }
.articles__header { max-width: 1400px; margin: 0 auto 2.5rem; padding: 0 2.5rem; display: flex; justify-content: space-between; align-items: center; }
.articles__title { font-family: 'Reggae One', cursive; font-size: 1.8rem; font-weight: 400; color: #1a0a12; }
.articles__all { font-size: .9rem; font-weight: 600; color: var(--accent, #e23a7a); text-decoration: none; transition: all .25s ease; }
.articles__all:hover { opacity: .7; }
.articles__grid { max-width: 1400px; margin: 0 auto; padding: 0 2.5rem; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }

.article-card--hero { position: relative; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; text-decoration: none; }
.article-card--hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card--hero:hover img { transform: scale(1.05); }
.article-card--hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.1) 60%, transparent); z-index: 1; }
.article-card__overlay { position: relative; z-index: 2; padding: 2rem; }
.article-card--hero .article-card__title { font-family: 'Reggae One', cursive; font-size: 1.5rem; font-weight: 400; color: #fff; line-height: 1.25; margin-bottom: 1rem; }
.article-card--hero .article-card__link { font-size: .85rem; font-weight: 600; color: #f5b800; transition: all .25s ease; }

.article-card--sm { border-radius: 16px; overflow: hidden; background: #fafafa; border: 1px solid #eee; display: flex; flex-direction: column; text-decoration: none; transition: all .25s ease; }
.article-card--sm:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.article-card--sm .article-card__img { height: 180px; overflow: hidden; }
.article-card--sm .article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card--sm:hover .article-card__img img { transform: scale(1.05); }
.article-card--sm .article-card__body { padding: 1.2rem 1.4rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.article-card--sm .article-card__title { font-family: 'Reggae One', cursive; font-size: 1.05rem; font-weight: 400; color: #1a0a12; line-height: 1.3; margin-bottom: .5rem; }
.article-card--sm .article-card__excerpt { font-size: .85rem; color: #666; line-height: 1.6; margin-bottom: 1rem; flex: 1; }
.article-card--sm .article-card__link { font-size: .85rem; font-weight: 600; color: var(--accent, #e23a7a); transition: all .25s ease; }

/* === ОТЗЫВЫ === */
.reviews__tear { line-height: 0; background: #fff; overflow: hidden; }
.reviews__tear img { width: 100%; display: block; }
.reviews { background: #ffd47b; padding: 4rem 0 5rem; }
.reviews__title { text-align: center; font-family: 'Reggae One', cursive; font-size: 1.8rem; font-weight: 400; color: #1a0a12; margin-bottom: 2.5rem; }
.reviews__grid { max-width: 1400px; margin: 0 auto; padding: 0 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card { background: #fff; border-radius: 16px; padding: 2rem 1.8rem; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: all .25s ease; }
.review-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.review-card__stars { color: #ffc800; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: .8rem; }
.review-card__text { font-size: .9rem; line-height: 1.7; color: #333; flex: 1; margin-bottom: 1.2rem; }
.review-card__author { display: flex; align-items: center; gap: .8rem; }
.review-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent, #e23a7a); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.review-card__name { font-weight: 600; font-size: .85rem; color: #1a0a12; }
.review-card__date { font-size: .72rem; color: #999; margin-top: .15rem; }

/* === АДАПТИВ === */
@media (max-width: 1024px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; padding: 6rem 2rem 0; min-height: auto; }
    .hero__content { padding-top: 2rem; text-align: center; max-width: 100%; }
    .hero h1 { font-size: 2.5rem; }
    .hero__btns { justify-content: center; }
    .hero__figure { justify-self: center; margin-bottom: 2rem; }
    .hero__figure img { max-height: 50vh; max-width: 80%; }
    .promo-slide { grid-template-columns: 1fr; }
    .promo-slide__img { height: 200px; }
    .promo-slide__body { padding: 1.5rem 2rem 2rem; }
    .promos__nav--prev { left: 8px; }
    .promos__nav--next { right: 8px; }
    .contact-teaser__inner { grid-template-columns: 1fr; text-align: center; }
    .contact-teaser__heading { font-size: 1.6rem; }
    .contact-teaser__line { margin-left: auto; margin-right: auto; }
    .contact-teaser__photo { max-height: 280px; }
    .reviews__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .cat-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .cat-tile img { height: 60px; width: 60px; }
    .articles__grid { grid-template-columns: 1fr; }
    .article-card--hero { min-height: 300px; }
}
