:root {
    --primary: #2c3e50;
    --accent: #1abc9c;
    --accent-hover: #16a085;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --text-dark: #212529;
    --text-light: #6c757d;
    --warning: #ffc107;
    --danger: #dc3545;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 10px;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background: #ffffff;
}

img { max-width: 100%; height: auto; }
html, body { overflow-x: hidden; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.muted { color: #adb5bd; }
.muted-text { color: var(--text-light); }
.small { font-size: 0.9rem; }
.product-heading { color: var(--primary); font-size: 2rem; margin-bottom: 15px; }
.set-price { color: var(--danger); font-size: 1.5rem; }
.form-title { margin-bottom: 1rem; color: var(--primary); }
.form-note { margin-top: 10px; color: var(--text-light); }
input, select, textarea { font-size: 16px; }
body.has-cookie-banner { padding-bottom: 170px; }

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; position: relative; }
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.navbar-menu { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.navbar-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
    position: relative;
}
.navbar-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.navbar-menu a:hover::after,
.navbar-menu a.active::after { transform: scaleX(1); }
.navbar-menu a:hover,
.navbar-menu a.active { color: var(--accent); }

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.burger span {
    display: block;
    height: 2px;
    width: 24px;
    background: var(--primary);
    margin: 0 auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero {
    background: linear-gradient(135deg, #e8f8f5 0%, #d5f6f1 100%);
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}
.hero-img:hover { transform: rotate(0deg) scale(1.02); }
.hero h1, .hero h2 { color: var(--primary); font-size: 2.8rem; line-height: 1.2; margin-bottom: 1.5rem; font-weight: 700; }
.hero p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; }

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(26, 188, 156, 0.4); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: #2c3e50; }
.btn-light-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-muted { background: #666; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 4rem 0; }
.section-title {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.section-lead { text-align: center; color: var(--text-light); max-width: 720px; margin: 0 auto 2rem; }

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}
.product-img { width: 100%; border-radius: var(--border-radius); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.old-price { text-decoration: line-through; color: var(--text-light); font-size: 1.2rem; margin-right: 10px; }
.current-price { color: var(--danger); font-size: 2rem; font-weight: 700; }
.price-card { margin: 20px 0; }
.set-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    background: #f8f9fa;
    cursor: pointer;
}
.set-card:hover, .set-card.selected { border-color: var(--accent); }
.set-card h3 { margin-bottom: 10px; color: var(--primary); }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.order-grid input, .contact-form input, .contact-form textarea, .form-field input, .form-field textarea, .form-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}
.order-grid button { grid-column: span 2; }

.features-grid, .steps-grid, .reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 3rem; }
.feature-item, .step-item, .review-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover, .step-item:hover, .review-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.feature-icon, .step-num { font-size: 2.4rem; margin-bottom: 1rem; color: var(--accent); }
.step-num { font-weight: 700; display: inline-block; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.blog-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-content { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { color: var(--primary); margin-bottom: 0.8rem; }
.blog-card p { color: var(--text-light); margin-bottom: 1rem; }
.blog-meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.team-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 3rem; }
.team-member { background: #fff; border-radius: var(--border-radius); box-shadow: var(--box-shadow); padding: 1.5rem; text-align: center; }
.team-member img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.team-member h3 { color: var(--primary); }
.team-role { color: var(--accent); font-weight: 600; margin-bottom: 0.8rem; }
.team-bio { color: var(--text-light); font-size: 0.9rem; }

.contact-form, .legal-card, .narrow {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}
.contact-form input, .contact-form textarea { margin-bottom: 1rem; }
.contact-form textarea { min-height: 120px; }
.contact-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start; }
.contact-info { background: var(--bg-light); border-radius: var(--border-radius); padding: 2rem; }
.contact-info h3 { color: var(--primary); margin-bottom: 1rem; }
.contact-info p { margin-bottom: 0.8rem; color: var(--text-light); }
.contact-info a { color: var(--accent); }

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 8px; box-shadow: var(--box-shadow); margin-bottom: 1rem; padding: 0; }
.faq-item summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--primary); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 1.3rem 1.2rem; color: var(--text-light); }

