:root {
    --accent: #8b5e3c;
    --accent-dark: #6b3f1f;
    --bg: #faf7f2;
    --bg-dark: #f0e8da;
    --text: #2b2b2b;
    --text-light: #5c5c5c;
    --card: #fff;
    --border: #e5d9c4;
    --shadow: 0 4px 20px rgba(107, 63, 31, 0.08);
    --shadow-hover: 0 12px 40px rgba(107, 63, 31, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.2s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg); color: var(--text); line-height: 1.7; min-height: 100vh;
}

/* ── Header ── */
.site-header { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 24px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-size: 1.1rem; font-weight: 500; }
.logo b { color: var(--accent); }
.main-nav { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; color: var(--text); font-size: 0.95rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
@media (max-width: 767px) {
    .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 14px; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .burger { display: flex; }
}

/* ── Buttons ── */
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-mini { padding: 8px 16px; font-size: 0.85rem; border-radius: 6px; font-weight: 600; }
.btn-buy { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-buy:hover { background: var(--accent-dark); }
.btn-review { background: var(--bg-dark); color: var(--accent-dark); border: 1px solid var(--border); }
.btn-review:hover { background: var(--border); color: var(--accent-dark); }

/* ── ИИ-консультант ── */
.hero-actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn-ai { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 14px; background: linear-gradient(135deg, #d4842a, #f0a030); color: #1a0f00; font-weight: 700; font-size: 1rem; text-decoration: none; box-shadow: 0 0 24px rgba(212, 132, 42, 0.3), 0 4px 16px rgba(0,0,0,0.2); animation: aiPulse 2.5s ease-in-out infinite; }
.btn-ai:hover { background: linear-gradient(135deg, #c07020, #e89828); transform: translateY(-2px); }
.ai-icon { font-size: 1.3rem; width: 20px; height: 20px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; }
.ai-badge { background: rgba(255,255,255,0.25); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; animation: aiOnline 2s ease-in-out infinite; }
@keyframes aiPulse { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
@keyframes aiOnline { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@media (max-width: 480px) { .hero-actions { flex-direction: column; } .btn-ai { justify-content: center; } }

/* ── Hero ── */
.hero { background: linear-gradient(rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.08) 35%, rgba(0,0,0,0.08) 65%, rgba(0,0,0,0.32) 100%), url('/img/hero-bg.webp') center center/cover no-repeat; color: #fff; padding: 80px 24px; text-align: center; min-height: 720px; display: flex; align-items: center; justify-content: center; }
.hero-content { width: 100%; }
.hero h1 { font-size: 2.5rem; line-height: 1.25; margin-bottom: 20px; font-weight: 800; }
.hero-sub { font-size: 1.15rem; opacity: 0.85; margin-bottom: 32px; }
@media (max-width: 767px) { .hero { padding: 60px 20px; min-height: 560px; } .hero h1 { font-size: 1.7rem; } }

/* ── Catalog ── */
.catalog-section { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.catalog-section h2 { font-size: 2rem; text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--text-light); margin-bottom: 40px; }
.showcase { margin-bottom: 60px; }
.showcase-filters { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.filter-label { font-size: 1.3rem; font-weight: 700; }
.filter-count { color: var(--text-light); font-size: 0.9rem; }
.showcase-desc { color: var(--text-light); margin-bottom: 24px; }

/* ── Blend Grid ── */
.blend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.blend-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; }
.blend-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.blend-img-wrap { position: relative; background: var(--bg-dark); height: 200px; overflow: hidden; }
.blend-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.blend-line-tag { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.blend-intensity { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.75rem; padding: 2px 10px; border-radius: 100px; }
.blend-info { padding: 16px; }
.blend-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.blend-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.blend-taste { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; line-height: 1.5; height: 61px; overflow: hidden; }
.blend-price-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.blend-price { font-size: 1.2rem; font-weight: 700; color: var(--accent); }
.blend-weight { font-size: 0.8rem; color: var(--text-light); }
.blend-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.blend-actions .btn { flex: 0 0 auto; white-space: nowrap; }

/* ── Advantages ── */
.advantages { background: var(--bg-dark); padding: 80px 24px; }
.advantages h2 { text-align: center; font-size: 2rem; margin-bottom: 48px; }
.adv-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.adv-card { background: var(--card); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.adv-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.adv-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.adv-card p { color: var(--text-light); font-size: 0.95rem; }

/* ── CTA ── */
.cta-section { text-align: center; padding: 80px 24px; background: linear-gradient(135deg, #3d2b1f, #5a2ec4); color: #fff; }
.cta-section h2 { font-size: 2rem; margin-bottom: 12px; color: #fff; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.1rem; line-height: 1.7; }
.cta-card { max-width: 640px; margin: 0 auto; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 48px 40px; text-align: center; }
.cta-ai-badge { display: inline-block; background: rgba(255,255,255,0.2); color: #fff; font-size: 0.85rem; font-weight: 700; padding: 6px 18px; border-radius: 100px; margin-bottom: 20px; }
.btn-ai-cta { display: inline-block; padding: 16px 36px; background: #fff; color: #8b4a10; border-radius: 14px; font-weight: 700; font-size: 1.05rem; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn-ai-cta:hover { background: #fff8f0; transform: translateY(-2px); }
@media (max-width: 480px) { .cta-card { padding: 32px 24px; } }

/* ── FAQ ── */
.faq { max-width: 800px; margin: 0 auto; padding: 80px 24px; }
.faq h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { padding: 18px 0; font-size: 1.05rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--accent); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 0 18px 0; color: var(--text-light); line-height: 1.7; }

/* ── Footer (3 columns separated) ── */
.site-footer { background: #3d2b1f; color: #ccc; padding: 48px 24px 24px; margin-top: 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-col { min-width: 0; }
.footer-col .footer-title { color: #fff; margin-bottom: 14px; font-size: 1rem; font-weight: 700; }
.footer-col a { display: block; color: #aaa; text-decoration: none; margin-bottom: 8px; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: #aaa; margin-bottom: 6px; font-size: 0.9rem; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.8rem; color: #888; }

/* ── Catalog Page ── */
.catalog-page { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }
.breadcrumbs { font-size: 0.9rem; color: var(--text-light); margin-bottom: 24px; }
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.catalog-page h1 { font-size: 2rem; margin-bottom: 8px; }
.catalog-desc { color: var(--text-light); margin-bottom: 32px; }

/* ── Obzor Page ── */
.obzor-page { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }
.obzor-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.obzor-main-img { width: 100%; border-radius: var(--radius); background: var(--bg-dark); }
.obzor-line-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 4px 14px; border-radius: 100px; margin-bottom: 12px; }
.obzor-meta h1 { font-size: 1.8rem; margin-bottom: 12px; }
.obzor-desc { color: var(--text-light); margin-bottom: 24px; line-height: 1.8; }
.obzor-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.obzor-specs .spec { background: var(--bg); padding: 12px; border-radius: var(--radius-sm); }
.obzor-specs .spec span { display: block; font-size: 0.8rem; color: var(--text-light); }
.obzor-specs .spec strong { font-size: 1rem; }
.obzor-price-block { display: flex; align-items: center; gap: 16px; }
.obzor-price { font-size: 2rem; font-weight: 800; color: var(--accent); }
.obzor-price small { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.obzor-detail { background: var(--card); padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 24px; }
.obzor-detail h2 { font-size: 1.3rem; margin-bottom: 16px; }
.intensity-bar { height: 12px; background: var(--bg-dark); border-radius: 6px; margin-bottom: 8px; overflow: hidden; }
.intensity-fill { height: 100%; background: linear-gradient(90deg, #4caf50, #ff9800, #f44336); border-radius: 6px; }
.intensity-bar span { font-size: 0.8rem; color: var(--text-light); }
@media (max-width: 767px) { .obzor-hero { grid-template-columns: 1fr; } }

/* ── Content Pages (contacts, dostavka, consultant) ── */
.content-page { max-width: 800px; margin: 0 auto; padding: 40px 24px; }
.content-page h1 { font-size: 2rem; margin-bottom: 16px; }
.content-page h2 { font-size: 1.4rem; margin: 28px 0 12px; }
.content-page p { margin-bottom: 12px; color: var(--text-light); line-height: 1.8; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.contact-card h3 { margin-bottom: 8px; }

/* ── Animation ── */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; scroll-behavior: auto !important; } }
