/* ===================================================================
   МассивЛуганск — премиальная мебель из натурального дерева
   Дизайн-система на основе niva (золото + графит + кремовый)
   =================================================================== */

:root {
    --bg-light: #F8F6F2;
    --bg-card: #FFFFFF;
    --dark-charcoal: #1A1A19;
    --dark-deep: #121211;
    --gold-accent: #A38450;
    --gold-light: #C4A96A;
    --gold-dark: #8B6F3A;
    --text-main: #2E2E2D;
    --text-muted: #7A7A77;
    --border-color: #E6E2DB;
    --border-soft: #EFEAE2;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 20px 60px rgba(0,0,0,0.06);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.04);
    --shadow-hover: 0 14px 44px rgba(0,0,0,0.10);
    --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--dark-charcoal);
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* skip-link для доступности */
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--dark-charcoal); color: var(--bg-light);
    padding: 10px 18px; z-index: 5000; font-size: 13px;
}
.skip-link:focus { left: 0; }

/* === АНИМАЦИИ ПОЯВЛЕНИЯ === */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === КНОПКИ === */
.btn, .button {
    display: inline-block;
    background-color: var(--gold-accent);
    color: var(--bg-light);
    font-weight: 600;
    padding: 18px 40px;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
}
.btn::after, .button::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 0; height: 0; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.btn:active::after, .button:active::after { width: 300px; height: 300px; }
.btn:hover, .button:hover {
    background-color: var(--gold-dark);
    color: var(--bg-light);
    box-shadow: 0 10px 30px rgba(163,132,80,0.3);
    transform: translateY(-2px);
}

.btn-outline, .button-ghost, .button-ghost-dark {
    background: transparent;
    border: 1px solid rgba(248,246,242,0.3);
    color: var(--bg-light);
}
.btn-outline:hover, .button-ghost:hover {
    background: var(--bg-light);
    color: var(--dark-charcoal);
    border-color: var(--bg-light);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}
.button-ghost-dark { border-color: var(--text-main); color: var(--text-main); }
.button-ghost-dark:hover { background: var(--dark-charcoal); color: var(--bg-light); border-color: var(--dark-charcoal); }

.btn-lg { padding: 20px 50px; font-size: 12px; }
.btn-small { padding: 12px 26px; font-size: 10px; }

/* текстовая ссылка-стрелка */
.text-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--gold-accent); font-weight: 600; font-size: 12px;
    text-transform: uppercase; letter-spacing: 1.5px;
    text-decoration: none; transition: var(--transition);
}
.text-link span { transition: transform 0.3s; }
.text-link:hover { color: var(--dark-charcoal); }
.text-link:hover span { transform: translateX(6px); }
.text-link-light { color: var(--gold-light); }
.text-link-light:hover { color: var(--bg-light); }

/* === ШАПКА === */
.site-header, header.header {
    background-color: rgba(248, 246, 242, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.site-header.scrolled, header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.header-inner, .header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
}

/* лого */
.logo { display: flex; flex-direction: column; z-index: 1002; text-decoration: none; line-height: 1; }
.logo-main, .brand strong {
    font-size: 22px; font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    color: var(--dark-charcoal);
    text-transform: uppercase; letter-spacing: 1.5px; line-height: 1;
}
.logo-sub, .brand em {
    font-size: 8px; letter-spacing: 0.5px; text-transform: none;
    color: var(--gold-accent); margin-top: 3px; font-weight: 500; font-style: normal;
}
.brand { display: flex; flex-direction: column; text-decoration: none; }
.brand-mark { display: none; }
/* на узких десктопах убираем подзаголовок, чтобы шапка влезла в одну строку */
@media (max-width: 1180px) { .logo-sub { display: none; } }

/* контакты шапки */
.header-contacts { display: flex; align-items: center; gap: 14px; }
.phone-block { text-align: right; }
.phone-link {
    font-size: 14px; font-weight: 600; color: var(--dark-charcoal);
    text-decoration: none; transition: var(--transition); white-space: nowrap;
}
.phone-link:hover { color: var(--gold-accent); }
.phone-desc { font-size: 10px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

/* навигация */
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a {
    font-size: 11px; font-weight: 500; color: var(--text-main);
    text-decoration: none; text-transform: uppercase; letter-spacing: 0.8px;
    transition: var(--transition); position: relative;
}
.main-nav a::after {
    content: ''; position: absolute; bottom: -6px; left: 0; height: 1px;
    width: 0; background: var(--gold-accent); transition: width 0.3s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-accent); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* дропдаун каталога */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    cursor: pointer; display: flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.8px;
    color: var(--text-main); transition: var(--transition);
}
.nav-dropdown-toggle svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.nav-dropdown:hover .nav-dropdown-toggle { color: var(--gold-accent); }
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: var(--bg-card); border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft); padding: 14px 8px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 320px;
    opacity: 0; visibility: hidden; transition: var(--transition); z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a {
    font-size: 13px; text-transform: none; letter-spacing: 0;
    padding: 8px 16px; color: var(--text-main); text-decoration: none; white-space: nowrap;
    transition: var(--transition);
}
.nav-dropdown-menu a:hover { color: var(--gold-accent); background: rgba(163,132,80,0.05); }

/* мессенджеры (в подвале) */
.messengers { display: flex; gap: 8px; }
.messenger-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--border-color); background-color: transparent;
    color: var(--dark-charcoal); text-decoration: none;
    transition: var(--transition); font-size: 11px; font-weight: 500;
}
.messenger-btn:hover {
    background-color: var(--dark-charcoal); color: var(--bg-light);
    border-color: var(--dark-charcoal); transform: translateY(-2px);
}

.header-cta {
    background: var(--gold-accent); color: var(--bg-light);
    padding: 9px 18px; border: none; cursor: pointer;
    font-family: inherit; font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.2px; white-space: nowrap;
    transition: var(--transition); text-decoration: none;
}
.header-cta:hover { background: var(--dark-charcoal); box-shadow: 0 6px 20px rgba(0,0,0,0.2); transform: translateY(-1px); }

