@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
    --primary: #D97757; /* Теплий теракотовий / персиковий */
    --bg: #FAFAF8; /* Дуже теплий молочний білий */
    --text: #4A4440; /* М'який коричнево-сірий */
    --card-bg: #FFFFFF;
    --border-color: #F0EAE1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Nunito', sans-serif; background-color: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, .logo { font-family: 'Playfair Display', serif; color: #2D2A26; font-weight: 600; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1000px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

#progress-bar { position: fixed; top: 0; left: 0; height: 4px; background: var(--primary); width: 0%; z-index: 1000; }
.header { position: fixed; top: 0; width: 100%; background: rgba(250, 250, 248, 0.95); border-bottom: 1px solid var(--border-color); z-index: 999; padding: 15px 0; backdrop-filter: blur(5px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; letter-spacing: 0.5px; }
.nav a { margin-left: 20px; font-weight: 600; font-size: 0.95rem; transition: 0.2s; }
.nav a:hover { color: var(--primary); }

section { padding: 90px 0 40px; }
section > h2 { margin-bottom: 40px; text-align: center; font-size: 2.2rem; }

.glass-card { background: var(--card-bg); border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(74, 68, 64, 0.05); border: 1px solid var(--border-color); transition: 0.3s; }
.hover-up:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(217, 119, 87, 0.1); }

.hero { min-height: 80vh; display: flex; align-items: center; text-align: center; padding-top: 100px; }
.hero-content h1 { font-size: 3.2rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; max-width: 600px; margin: 0 auto; color: #7A726B; }

.flex-card { display: flex; align-items: center; gap: 50px; }
.flex-reverse { flex-direction: row-reverse; }
.intro-text { flex: 1; }
.intro-photo { flex: 1.2; }
.intro-photo img { width: 100%; border-radius: 200px 200px 20px 20px; /* Арка, популярна в Instagram-дизайні */ object-fit: cover; border: 8px solid #FFF; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.text-center { text-align: center; }

.recommendation-block { margin-bottom: 50px; }
.recommendation-info h2 { font-size: 1.8rem; margin-bottom: 15px; }
.symptoms { font-size: 1.05rem; background: #FFF4F0; padding: 10px 15px; border-radius: 10px; color: #D97757; display: inline-block; margin-bottom: 25px; }
.product-card { background: #FFF; padding: 25px; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); text-align: center; width: 280px; flex-shrink: 0; }
.product-card img { width: 120px; height: 120px; border-radius: 50%; margin-bottom: 15px; border: 3px solid #FFF4F0; }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.compare-table th { background: #FFF4F0; color: #D97757; border-radius: 10px 10px 0 0; }
.compare-table th, .compare-table td { padding: 15px; text-align: left; border-bottom: 1px dashed var(--border-color); }
.check-list-items li { list-style: none; padding: 15px 20px; margin-bottom: 12px; background: #FFF; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); display: flex; align-items: center; }
.check-list-items li::before { content: '✿'; color: var(--primary); margin-right: 10px; font-size: 1.2rem; }

.error-card { border-top: 4px solid #E57373; }
.huge-disclaimer { font-size: 0.9rem; color: #C62828; text-align: center; padding: 20px; border: 1px dashed #E57373; background: #FFEBEE; border-radius: 16px; margin: 0 auto; max-width: 800px; }

.subscribe-form { margin-top: 30px; display: flex; justify-content: center; gap: 10px; }
.subscribe-form input { padding: 15px 25px; border: 1px solid var(--border-color); border-radius: 30px; outline: none; width: 300px; background: #FAFAF8; font-family: 'Nunito'; }
.subscribe-form button { padding: 15px 30px; background: var(--primary); color: #FFF; border: none; border-radius: 30px; font-weight: 700; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 15px rgba(217, 119, 87, 0.3); }
.subscribe-form button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(217, 119, 87, 0.4); }

.footer { padding: 30px 0; margin-top: 50px; background: #FFF; border-top: 1px solid var(--border-color); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #2D2A26; }
.footer-links a { margin: 0 15px; font-size: 0.9rem; color: #7A726B; }
.footer-copy { font-size: 0.8rem; color: #A8A29E; }

.cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(150%); background: #FFF; padding: 15px 25px; border-radius: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); display: flex; gap: 20px; align-items: center; z-index: 10000; transition: 0.4s; width: max-content; max-width: 90%; }
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-buttons button { padding: 8px 20px; border: none; border-radius: 20px; cursor: pointer; font-family: 'Nunito'; font-weight: 600; }
#acceptCookie { background: var(--primary); color: #FFF; }
#settingsCookie { background: #F0EAE1; color: #4A4440; }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.doc-page { padding-top: 120px; 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: 768px) { .flex-card, .flex-reverse { flex-direction: column; text-align: center; } .grid-3, .grid-2 { grid-template-columns: 1fr; } .subscribe-form { flex-direction: column; } .subscribe-form input { width: 100%; } .cookie-banner { flex-direction: column; border-radius: 20px; width: 90%; text-align: center; } }