@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600&family=Mulish:wght@400;600;700&display=swap');

:root {
    --primary: #2C5E43; /* Насичений лісовий зелений */
    --bg: #FDFBF7; /* Колір вівсянки / світлий беж */
    --text: #333333;
    --card-bg: #FFFFFF;
    --border-color: #E2DDD5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Mulish', sans-serif; background-color: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, .logo { font-family: 'Lora', serif; color: var(--primary); }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

#progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: #C4A47C; /* Бежево-золотий акцент */ width: 0%; z-index: 1000; }
.header { position: fixed; top: 0; width: 100%; background: var(--bg); border-bottom: 1px solid var(--border-color); z-index: 999; padding: 20px 0; transition: 0.3s; }
.header.shrink { padding: 10px 0; background: rgba(253, 251, 247, 0.95); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 600; }
.nav a { margin-left: 25px; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: #666; transition: 0.2s; }
.nav a:hover { color: var(--primary); }

section { padding: 100px 0 50px; }
section > h2 { margin-bottom: 40px; text-align: center; font-size: 2.4rem; }

.glass-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 4px; padding: 50px; transition: 0.3s; }
.hover-up:hover { box-shadow: 0 10px 30px rgba(44, 94, 67, 0.08); transform: translateY(-3px); }

.hero { min-height: 90vh; display: flex; align-items: center; text-align: center; padding-top: 100px; background: linear-gradient(180deg, #FDFBF7 0%, #F4F0E6 100%); }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 25px; color: #1A1A1A; }
.hero-content p { font-size: 1.25rem; max-width: 700px; margin: 0 auto; color: #555; }

.flex-card { display: flex; align-items: center; gap: 50px; }
.flex-reverse { flex-direction: row-reverse; }
.intro-text { flex: 1; }
.intro-photo { flex: 1; }
.intro-photo img { width: 100%; border-radius: 4px; padding: 10px; background: #FFF; border: 1px solid var(--border-color); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

.recommendation-block { margin-bottom: 60px; }
.recommendation-info h2 { font-size: 2rem; margin-bottom: 15px; }
.symptoms { font-size: 1.1rem; color: #777; margin-bottom: 25px; }
.product-card { padding: 30px; background: var(--bg); border: 1px solid var(--border-color); width: 300px; text-align: center; border-radius: 4px; }
.product-card img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; margin-bottom: 20px; }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.compare-table th, .compare-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border-color); }
.compare-table th { font-family: 'Lora', serif; font-size: 1.1rem; color: var(--primary); }
.check-list-items li { list-style: none; padding: 15px 20px; margin-bottom: 10px; background: var(--bg); border-left: 3px solid #C4A47C; }

.error-card { border-top: 3px solid #D32F2F; background: #FFF9F9; }
.huge-disclaimer { font-family: 'Mulish', sans-serif; font-size: 0.85rem; font-weight: 700; color: #B71C1C; text-align: justify; padding: 30px; border: 1px solid #FFCDD2; background: #FFEBEE; letter-spacing: 0.5px; line-height: 1.8; }

.subscribe-form { margin-top: 40px; display: flex; justify-content: center; gap: 10px; }
.subscribe-form input { padding: 15px 20px; border: 1px solid var(--border-color); background: var(--bg); width: 350px; font-family: 'Mulish'; outline: none; }
.subscribe-form button { padding: 15px 35px; background: var(--primary); color: #FFF; border: none; font-weight: 700; cursor: pointer; transition: 0.2s; }
.subscribe-form button:hover { background: #1F4531; }

.footer { padding: 40px 0; margin-top: 50px; background: #2C5E43; color: #FFF; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.footer-logo { font-family: 'Lora', serif; font-size: 1.8rem; color: #FFF; }
.footer-links a { margin: 0 15px; font-size: 0.9rem; color: #C4A47C; }
.footer-copy { font-size: 0.8rem; color: #9AB2A4; }

.cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; background: #FFF; padding: 20px 30px; border: 1px solid var(--border-color); box-shadow: 0 10px 40px rgba(0,0,0,0.08); display: flex; justify-content: space-between; align-items: center; z-index: 10000; transform: translateY(150%); transition: 0.5s; }
.cookie-banner.show { transform: translateY(0); }
.cookie-buttons button { padding: 10px 20px; margin-left: 10px; border: none; cursor: pointer; font-weight: 600; font-family: 'Mulish'; }
#acceptCookie { background: var(--primary); color: #FFF; }
#settingsCookie { background: var(--bg); border: 1px solid var(--border-color); }

.reveal { opacity: 0; transform: translateY(20px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.doc-page { padding-top: 130px; min-height: 80vh; }
.doc-page h1, .doc-page h2 { margin-bottom: 20px; }
.doc-page p, .doc-page ul { margin-bottom: 15px; }
.doc-page ul { padding-left: 20px; }

@media (max-width: 992px) { .flex-card, .flex-reverse { flex-direction: column; } .product-card { width: 100%; max-width: 400px; margin: 0 auto; } }
@media (max-width: 768px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .subscribe-form { flex-direction: column; } .subscribe-form input { width: 100%; } .cookie-banner { flex-direction: column; gap: 15px; text-align: center; } }