/* бургер */
.burger-menu-btn, .menu-toggle, .burger {
    display: none; flex-direction: column; justify-content: space-between;
    width: 24px; height: 18px; background: none; border: none;
    cursor: pointer; z-index: 1002; padding: 0;
}
.burger-bar, .menu-toggle span, .burger span { width: 100%; height: 2px; background-color: var(--dark-charcoal); transition: var(--transition); }
.burger-menu-btn.active .burger-bar:nth-child(1), .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-menu-btn.active .burger-bar:nth-child(2), .menu-toggle.active span:nth-child(2) { opacity: 0; }
.burger-menu-btn.active .burger-bar:nth-child(3), .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* мобильное меню */
.mobile-nav, .mobile-menu {
    position: fixed; top: 0; right: -100%;
    width: 80%; max-width: 320px; height: 100vh;
    background-color: var(--bg-light); border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1); z-index: 1001;
    padding: 100px 32px 40px 32px;
    display: flex; flex-direction: column; gap: 6px;
    transition: var(--transition); overflow-y: auto;
}
.mobile-nav.active, .mobile-menu.active { right: 0; }
.mobile-nav a, .mobile-menu a {
    display: block; padding: 12px 0; color: var(--text-main);
    text-decoration: none; font-size: 15px; font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav a:hover, .mobile-menu a:hover { color: var(--gold-accent); }
.mobile-nav .phone-link { font-size: 20px; margin-bottom: 4px; }
.mobile-nav .btn { width: 100%; margin-top: 20px; }

.mobile-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: rgba(26, 26, 25, 0.5); backdrop-filter: blur(4px);
    z-index: 1000; opacity: 0; pointer-events: none; transition: var(--transition);
}
.mobile-overlay.active { opacity: 1; pointer-events: auto; }