.page-header {
    background: linear-gradient(135deg, #e8f8f5, #d1f2eb);
    padding: 4rem 0;
    text-align: center;
}
.page-header h1 { font-size: 2.6rem; color: var(--primary); }
.page-header p { max-width: 680px; margin: 1rem auto 0; color: var(--text-light); }

.article { max-width: 840px; margin: 0 auto; padding: 3rem 0; }
.article img { width: 100%; border-radius: 8px; margin: 1.5rem 0; }
.article h1, .article h2 { color: var(--primary); margin: 2rem 0 1rem; }
.article p, .article li { margin-bottom: 1.2rem; color: #495057; }
.article ul, .article ol { padding-left: 1.4rem; margin-bottom: 1.5rem; }
.highlight-box {
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    padding: 1.3rem;
    margin: 1.5rem 0;
    border-radius: 6px;
}
.cta-box {
    background: linear-gradient(135deg, #e8f8f5, #d5f6f1);
    padding: 2.2rem;
    text-align: center;
    border-radius: var(--border-radius);
    margin: 2.5rem 0;
}
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.related a { text-decoration: none; color: inherit; display: block; background: #fff; border-radius: 10px; box-shadow: var(--box-shadow); overflow: hidden; }
.related img { width: 100%; height: 140px; object-fit: cover; }
.related h3 { font-size: 1rem; padding: 0.9rem 1rem 1.1rem; color: var(--primary); }

.legal-content h2 { color: var(--primary); margin: 2rem 0 0.8rem; font-size: 1.3rem; }
.legal-content p, .legal-content li { color: #495057; margin-bottom: 0.8rem; }
.legal-content ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-meta { color: var(--text-light); margin-bottom: 1.5rem; }

.cookie-panel { max-width: 760px; margin: 0 auto; }
.cookie-option { background: #fff; border: 1px solid #e6e6e6; border-radius: 10px; padding: 1.2rem; margin-bottom: 1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.cookie-option h3 { color: var(--primary); margin-bottom: 0.4rem; }
.switch { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

.error-page { text-align: center; padding: 6rem 0; }
.error-page h1 { font-size: 5rem; color: var(--accent); }
.error-page p { color: var(--text-light); margin: 1rem 0 2rem; }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    color: #fff;
    padding: 1rem;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
}
.cookie-banner p { font-size: 0.9rem; margin: 0; flex: 1 1 60%; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.footer { background: var(--bg-dark); color: #fff; padding: 3rem 0 1rem; margin-top: 4rem; }
.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-logo { width: 60px; margin-top: 10px; border-radius: 5px; }
.footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; padding: 10px 0; }
.footer-legal a { color: #adb5bd; }
.footer-bottom { border-top: 1px solid #495057; padding-top: 20px; text-align: center; margin-top: 2rem; }

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal.open { display: block; }
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 24px;
    width: 90%;
    border-radius: var(--border-radius);
    max-width: 400px;
    text-align: center;
    position: relative;
}
.close {
    position: absolute;
    right: 14px;
    top: 8px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: 0;
    cursor: pointer;
}

.clock-wrap { text-align: center; }
#clock { font-size: 3rem; font-weight: 700; color: var(--primary); font-family: 'Courier New', monospace; }

.ingredients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.ingredient-card { background: #fff; border-radius: 10px; box-shadow: var(--box-shadow); padding: 1.4rem; }
.ingredient-card h3 { color: var(--primary); margin-bottom: 0.5rem; }

@media (max-width: 768px) {
    .burger { display: flex; }
    .navbar { position: sticky; }
    .nav-inner { position: static; }
    .navbar-brand { font-size: 1.35rem; }
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        z-index: 1001;
    }
    .navbar-menu.open { display: flex; }
    .navbar-menu li { padding: 0 1.5rem; }
    .navbar-menu a { display: block; padding: 12px 0; }
    .hero { min-height: 0; padding: 2.2rem 0 2.6rem; }
    .hero-img { transform: none; }
    .hero-content, .product-card, .contact-split, .order-grid { grid-template-columns: 1fr; }
    .hero h1, .hero h2 { font-size: 1.85rem; }
    .section { padding: 2.4rem 0; }
    .section-title { font-size: 1.7rem; }
    .product-card, .contact-form, .legal-card { padding: 1.2rem; }
    .product-heading { font-size: 1.45rem; }
    .blog-grid, .features-grid, .steps-grid, .reviews-grid, .ingredients-grid { grid-template-columns: 1fr; }
    .contact-form { margin: 0; }
    .order-grid button { grid-column: span 1; }
    #clock { font-size: 1.8rem; }
    .page-header { padding: 2.2rem 0; }
    .page-header h1 { font-size: 1.85rem; }
    .article { padding: 1.5rem 0; }
    .cta-box { padding: 1.4rem; }
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 0.9rem 1rem;
        gap: 0.65rem;
    }
    .cookie-banner p { flex: 1 1 auto; font-size: 0.82rem; }
    .cookie-actions { width: 100%; }
    .cookie-actions .btn {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
        padding: 10px 12px;
        font-size: 0.88rem;
    }
    .cookie-option { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal { flex-direction: column; align-items: center; gap: 8px; }
    .modal-content { margin: 28vh auto 1.5rem; }
    .btn-row .btn { width: 100%; }
    .error-page { padding: 3rem 0; }
    .error-page h1 { font-size: 3.4rem; }
    body.has-cookie-banner { padding-bottom: 220px; }
}

@media (max-width: 480px) {
    .current-price { font-size: 1.55rem; }
    .set-price { font-size: 1.25rem; }
    .cookie-banner { padding: 0.75rem 0.85rem; }
    .cookie-actions .btn { flex: 1 1 calc(50% - 8px); min-height: 44px; }
    body.has-cookie-banner { padding-bottom: 240px; }
}
