/* === UNIQUE STYLING FOR THERAPEUTIC SECTION === */

.section-therapeutic {
    background: linear-gradient(135deg, #f8fffc 0%, #e6f9f4 100%);
    padding: 60px 0;
    border-top: 1px solid #d0eee6;
    border-bottom: 1px solid #d0eee6;
    position: relative;
    overflow: hidden;
}

.section-therapeutic::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #CDDC39);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

.therapeutic-title-main {
    font-size: 36px;
    font-weight: 700;
    color: #1b5e20;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.therapeutic-subtitle {
    font-size: 18px;
    color: #2e7d32;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.therapeutic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.therapeutic-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0f2f1;
    transition: all 0.3s ease;
    text-align: center;
}

.therapeutic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #a5d6a7;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1b5e20;
    margin-bottom: 12px;
}

.card-text {
    font-size: 15px;
    color: #424242;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .therapeutic-title-main {
        font-size: 28px;
    }
    .therapeutic-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }
    .therapeutic-grid {
        padding: 0 15px;
    }
    .therapeutic-card {
        padding: 20px;
    }
}








/* === UNIQUE STYLING FOR INGREDIENTS SECTION === */

.section-ingredients {
    background: #0f1e13;
    color: #e0f7e0;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.section-ingredients::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        #4CAF50,
        #8BC34A 15%,
        #CDDC39 30%,
        #8BC34A 45%,
        #4CAF50 60%
    );
    background-size: 300% 100%;
    animation: pulseGlow 4s ease infinite;
}

@keyframes pulseGlow {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.ingredients-title-main {
    font-size: 38px;
    font-weight: 700;
    color: #A5D6A7;
    text-align: center;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.ingredients-subtitle {
    font-size: 18px;
    color: #B2DFDB;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px;
    line-height: 1.7;
    opacity: 0.95;
}

.ingredients-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ingredient-card {
    display: flex;
    flex-direction: row;
    background: #1b2f1b;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 900px;
    margin: 0 auto;
}

.ingredient-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.ingredient-card.reverse {
    flex-direction: row-reverse;
}

.ingredient-img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
    border-right: 4px solid #2e7d32;
}

.ingredient-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ingredient-name {
    font-size: 22px;
    font-weight: 600;
    color: #C8E6C9;
    margin-bottom: 14px;
}

.ingredient-text {
    font-size: 15px;
    color: #CCFFEF;
    line-height: 1.7;
    opacity: 0.98;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .ingredient-card,
    .ingredient-card.reverse {
        flex-direction: column;
    }

    .ingredient-img {
        width: 100%;
        height: 220px;
        border-right: none;
        border-bottom: 4px solid #2e7d32;
    }

    .ingredients-title-main {
        font-size: 30px;
    }

    .ingredients-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }

    .ingredient-content {
        padding: 20px;
    }
}









/* === THERAPEUTIC EFFECTS SECTION - LIGHT THEME === */

.section-therapeutic-effects {
    background: #f9fcfa;
    color: #2b3a3a;
    padding: 70px 0;
    font-family: 'Segoe UI', sans-serif;
}

.section-therapeutic-effects::before {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background: #81C784;
    border-radius: 10px;
    margin: 0 auto 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.therapeutic-effects-title {
    font-size: 36px;
    font-weight: 700;
    color: #2E7D32;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.therapeutic-effects-subtitle {
    font-size: 18px;
    color: #556B2F;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.7;
    opacity: 0.9;
}

.effects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.effect-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8f5e9;
    transition: all 0.3s ease;
    text-align: center;
}

.effect-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #c8e6c9;
}

.effect-icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.effect-name {
    font-size: 20px;
    font-weight: 600;
    color: #2E7D32;
    margin-bottom: 12px;
}

.effect-text {
    font-size: 15px;
    color: #424242;
    line-height: 1.65;
}

.effects-conclusion {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #e8f5e9;
    border-radius: 16px;
    border: 1px solid #c8e6c9;
}

.conclusion-text {
    font-size: 17px;
    color: #2c4a2c;
    line-height: 1.8;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .therapeutic-effects-title {
        font-size: 28px;
    }
    .therapeutic-effects-subtitle,
    .conclusion-text {
        font-size: 16px;
        padding: 0 15px;
    }
    .effects-conclusion {
        padding: 20px;
    }
}






/* === PACKAGE LEAFLET SECTION - OFFICIAL MEDICAL STYLE === */