/* === HERO (главная) === */
.hero {
    padding: 160px 0 140px;
    background: linear-gradient(135deg, rgba(18, 18, 17, 0.82), rgba(18, 18, 17, 0.95)),
                url('/images/images_11.jpg') no-repeat center center/cover, #1E1E1C;
    color: var(--bg-light); text-align: center;
    border-bottom: 1px solid var(--border-color); position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(163,132,80,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge, .eyebrow-light {
    display: inline-block; background: rgba(163,132,80,0.15);
    border: 1px solid rgba(163,132,80,0.3); color: var(--gold-light);
    padding: 8px 20px; font-size: 10px; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 30px;
}
.hero h1 {
    color: var(--bg-light); font-size: 56px; line-height: 1.12;
    margin-bottom: 24px; letter-spacing: 1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.hero h1 span, .hero h1 em { color: var(--gold-accent); font-style: italic; }
.hero p {
    color: rgba(248, 246, 242, 0.85); font-size: 18px;
    max-width: 700px; margin: 0 auto 20px auto; font-weight: 300;
}
.hero-offer {
    color: var(--gold-light); font-size: 14px; font-weight: 500;
    margin-bottom: 40px; letter-spacing: 0.5px;
}
.hero-offer strong { color: var(--bg-light); font-weight: 600; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* счётчики в hero */
.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
    justify-content: center; margin-top: 44px; padding-top: 32px;
    border-top: 1px solid rgba(248,246,242,0.12); max-width: 760px; margin-left: auto; margin-right: auto;
}
.hero-stat-number {
    font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 700;
    color: var(--gold-accent); line-height: 1; font-variant-numeric: tabular-nums;
}
.hero-stat-label {
    font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
    color: rgba(248,246,242,0.6); margin-top: 8px;
}

.scroll-hint {
    display: inline-block; margin-top: 50px; color: rgba(248,246,242,0.5);
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    text-decoration: none; transition: var(--transition);
}
.scroll-hint span { display: inline-block; animation: bounceDown 1.8s infinite; }
.scroll-hint:hover { color: var(--gold-light); }
@keyframes bounceDown { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* === ЛЕНТА ДОВЕРИЯ === */
.trust-bar { background: var(--bg-card); border-bottom: 1px solid var(--border-color); padding: 30px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.trust-item { padding: 10px; }
.trust-num {
    font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 700;
    color: var(--gold-accent); line-height: 1;
}
.trust-text {
    font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-muted); margin-top: 8px; font-weight: 500;
}

/* === ОБЩИЕ СЕКЦИИ === */
section, .section { padding: 100px 0; border-bottom: 1px solid var(--border-color); }
.section-dark { background: var(--dark-charcoal); color: var(--bg-light); }
.section-soft { background: var(--bg-card); }
.section-title-wrap, .section-header { text-align: center; margin-bottom: 60px; }
.section-subtitle, .section-label, .eyebrow {
    font-size: 11px; text-transform: uppercase; letter-spacing: 3px;
    color: var(--gold-accent); margin-bottom: 12px; font-weight: 500; display: block;
}
.section-title {
    font-size: 42px; line-height: 1.2; position: relative;
    display: inline-block; padding-bottom: 15px;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 60px; height: 1px;
    background-color: var(--gold-accent);
}
.section-subtitle.text, .section-header p:not(.section-subtitle) {
    color: var(--text-muted); max-width: 640px; margin: 14px auto 0; font-size: 15px; font-weight: 300;
}
.section-divider { width: 60px; height: 1px; background: var(--gold-accent); margin: 18px auto 0; }

/* split-заголовок для внутренних страниц */
.split-heading, .section-heading {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; margin-bottom: 56px;
    text-align: left;
}
.split-heading .section-subtitle, .section-heading .eyebrow,
.section-heading .section-label { display: inline-block; }
.split-heading h2, .section-heading h2 {
    font-size: 40px; line-height: 1.2; position: relative; padding-bottom: 0;
}
.split-heading h2::after, .section-heading h2::after { display: none; }
.split-heading > p, .section-heading > p { color: var(--text-muted); font-size: 15px; font-weight: 300; padding-top: 10px; }
.split-heading h2 em { color: var(--gold-accent); font-style: italic; }

/* === ПРЕИМУЩЕСТВА === */
.benefits-grid, .advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.benefits-grid.three, .advantages-grid.three { grid-template-columns: repeat(3, 1fr); }
.benefit-card, .advantage-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    padding: 40px 28px; text-align: center; transition: var(--transition);
    position: relative; overflow: hidden;
}
.benefit-card::before, .advantage-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--gold-accent); transform: scaleX(0);
    transition: transform 0.4s ease; transform-origin: left;
}
.benefit-card:hover::before, .advantage-card:hover::before { transform: scaleX(1); }
.benefit-card:hover, .advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.benefit-icon, .advantage-icon {
    width: 56px; height: 56px; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(163,132,80,0.08); border-radius: 50%;
}
.benefit-icon svg, .advantage-icon svg { width: 26px; height: 26px; stroke: var(--gold-accent); fill: none; stroke-width: 1.5; }
.benefit-card h4, .advantage-card h3 { font-size: 20px; margin-bottom: 12px; font-weight: 600; }
.benefit-card p, .advantage-card p { font-size: 13px; color: var(--text-muted); font-weight: 300; line-height: 1.6; }

/* === О КОМПАНИИ / ПРОИЗВОДСТВО (сплит) === */
.about-grid, .production-grid, .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image, .production-img, .story-image { position: relative; overflow: hidden; }
.about-image img, .story-image img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.production-img {
    width: 100%; height: 480px;
    background: url('/images/images_3.jpg') no-repeat center center/cover, #E6E2DB;
    border: 1px solid var(--border-color); position: relative;
}
.production-img::after {
    content: 'Собственный цех'; position: absolute; bottom: 20px; left: 20px;
    background: var(--dark-charcoal); color: var(--bg-light);
    padding: 8px 16px; font-size: 10px; letter-spacing: 2px;
    text-transform: uppercase; font-weight: 500;
}
.about-image-badge {
    position: absolute; bottom: 24px; left: 24px;
    background: var(--dark-charcoal); color: var(--bg-light);
    padding: 18px 24px; text-align: center;
    border: 1px solid var(--gold-accent);
}
.about-image-badge-number { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 700; color: var(--gold-light); line-height: 1; }
.about-image-badge-text { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

.about-text h3, .production-text h3, .story-copy h2 { font-size: 34px; margin-bottom: 20px; line-height: 1.3; }
.about-text p, .production-text p, .story-copy p { color: var(--text-main); font-size: 15px; margin-bottom: 20px; font-weight: 300; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.about-feature { display: flex; align-items: center; gap: 12px; }
.about-feature-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(163,132,80,0.08); border-radius: 50%;
}
.about-feature-icon svg { width: 20px; height: 20px; stroke: var(--gold-accent); fill: none; stroke-width: 2; }
.about-feature span { font-size: 13px; font-weight: 500; color: var(--text-main); }

.production-stats, .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.stat-box { border-left: 2px solid var(--gold-accent); padding-left: 20px; }
.stat-num {
    font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 700;
    color: var(--gold-accent); line-height: 1;
}
.stat-text { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-top: 6px; }

/* чек-лист */
.check-list { list-style: none; margin: 20px 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 14px; font-size: 14px; color: var(--text-main); font-weight: 300; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border: 1.5px solid var(--gold-accent); border-radius: 50%; }
.check-list li::after { content: ''; position: absolute; left: 6px; top: 9px; width: 6px; height: 3px; border-left: 2px solid var(--gold-accent); border-bottom: 2px solid var(--gold-accent); transform: rotate(-45deg); }

/* === ПОКРАСКА (тёмная секция) === */
.painting-section, .section-dark { background-color: var(--dark-charcoal); color: var(--bg-light); }
.painting-section .section-title, .section-dark h2 { color: var(--bg-light); }
.painting-grid, .production-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.painting-card, .production-feature {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px; transition: var(--transition);
}
.painting-card:hover, .production-feature:hover { border-color: var(--gold-accent); background-color: rgba(255, 255, 255, 0.06); transform: translateY(-4px); }
.painting-card h3, .production-feature h3 { color: var(--bg-light); font-size: 22px; margin-bottom: 15px; }
.painting-card p, .production-feature p { color: rgba(248, 246, 242, 0.65); font-size: 14px; font-weight: 300; }
.production-feature-icon { font-size: 28px; margin-bottom: 16px; }
.color-palette-preview { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.color-dot, .color-swatch {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition); cursor: pointer;
}
.color-dot:hover { transform: scale(1.2); border-color: var(--gold-accent); }

/* палитра (страница производства) */
.color-palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 14px; }
.color-palette .color-swatch { width: 100%; height: 54px; border-radius: 4px; border: 1px solid var(--border-color); cursor: pointer; transition: var(--transition); }
.color-palette .color-swatch:hover { transform: scale(1.06); box-shadow: var(--shadow-hover); border-color: var(--gold-accent); }

/* галерея производства */
.production-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.production-gallery-item { position: relative; overflow: hidden; height: 280px; }
.production-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.production-gallery-item:hover img { transform: scale(1.05); }
.production-gallery-item-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(18,18,17,0.9));
    color: var(--bg-light); padding: 30px 20px 16px;
}
.production-gallery-item-label h4 { color: var(--bg-light); font-size: 18px; }
.production-gallery-item-label p { font-size: 12px; color: var(--gold-light); }

/* === ЭТАПЫ РАБОТЫ === */
.process-grid, .process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-step { background: var(--bg-card); border: 1px solid var(--border-color); padding: 36px 28px; transition: var(--transition); position: relative; }
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.process-step span, .process-step-number {
    font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 700;
    color: var(--gold-accent); line-height: 1; display: block; margin-bottom: 16px; opacity: 0.85;
}
.process-step h3 { font-size: 20px; margin-bottom: 10px; }
.process-step p { font-size: 13px; color: var(--text-muted); font-weight: 300; }

