/* Cupicaps — минималистичный, быстрый CSS */

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

:root {
    --primary: #c0392b;
    --primary-dark: #a93226;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --bg: #fafafa;
    --white: #fff;
    --border: #ecf0f1;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
    background: var(--white);
    border-bottom: 2px solid var(--primary);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav ul {
    display: flex;
    list-style: none;
    gap: 6px;
    flex-wrap: wrap;
}
.nav a {
    text-decoration: none;
    color: var(--text);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    transition: background .2s;
}
.nav a:hover, .nav a.active { background: #fdedec; color: var(--primary); }
.header-contacts { text-align: right; }
.header-contacts .phone { font-size: 18px; font-weight: 700; color: var(--primary); text-decoration: none; }
.header-contacts .worktime { display: block; font-size: 13px; color: var(--text-light); }

/* Breadcrumbs */
.breadcrumbs { background: var(--white); border-bottom: 1px solid var(--border); padding: 10px 0; font-size: 14px; }
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs .sep { margin: 0 6px; color: var(--text-light); }

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}
.hero h1 { font-size: 36px; margin-bottom: 16px; font-weight: 800; }
.hero-subtitle { font-size: 18px; opacity: 0.9; max-width: 700px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.category-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
}
.category-hero h1 { font-size: 32px; margin-bottom: 16px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-weight: 600; text-decoration: none; font-size: 16px; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: #fff; }

/* Main */
.main { padding: 50px 0; }
.main section { margin-bottom: 50px; }

h2 {
    font-size: 26px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
h3 { font-size: 20px; margin-bottom: 8px; }
p { margin-bottom: 16px; color: var(--text); }

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-card img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }
.product-card h3 a { color: var(--text); text-decoration: none; }
.product-card .price { font-size: 20px; font-weight: 700; color: var(--primary); }

/* Blend grid */
.blend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.blend-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}
.blend-card .price { font-weight: 700; color: var(--primary); }

/* Advantages */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.adv-item { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.adv-item h3 { font-size: 18px; color: var(--primary); margin-bottom: 8px; }

/* Tables */
.compare-table-wrapper { overflow-x: auto; }
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.compare-table th, .compare-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.compare-table th { background: var(--primary); color: #fff; font-weight: 600; }
.compare-table th a { color: #fff; }

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 24px;
    margin-bottom: 16px;
}
.faq-item h3 { color: var(--primary); }

/* Info box */
.info-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 24px;
    margin-bottom: 24px;
}
.info-box ul { list-style: none; }
.info-box li { padding: 6px 0; }

/* CTA */
.cta {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.cta-inline { text-align: center; padding: 30px 0; }

/* Machine list */
.machine-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin-bottom: 24px;
}
.machine-list li {
    background: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer h4 { color: #fff; margin-bottom: 12px; }
.footer a { color: #999; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 14px; }

/* Section intro */
.section-intro { font-size: 16px; max-width: 700px; margin-bottom: 24px; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 26px; }
    .hero-subtitle { font-size: 16px; }
    .header .container { flex-direction: column; }
    .nav ul { justify-content: center; }
    .header-contacts { text-align: center; }
    h2 { font-size: 22px; }
}
