/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6; /* Улучшенная читаемость */
    color: #2c3e50;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header стили */
.site-header {
    background-color: #A42960;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.site-header.loaded {
    opacity: 1;
}

/* Предзагрузка header для предотвращения моргания */
#header-placeholder {
    min-height: 80px;
    background-color: #A42960;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: opacity 0.3s ease;
}

#header-placeholder.loaded {
    background-color: transparent;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-family: 'Bulletin Sans Pro Inter', 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: white !important;
    margin: 0;
    line-height: 1;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    font-family: 'Bulletin Sans Pro Inter', 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 1.1875rem;     /* 19px */
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.main-nav a.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: bold;
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main content стили */
.main-content {
    flex: 1;
    padding: 2rem 0;
    margin-top: 80px; /* Отступ для закрепленного header */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-content.loaded {
    opacity: 1;
}

/* Стили заголовков и текста теперь в typography.css */

.page-links ul {
    list-style: none;
    padding: 0;
}

.page-links li {
    margin-bottom: 0.25rem;
}

.page-links a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1875rem;     /* 19px */
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    display: inline-block;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.page-links a:hover {
    background-color: #f8f9fa;
    border-color: #2c3e50;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.15);
}

/* Footer стили */
.site-footer {
    background-color: white;
    color: #2c3e50;
    padding: 1rem 0;
    margin-top: auto;
    border-top: 1px solid #e0e0e0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.site-footer.loaded {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    color: #2c3e50;
}

.footer-bottom p {
    font-family: 'Bulletin Sans Pro Inter', 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: #2c3e50;
    margin: 0;
    font-size: 1.1875rem;     /* 19px */
}

.footer-bottom a {
    font-family: 'Bulletin Sans Pro Inter', 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: #A42960 !important;
    text-decoration: none;
    font-weight: normal;
    transition: all 0.3s ease;
    font-size: 1.1875rem;     /* 19px */
}

.footer-bottom a:hover {
    color: #8B1E4A !important;
    text-decoration: underline;
}

/* Стили для FAQ страниц */
.faq-links {
    margin-top: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.faq-category {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 100%;
}

.faq-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #A42960;
    padding-bottom: 0.5rem;
}

.faq-category ul {
    list-style: none;
}

.faq-category li {
    margin-bottom: 0.25rem;   /* Уменьшенные отступы */
    font-size: 1.1875rem;     /* 19px */
    line-height: 1.1;         /* 110% межстрочный интервал */
}

.faq-category a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1875rem;     /* 19px */
    padding: 0.3rem 0;
    display: block;
    transition: color 0.3s ease;
}

.faq-category a:hover {
    color: #34495e;
    text-decoration: underline;
}

/* Стили для отдельных FAQ страниц */
.back-link {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
}

.back-link a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1875rem;     /* 19px */
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #34495e;
    text-decoration: underline;
}

/* Стили для информационных блоков */
.info-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

/* Стили для сетки информационных блоков (2 колонки) */
.info-blocks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

/* Стили для расширенных блоков (3 колонки) */
.info-blocks.expanded {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Стили для чек-листа (одна колонка) */
.checklist-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

/* Стили для главной страницы */
.intro-text {
    font-size: 1.1875rem;     /* 19px */
    line-height: 1.1;         /* 110% межстрочный интервал */
    color: #34495e;
    margin-bottom: 1rem;      /* Уменьшенные отступы */
    text-align: center;
}

.hero-section {
    background: linear-gradient(135deg, #A42960 0%, #8B1E4A 100%);
    color: white;
    border-radius: 16px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(164, 41, 96, 0.3);
}

.hero-content h2 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    border: none;
    padding: 0;
}

.hero-content p {
    font-size: 1.1875rem;     /* 19px */
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    font-size: 1.1875rem;     /* 19px */
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.conclusion-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;          /* Уменьшенные отступы */
    margin: 1.5rem 0;         /* Уменьшенные отступы */
    border-left: 6px solid #A42960;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.conclusion-section h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;    /* Уменьшенные отступы */
    font-size: 1.6rem;
    border: none;
    padding: 0;
}

.conclusion-section p {
    font-size: 1.1875rem;     /* 19px */
    line-height: 1.1;         /* 110% межстрочный интервал */
    color: #2c3e50;
    margin: 0;
}

/* Стили для главного чек-листа */
.main-checklist {
    margin: 3rem 0;
}

.main-checklist h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: left;
    border-bottom: 3px solid #A42960;
    padding-bottom: 1rem;
}

/* Сетка для карточек чек-листа */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.checklist-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checklist-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(164, 41, 96, 0.15);
}

.checklist-checkbox {
    color: #A42960;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.checklist-checkbox i {
    color: #A42960;
    font-size: 1.2rem;
}

.checklist-content {
    width: 100%;
}