/* === КАТАЛОГ / ПРОДУКТЫ === */
.product-grid, .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card, .advantage-card.product-card {
    border: 1px solid var(--border-color); background-color: var(--bg-light);
    transition: var(--transition); display: flex; flex-direction: column; overflow: hidden;
    text-decoration: none; color: inherit;
}
.product-card:hover, .advantage-card.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold-accent); }
.product-image, .product-card-image { height: 240px; width: 100%; overflow: hidden; border-bottom: 1px solid var(--border-color); background-color: #E6E2DB; position: relative; }
.product-image img, .product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-image img, .product-card:hover .product-card-image img { transform: scale(1.06); }
.product-image span { position: absolute; top: 12px; left: 12px; background: var(--dark-charcoal); color: var(--bg-light); font-size: 11px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-weight: 700; }
.product-info, .product-card-body { padding: 28px; flex-grow: 1; display: flex; flex-direction: column; }
.product-info h3, .product-card-body h3 { font-size: 24px; margin-bottom: 10px; }
.product-info p, .product-card-body p { font-size: 13px; color: var(--text-muted); font-weight: 300; flex-grow: 1; }
.product-card-arrow, .product-info b { font-size: 11px; font-weight: 600; color: var(--gold-accent); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; }
.product-card-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* каталог (страница услуг) */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-bar button {
    background: transparent; border: 1px solid var(--border-color); color: var(--text-muted);
    padding: 10px 22px; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 1px; transition: var(--transition);
}
.filter-bar button:hover { border-color: var(--gold-accent); color: var(--gold-accent); }
.filter-bar button.active { background: var(--dark-charcoal); color: var(--bg-light); border-color: var(--dark-charcoal); }
.catalog-groups { display: flex; flex-direction: column; gap: 60px; }
.catalog-group-heading { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; }
.catalog-group-heading span { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: var(--gold-accent); }
.catalog-group-heading h2 { font-size: 30px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { border: 1px solid var(--border-color); background: var(--bg-card); overflow: hidden; text-decoration: none; color: inherit; transition: var(--transition); display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold-accent); }
.service-image { height: 200px; position: relative; overflow: hidden; background: #E6E2DB; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .service-image img { transform: scale(1.06); }
.service-image span { position: absolute; top: 12px; left: 12px; background: var(--dark-charcoal); color: var(--gold-light); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 15px; }
.service-card > div:last-child { padding: 24px; }
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--text-muted); font-weight: 300; margin-bottom: 14px; }
.service-card b { font-size: 11px; color: var(--gold-accent); text-transform: uppercase; letter-spacing: 1.5px; }
.service-card b i { font-style: normal; }

