/* ============================================================
   HERO v4 — editorial split (cream panel + lifestyle image)
   Подключается дополнительно к style_v1.css только на index_v4.html
   ============================================================ */

.hero4 {
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 100vh;
    background: linear-gradient(160deg, #f7f2ea 0%, #efe6d6 100%);
    position: relative;
    overflow: hidden;
}

/* ---- Left panel (text) ---- */
.hero4__panel {
    display: flex;
    align-items: center;
    padding: 130px 56px 80px max(28px, calc((100vw - 1280px) / 2 + 28px));
}

.hero4__content {
    max-width: 580px;
}

.hero4__kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
    color: #9a7b4f;
    margin-bottom: 28px;
}
.hero4__kicker i {
    width: 38px;
    height: 1px;
    background: #c9a96e;
    display: inline-block;
}

.hero4__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: clamp(2.6rem, 4.6vw, 4.6rem);
    line-height: 1.07;
    letter-spacing: -0.5px;
    color: #211c16;
    margin-bottom: 26px;
}
.hero4__title em {
    font-style: italic;
    color: #b08a57;
}

.hero4__subtitle {
    font-size: 1.18rem;
    color: #6b6258;
    line-height: 1.7;
    margin-bottom: 38px;
    max-width: 490px;
}

.hero4__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.btn-ghost {
    background: transparent;
    color: #211c16;
    border: 1px solid #cdbfa8;
}
.btn-ghost:hover {
    background: #211c16;
    color: #fff;
    border-color: #211c16;
}

.hero4__features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 24px 0 0;
    margin: 0;
    border-top: 1px solid #e3d8c6;
}
.hero4__features li {
    font-size: 0.92rem;
    color: #6b6258;
    font-weight: 500;
    position: relative;
    padding: 4px 20px;
}
.hero4__features li:first-child { padding-left: 0; }
.hero4__features li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: #d8cbb6;
}

/* ---- Right media (image + floating card) ---- */
.hero4__media {
    position: relative;
}
.hero4__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* мягкая растушёвка шва между панелью и фото */
.hero4__media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 100%;
    background: linear-gradient(90deg, rgba(243,236,224,0.85), rgba(243,236,224,0));
    z-index: 1;
    pointer-events: none;
}

.hero4__swatch-card {
    position: absolute;
    left: -52px;
    bottom: 64px;
    z-index: 2;
    background: #fff;
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 20px 44px rgba(40,30,15,0.18);
    display: flex;
    align-items: center;
    gap: 18px;
}
.hero4__swatches {
    display: grid;
    grid-template-columns: repeat(2, 18px);
    gap: 7px;
    flex-shrink: 0;
}
.hero4__swatches span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: block;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.hero4__swatch-card p {
    font-size: 0.88rem;
    font-weight: 600;
    color: #211c16;
    line-height: 1.32;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .hero4 { grid-template-columns: 50% 50%; }
    .hero4__panel { padding: 120px 40px 70px 6vw; }
}

@media (max-width: 860px) {
    .hero4 {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero4__media {
        order: -1;
        height: 46vh;
        min-height: 320px;
    }
    .hero4__media::before { display: none; }
    .hero4__panel {
        padding: 54px 24px 64px;
    }
    .hero4__swatch-card {
        left: auto;
        right: 18px;
        bottom: -30px;
        padding: 14px 18px;
    }
}

@media (max-width: 480px) {
    .hero4__title { font-size: 2.05rem; }
    .hero4__subtitle { font-size: 1.05rem; }
    .hero4__buttons { flex-direction: column; }
    .hero4__buttons .btn { width: 100%; }
    .hero4__features li { padding: 4px 12px; font-size: 0.85rem; }
    .hero4__features li:first-child { padding-left: 0; }
}

/* ============ CTA banner (новая мебель / перетяжка) ============ */
.cta-banner {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 96px 0;
}
.cta-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cta-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.cta-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(20,16,12,0.88) 0%, rgba(20,16,12,0.72) 48%, rgba(20,16,12,0.42) 100%);
}
.cta-banner__inner {
    position: relative;
    z-index: 2;
}
.cta-banner__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d8c3a5;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.cta-banner__kicker i {
    width: 26px;
    height: 1px;
    background: #d8c3a5;
}
.cta-banner__title {
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: 3rem;
    line-height: 1.12;
    margin: 0 0 20px;
    max-width: 640px;
}
.cta-banner__title em {
    font-style: italic;
    color: #e7d4b3;
}
.cta-banner__text {
    color: rgba(255,255,255,0.82);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 0 36px;
}
.cta-banner__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.55);
}
.btn-outline-light:hover {
    background: #fff;
    color: #211c16;
    border-color: #fff;
}

@media (max-width: 768px) {
    .cta-banner {
        min-height: 0;
        padding: 64px 0;
    }
    .cta-banner__overlay {
        background: linear-gradient(180deg, rgba(20,16,12,0.58) 0%, rgba(20,16,12,0.84) 100%);
    }
    .cta-banner__title { font-size: 2.1rem; }
    .cta-banner__text { font-size: 1.02rem; }
    .cta-banner__buttons { flex-direction: column; }
    .cta-banner__buttons .btn { width: 100%; }
}

/* ============ Соцсети (ВК / ОК) ============ */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.social-link svg { width: 22px; height: 22px; display: block; }
.social-link--vk { background: #0077ff; }
.social-link--ok { background: #ee8208; }
.social-link:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }

.contact-card__socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 20px;
}
.contact-card__socials-label {
    font-size: 0.95rem;
    color: #6b6258;
    margin-right: 2px;
}

.footer__socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}
.footer__socials .social-link { width: 40px; height: 40px; }
.footer__socials .social-link svg { width: 20px; height: 20px; }