.section-leaflet {
    background: #ffffff;
    color: #2d3a4a;
    padding: 70px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.leaflet-title {
    font-size: 34px;
    font-weight: 700;
    color: #1b5e20;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.leaflet-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #a5d6a7;
    border-radius: 2px;
}

.leaflet-container {
    max-width: 900px;
    margin: 0 auto;
    background: #f8fdfa;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8f5e9;
    line-height: 1.7;
}

.leaflet-item {
    margin-bottom: 24px;
}

.leaflet-subtitle {
    font-size: 19px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.leaflet-subtitle::before {
    content: "•";
    color: #4CAF50;
    font-size: 24px;
    margin-right: 8px;
    line-height: 1;
}

.leaflet-text {
    font-size: 16px;
    color: #37474f;
    margin: 0;
    padding-left: 12px;
}

.leaflet-list {
    margin: 0;
    padding-left: 28px;
    color: #37474f;
    font-size: 16px;
    line-height: 1.7;
}

.leaflet-list li {
    margin-bottom: 8px;
}

.leaflet-list li:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .leaflet-container {
        padding: 28px;
        margin: 0 15px;
    }

    .leaflet-title {
        font-size: 28px;
    }

    .leaflet-text,
    .leaflet-list li {
        font-size: 15px;
    }
}







/* === FORUM REVIEWS SECTION - FIXED MOBILE RATING ALIGNMENT === */

.section-reviews-forum {
    background: #fcfcff;
    color: #2c3e50;
    padding: 70px 0;
    font-family: 'Segoe UI', sans-serif;
}

.reviews-title {
    font-size: 34px;
    font-weight: 700;
    color: #1b5e20;
    text-align: center;
    margin-bottom: 16px;
}

.reviews-intro {
    font-size: 17px;
    color: #555;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.forum-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.forum-post {
    background: white;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.forum-post:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.post-critical {
    background: #fffaf5;
    border-color: #ffe0cc;
}

.post-critical .post-content {
    color: #8a5c3c;
}

/* === Header: пользователь + дата + рейтинг === */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    width: 100%;
}

.post-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #4CAF50;
}

.user-info {
    line-height: 1.4;
}

.user-name {
    font-size: 16px;
    color: #1b5e20;
}

.post-date {
    font-size: 13px;
    color: #78909C;
}

.post-rating {
    font-size: 18px;
    color: #FFAB00;
    font-weight: 600;
    min-width: 90px;
    text-align: right;
}

/* === МОБИЛЬНАЯ ВЕРСИЯ: звёзды под аватаром и именем === */
@media (max-width: 768px) {
    .post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .post-rating {
        width: 100%;
        text-align: left;
        font-size: 17px;
        margin-left: 62px; /* Сдвигаем под аватар (50px + 12px gap) */
        order: 3; /* Убедимся, что рейтинг идёт после имени */
    }

    .post-user {
        width: 100%;
        order: 1;
    }

    .user-info {
        white-space: normal;
    }
}

.post-content {
    font-size: 17px;            /* Было 16px — теперь крупнее */
    line-height: 1.8;           /* Было 1.7 — теперь дышит */
    color: #37474F;             /* Сохраняем тёплый тёмно-серый */
    margin: 0;
    font-style: normal;
    font-weight: 400;           /* Лёгкий, но не слишком тонкий */
}

/* На мобильных — ещё немного отступов */
@media (max-width: 768px) {
    .post-content {
        font-size: 17px;        /* Минимум 17px на мобильных */
        line-height: 1.8;
        letter-spacing: 0.2px;  /* Лёгкая расстановка букв */
    }
}







/* === FAQ SECTION - NO JAVASCRIPT (CSS ONLY) === */

.section-faq {
    background: #f9fbff;
    color: #2c3a4a;
    padding: 70px 0;
    font-family: 'Segoe UI', sans-serif;
}

.faq-title {
    font-size: 34px;
    font-weight: 700;
    color: #1b5e20;
    text-align: center;
    margin-bottom: 12px;
}

.faq-subtitle {
    font-size: 17px;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid #e0f2f1;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Hide checkbox */
.faq-toggle {
    display: none;
}

/* Question Label (acts as button) */
.faq-question {
    width: 100%;
    padding: 18px 24px;
    text-align: left;
    background: #f1f9f7;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: #1b5e20;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e8f5e9;
}

.faq-question-text {
    max-width: 90%;
}

.faq-icon {
    font-size: 24px;
    color: #4CAF50;
    font-weight: bold;
    transition: transform 0.3s ease;
}

/* Rotate '+' to '×' when open */
.faq-toggle:checked + .faq-question .faq-icon {
    transform: rotate(45deg);
}

/* Answer Panel */
.faq-answer {
    padding: 0 24px;
    color: #424242;
    font-size: 15px;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
    margin: 16px 0;
}

/* Show answer when checkbox is checked */
.faq-toggle:checked ~ .faq-answer {
    padding: 16px 24px 24px;
    max-height: 300px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-title {
        font-size: 28px;
    }
    .faq-question {
        font-size: 16px;
        padding: 16px 20px;
    }
    .faq-icon {
        font-size: 20px;
    }
    .faq-question-text {
        max-width: 85%;
    }
    .faq-answer {
        font-size: 15px;
    }
}








/* Общие стили формы */
.form-main form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

/* Обёртка полей */
.form__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

/* Стили для полей: имя и телефон */
.form__body input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    background-color: white; /* белый фон */
    color: #333;
}

/* Стиль для select (страна) — тоже с белым фоном */
.form__body select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    background-color: white; /* белый фон */
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%3E%3Cpath%20d%3D%22M0%200l6%206%206-6z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 30px;
}

/* Фокус на полях */
.form__body input[type="text"]:focus,
.form__body select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Кнопка отправки — красная */
form button[type="submit"] {
    background-color: #dc3545; /* Красный цвет Bootstrap-style */
    color: white;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

/* Наведение на кнопку */
form button[type="submit"]:hover {
    background-color: #c82333;
}

/* Активное состояние (нажатие) */
form button[type="submit"]:active {
    background-color: #bd2130;
}

/* Адаптивность */
@media (max-width: 480px) {
    .form-main form {
        padding: 0 15px;
    }

    .form__body input[type="text"],
    .form__body select {
        font-size: 16px;
    }
}