/* === ПОРТФОЛИО === */
.portfolio { background-color: var(--bg-card); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.portfolio-card, .portfolio-item {
    border: 1px solid var(--border-color); background-color: var(--bg-light);
    transition: var(--transition); display: flex; flex-direction: column; overflow: hidden;
}
.portfolio-card:hover, .portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold-accent); }
.portfolio-img-wrapper { height: 280px; width: 100%; overflow: hidden; border-bottom: 1px solid var(--border-color); background-color: #E6E2DB; position: relative; }
.portfolio-img-wrapper::after {
    content: 'Смотреть'; position: absolute; bottom: 0; left: 0; right: 0;
    background: var(--dark-charcoal); color: var(--bg-light);
    text-align: center; padding: 12px; font-size: 10px;
    letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
    transform: translateY(100%); transition: var(--transition);
}
.portfolio-card:hover .portfolio-img-wrapper::after, .portfolio-item:hover .portfolio-img-wrapper::after { transform: translateY(0); }
.portfolio-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.portfolio-card:hover .portfolio-img-wrapper img, .portfolio-item:hover .portfolio-img-wrapper img { transform: scale(1.05); }
.portfolio-info, .portfolio-item-info { padding: 28px; flex-grow: 1; display: flex; flex-direction: column; }
.portfolio-tag { font-size: 10px; font-weight: 600; color: var(--gold-accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.portfolio-info h3, .portfolio-item-info h4 { font-size: 24px; margin-bottom: 10px; }
.portfolio-info p, .portfolio-item-info p { font-size: 13px; color: var(--text-muted); font-weight: 300; }

/* === ОТЗЫВЫ === */
.reviews-section { background: var(--bg-light); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    padding: 36px 30px; transition: var(--transition); position: relative;
}
.review-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.review-stars { color: var(--gold-accent); font-size: 14px; margin-bottom: 16px; letter-spacing: 4px; }
.review-text { font-size: 14px; color: var(--text-main); font-weight: 300; margin-bottom: 20px; font-style: italic; line-height: 1.8; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--border-color); display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 700; color: var(--gold-accent);
}
.review-name { font-size: 14px; font-weight: 600; color: var(--dark-charcoal); }
.review-detail { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.review-quote {
    position: absolute; top: 20px; right: 24px;
    font-family: 'Cormorant Garamond', serif; font-size: 60px;
    color: var(--border-color); line-height: 1; pointer-events: none;
}

/* === ГАРАНТИИ === */
.guarantees-section { background: var(--bg-card); }
.guarantees-grid, .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.guarantee-icon, .value-card span {
    width: 72px; height: 72px; margin: 0 auto 24px;
    border: 2px solid var(--gold-accent); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.guarantee-icon svg { width: 30px; height: 30px; stroke: var(--gold-accent); fill: none; stroke-width: 1.5; }
.guarantees-grid h4, .value-card h3 { font-size: 22px; margin-bottom: 12px; }
.guarantees-grid p, .value-card p { font-size: 13px; color: var(--text-muted); font-weight: 300; max-width: 300px; margin: 0 auto; }
.value-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 40px 28px; transition: var(--transition); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.value-card span { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: var(--gold-accent); margin: 0 auto 24px; }

/* === CTA-БАННЕР === */
.cta-banner, .cta-band {
    background: linear-gradient(135deg, var(--dark-charcoal), #2a2a28);
    color: var(--bg-light); padding: 60px; text-align: center;
    border: 1px solid rgba(163,132,80,0.2); position: relative; overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; top: -40%; right: -10%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(163,132,80,0.1) 0%, transparent 70%); }
.cta-banner h2, .cta-band h2 { color: var(--bg-light); font-size: 36px; margin-bottom: 14px; position: relative; }
.cta-banner p, .cta-band p { color: rgba(248,246,242,0.7); font-size: 15px; margin-bottom: 28px; font-weight: 300; position: relative; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; text-align: left; }
.cta-band > div { position: relative; }
.cta-band h2 { margin-bottom: 8px; }

/* === КВИЗ === */
.quiz-section { background-color: var(--bg-light); }
.quiz-shell { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0; background: var(--bg-card); border: 1px solid var(--border-color); box-shadow: var(--shadow-soft); overflow: hidden; }
.quiz-aside { background: var(--dark-charcoal); color: var(--bg-light); padding: 50px 44px; display: flex; flex-direction: column; justify-content: center; }
.quiz-aside h2 { color: var(--bg-light); font-size: 30px; margin-bottom: 14px; }
.quiz-aside p { color: rgba(248,246,242,0.65); font-size: 14px; font-weight: 300; margin-bottom: 30px; }
.quiz-progress { display: flex; flex-direction: column; gap: 10px; }
.quiz-progress > span { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-light); }
.quiz-progress > div { background: rgba(255,255,255,0.1); height: 4px; position: relative; overflow: hidden; }
.quiz-progress i { position: absolute; left: 0; top: 0; height: 100%; width: 25%; background: var(--gold-accent); transition: width 0.5s ease; }
.quiz-form { padding: 50px 44px; }
.quiz-step, .quiz-question { display: none; animation: fadeStep 0.4s ease; }
.quiz-step.active, .quiz-question.active { display: block; }
@keyframes fadeStep { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.quiz-kicker { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-accent); font-weight: 600; }
.quiz-step h3, .quiz-question h3 { font-size: 24px; margin: 8px 0 26px; font-weight: 500; }
.quiz-step > p { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.option-grid, .quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.option-card, .quiz-option {
    border: 1px solid var(--border-color); padding: 18px 20px; cursor: pointer;
    transition: var(--transition); display: flex; align-items: center; gap: 12px;
    position: relative; background: var(--bg-light); font-size: 14px;
}
.option-card:hover, .quiz-option:hover { border-color: var(--gold-accent); background-color: rgba(163, 132, 80, 0.04); }
.option-card input[type="radio"] { accent-color: var(--gold-accent); pointer-events: none; }
.quiz-option-icon { font-size: 22px; }
.option-card.selected, .quiz-option.selected { border-color: var(--gold-accent); background-color: rgba(163, 132, 80, 0.08); }
.option-card.selected::after, .quiz-option.selected::after { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--gold-accent); }
.quiz-controls, .quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 16px; }
.quiz-controls p { font-size: 12px; color: var(--gold-accent); min-height: 16px; }
.quiz-success { display: none; text-align: center; padding: 30px 10px; }
.quiz-success.active { display: block; animation: fadeStep 0.4s ease; }
.quiz-success svg { width: 56px; height: 56px; stroke: var(--gold-accent); fill: none; stroke-width: 2; margin-bottom: 16px; }
.quiz-success h3 { font-size: 24px; margin-bottom: 8px; }
.quiz-success p { font-size: 14px; color: var(--text-muted); }

/* === FAQ === */
.faq-section { background-color: var(--bg-light); }
.faq-container, .faq-list { max-width: 800px; margin: 0 auto; }
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.faq-heading h2 { font-size: 36px; margin-bottom: 14px; }
.faq-heading p { color: var(--text-muted); font-size: 14px; font-weight: 300; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:first-child { border-top: 1px solid var(--border-color); }
.faq-question, .faq-item button {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    cursor: pointer; font-family: 'Cormorant Garamond', serif; background: none; border: none;
    font-size: 20px; font-weight: 600; color: var(--dark-charcoal);
    transition: var(--transition); gap: 20px; padding: 22px 0; text-align: left;
}
.faq-item button span:first-child { font-family: 'Montserrat', sans-serif; font-size: 12px; color: var(--gold-accent); font-weight: 600; min-width: 28px; }
.faq-question:hover, .faq-item button:hover { color: var(--gold-accent); }
.faq-toggle, .faq-item i {
    font-size: 22px; color: var(--gold-accent); font-style: normal;
    transition: transform 0.3s; flex-shrink: 0; width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-color);
}
.faq-answer, .faq-item > div { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-answer-inner, .faq-item p { color: var(--text-muted); font-size: 14px; font-weight: 300; line-height: 1.8; padding-bottom: 4px; }
.faq-item.active .faq-answer, .faq-item.active > div { max-height: 300px; padding-bottom: 22px; }
.faq-item.active .faq-toggle, .faq-item.active i { transform: rotate(45deg); border-color: var(--gold-accent); }

/* === ФОРМЫ === */
.form-section { background-color: var(--dark-charcoal); color: var(--bg-light); text-align: center; }
.fast-form-container { max-width: 650px; margin: 0 auto; }
.form-section h2, .fast-form-container h2 { color: var(--bg-light); font-size: 40px; margin-bottom: 15px; }
.form-section > p, .fast-form-container > p { color: rgba(248, 246, 242, 0.65); margin-bottom: 12px; font-size: 15px; font-weight: 300; }
.fast-form-urgency, .form-section .urgency { color: var(--gold-light); font-size: 13px; font-weight: 500; margin-bottom: 36px; letter-spacing: 0.5px; }
.inline-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.inline-form input {
    padding: 16px 20px; border: 1px solid rgba(255,255,255,0.15);
    background-color: rgba(255,255,255,0.04); color: var(--bg-light);
    font-family: inherit; font-size: 14px; width: 300px; transition: var(--transition);
}
.inline-form input::placeholder { color: rgba(255,255,255,0.3); }
.inline-form input:focus { outline: none; border-color: var(--gold-accent); background-color: rgba(255,255,255,0.08); }
.fast-form-note, .form-section .note { font-size: 11px; color: rgba(248,246,242,0.35); margin-top: 16px; }

/* lead-форма (на страницах) */
.lead-form { background: var(--bg-card); border: 1px solid var(--border-color); padding: 50px; box-shadow: var(--shadow-soft); max-width: 760px; margin: 0 auto; }
.form-heading { text-align: center; margin-bottom: 30px; }
.form-heading h2 { font-size: 30px; margin-bottom: 10px; }
.form-heading p { color: var(--text-muted); font-size: 14px; font-weight: 300; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.field label b { color: var(--gold-accent); }
.field input, .field select, .field textarea, .form-input, .form-select, .form-textarea {
    padding: 14px 18px; border: 1px solid var(--border-color); background: var(--bg-light);
    font-family: inherit; font-size: 14px; transition: var(--transition); border-radius: 0; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus, .form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: var(--gold-accent); background-color: var(--bg-card);
}
.field textarea, .form-textarea { resize: vertical; min-height: 90px; }
.field-error { display: block; font-size: 11px; color: #C0392B; min-height: 14px; }
.field input.invalid, .field textarea.invalid { border-color: #C0392B; }
.form-honeypot { position: absolute; left: -9999px; }
.consent, .form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.consent input, .form-checkbox input { margin-top: 3px; accent-color: var(--gold-accent); }
.consent a, .form-checkbox a { color: var(--gold-accent); text-decoration: underline; }
.consent-dark { color: rgba(248,246,242,0.5); }
.form-actions { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.form-actions .btn, .form-actions .button { flex-shrink: 0; }
.form-status { font-size: 13px; color: var(--gold-accent); min-height: 18px; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.active { display: block; }
.form-success svg { width: 52px; height: 52px; stroke: var(--gold-accent); fill: none; stroke-width: 2; margin-bottom: 14px; }
.form-success h3 { font-size: 24px; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); font-size: 14px; }
.form-wrap { position: relative; }
.form-wrap .form-success { position: absolute; inset: 0; background: var(--bg-card); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 40px; }
.form-wrap .form-success.active { display: flex; }
.form-title { font-size: 24px; margin-bottom: 6px; }
.form-subtitle { color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }

/* === ВНУТРЕННИЕ СТРАНИЦЫ === */
.page-hero {
    padding: 90px 0 70px; background: linear-gradient(135deg, rgba(18,18,17,0.88), rgba(18,18,17,0.94)),
                url('/images/images_3.jpg') no-repeat center center/cover, var(--dark-charcoal);
    color: var(--bg-light); border-bottom: 1px solid var(--border-color); position: relative;
}
.page-hero-compact { padding: 70px 0; background: var(--bg-card); border-bottom: 1px solid var(--border-color); color: var(--text-main); }
.page-hero h1 { color: var(--bg-light); font-size: 46px; line-height: 1.15; margin-bottom: 18px; }
.page-hero-compact h1 { color: var(--dark-charcoal); font-size: 42px; line-height: 1.15; margin-bottom: 14px; }
.page-hero h1 em, .page-hero h1 span { color: var(--gold-accent); font-style: italic; }
.page-hero p, .page-hero-compact p { font-size: 17px; font-weight: 300; max-width: 640px; color: rgba(248,246,242,0.8); }
.page-hero-compact p { color: var(--text-muted); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.page-hero-image img { width: 100%; height: 360px; object-fit: cover; border: 1px solid var(--border-color); }

.breadcrumbs, .breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px; }
.breadcrumbs a, .breadcrumb a { color: var(--gold-light); text-decoration: none; transition: var(--transition); }
.breadcrumbs a:hover, .breadcrumb a:hover { color: var(--bg-light); }
.breadcrumbs span, .breadcrumb span { color: rgba(248,246,242,0.3); }
.breadcrumbs b, .breadcrumb .current { color: rgba(248,246,242,0.6); font-weight: 400; }

/* категория */
.category-hero { position: relative; overflow: hidden; }
.category-hero-media { position: absolute; inset: 0; z-index: 0; }
.category-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.category-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(18,18,17,0.85), rgba(18,18,17,0.92)); }
.category-hero-content { position: relative; z-index: 1; padding: 100px 0 80px; max-width: 680px; }
.category-hero-content h1 { color: var(--bg-light); font-size: 44px; margin: 14px 0 18px; }
.category-hero-content h1 em { color: var(--gold-accent); font-style: italic; }
.category-hero-content p { color: rgba(248,246,242,0.8); font-size: 16px; margin-bottom: 26px; }

.category-intro-grid, .materials-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.feature-strip article { border-left: 2px solid var(--gold-accent); padding: 6px 0 6px 20px; }
.feature-strip span { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--gold-accent); font-weight: 700; }
.feature-strip p { font-size: 14px; color: var(--text-main); font-weight: 300; margin-top: 4px; }
.materials-image img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.material-list { list-style: none; margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.material-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-main); }
.material-list span { font-family: 'Cormorant Garamond', serif; color: var(--gold-accent); font-weight: 700; }
.material-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.material-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 30px 24px; transition: var(--transition); }
.material-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.material-card b { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--gold-accent); display: block; margin-bottom: 12px; }
.material-card h3 { font-size: 20px; margin-bottom: 8px; }
.material-card p { font-size: 13px; color: var(--text-muted); font-weight: 300; }

/* страница категории — детали продукта */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-gallery-main img { width: 100%; height: 420px; object-fit: cover; border: 1px solid var(--border-color); }
.product-gallery { margin-bottom: 30px; }
.product-gallery-main { margin-bottom: 12px; }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.product-gallery-thumb { cursor: pointer; opacity: 0.5; transition: var(--transition); border: 2px solid transparent; }
.product-gallery-thumb img { width: 100%; height: 80px; object-fit: cover; }
.product-gallery-thumb.active, .product-gallery-thumb:hover { opacity: 1; border-color: var(--gold-accent); }
.price-range { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--gold-accent); font-weight: 700; margin: 16px 0; }
.product-features-list { list-style: none; margin: 20px 0; }
.product-features-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-main); margin-bottom: 12px; font-weight: 300; }
.product-features-list svg { width: 20px; height: 20px; stroke: var(--gold-accent); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }

