
:root {
    --bg-main: #F9F5F0; /* Тот самый идеальный кремовый фон */
    --text-main: #4A342E; /* Благородный кофейный цвет для текста */
    --accent-color: #8B4A45; /* Цвет кнопок и акцентов */
    --border-light: rgba(74, 52, 46, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
}

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ИДЕАЛЬНАЯ ОДИНАРНАЯ ШАПКА */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-light);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 75px; }
.logo { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.35rem; color: var(--text-main); text-decoration: none; }
.nav a { margin-left: 25px; color: var(--text-main); text-decoration: none; font-family: 'Jost', sans-serif; font-size: 0.95rem; }

/* ГЛАВНЫЙ БАННЕР (HERO) */
.hero-section { padding: 25px 0 50px; }
.hero-banner-box {
    position: relative; height: 500px;
    border-radius: 40px; overflow: hidden;
    margin-bottom: 35px;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; 
}
.hero-overlay {
    position: absolute; 
    inset: 0;
    background: rgba(0, 0, 0, 0.12); /* Фильтр для сочности фото */
    display: flex; 
    align-items: flex-start; /* Прижимает текст к верху */
    justify-content: center; 
    padding-top: 40px; /* Фиксированный аккуратный отступ от верхнего края */
}
.hero-title {
    font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500;
    color: #ffffff !important; text-align: center; font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.25; text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.hero-subtitle {
    font-family: 'Jost', sans-serif; font-weight: 400; font-size: 1.35rem;
    text-align: center; max-width: 850px; margin: 0 auto; line-height: 1.6;
}

/* ЗАГОЛОВКИ СЕКЦИЙ */
.section-eyebrow { font-family: 'Jost', sans-serif; font-size: 1.1rem; color: var(--accent-color); text-transform: uppercase; letter-spacing: 2px; text-align: center; margin-top: 60px; font-weight: 600; }
.section-main-title { font-family: 'Playfair Display', serif; font-style: italic; font-size: 2.6rem; text-align: center; margin: 10px 0 45px; color: var(--text-main); }

/* СЕТКА КАТЕГОРИЙ И ТОВАРОВ */
.category-list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.category-card { background: #fff; border-radius: 35px; overflow: hidden; text-align: center; padding-bottom: 30px; box-shadow: 0 10px 30px rgba(74, 52, 46, 0.05); cursor: pointer; transition: 0.3s; }
.category-card:hover { transform: translateY(-5px); }
.category-card img { width: 100%; height: 300px; object-fit: cover; display: block; }
.category-card h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin: 20px 0 15px; font-weight: 600; }

}
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; margin-bottom: 50px; }
.catalog-item { position: relative; border-radius: 25px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.04); background: #fff; }
.category-button { 
    display: inline-block; 
    background: var(--accent-color); 
    color: #ffffff !important; /* Исправлено: точка с запятой теперь только на конце! */
    padding: 10px 30px; 
    border-radius: 50px; 
    font-family: 'Jost'; 
    font-size: 0.9rem; 
    text-decoration: none; 
}

.category-button:hover {
    background: #674837 !important; /* Наш фирменный темный ховер из ТЗ */
    color: #ffffff !important;
    transition: background 0.3s ease;
}
.catalog-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }

/* КРАСИВЫЙ БЕЙДЖ С НОМЕРОМ ТОВАРА */
.product-badge {
    position: absolute; top: 15px; right: 15px;
    background: #ffffff; padding: 4px 12px; border-radius: 8px;
    font-family: 'Jost', sans-serif; font-size: 0.85rem; font-weight: 600;
    border: 1px solid rgba(74, 52, 46, 0.15); color: var(--text-main); z-index: 5;
}
.product-badge span { color: var(--accent-color); margin-right: 2px; }

