/* ============= STATISTICS SECTION ============= */

.statistics {
    background: linear-gradient(135deg, #f3f4f6 0%, #e0e7ff 100%);
    padding: 60px 20px;
    margin-bottom: 60px;
}

.statistics-container {
    max-width: 1200px;
    margin: 0 auto;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

/* ============= CATEGORIES SECTION ============= */

.categories {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 14px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.category-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    border-color: rgba(59, 130, 246, 0.35);
}

.category-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 19px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.category-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ============= FEATURES SECTION ============= */

.features {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1d4ed8 60%);
    color: #ffffff;
    padding: 60px 20px;
    margin-bottom: 60px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 колонки = 2 строки при 6 карточках */
    gap: 24px;
}


.feature-item {
    text-align: left;
    padding: 18px 16px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.2);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 700;
}

.feature-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* ============= TESTIMONIALS SECTION ============= */

.testimonials {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: #ffffff;
    border-left: 3px solid var(--primary-orange);
    padding: 22px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.rating {
    color: var(--primary-orange);
    font-size: 14px;
    margin-bottom: 10px;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 13px;
}

/* ============= FAQ SECTION ============= */

.faq {
    background: #f3f4f6;
    padding: 60px 20px;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* ACCORDION */

.accordion-item {
    background: #ffffff;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.accordion-header {
    padding: 16px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--primary-orange);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    transition: max-height 0.25s ease, padding 0.25s ease;
    font-size: 14px;
    color: var(--text-gray);
    background: #fafafa;
}

.accordion-item.active .accordion-body {
    max-height: 400px;
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border-light);
}

/* ============= COOKIE BANNER ============= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    color: #ffffff;
    padding: 16px;
    z-index: 1000;
    transform: translateY(120%);
    transition: transform 0.3s ease;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.4);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-text h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.cookie-text p {
    font-size: 13px;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary-orange);
    border-bottom: 1px dotted var(--primary-orange);
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 260px;
}

.cookie-btn {
    padding: 10px 16px;
    border-radius: 999px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--primary-orange);
    color: #fff;
}

.cookie-btn-partial {
    background: #4b5563;
    color: #fff;
}

.cookie-btn-reject {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

/* COOKIE MODAL */

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: none;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-content {
    background: #ffffff;
    border-radius: 10px;
    max-width: 480px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
}

.cookie-modal-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--primary-blue);
}

.cookie-option {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

.cookie-option-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cookie-checkbox {
    width: 18px;
    height: 18px;
}

.cookie-option-label {
    font-weight: 600;
    color: var(--text-dark);
}

.cookie-option-desc {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 6px;
    margin-left: 28px;
}

.cookie-modal-buttons {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.cookie-modal-btn {
    flex: 1;
    padding: 10px;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.cookie-modal-btn-save {
    background: var(--primary-orange);
    color: #ffffff;
}