.product-showcase-grid, .showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.showcase-item { border: 1px solid var(--border-color); background: var(--bg-card); overflow: hidden; transition: var(--transition); }
.showcase-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold-accent); }
.showcase-item-image img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.showcase-item:hover .showcase-item-image img { transform: scale(1.05); }
.showcase-item-body { padding: 24px; }
.showcase-item-body h4 { font-size: 20px; margin-bottom: 8px; }
.showcase-item-body p { font-size: 13px; color: var(--text-muted); font-weight: 300; }

/* контакты */
.contact-section { background: var(--bg-light); }
.contact-layout, .contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info h2, .contact-info h3 { font-size: 30px; margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; font-weight: 300; }
.contact-details, .contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-list dt { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px; }
.contact-list dd { font-size: 16px; font-weight: 600; color: var(--dark-charcoal); }
.contact-list dd small { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-icon { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--gold-accent); fill: none; stroke-width: 2; }
.contact-detail-text strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 2px; font-weight: 600; }
.contact-detail-text span, .contact-detail-text a { font-size: 15px; color: var(--text-main); text-decoration: none; }
.contact-detail-text a:hover { color: var(--gold-accent); }
.contact-note { margin-top: 24px; padding: 24px; background: var(--bg-card); border: 1px solid var(--border-color); border-left: 2px solid var(--gold-accent); }
.contact-note p { color: var(--text-muted); font-size: 13px; font-weight: 300; margin-top: 6px; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border-color); padding: 40px; box-shadow: var(--shadow-soft); }

