:root {
    --primary: #2E7D6F;
    --bg: #F4F7F6;
    --accent: #A3D9A5;
    --text: #1C1C1C;
    --white-glass: rgba(255, 255, 255, 0.6);
    --border-glass: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Manrope', sans-serif;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    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;
    transition: width 0.1s ease;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white-glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 999;
    transition: padding 0.3s ease;
    padding: 20px 0;
}

.header.shrink {
    padding: 10px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav a {
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary);
}

section {
    padding: 80px 0 40px;
}
section > h2 {
    margin-bottom: 30px;
}

.glass-card {
    background: var(--white-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(46, 125, 111, 0.15);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 120px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

.scroll-indicator {
    margin-top: 60px;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    display: inline-block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

.flex-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.flex-reverse {
    flex-direction: row-reverse;
}

.intro-text {
    flex: 1; /* Текст занимает 1 долю ширины */
}

.intro-photo {
    flex: 1.5; /* Фото занимает в 1.5 раза больше места, чем текст */
    display: flex;
    justify-content: center;
}

.intro-photo img {
    width: 100%;
    max-width: 750px; /* Увеличили с 550px до 750px */
    border-radius: 16px;
    filter: sepia(0.2) contrast(0.9);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.text-center {
    text-align: center;
}

.recommendation-block {
    margin-bottom: 80px;
}

.recommendation-info {
    flex: 1;
}

.recommendation-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.symptoms {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.product-card {
    padding: 30px;
    background: rgba(255,255,255,0.7);
    border-radius: 16px;
    border: 1px dashed var(--primary);
    flex-shrink: 0;
    width: 300px;
}

.product-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    filter: sepia(0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    font-size: 1.1rem;
}

.compare-table th, .compare-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-glass);
}

.check-list-items li {
    list-style: none;
    padding: 20px 25px;
    margin-bottom: 15px;
    background: var(--white-glass);
    border-radius: 12px;
    font-size: 1.1rem;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: default;
}

.check-list-items li:hover {
    background: var(--primary);
    color: #fff;
}

.error-card {
    border-left: 5px solid #d9534f;
}

.faq-item {
    margin-bottom: 30px;
}

.huge-disclaimer {
    font-size: 1.1rem;
    font-weight: 600;
    color: #D32F2F;
    text-transform: uppercase;
    text-align: center;
    padding: 30px;
    border: 3px solid #D32F2F;
    background: #fff;
    line-height: 1.5;
    border-radius: 12px;
}

.subscribe-form {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.subscribe-form input {
    padding: 18px 25px;
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    outline: none;
    width: 350px;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
}

.subscribe-form button {
    padding: 18px 35px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background: #236156;
}

.footer {
    background: #fff;
    padding: 15px 0; 
    margin-top: 30px; 
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; 
}

.footer-links a {
    margin: 0 20px;
    color: var(--text);
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: #fff;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    transform: translateY(150%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-buttons button {
    padding: 12px 25px;
    margin-left: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

#acceptCookie {
    background: var(--primary);
    color: #fff;
}

#settingsCookie {
    background: #eee;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(5px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.doc-page {
    padding-top: 150px;
    min-height: 80vh;
}

.doc-page h1, .doc-page h2 {
    margin-bottom: 25px;
}

.doc-page p {
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .flex-card {
        flex-direction: column;
        text-align: center;
    }
    .flex-reverse {
        flex-direction: column;
    }
    .intro-photo img {
        max-width: 100%;
    }
    .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: 20px;
        text-align: center;
    }
}
.footer-logo {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem; 
    font-weight: 800;
    color: var(--primary);
}

.footer-links a {
    margin: 0 15px;
    font-size: 0.9rem; 
    color: var(--text);
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.8rem; 
    color: #666; 
    margin-top: 5px;
}