.checklist-content h3 {
    color: #2c3e50;
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.checklist-content p {
    color: #34495e;
    margin: 0 0 0.5rem 0;     /* Уменьшенные отступы */
    line-height: 1.1;         /* 110% межстрочный интервал */
}

.checklist-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.checklist-content li {
    margin-bottom: 0.25rem;   /* Уменьшенные отступы */
    line-height: 1.1;         /* 110% межстрочный интервал */
    font-size: 1.1875rem;     /* 19px */
}

/* Центрированный блок для главного пункта */
.hero-checklist {
    display: flex;
    justify-content: center;
    margin: 2rem 0 0 0;
}

.hero-checklist .checklist-item {
    max-width: 100%;
    width: 100%;
    border-left: none;
    align-items: flex-start;
    text-align: left;
}

.hero-checklist .checklist-content h2 {
    margin-bottom: 1rem;
    text-align: left;
}

.info-block {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.info-block h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    border-bottom: 2px solid #A42960;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    text-align: left;
}

.info-block h2 i {
    color: #A42960;
    font-size: 1.4rem;
}

.info-block h3 {
    color: #2c3e50;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.1875rem;     /* 19px */
}

.info-block ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.info-block li {
    margin-bottom: 0.25rem;   /* Уменьшенные отступы */
    line-height: 1.1;         /* 110% межстрочный интервал */
    font-size: 1.1875rem;     /* 19px */
}

.info-block .warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    color: #856404;
    font-weight: 500;
}

/* Стили для ссылок на источники */
.source-link {
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #ecf0f1;
    font-size: 1.1875rem;     /* 19px */
}

.source-link a {
    color: #A42960 !important;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.3s ease;
}

.source-link a:hover {
    color: #8B1E4A !important;
    text-decoration: underline;
}

/* Стили для аккордеонов */
.accordion {
    margin: 1rem 0;
}

.accordion-btn {
    width: 100%;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1875rem;     /* 19px */
    font-weight: 500;
    color: #2c3e50;
}

.accordion-btn:hover {
    background-color: #e9ecef;
    border-color: #A42960;
}

.accordion-btn.active {
    background-color: #A42960;
    color: white;
    border-color: #A42960;
}

.accordion-icon {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion-btn.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 0 1rem;
}

.accordion-content.active {
    padding: 1rem;
}



/* Адаптивность */
@media (max-width: 1024px) {
    .info-blocks.expanded {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #A42960;
        transition: left 0.3s ease;
        z-index: 100;
        padding-top: 80px;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 2rem 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav a {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
        border-radius: 0;
    }
    
    .main-content h1 {
        font-size: 1.75rem;   /* 28px на мобильных */
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .info-blocks {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-blocks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-block {
        padding: 1.5rem;
    }
    
    .info-block h2 {
        font-size: 1.4rem;
    }
    
    .info-block h2 i {
        font-size: 1.2rem;
    }
    
    .info-blocks.expanded {
        grid-template-columns: 1fr;
    }
    
    .accordion-btn {
        padding: 0.8rem;
        font-size: 1.1875rem; /* 19px на мобильных */
    }
    
    .accordion-content.active {
        padding: 0.8rem;
    }
    
    /* Адаптивность для главной страницы */
    .intro-text {
        font-size: 1.1875rem; /* 19px на мобильных */
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 1.1875rem; /* 19px на мобильных */
    }
    
    .image-placeholder {
        padding: 1.5rem;
        font-size: 1.1875rem; /* 19px на мобильных */
    }
    
    .conclusion-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .conclusion-section h2 {
        font-size: 1.4rem;
    }
    
    .conclusion-section p {
        font-size: 1.1875rem; /* 19px на мобильных */
    }
    
    /* Адаптивность для чек-листа */
    .main-checklist h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .checklist-item {
        padding: 1.2rem;
    }
    
    .checklist-content h3 {
        font-size: 1.25rem;   /* 20px на мобильных */
        margin-bottom: 0.8rem;
    }
    
    /* Дополнительные стили для мобильных */
    .main-nav a {
        font-size: 1.1875rem; /* 19px на мобильных */
    }
    
    .logo h1 {
        font-size: 1.3rem;    /* 20.8px на мобильных */
    }
    
    .checklist-checkbox {
        font-size: 1.1875rem; /* 19px на мобильных */
    }
    
    .checklist-checkbox i {
        font-size: 1.1875rem; /* 19px на мобильных */
    }
    
    /* Исправляем размеры шрифтов для списков на мобильных */
    .checklist-content li {
        font-size: 1.1875rem; /* 19px на мобильных */
    }
    
    .info-block li {
        font-size: 1.1875rem; /* 19px на мобильных */
    }
    
    .checklist-content p {
        font-size: 1.1875rem; /* 19px на мобильных */
    }
    
    .info-block p {
        font-size: 1.1875rem; /* 19px на мобильных */
    }
}
