/*
Theme Name: NeuroDiet Premium
Description: Кастомная тема для сервиса нейродиет.
Version: 1.0
*/

/* Базовые сбросы стилей, чтобы убрать отступы браузеров */
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
/* Контейнер */
.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px !important;
    }
}
/* Стили для квиза */
.quiz-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(42, 93, 79, 0.08);
}

.quiz-progress {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #2A5D4F;
    transition: width 0.3s ease;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2A5D4F;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.radio-group label {
    display: inline-block;
    margin-right: 20px;
    font-weight: normal;
}

.btn {
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #E07A5F;
    color: white;
}

.btn-primary:hover {
    background: #c96a52;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #2A5D4F;
    color: #2A5D4F;
}

.btn-outline:hover {
    background: #2A5D4F;
    color: white;
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.supplement-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.supplement-item input {
    flex: 2;
}

.supplement-item select {
    flex: 1;
}

.btn-text {
    background: none;
    border: none;
    color: #2A5D4F;
    cursor: pointer;
    font-size: 14px;
    margin: 10px 0;
}

.gdpr-check {
    margin: 20px 0;
}

.loader {
    text-align: center;
    margin-top: 20px;
    color: #666;
}
/* Hero секция */
.hero-section {
    background: linear-gradient(135deg, #2A5D4F 0%, #3d7a68 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* Секция преимуществ */
.advantages-section {
    background: #F9F7F2;
    padding: 80px 0;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 700;
    color: #2A5D4F;
    text-align: center;
    margin-bottom: 50px;
}

.comparison-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.comparison-item {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(42, 93, 79, 0.08);
}

.comparison-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    margin-bottom: 25px;
}

.comparison-bad h3 {
    color: #E07A5F;
}

.comparison-good h3 {
    color: #2A5D4F;
}

.comparison-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-item li {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantage-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(42, 93, 79, 0.08);
    transition: transform 0.3s ease-in-out;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #2A5D4F;
    margin-bottom: 15px;
}

.advantage-card p {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}
/* Секция тарифов */
.tariffs-section {
    padding: 80px 0;
    background: white;
}

.tariffs-section .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 700;
    color: #2A5D4F;
    text-align: center;
    margin-bottom: 20px;
}

.tariffs-section .section-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tariff-card {
    background: white !important;
    border-radius: 16px !important;
    padding: 50px 40px !important;
    box-shadow: 0 8px 24px rgba(42, 93, 79, 0.08) !important;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease-in-out;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.tariff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(42, 93, 79, 0.12) !important;
}

.tariff-card.tariff-premium {
    border-color: #E07A5F !important;
}

.tariff-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #E07A5F;
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    z-index: 10;
}

.tariff-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #2A5D4F !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
}

.tariff-price {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #E07A5F !important;
    margin-bottom: 10px !important;
}

.tariff-duration {
    font-family: 'Manrope', sans-serif !important;
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 30px !important;
}

.tariff-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    text-align: left;
    flex-grow: 1;
}

.tariff-features li {
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    line-height: 1.5 !important;
    list-style: none !important;
}

.tariff-features li:last-child {
    border-bottom: none !important;
}

.tariff-card .btn {
    display: inline-block !important;
    padding: 18px 48px !important;
    border-radius: 50px !important;
    background: #E07A5F !important;
    color: white !important;
    text-decoration: none !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    margin: 20px 0 !important;
    transition: all 0.3s ease-in-out !important;
}

.tariff-card .btn:hover {
    background: #c96a52 !important;
    transform: translateY(-2px);
}

.tariff-note {
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    color: #666 !important;
    margin-top: 20px !important;
    font-style: italic !important;
    line-height: 1.5 !important;
}

