/* ===== mebelimport — subpage.css (люкс-тема, компоненты подстраниц) ===== */
:root {
    --cream: #FAF6F0;
    --brown: #3D2B1F;
    --gold: #C5A55A;
    --gold-light: #D4B96E;
    --white: #FFFFFF;
    --text: #4A3728;
    --text-light: #7A6A5E;
    --bg-warm: #F5EDE3;
    --border: rgba(197, 165, 90, 0.3);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, .section-title { font-family: 'Playfair Display', Georgia, serif; color: var(--brown); }
a { color: var(--brown); }

/* Navbar */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.25rem; color: var(--brown); text-decoration: none; }
.logo span { color: var(--gold); }
.nav-phone {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white); text-decoration: none; font-weight: 600;
    padding: 9px 18px; border-radius: 10px; font-size: .95rem;
}

/* Breadcrumb */
.breadcrumb { padding: 16px 0 0; }
.breadcrumb ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--text-light); }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb-sep { color: var(--text-light); }

/* Sub-hero */
.sub-hero { padding: 40px 0 56px; }
.sub-hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.sub-hero-badge {
    display: inline-block; background: var(--bg-warm); border: 1px solid var(--border);
    color: var(--text-light); font-size: .85rem; padding: 6px 16px; border-radius: 50px; margin-bottom: 16px;
}
.sub-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.15; margin-bottom: 16px; }
.sub-hero h1 .hl { color: var(--gold); }
.sub-hero-desc { font-size: 1.05rem; color: var(--text-light); margin-bottom: 24px; max-width: 560px; }
.sub-hero-phone {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.15rem;
    padding: 14px 30px; border-radius: 12px; box-shadow: 0 8px 24px rgba(197,165,90,.3);
}
.sub-hero-image img { width: 100%; border-radius: 16px; box-shadow: 0 16px 48px rgba(61,43,31,.15); display: block; }

/* Section title */
.section-title { text-align: center; font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 36px; }

/* Advantages */
.advantages { padding: 56px 0; background: var(--bg-warm); }
.advantages-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.advantage-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 14px;
    padding: 26px 22px; text-align: center;
}
.advantage-icon { font-size: 2.2rem; margin-bottom: 12px; }
.advantage-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.advantage-card p { color: var(--text-light); font-size: .95rem; }

/* Product gallery */
.product-gallery { padding: 56px 0; }
.product-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.product-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.product-card-body { padding: 18px 20px; }
.product-card-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.product-card-body p { color: var(--text-light); font-size: .92rem; }

/* Steps */
.sub-steps { padding: 56px 0; background: var(--bg-warm); }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 720px; margin: 0 auto; }
.sub-step { text-align: center; }
.step-num {
    width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--white);
    font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.sub-step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.sub-step p { color: var(--text-light); font-size: .95rem; }

/* Guide / blog-content with table */
.guide { padding: 56px 0; }
.guide-content { max-width: 820px; margin: 0 auto; }
.guide-content h2 { font-size: 1.5rem; margin: 28px 0 14px; }
.guide-content h3 { font-size: 1.2rem; margin: 22px 0 10px; }
.guide-content p { margin-bottom: 14px; color: var(--text); line-height: 1.75; }
.guide-content ul { margin: 0 0 16px 22px; line-height: 1.8; }
.guide-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .95rem; }
.guide-content th, .guide-content td { padding: 11px 13px; border: 1px solid var(--border); text-align: left; }
.guide-content th { background: var(--bg-warm); font-weight: 600; color: var(--brown); }

/* FAQ (reuse homepage classes) */
.faq { padding: 56px 0; background: var(--bg-warm); }
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq__item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq__item summary {
    cursor: pointer; list-style: none; padding: 1.2rem 1.5rem;
    font-family: 'Playfair Display', serif; font-size: 1.08rem; font-weight: 600; color: var(--brown);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform .25s; flex-shrink: 0; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.5rem 1.3rem; color: var(--text-light); line-height: 1.7; }

/* Reviews */
.reviews { padding: 56px 0; }
.reviews__rating { text-align: center; margin: -1rem 0 2rem; color: var(--text-light); }
.reviews__rating strong { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--brown); margin-right: .5rem; vertical-align: middle; }
.reviews__stars { color: var(--gold); letter-spacing: 2px; margin-right: .6rem; vertical-align: middle; }
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.review { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem 1.6rem; }
.review__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .6rem; }
.review__text { color: var(--text); line-height: 1.6; margin-bottom: .8rem; }
.review__author { font-family: 'Playfair Display', serif; color: var(--brown); font-weight: 600; }

/* CTA */
.sub-cta { padding: 60px 0; }
.cta-card {
    background: linear-gradient(135deg, var(--brown), #2a1d14); color: var(--cream);
    border-radius: 20px; padding: 44px 28px; text-align: center; max-width: 820px; margin: 0 auto;
}
.cta-card h2 { color: var(--cream); font-size: 1.7rem; margin-bottom: 12px; }
.cta-card p { color: rgba(250,246,240,.8); margin-bottom: 22px; }
.cta-phone {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--white);
    text-decoration: none; font-weight: 700; font-size: 1.2rem; padding: 15px 34px; border-radius: 12px;
}

/* Catalog nav (cross-links) */
.catalog-nav { padding: 50px 0; background: var(--bg-warm); }
.catalog-nav-title { text-align: center; font-size: 1.5rem; margin-bottom: 26px; }
.catalog-nav-cards { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.catalog-nav-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 10px;
    padding: 12px 18px; text-decoration: none; color: var(--brown); font-weight: 500; font-size: .95rem;
    transition: all .2s;
}
.catalog-nav-card:hover { border-color: var(--gold); color: var(--gold); }

/* Footer */
.footer { background: var(--brown); color: var(--cream); padding: 36px 0; text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; margin-bottom: 18px; }
.footer-nav a { color: var(--gold-light); text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: var(--white); }
.footer p { color: rgba(250,246,240,.7); font-size: .88rem; margin-top: 8px; }
.footer a { color: var(--gold-light); }

/* Desktop */
@media (min-width: 760px) {
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: 1fr 1fr 1fr; }
    .reviews__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
    .sub-hero-grid { grid-template-columns: 1.1fr 1fr; }
    .advantages-grid { grid-template-columns: repeat(4, 1fr); }
}