/* НЕПОДВИЖНЫЙ БЛОК КОНТАКТОВ (АНТИ-ДУБЛИКАТ) */
.category-footer-box {
    background: #fff; border-radius: 40px; padding: 60px 30px;
    text-align: center; box-shadow: 0 15px 45px rgba(74, 52, 46, 0.05);
    margin-top: 40px; width: 100%;
}
.contact-title { font-family: 'Playfair Display', serif; font-style: italic; font-size: 2.8rem; margin-bottom: 20px; color: var(--text-main); }
.contact-links { margin-bottom: 35px; }
.cat-link-wa { color: #25D366; font-family: 'Jost', sans-serif; font-weight: 700; text-decoration: none; font-size: 1.4rem; margin: 0 20px; }
.cat-link-ig { color: #E1306C; font-family: 'Jost', sans-serif; font-weight: 700; text-decoration: none; font-size: 1.4rem; margin: 0 20px; }
.btn-back { background: transparent; border: 1px solid var(--text-main); padding: 12px 35px; border-radius: 50px; cursor: pointer; font-family: 'Jost'; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; transition: 0.2s; }
.btn-back:hover { background: var(--text-main); color: #fff; }

.hidden { display: none !important; }

@media (min-width: 768px) { .desktop-br { display: inline; } }
@media (max-width: 767px) { .desktop-br { display: none; } .hero-banner-box { height: 320px; } }/* СТИЛИ ДЛЯ СЕКЦИИ ПРОЦЕССА РАБОТЫ */
.section-main-title span { font-style: italic; color: var(--accent-color); }
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
}
.process-step { text-align: center; position: relative; }
.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--accent-color);
    background: #fff;
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(139, 74, 69, 0.2);
    box-shadow: 0 10px 25px rgba(139, 74, 69, 0.05);
}
.process-step h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; margin-bottom: 12px; color: var(--text-main); }
.process-step p { font-family: 'Jost', sans-serif; font-size: 0.95rem; color: #6e5650; line-height: 1.6; padding: 0 10px; }

/* СТИЛИ ДЛЯ ТЕМНОГО CTA БАННЕРА */
.cta-dark-section {
    background: var(--text-main); /* Наш глубокий кофейный цвет */
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-dark-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.cta-eyebrow { font-family: 'Jost', sans-serif; font-size: 0.9rem; color: #dfc8c4; letter-spacing: 3px; font-weight: 600; margin-bottom: 20px; }
.cta-title { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: #fff; font-weight: 500; line-height: 1.25; margin-bottom: 25px; }
.cta-title span { font-style: italic; color: #dfc8c4; }
.cta-text { font-family: 'Jost', sans-serif; color: #f3eae8; font-size: 1.1rem; line-height: 1.6; max-width: 650px; margin: 0 auto 40px; }
.cta-buttons-group { display: flex; gap: 20px; justify-content: center; align-items: center; margin-bottom: 30px; flex-wrap: wrap; }
.btn-cta-white {
    display: inline-block; background: #ffffff; color: var(--text-main);
    padding: 15px 40px; border-radius: 50px; font-family: 'Jost', sans-serif;
    font-weight: 600; text-decoration: none; font-size: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: 0.3s;
}
.btn-cta-white:hover { transform: translateY(-3px); background: #fdfaf9; }
.btn-cta-outline {
    display: inline-block; background: transparent; color: #ffffff;
    padding: 14px 38px; border-radius: 50px; font-family: 'Jost', sans-serif;
    font-weight: 600; text-decoration: none; font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4); transition: 0.3s;
}
.btn-cta-outline:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.05); }
.cta-subtext { font-family: 'Jost', sans-serif; font-size: 0.85rem; color: #bcaaa6; }

/* СТИЛИ ДЛЯ ГЛОБАЛЬНОГО ФУТЕРА */
.main-footer { background: #382420; color: #eae1df; padding: 70px 0 0; font-family: 'Jost', sans-serif; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: #fff; margin-bottom: 25px; font-weight: 600; }
.footer-logo { font-size: 1.6rem !important; font-style: italic; color: #fff; }
.footer-col p { font-size: 0.95rem; line-height: 1.6; color: #cdc0bd; }
.footer-social-links a { display: block; color: #eae1df; text-decoration: none; margin-bottom: 12px; font-size: 0.95rem; transition: 0.2s; }
.footer-social-links a:hover { color: #fff; padding-left: 5px; }
.footer-col strong { color: #fff; }
.footer-col a { color: #eae1df; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 25px 0; text-align: center; font-size: 0.85rem; color: #a89692; }

/* Адаптивность для мобильных телефонов */
@media (max-width: 767px) {
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .cta-dark-section { padding: 60px 0; }
    .cta-buttons-group { flex-direction: column; width: 100%; padding: 0 20px; }
    .btn-cta-white, .btn-cta-outline { width: 100%; text-align: center; }
}