/* Адаптивность тарифов */
@media (max-width: 992px) {
    .tariffs-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .tariff-card {
        max-width: 500px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    .tariffs-section {
        padding: 50px 0 !important;
    }
    
    .tariffs-section .section-title {
        font-size: 32px !important;
    }
    
    .tariffs-section .section-subtitle {
        font-size: 16px !important;
        padding: 0 20px !important;
    }
    
    .tariff-card {
        padding: 30px 25px !important;
    }
    
    .tariff-title {
        font-size: 26px !important;
    }
    
    .tariff-price {
        font-size: 36px !important;
    }
    
    .tariff-features li {
        font-size: 14px !important;
    }
    
    .tariff-card .btn {
        padding: 15px 36px !important;
        font-size: 15px !important;
        display: block !important;
        margin: 20px auto !important;
        max-width: 280px !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 50px 0 !important;
    }
    
    .hero-title {
        font-size: 28px !important;
        padding: 0 15px !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
        padding: 0 20px !important;
    }
    
    .btn-large {
        padding: 15px 36px !important;
        font-size: 16px !important;
    }
    
    .advantages-section {
        padding: 50px 0 !important;
    }
    
    .comparison-block {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .comparison-item {
        padding: 25px 20px !important;
    }
    
    .comparison-item h3 {
        font-size: 22px !important;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .advantage-card {
        padding: 30px 25px !important;
    }
    
    .advantage-card h3 {
        font-size: 22px !important;
    }
    
    .advantage-card p {
        font-size: 15px !important;
    }
}

/* Секция Калькуляторов */
.calculators-section .section-subtitle {
    text-align: center !important;
    margin-bottom: 40px !important;
}

.calculators-section {
    background: #F9F7F2;
    padding: 80px 0;
}

.calculators-wrapper {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(42, 93, 79, 0.08);
    max-width: 700px;
    margin: 0 auto;
}

.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.calc-tab-btn {
    background: none;
    border: none;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s;
}

.calc-tab-btn.active {
    background: #2A5D4F;
    color: white;
}

.calc-content {
    display: none;
}

.calc-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.form-row-3 {
    display: flex;
    gap: 15px;
}

.form-row-3 input, .calc-form select {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.form-row-3 input:focus, .calc-form select:focus {
    border-color: #2A5D4F;
}

.radio-label {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-btn {
    align-self: center;
    margin-top: 10px;
}

.calc-result {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.calc-result-box {
    animation: fadeIn 0.5s ease;
}

.calc-main-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 700;
    color: #2A5D4F;
    line-height: 1;
    margin-bottom: 10px;
}

.calc-status {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.calc-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #666;
}

.calc-macros-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.macro-item {
    display: flex;
    flex-direction: column;
}

.macro-item span {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #666;
}

.macro-item strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: #E07A5F;
}

.calc-cta {
    text-align: center;
    margin-top: 40px;
}

.calc-cta p {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
}

/* Адаптивность калькуляторов */
@media (max-width: 768px) {
    .calculators-wrapper {
        padding: 25px 20px;
    }
    
    .calc-tabs {
        flex-wrap: wrap;
    }
    
    .form-row-3 {
        flex-direction: column;
    }
    
    .calc-macros-grid {
        gap: 20px;
    }
    
    .calc-main-value {
        font-size: 42px;
    }
}

/* Стили для переключателя цели (Похудение/Поддержание) */
.goal-toggle {
    justify-content: center;
    margin-bottom: 15px;
    background: #F9F7F2;
    padding: 10px;
    border-radius: 50px;
    display: inline-flex;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.goal-toggle .radio-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.goal-toggle input[type="radio"] {
    margin-right: 5px;
}

.goal-toggle input[type="radio"]:checked + span,
.goal-toggle .radio-label:has(input:checked) {
    color: #2A5D4F;
}

/* Шкала ИМТ */
.bmi-scale {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.bmi-scale-bar {
    height: 8px;
    background: linear-gradient(to right, 
        #A8DADC 0%, 
        #A8DADC 14%, 
        #2A5D4F 14%, 
        #2A5D4F 40%, 
        #E07A5F 40%, 
        #E07A5F 64%, 
        #d9534f 64%, 
        #d9534f 100%
    );
    border-radius: 4px;
    position: relative;
    margin-bottom: 10px;
}

.bmi-marker {
    position: absolute;
    top: -4px;
    width: 16px;
    height: 16px;
    background: #E07A5F;
    border: 3px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: left 0.5s ease;
}

.bmi-scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

.bmi-scale-labels span {
    font-weight: 600;
}

/* ===== ПОДВАЛ (FOOTER) ===== */
.site-footer {
    background-color: #2A5D4F;
    color: #FFFFFF;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.footer-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-blog-link {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #E07A5F;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.footer-blog-link:hover {
    border-bottom-color: #E07A5F;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #E07A5F;
}

.social-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.social-tg {
    background: #FFFFFF;
    color: #2A5D4F;
}

.social-tg:hover {
    background: #E07A5F;
    color: #FFFFFF;
}

.social-max {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.social-email {
    background: #E07A5F;
    color: #FFFFFF;
}

.social-email:hover {
    background: #c96a52;
    transform: translateY(-2px);
}

.social-max:hover {
    background: #FFFFFF;
    color: #2A5D4F;
}

/* Реферальный блок хостинга */
.footer-hosting-block {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(224, 122, 95, 0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.footer-hosting-text {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-hosting {
    display: inline-block;
    padding: 12px 32px;
    background: #E07A5F;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #E07A5F;
}

.btn-hosting:hover {
    background: transparent;
    color: #E07A5F;
    transform: translateY(-2px);
}

/* Адаптивность для реферального блока */
@media (max-width: 768px) {
    .footer-hosting-block {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .footer-hosting-text {
        font-size: 15px;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.medical-disclaimer {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* Адаптивность подвала */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .site-footer {
        padding: 40px 0 20px;
    }
}
/* Обертка для кнопки Email с отступом */
.footer-email-wrapper {
    margin-top: 20px;
}

/* Кнопка Email в овальном стиле */
.social-email {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    background: #E07A5F;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #E07A5F;
}

.social-email:hover {
    background: #c96a52;
    border-color: #c96a52;
    transform: translateY(-2px);
}

/* ===== ШАБЛОН СТРАНИЦ (Политика, Согласия) ===== */
.page-template {
    background: #F9F7F2;
    min-height: 60vh;
    padding: 60px 0;
}

.page-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(42, 93, 79, 0.08);
}

.page-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #F9F7F2;
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 700;
    color: #2A5D4F;
    margin: 0;
    line-height: 1.2;
}

.page-content {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
}

.page-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: #2A5D4F;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: #2A5D4F;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
}

.page-content a {
    color: #E07A5F;
    text-decoration: underline;
    transition: color 0.3s;
}

.page-content a:hover {
    color: #2A5D4F;
}

/* Адаптивность для страниц */
@media (max-width: 768px) {
    .page-template {
        padding: 40px 0;
    }
    
    .page-content-wrapper {
        padding: 40px 25px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-content h2 {
        font-size: 24px;
    }
    
    .page-content h3 {
        font-size: 20px;
    }
}

/* ===== ШАБЛОН СТРАНИЦ ===== */
.page-template {
    background: #F9F7F2;
    min-height: 60vh;
    padding: 60px 0;
}

.page-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(42, 93, 79, 0.08);
}

.page-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #F9F7F2;
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 700;
    color: #2A5D4F;
    margin: 0;
    line-height: 1.2;
}

.page-content {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
}

.page-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: #2A5D4F;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: #2A5D4F;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
}

.page-content a {
    color: #E07A5F;
    text-decoration: underline;
    transition: color 0.3s;
}

.page-content a:hover {
    color: #2A5D4F;
}

@media (max-width: 768px) {
    .page-template {
        padding: 40px 0;
    }
    
    .page-content-wrapper {
        padding: 40px 25px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-content h2 {
        font-size: 24px;
    }
    
    .page-content h3 {
        font-size: 20px;
    }
}

/* ===== БАННЕР COOKIE ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 -4px 20px rgba(42, 93, 79, 0.15);
    z-index: 9999;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    margin: 0;
}

.cookie-text a {
    color: #2A5D4F;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-btn {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    padding: 10px 24px;
    background: #E07A5F;
    color: #FFFFFF;
    border-radius: 50px;
}

.cookie-accept:hover {
    background: #c96a52;
}

.cookie-close {
    padding: 8px 12px;
    background: transparent;
    color: #666;
    font-size: 18px;
}

.cookie-close:hover {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
/* Кнопка возврата на главную */
.page-back-button {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.btn-back-home {
    display: inline-block;
    padding: 12px 32px;
    background: #2A5D4F;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #2A5D4F;
}

.btn-back-home:hover {
    background: transparent;
    color: #2A5D4F;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .page-back-button {
        margin-top: 30px;
    }
    
    .btn-back-home {
        padding: 10px 24px;
        font-size: 13px;
    }
}

/* ===== СТИЛИ ДЛЯ КВИЗОВ ===== */
.quiz-section {
    padding: 80px 0;
    background: #F9F7F2;
    min-height: 80vh;
}

.quiz-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(42, 93, 79, 0.1);
    position: relative;
}

.quiz-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F9F7F2;
    border: none;
    font-size: 28px;
    color: #2A5D4F;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-close:hover {
    background: #E07A5F;
    color: #FFFFFF;
    transform: rotate(90deg);
}

.quiz-header {
    margin-bottom: 40px;
}

.quiz-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 700;
    color: #2A5D4F;
    margin: 0 0 20px 0;
}

.quiz-progress {
    position: relative;
    height: 8px;
    background: #F0F0F0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.quiz-progress-bar {
    height: 100%;
    background: #E07A5F;
    transition: width 0.3s ease;
    width: 7%;
}

.quiz-progress-text {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #666;
}

.quiz-form {
    margin-top: 40px;
}

.quiz-step {
    margin-bottom: 30px;
}

.quiz-question {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: #2A5D4F;
    margin: 0 0 25px 0;
    line-height: 1.3;
}

.quiz-hint {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #888;
    margin: -15px 0 20px 0;
    font-style: italic;
}

.quiz-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
    margin-bottom: 15px;
}

.quiz-input:focus {
    outline: none;
    border-color: #2A5D4F;
}

.quiz-textarea {
    min-height: 120px;
    resize: vertical;
}

.quiz-form-row {
    margin-bottom: 20px;
}

.quiz-form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.quiz-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    justify-content: center;
}

.quiz-thankyou {
    text-align: center;
    padding: 60px 20px;
}

.quiz-thankyou .quiz-title {
    margin-bottom: 20px;
}

.quiz-thankyou-text {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Адаптивность квизов */
@media (max-width: 768px) {
    .quiz-wrapper {
        padding: 40px 25px;
    }
    
    .quiz-title {
        font-size: 28px;
    }
    
    .quiz-question {
        font-size: 20px;
    }
    
    .quiz-form-row-3 {
        grid-template-columns: 1fr;
    }
    
    .quiz-buttons {
        flex-direction: column;
    }
    
    .quiz-buttons .btn {
        width: 100%;
    }
}

/* ===== СТРАНИЦА ОПЛАТЫ ===== */
.payment-page {
    background: #F9F7F2;
    padding: 60px 0;
    min-height: 80vh;
}

.payment-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.payment-header {
    text-align: center;
    margin-bottom: 50px;
}

.payment-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 700;
    color: #2A5D4F;
    margin: 0 0 15px 0;
}

.payment-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    color: #666;
    margin: 0;
}

.payment-subtitle strong {
    color: #2A5D4F;
}

.payment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Детали заказа */
.payment-details {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(42, 93, 79, 0.08);
}

.order-summary {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #F9F7F2;
}

.summary-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: #2A5D4F;
    margin: 0 0 25px 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #F0F0F0;
}

.order-item-name {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2A5D4F;
    margin: 0 0 8px 0;
}

.order-item-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

.order-item-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    color: #E07A5F;
    white-space: nowrap;
}

.order-features h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2A5D4F;
    margin: 0 0 15px 0;
}