/* карта */
.map-section { padding: 0; background: var(--bg-card); border-bottom: 1px solid var(--border-color); }
.map-placeholder { padding: 80px 24px; text-align: center; background: var(--border-soft); }
.map-placeholder span { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-accent); }
.map-placeholder h2 { font-size: 26px; margin: 12px 0 8px; }
.map-placeholder p { color: var(--text-muted); font-size: 14px; }

/* === ПОДВАЛ === */
.site-footer, footer.footer {
    background-color: var(--dark-deep); color: rgba(248, 246, 242, 0.6);
    padding: 80px 0 40px 0; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-col h4, .footer-title, footer h4 {
    color: var(--bg-light); font-size: 16px; text-transform: uppercase;
    margin-bottom: 24px; letter-spacing: 1px; font-family: 'Montserrat', sans-serif; font-weight: 600;
}
.footer-about p { font-size: 14px; line-height: 1.8; }
.footer-links, .footer-contacts { list-style: none; }
.footer-links a, .footer-contacts a { display: block; margin-bottom: 12px; font-size: 14px; color: rgba(248,246,242,0.6); text-decoration: none; transition: var(--transition); }
.footer-links a:hover, .footer-contacts a:hover, .footer-contacts li:hover { color: var(--gold-light); }
.footer-contacts li span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(248,246,242,0.4); margin-bottom: 2px; }
.footer-contacts strong { font-size: 15px; color: var(--bg-light); font-weight: 500; }
.footer-address { font-style: normal; line-height: 1.9; font-size: 14px; }
.footer-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none; margin-top: 18px; }
.footer-cta:hover { color: var(--bg-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 12px; }
.footer-bottom a { color: rgba(248,246,242,0.5); text-decoration: none; margin-left: 18px; transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0; }
.footer-social svg { width: 18px; height: 18px; stroke: rgba(248,246,242,0.6); fill: none; stroke-width: 2; }
.footer-social a:hover { border-color: var(--gold-accent); }
.footer-social a:hover svg { stroke: var(--gold-accent); }
.copyright { text-align: center; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 12px; letter-spacing: 0.5px; }

/* === ПЛАВАЮЩАЯ КНОПКА === */
.floating-cta, .floating-contact { position: fixed; bottom: 30px; right: 30px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transition: opacity 0.4s; }
.floating-phone-btn, .floating-cta-btn, .floating-contact a {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--gold-accent); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(163,132,80,0.4); transition: var(--transition); position: relative;
    text-decoration: none; color: var(--bg-light);
}
.floating-phone-btn:hover, .floating-cta-btn:hover, .floating-contact a:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(163,132,80,0.5); }
.floating-phone-btn svg, .floating-cta-btn svg, .floating-contact svg { width: 26px; height: 26px; stroke: var(--bg-light); fill: none; stroke-width: 2; }
.pulse-ring { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--gold-accent); animation: pulse-ring 2s ease infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.floating-label { background: var(--dark-charcoal); color: var(--bg-light); padding: 8px 16px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; box-shadow: 0 4px 16px rgba(0,0,0,0.2); opacity: 0; transform: translateX(10px); transition: var(--transition); pointer-events: none; white-space: nowrap; }
.floating-cta:hover .floating-label, .floating-contact:hover .floating-label { opacity: 1; transform: translateX(0); }
.floating-contact a span { font-size: 22px; }
.floating-contact a b { display: none; }

/* === МОДАЛЬНОЕ ОКНО === */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26,26,25,0.7); backdrop-filter: blur(6px);
    z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box, .modal {
    background: var(--bg-card); max-width: 460px; width: 100%;
    border: 1px solid var(--border-color); padding: 50px 40px;
    position: relative; animation: modalIn 0.4s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close, .modal > button {
    position: absolute; top: 16px; right: 20px; background: none;
    border: none; font-size: 24px; cursor: pointer; color: var(--text-muted);
    transition: var(--transition); line-height: 1; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover, .modal > button:hover { color: var(--dark-charcoal); }
.modal-close svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.modal-box h3, .modal .form-title { font-size: 26px; margin-bottom: 8px; }
.modal-sub, .modal .form-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; font-weight: 300; }
.modal-box .btn, .modal .form-submit { width: 100%; text-align: center; margin-top: 8px; }
.modal .form-group { margin-bottom: 16px; }

/* === ТОСТ === */
.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    background-color: var(--dark-charcoal); color: var(--bg-light);
    border: 1px solid var(--gold-accent); padding: 18px 36px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25); z-index: 3000;
    font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* === ДОПОЛНИТЕЛЬНЫЕ КЛАССЫ ШАБЛОНОВ === */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 5000; }
.skip-link:focus { left: 16px; top: 16px; background: var(--dark-charcoal); color: var(--bg-light); padding: 10px 18px; z-index: 5000; }

.logo-light .logo-main { color: var(--bg-light); }
.logo-light .logo-sub { color: var(--gold-light); }
.footer-messengers { display: flex; gap: 10px; margin-top: 24px; }
.footer-messengers .messenger-btn { width: auto; height: auto; padding: 10px 18px; border-radius: 0; border: 1px solid rgba(248,246,242,0.2); color: var(--bg-light); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.footer-messengers .messenger-btn:hover { background: var(--gold-accent); border-color: var(--gold-accent); color: var(--bg-light); }
.footer-phone { color: var(--gold-light); font-size: 18px; font-weight: 600; text-decoration: none; transition: var(--transition); }
.footer-phone:hover { color: var(--bg-light); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(248,246,242,0.5); text-decoration: none; font-size: 12px; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold-light); }