.order-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-features li {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0 0;
    margin-top: 20px;
    border-top: 2px solid #2A5D4F;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    color: #333;
}

.order-total strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    color: #2A5D4F;
}

/* Гарантии */
.payment-guarantees {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.guarantee-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.guarantee-item strong {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2A5D4F;
    display: block;
    margin-bottom: 5px;
}

.guarantee-item p {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.4;
}

/* Форма оплаты */
.payment-form-wrapper {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(42, 93, 79, 0.08);
    position: sticky;
    top: 30px;
}

.form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: #2A5D4F;
    margin: 0 0 30px 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #2A5D4F;
}

.form-hint {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    font-style: italic;
}

.form-agreement {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-label a {
    color: #E07A5F;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #2A5D4F;
}

.btn-payment {
    width: 100%;
    padding: 18px 32px;
    background: #E07A5F;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.btn-payment:hover {
    background: #c96a52;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(224, 122, 95, 0.3);
}

.form-note {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 0;
}

/* Адаптивность страницы оплаты */
@media (max-width: 900px) {
    .payment-content {
        grid-template-columns: 1fr;
    }
    
    .payment-form-wrapper {
        position: static;
    }
}

@media (max-width: 600px) {
    .payment-page {
        padding: 40px 0;
    }
    
    .payment-title {
        font-size: 32px;
    }
    
    .payment-details,
    .payment-form-wrapper {
        padding: 30px 20px;
    }
    
    .order-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .order-item-price {
        font-size: 28px;
    }
    
    .order-total strong {
        font-size: 26px;
    }
}

/* Кнопка возврата (используется на страницах оплаты, документов, спасибо) */
.page-back-button {
    text-align: center;
    margin-bottom: 30px;
}

.btn-back-home {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    color: #2A5D4F;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #2A5D4F;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-back-home:hover {
    background: #2A5D4F;
    color: #FFFFFF;
}

/* Стили для страницы Спасибо */
.thankyou-page {
    background: #F9F7F2;
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thankyou-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: #FFFFFF;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(42, 93, 79, 0.08);
}

.thankyou-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.thankyou-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    color: #2A5D4F;
    margin-bottom: 20px;
}

.thankyou-text {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

.thankyou-info {
    background: #F9F7F2;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.thankyou-info p {
    margin: 5px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: #555;
}