.btn-light { background: transparent; border: 1px solid rgba(248,246,242,0.3); color: var(--bg-light); }
.btn-light:hover { background: var(--bg-light); color: var(--dark-charcoal); border-color: var(--bg-light); }

.eyebrow-gold { color: var(--gold-accent) !important; }

.hero-stats-sm { display: flex; gap: 32px; margin: 28px 0; flex-wrap: wrap; }
.hero-stats-sm > div { border-left: 2px solid var(--gold-accent); padding-left: 16px; }
.hero-stats-sm b { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 700; color: var(--bg-light); display: block; line-height: 1; }
.hero-stats-sm span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(248,246,242,0.6); margin-top: 6px; display: block; }

/* --- Модалка --- */
.modal-body { padding: 0; }
.modal-body h2 { font-size: 28px; margin: 8px 0 12px; }
.modal-body > p { color: var(--text-muted); font-size: 14px; font-weight: 300; margin-bottom: 28px; }
.modal-form .field { margin-bottom: 16px; }
.modal-phone-alt { text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 13px; color: var(--text-muted); }
.modal-phone-alt a { color: var(--gold-accent); font-weight: 600; text-decoration: none; }

/* --- Финальная форма (render_lead_form) --- */
.form-section { background-color: var(--dark-charcoal); }
.form-section .lead-form,
.form-section .final-form-aside h2 { color: var(--bg-light); }
.final-form { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.final-form-aside { position: sticky; top: 120px; }
.final-form-aside h2 { color: var(--bg-light); font-size: 36px; line-height: 1.2; margin-bottom: 16px; }
.final-form-lead { color: rgba(248,246,242,0.7); font-size: 15px; font-weight: 300; margin-bottom: 28px; }
.final-form-points { list-style: none; margin-bottom: 32px; }
.final-form-points li { color: rgba(248,246,242,0.85); font-size: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.final-form-points li b { color: var(--gold-light); font-weight: 600; }
.final-form-phone span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 6px; }
.final-form-phone a { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: var(--gold-accent); text-decoration: none; transition: var(--transition); }
.final-form-phone a:hover { color: var(--gold-light); }
.form-section .lead-form { background: transparent; }
.form-section .lead-form .field label,
.form-section .lead-form .form-heading h2 { color: var(--bg-light); }
.form-section .lead-form input,
.form-section .lead-form textarea { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); color: var(--bg-light); }
.form-section .lead-form input::placeholder,
.form-section .lead-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-section .lead-form input:focus,
.form-section .lead-form textarea:focus { border-color: var(--gold-accent); background: rgba(255,255,255,0.08); }
.form-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold-accent); color: var(--gold-accent); font-size: 28px; margin-bottom: 16px; }

.catalog-page { padding-top: 0; }

/* --- Правовая страница (privacy) --- */
.legal-section { background: var(--bg-light); }
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 24px; margin: 32px 0 12px; color: var(--dark-charcoal); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-muted); font-size: 15px; font-weight: 300; line-height: 1.8; margin-bottom: 14px; }
.legal-content strong { color: var(--dark-charcoal); font-weight: 600; }

/* === АДАПТИВ === */
@media (max-width: 1024px) {
    .benefits-grid, .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .painting-grid, .production-features { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid, .product-grid, .products-grid, .service-grid, .product-showcase-grid, .showcase-grid, .reviews-grid, .guarantees-grid, .values-grid, .material-grid { grid-template-columns: repeat(2, 1fr); }
    .material-grid { grid-template-columns: repeat(3, 1fr); }
    .split-heading, .section-heading, .faq-layout, .contact-layout, .contact-grid, .category-intro-grid, .materials-layout, .about-grid, .production-grid, .story-grid, .page-hero-grid, .quiz-shell, .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
    .quiz-aside { padding: 40px 32px; }
    .quiz-form { padding: 40px 32px; }
    .main-nav { display: none; }
    .header-contacts { display: none; }
    .burger-menu-btn, .menu-toggle, .burger { display: flex; }
    .final-form { grid-template-columns: 1fr; gap: 40px; }
    .final-form-aside { position: static; }
}
@media (max-width: 768px) {
    .site-header, header.header { padding: 14px 0; }
    .hero { padding: 110px 0 90px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 15px; }
    .hero-badge { font-size: 9px; padding: 6px 14px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .hero-stat-number { font-size: 30px; }
    .trust-grid, .benefits-grid, .advantages-grid { grid-template-columns: 1fr; gap: 16px; }
    .benefit-card, .advantage-card { padding: 28px 24px; }
    .production-img { height: 260px; }
    .painting-grid, .production-features, .portfolio-grid, .product-grid, .products-grid, .service-grid, .reviews-grid, .guarantees-grid, .values-grid, .material-grid, .product-showcase-grid, .showcase-grid { grid-template-columns: 1fr; }
    .material-grid { grid-template-columns: 1fr 1fr; }
    .option-grid, .quiz-options { grid-template-columns: 1fr; }
    .quiz-shell { grid-template-columns: 1fr; }
    .quiz-aside { padding: 36px 24px; }
    .quiz-form { padding: 30px 24px; }
    .quiz-controls, .quiz-nav { flex-direction: column; gap: 12px; }
    .quiz-controls .btn, .quiz-controls .button, .quiz-nav .btn { width: 100%; text-align: center; }
    section, .section { padding: 60px 0; }
    .section-title, .split-heading h2, .section-heading h2, .page-hero h1, .page-hero-compact h1 { font-size: 28px; }
    .fast-form-container h2, .form-section h2 { font-size: 30px; }
    .inline-form input, .inline-form .btn, .inline-form .button { width: 100%; }
    .faq-question, .faq-item button { font-size: 17px; }
    .faq-layout { gap: 24px; }
    .feature-strip, .material-list { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .lead-form, .contact-form { padding: 30px 22px; }
    .cta-banner, .cta-band { padding: 40px 24px; flex-direction: column; text-align: center; }
    .production-gallery { grid-template-columns: 1fr; }
    .floating-cta, .floating-contact { bottom: 20px; right: 20px; }
    .floating-phone-btn, .floating-cta-btn, .floating-contact a { width: 52px; height: 52px; }
    .modal-box, .modal { padding: 40px 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom a { margin: 4px 12px 0; }
}
