/* ============================================
   Bitrix Solutions - Основные стили
   ============================================ */

:root {
    --primary-color: #00c0ff;
    --primary-dark: #006d92;
    --secondary-color: #0046a3;
    --accent-color: #ff6b6b;
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/Open_Sans/OpenSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans Bold';
    src: url('../fonts/Open_Sans/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

* {
    vertical-align: baseline;
    font-family: 'Source Sans Pro', sans-serif;
}

a, input[type='submit'], button {
    cursor: pointer;
    border: none;
    outline: 0;
}

input[type='text'], input[type='password'], textarea, input[type='tel'] {
    border: 1px solid #a9b2b9;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    outline: 0;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 30px;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-item i {
    color: var(--primary-color);
}

.top-item a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.top-item a:hover {
    color: var(--primary-color);
}

.top-auth {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* ============================================
   Main Header
   ============================================ */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.logo-text em {
    color: var(--primary-color);
    font-style: normal;
    font-size: 20px;
}

/* Navigation */
.main-nav {
    flex: 1;
    margin: 0 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: #006d92;
    background: rgba(47, 198, 246, 0.3);
}

.submenu-arrow {
    font-size: 10px;
    margin-left: auto;
}

.has-submenu:hover .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 250px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;

    /* Убираем маркеры списка */
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.submenu li {
    /* Дополнительная гарантия для элементов списка */
    list-style: none;
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.submenu li a:hover {
    background: rgba(47, 198, 246, 0.3);
    color: #006d92;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-callback {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-callback:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Modal Windows
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: translateY(-20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-color);
    color: var(--text-white);
}

.modal-content h2 {
    margin-bottom: 30px;
    color: var(--text-dark);
    text-align: center;
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs-section {
    background: var(--bg-light);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    padding: 100px 0 150px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero-pattern.svg') repeat;
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
}

.hero-content {
    position: relative;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(47, 198, 246, 0.2);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(47, 198, 246, 0.3);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(47, 198, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 198, 246, 0.5);
}

.btn-outline {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
}

.btn-outline:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ============================================
   Sections Common
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(47, 198, 246, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.feature-link:hover {
    gap: 12px;
}

/* ============================================
   Solutions Section
   ============================================ */
.solutions-section {
    background: var(--bg-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.solution-card.featured {
    border: 2px solid var(--primary-color);
}

.solution-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 15px;
    background: var(--accent-color);
    color: var(--text-white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.solution-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.solution-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.solution-content {
    padding: 30px;
}

.solution-content h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.solution-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-dark);
}

.solution-features i {
    color: var(--success-color);
}

.solution-price {
    margin-bottom: 25px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    text-align: center;
}

.price-from {
    font-size: 14px;
    color: var(--text-light);
    display: block;
}

.price-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

/* ============================================
   Process Section
   ============================================ */
.process-section {
    background: var(--bg-white);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

.step-content h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================================
   Portfolio Section
   ============================================ */
.portfolio-section {
    background: var(--bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/cta-pattern.svg') repeat;
    opacity: 0.1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.9);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   Partners Section
   ============================================ */
.partners-section {
    background: var(--bg-white);
    padding: 80px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.partner-logo {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner-logo:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: var(--text-dark);
    color: var(--text-white);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 20px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contacts i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contacts a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.bitrix-partner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.bitrix-partner img {
    height: 30px;
}

.bitrix-partner span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   АДАПТИВНОСТЬ - MOBILE FIRST
   ============================================ */

/* Планшеты и меньше (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 42px;
    }

    .features-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Планшеты портретные (max-width: 768px) */
@media screen and (max-width: 768px) {
    .partners-grid {
        display: grid;
        align-items: center;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Верхняя панель */
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }

    .top-info {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .top-item {
        font-size: 13px;
    }

    .top-auth {
        order: -1;
        margin-bottom: 10px;
    }

    /* Шапка */
    .header-content {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 20px;
    }

    /* Мобильное меню */
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .main-nav.mobile-open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 10px 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 15px 20px;
        justify-content: center;
    }

    .submenu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .has-submenu.active .submenu {
        display: block;
    }

    /* Кнопка мобильного меню */
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1000;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: #1a1a2e;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        order: 2;
    }

    .btn-callback {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Hero секция */
    .hero-section {
        padding: 60px 0 100px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .stat-number {
        font-size: 36px;
    }

    .hero-image {
        display: none;
    }

    /* Секции */
    section {
        padding: 60px 0;
    }

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

    .section-description {
        font-size: 15px;
    }

    /* Карточки */
    .features-grid,
    .solutions-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card,
    .solution-card {
        padding: 25px 20px;
    }

    /* Process timeline */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

/* Мобильные телефоны (max-width: 576px) */
@media screen and (max-width: 576px) {
    .container {
        padding: 0 10px;
    }

    /* Top bar */
    .top-bar {
        font-size: 12px;
    }

    .top-item i {
        display: none;
    }

    /* Logo */
    .logo-text {
        font-size: 18px;
    }

    .logo-img {
        height: 35px;
    }

    /* Hero */
    .hero-section {
        padding: 40px 0 80px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-description {
        font-size: 14px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Sections */
    .section-title {
        font-size: 24px;
    }

    .section-description {
        font-size: 14px;
    }

    /* Cards */
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .feature-card h3,
    .solution-content h3 {
        font-size: 18px;
    }

    .solution-image {
        height: 180px;
    }

    .price-value {
        font-size: 24px;
    }

    /* Modal */
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    /* Footer */
    .footer-top {
        padding: 50px 0 30px;
    }

    .social-links {
        justify-content: center;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Очень маленькие экраны (max-width: 375px) */
@media screen and (max-width: 375px) {
    .hero-title {
        font-size: 22px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-title {
        font-size: 20px;
    }
}

/* ============================================
   УЛУЧШЕНИЯ ДЛЯ ВСЕХ УСТРОЙСТВ
   ============================================ */

/* Предотвращение горизонтальной прокрутки */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Улучшение читаемости на мобильных */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Увеличение областей нажатия */
    button,
    a,
    input,
    select,
    textarea {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

.intro-text {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 700px;
}

/* ============================================
   NEWS COMPONENT - Bitrix Solutions Template
   ============================================ */

/* ----- News List Page ----- */
.news-page-wrapper {
    padding: 80px 0;
    background: var(--bg-light, #f8fafc);
    min-height: 60vh;
}

.news-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 15px;
    line-height: 1.2;
}

.news-page-header p {
    font-size: 18px;
    color: var(--text-light, #6b7280);
    max-width: 600px;
    margin: 0 auto;
}

/* ----- News Grid ----- */
.news-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.news-item-card {
    background: var(--bg-white, #ffffff);
    border-radius: var(--radius-xl, 16px);
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    transition: var(--transition, all 0.3s ease);
    border: 1px solid var(--border-color, #e5e7eb);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.15));
    border-color: var(--primary-color, #00c0ff);
}

.news-item-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color, #00c0ff), var(--secondary-color, #0046a3));
    overflow: hidden;
    position: relative;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item-card:hover .news-item-image img {
    transform: scale(1.05);
}

.news-item-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item-date {
    font-size: 13px;
    color: var(--text-light, #6b7280);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-item-date i {
    color: var(--primary-color, #00c0ff);
    font-size: 12px;
}

.news-item-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item-title a:hover {
    color: var(--primary-color, #00c0ff);
}

.news-item-preview {
    font-size: 15px;
    color: var(--text-light, #6b7280);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.news-item-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #00c0ff);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.news-item-more:hover {
    gap: 12px;
}

/* ----- News Detail Page ----- */
.news-detail-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    background: var(--bg-white, #ffffff);
}

.news-detail-header {
    border-bottom: 3px solid var(--primary-color, #00c0ff);
    padding-bottom: 25px;
    margin-bottom: 35px;
}

.news-detail-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 14px;
    color: var(--text-light, #6b7280);
}

.news-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-meta-item i {
    color: var(--primary-color, #00c0ff);
}

.news-detail-image {
    margin-bottom: 35px;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.news-detail-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin: 35px 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color, #e5e7eb);
}

.news-detail-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color, #00c0ff);
    margin: 28px 0 12px;
}

.news-detail-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark, #1a1a2e);
    margin: 22px 0 10px;
}

.news-detail-content p {
    margin-bottom: 18px;
}

.news-detail-content ul,
.news-detail-content ol {
    margin: 18px 0;
    padding-left: 28px;
}

.news-detail-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--bg-white, #ffffff);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
}

.news-detail-content table td,
.news-detail-content table th {
    border: 1px solid var(--border-color, #e5e7eb);
    padding: 14px;
    text-align: left;
}

.news-detail-content table th {
    background: var(--bg-light, #f8fafc);
    font-weight: 600;
    color: var(--text-dark, #1a1a2e);
}

.news-detail-content blockquote {
    border-left: 4px solid var(--primary-color, #00c0ff);
    padding: 18px 24px;
    margin: 25px 0;
    background: var(--bg-light, #f8fafc);
    border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0;
    font-style: italic;
    color: var(--text-light, #6b7280);
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md, 8px);
    margin: 25px 0;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
}

.news-detail-content a {
    color: var(--primary-color, #00c0ff);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px dotted var(--primary-color, #00c0ff);
}

.news-detail-content a:hover {
    color: var(--primary-dark, #006d92);
    border-bottom-style: solid;
}

.news-detail-content code {
    background: var(--bg-light, #f8fafc);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--accent-color, #ff6b6b);
}

.news-detail-content pre {
    background: var(--text-dark, #1a1a2e);
    color: var(--text-white, #ffffff);
    padding: 20px;
    border-radius: var(--radius-md, 8px);
    overflow-x: auto;
    margin: 25px 0;
}

.news-detail-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* ----- Navigation ----- */
.news-detail-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 35px;
    border-top: 2px solid var(--border-color, #e5e7eb);
    flex-wrap: wrap;
    gap: 20px;
}

.news-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color, #00c0ff);
    text-decoration: none;
    font-weight: 600;
    padding: 14px 28px;
    background: var(--bg-light, #f8fafc);
    border-radius: var(--radius-lg, 16px);
    transition: var(--transition, all 0.3s ease);
}

.news-detail-back:hover {
    background: var(--primary-color, #00c0ff);
    color: var(--text-white, #ffffff);
    transform: translateX(-5px);
}

.news-detail-share {
    display: flex;
    gap: 12px;
    align-items: center;
}

.news-detail-share span {
    font-size: 14px;
    color: var(--text-light, #6b7280);
}

/* ----- Pagination ----- */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.news-pagination a,
.news-pagination span {
    padding: 12px 18px;
    background: var(--bg-white, #ffffff);
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: var(--radius-md, 8px);
    text-decoration: none;
    color: var(--text-dark, #1a1a2e);
    font-weight: 600;
    transition: var(--transition, all 0.3s ease);
    min-width: 45px;
    text-align: center;
}

.news-pagination a:hover {
    background: var(--primary-color, #00c0ff);
    border-color: var(--primary-color, #00c0ff);
    color: var(--text-white, #ffffff);
    transform: translateY(-2px);
}

.news-pagination .current {
    background: var(--primary-color, #00c0ff);
    border-color: var(--primary-color, #00c0ff);
    color: var(--text-white, #ffffff);
}

.news-pagination .next,
.news-pagination .prev {
    font-weight: 700;
}

/* ----- Documents Specific ----- */
.documents-page-wrapper {
    padding: 80px 0;
    background: var(--bg-light, #f8fafc);
}

.documents-list {
    max-width: 1000px;
    margin: 0 auto;
}

.document-item {
    background: var(--bg-white, #ffffff);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    border-left: 5px solid var(--primary-color, #00c0ff);
    transition: var(--transition, all 0.3s ease);
}

.document-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.1));
}

.document-item h3 {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 700;
}

.document-item h3 a {
    color: var(--text-dark, #1a1a2e);
    text-decoration: none;
    transition: color 0.3s ease;
}

.document-item h3 a:hover {
    color: var(--primary-color, #00c0ff);
}

.document-item-date {
    font-size: 13px;
    color: var(--text-light, #6b7280);
    margin-bottom: 15px;
}

.document-item-preview {
    color: var(--text-light, #6b7280);
    line-height: 1.6;
}

/* ----- Legal Document Detail ----- */
.legal-document {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--bg-white, #ffffff);
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.1));
}

.document-header {
    border-bottom: 3px solid var(--primary-color, #00c0ff);
    padding-bottom: 25px;
    margin-bottom: 35px;
}

.document-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 15px;
}

.document-date {
    font-size: 14px;
    color: var(--text-light, #6b7280);
    display: flex;
    align-items: center;
    gap: 8px;
}

.document-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.document-content h2 {
    font-size: 24px;
    color: var(--text-dark, #1a1a2e);
    margin: 35px 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color, #e5e7eb);
}

.document-content h3 {
    font-size: 20px;
    color: var(--primary-color, #00c0ff);
    margin: 28px 0 12px;
}

.document-content p {
    margin-bottom: 16px;
}

.document-content ul,
.document-content ol {
    margin: 18px 0;
    padding-left: 28px;
}

.document-content li {
    margin-bottom: 10px;
}

.document-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.document-content table td,
.document-content table th {
    border: 1px solid var(--border-color, #e5e7eb);
    padding: 12px;
    text-align: left;
}

.document-content table th {
    background: var(--bg-light, #f8fafc);
    font-weight: 600;
}

.document-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color, #e5e7eb);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.document-actions {
    display: flex;
    gap: 15px;
}

.btn-print,
.btn-download {
    padding: 12px 24px;
    border: 2px solid var(--primary-color, #00c0ff);
    background: var(--bg-white, #ffffff);
    color: var(--primary-color, #00c0ff);
    border-radius: var(--radius-lg, 16px);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition, all 0.3s ease);
}

.btn-print:hover,
.btn-download:hover {
    background: var(--primary-color, #00c0ff);
    color: var(--text-white, #ffffff);
    transform: translateY(-2px);
}

/* ----- Search Form ----- */
.news-search-form {
    max-width: 500px;
    margin: 0 auto 50px;
    padding: 30px;
    background: var(--bg-white, #ffffff);
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
}

.news-search-form .input-wrapper {
    display: flex;
    gap: 12px;
}

.news-search-form input[type="text"] {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: var(--radius-md, 8px);
    font-size: 15px;
    transition: var(--transition, all 0.3s ease);
}

.news-search-form input[type="text"]:focus {
    border-color: var(--primary-color, #00c0ff);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 192, 255, 0.1);
}

.news-search-form input[type="submit"] {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color, #00c0ff), var(--primary-dark, #006d92));
    color: var(--text-white, #ffffff);
    border: none;
    border-radius: var(--radius-md, 8px);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition, all 0.3s ease);
}

.news-search-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 192, 255, 0.4);
}

/* ----- Empty State ----- */
.news-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-white, #ffffff);
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
}

.news-empty-state i {
    font-size: 64px;
    color: var(--text-light, #6b7280);
    margin-bottom: 20px;
}

.news-empty-state h3 {
    font-size: 24px;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 10px;
}

.news-empty-state p {
    color: var(--text-light, #6b7280);
    margin-bottom: 25px;
}

/* ============================================
   RESPONSIVE - News Component
   ============================================ */

/* Tablets (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .news-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .news-page-header h1 {
        font-size: 36px;
    }

    .news-detail-title {
        font-size: 30px;
    }
}

/* Small Tablets (max-width: 768px) */
@media screen and (max-width: 768px) {
    .news-page-wrapper,
    .documents-page-wrapper {
        padding: 50px 0;
    }

    .news-page-header h1 {
        font-size: 30px;
    }

    .news-page-header p {
        font-size: 16px;
    }

    .news-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-detail-wrapper {
        padding: 40px 15px;
    }

    .news-detail-title {
        font-size: 26px;
    }

    .news-detail-meta {
        flex-direction: column;
        gap: 12px;
    }

    .news-detail-navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .news-detail-back {
        justify-content: center;
    }

    .news-detail-share {
        justify-content: center;
    }

    .legal-document {
        padding: 40px 20px;
    }

    .document-header h1 {
        font-size: 26px;
    }

    .document-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .document-actions {
        flex-direction: column;
    }

    .btn-print,
    .btn-download {
        justify-content: center;
    }

    .news-search-form .input-wrapper {
        flex-direction: column;
    }

    .news-search-form input[type="submit"] {
        width: 100%;
    }
}

/* Mobile (max-width: 576px) */
@media screen and (max-width: 576px) {
    .news-page-wrapper,
    .documents-page-wrapper {
        padding: 40px 0;
    }

    .news-page-header h1 {
        font-size: 26px;
    }

    .news-page-header p {
        font-size: 14px;
    }

    .news-item-card {
        border-radius: var(--radius-lg, 12px);
    }

    .news-item-image {
        height: 180px;
    }

    .news-item-content {
        padding: 20px;
    }

    .news-item-title {
        font-size: 18px;
    }

    .news-detail-wrapper {
        padding: 30px 15px;
    }

    .news-detail-title {
        font-size: 22px;
    }

    .news-detail-content {
        font-size: 15px;
    }

    .news-detail-content h2 {
        font-size: 20px;
    }

    .news-detail-content h3 {
        font-size: 18px;
    }

    .legal-document {
        padding: 30px 15px;
        border-radius: var(--radius-lg, 12px);
    }

    .document-header h1 {
        font-size: 22px;
    }

    .document-content {
        font-size: 14px;
    }

    .news-pagination a,
    .news-pagination span {
        padding: 10px 14px;
        font-size: 13px;
        min-width: 40px;
    }
}

/* Small Mobile (max-width: 375px) */
@media screen and (max-width: 375px) {
    .news-page-header h1 {
        font-size: 22px;
    }

    .news-item-title {
        font-size: 16px;
    }

    .news-detail-title {
        font-size: 20px;
    }

    .document-header h1 {
        font-size: 20px;
    }
}

/* ============================================
   DOCUMENTS LIST - Стилизация списка документов
   ============================================ */

.documents-list-page {
    padding: 20px 0;
    background: var(--bg-light, #f8fafc);
    min-height: 60vh;
}

.documents-list-page .container {
    max-width: 1000px;
}

.documents-list-page h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 15px;
    line-height: 1.2;
    margin-top: 20px;
}

.documents-list-page .intro-text {
    font-size: 18px;
    color: var(--text-light, #6b7280);
    margin-bottom: 50px;
    line-height: 1.6;
}

/* ----- News List (Documents) ----- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    background: var(--bg-white, #ffffff);
    padding: 20px 25px;
    border-radius: var(--radius-lg, 12px);
    border-left: 4px solid var(--primary-color, #00c0ff);
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
    transition: var(--transition, all 0.3s ease);
    margin: 0;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    border-left-color: var(--primary-dark, #006d92);
}

.news-item a {
    color: var(--text-dark, #1a1a2e);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: block;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-item a:hover {
    color: var(--primary-color, #00c0ff);
}

.news-item a b,
.news-item a strong {
    font-weight: 700;
}

/* ----- Document Detail Page ----- */
.news-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-white, #ffffff);
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.1));
}

.news-detail h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark, #1a1a2e);
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color, #00c0ff);
    line-height: 1.3;
}

.news-detail h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin: 35px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color, #e5e7eb);
}

.news-detail h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark, #1a1a2e);
    margin: 25px 0 12px 0;
}

.news-detail p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.news-detail ul,
.news-detail ol {
    margin: 15px 0 20px 25px;
    padding: 0;
}

.news-detail li {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 8px;
    padding-left: 5px;
}

.news-detail a {
    color: var(--primary-dark, #006d92);
    border-bottom: 1px dotted var(--primary-color, #006d92);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-detail a:hover {
    color: var(--primary-color, #00c0ff);
    border-bottom-style: solid;
}

.documents-list-page .link {
    color: var(--primary-dark, #006d92);
    border-bottom: 1px dotted var(--primary-color, #006d92);
    text-decoration: none;
    transition: color 0.3s ease;
}

.documents-list-page .link:hover {
    color: var(--primary-color, #00c0ff);
    border-bottom-style: solid;
}

.news-detail strong,
.news-detail b {
    font-weight: 600;
    color: var(--text-dark, #1a1a2e);
}

/* Таблицы в документах */
.news-detail table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-white, #ffffff);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
}

.news-detail table td,
.news-detail table th {
    border: 1px solid var(--border-color, #e5e7eb);
    padding: 12px 15px;
    text-align: left;
}

.news-detail table th {
    background: var(--bg-light, #f8fafc);
    font-weight: 600;
    color: var(--text-dark, #1a1a2e);
}

/* Кнопка "Назад" для детальной страницы */
.news-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #00c0ff);
    text-decoration: none;
    font-weight: 600;
    margin: 30px 0 0 0;
    padding: 12px 24px;
    background: var(--bg-light, #f8fafc);
    border-radius: var(--radius-lg, 12px);
    transition: var(--transition, all 0.3s ease);
}

.news-detail-back:hover {
    background: var(--primary-color, #00c0ff);
    color: var(--text-white, #ffffff);
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .documents-list-page {
        padding: 50px 0;
    }

    .documents-list-page h1 {
        font-size: 30px;
    }

    .documents-list-page .intro-text {
        font-size: 16px;
    }

    .news-item {
        padding: 18px 20px;
    }

    .news-item a {
        font-size: 15px;
    }

    .news-detail {
        padding: 40px 20px;
        border-radius: var(--radius-lg, 12px);
    }

    .news-detail h1 {
        font-size: 26px;
    }

    .news-detail h2 {
        font-size: 20px;
    }

    .news-detail h3 {
        font-size: 17px;
    }

    .news-detail p,
    .news-detail li {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .documents-list-page h1 {
        font-size: 26px;
    }

    .news-item {
        padding: 15px 18px;
        border-radius: var(--radius-md, 8px);
    }

    .news-item a {
        font-size: 14px;
    }

    .news-detail {
        padding: 30px 15px;
    }

    .news-detail h1 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .news-detail h2 {
        font-size: 18px;
        margin: 25px 0 12px 0;
    }

    .news-detail p,
    .news-detail li {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ----- Print Styles ----- */
@media print {
    .documents-list-page {
        background: #fff;
        padding: 0;
    }

    .news-item {
        box-shadow: none;
        border: 1px solid #ddd;
        transform: none !important;
        page-break-inside: avoid;
    }

    .news-detail {
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .news-detail a {
        text-decoration: underline;
        border-bottom: none;
        color: #000;
    }

    .news-detail-back {
        display: none;
    }
}

/*Загрузчик--*/
.cssload-bg {
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.61);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999999;
    display: none;
}

.cssload-loading {
    position: relative;
    text-align: right;
    text-shadow: 0 0 6px rgb(188, 228, 255);
    height: 19px;
    width: 146px;
    margin: auto;
}

.cssload-loading span {
    display: block;
    text-transform: uppercase;
    position: absolute;
    right: 29px;
    height: 19px;
    width: 195px;
    line-height: 19px;
}

.cssload-loading span:after {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    right: -20px;
    height: 19px;
    width: 16px;
    background: rgb(234, 247, 255);
    box-shadow: 0 0 15px rgb(188, 228, 255);
    -o-box-shadow: 0 0 15px rgb(188, 228, 255);
    -ms-box-shadow: 0 0 15px rgb(188, 228, 255);
    -webkit-box-shadow: 0 0 15px rgb(188, 228, 255);
    -moz-box-shadow: 0 0 15px rgb(188, 228, 255);
    animation: cssload-blink 3.91s infinite;
    -o-animation: cssload-blink 3.91s infinite;
    -ms-animation: cssload-blink 3.91s infinite;
    -webkit-animation: cssload-blink 3.91s infinite;
    -moz-animation: cssload-blink 3.91s infinite;
}

.cssload-loading span.cssload-title {
    animation: cssload-title 3.91s linear infinite;
    -o-animation: cssload-title 3.91s linear infinite;
    -ms-animation: cssload-title 3.91s linear infinite;
    -webkit-animation: cssload-title 0.91s linear infinite;
    -moz-animation: cssload-title 3.91s linear infinite;
    color: white;
    font-size: 22px;
}

@keyframes cssload-title {
    0% {
        opacity: 0;
        right: 127px;
    }
    48% {
        opacity: 0;
        right: 127px;
    }
    52% {
        opacity: 1;
        right: 29px;
    }
    70% {
        opacity: 1;
        right: 29px;
    }
    100% {
        opacity: 0;
        right: 29px;
    }
}

@-o-keyframes cssload-title {
    0% {
        opacity: 0;
        right: 127px;
    }
    48% {
        opacity: 0;
        right: 127px;
    }
    52% {
        opacity: 1;
        right: 29px;
    }
    70% {
        opacity: 1;
        right: 29px;
    }
    100% {
        opacity: 0;
        right: 29px;
    }
}

@-ms-keyframes cssload-title {
    0% {
        opacity: 0;
        right: 127px;
    }
    48% {
        opacity: 0;
        right: 127px;
    }
    52% {
        opacity: 1;
        right: 29px;
    }
    70% {
        opacity: 1;
        right: 29px;
    }
    100% {
        opacity: 0;
        right: 29px;
    }
}

@-webkit-keyframes cssload-title {
    0% {
        opacity: 0;
        right: 127px;
    }
    48% {
        opacity: 0;
        right: 127px;
    }
    52% {
        opacity: 1;
        right: 29px;
    }
    70% {
        opacity: 1;
        right: 29px;
    }
    100% {
        opacity: 0;
        right: 29px;
    }
}

@-moz-keyframes cssload-title {
    0% {
        opacity: 0;
        right: 127px;
    }
    48% {
        opacity: 0;
        right: 127px;
    }
    52% {
        opacity: 1;
        right: 29px;
    }
    70% {
        opacity: 1;
        right: 29px;
    }
    100% {
        opacity: 0;
        right: 29px;
    }
}

@keyframes cssload-fade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-o-keyframes cssload-fade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-ms-keyframes cssload-fade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes cssload-fade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-moz-keyframes cssload-fade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes cssload-bg {
    0% {
        background-color: rgb(48, 111, 153);
    }
    50% {
        background-color: rgb(25, 71, 15);
    }
    90% {
        background-color: rgb(115, 74, 16);
    }
}

@-o-keyframes cssload-bg {
    0% {
        background-color: rgb(48, 111, 153);
    }
    50% {
        background-color: rgb(25, 71, 15);
    }
    90% {
        background-color: rgb(115, 74, 16);
    }
}

@-ms-keyframes cssload-bg {
    0% {
        background-color: rgb(48, 111, 153);
    }
    50% {
        background-color: rgb(25, 71, 15);
    }
    90% {
        background-color: rgb(115, 74, 16);
    }
}

@-webkit-keyframes cssload-bg {
    0% {
        background-color: rgb(48, 111, 153);
    }
    50% {
        background-color: rgb(25, 71, 15);
    }
    90% {
        background-color: rgb(115, 74, 16);
    }
}

@-moz-keyframes cssload-bg {
    0% {
        background-color: rgb(48, 111, 153);
    }
    50% {
        background-color: rgb(25, 71, 15);
    }
    90% {
        background-color: rgb(115, 74, 16);
    }
}

@keyframes cssload-blink {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    10% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    20% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    35% {
        opacity: 1;
    }
    40% {
        opacity: 0;
        right: -20px;
    }
    45% {
        opacity: 1;
        right: 78px;
    }
    50% {
        opacity: 0;
        right: -20px;
    }
    51% {
        right: -20px;
    }
    55% {
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    65% {
        opacity: 1;
    }
    70% {
        opacity: 0;
    }
    75% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    85% {
        opacity: 1;
    }
    90% {
        opacity: 0;
        right: -20px;
    }
    95% {
        opacity: 1;
        right: 78px;
    }
    96% {
        right: -20px;
    }
    100% {
        opacity: 0;
        right: -20px;
    }
}

@-o-keyframes cssload-blink {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    10% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    20% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    35% {
        opacity: 1;
    }
    40% {
        opacity: 0;
        right: -20px;
    }
    45% {
        opacity: 1;
        right: 78px;
    }
    50% {
        opacity: 0;
        right: -20px;
    }
    51% {
        right: -20px;
    }
    55% {
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    65% {
        opacity: 1;
    }
    70% {
        opacity: 0;
    }
    75% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    85% {
        opacity: 1;
    }
    90% {
        opacity: 0;
        right: -20px;
    }
    95% {
        opacity: 1;
        right: 78px;
    }
    96% {
        right: -20px;
    }
    100% {
        opacity: 0;
        right: -20px;
    }
}

@-ms-keyframes cssload-blink {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    10% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    20% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    35% {
        opacity: 1;
    }
    40% {
        opacity: 0;
        right: -20px;
    }
    45% {
        opacity: 1;
        right: 78px;
    }
    50% {
        opacity: 0;
        right: -20px;
    }
    51% {
        right: -20px;
    }
    55% {
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    65% {
        opacity: 1;
    }
    70% {
        opacity: 0;
    }
    75% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    85% {
        opacity: 1;
    }
    90% {
        opacity: 0;
        right: -20px;
    }
    95% {
        opacity: 1;
        right: 78px;
    }
    96% {
        right: -20px;
    }
    100% {
        opacity: 0;
        right: -20px;
    }
}

@-webkit-keyframes cssload-blink {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    10% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    20% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    35% {
        opacity: 1;
    }
    40% {
        opacity: 0;
        right: -20px;
    }
    45% {
        opacity: 1;
        right: 78px;
    }
    50% {
        opacity: 0;
        right: -20px;
    }
    51% {
        right: -20px;
    }
    55% {
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    65% {
        opacity: 1;
    }
    70% {
        opacity: 0;
    }
    75% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    85% {
        opacity: 1;
    }
    90% {
        opacity: 0;
        right: -20px;
    }
    95% {
        opacity: 1;
        right: 78px;
    }
    96% {
        right: -20px;
    }
    100% {
        opacity: 0;
        right: -20px;
    }
}

@-moz-keyframes cssload-blink {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    10% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    20% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    35% {
        opacity: 1;
    }
    40% {
        opacity: 0;
        right: -20px;
    }
    45% {
        opacity: 1;
        right: 78px;
    }
    50% {
        opacity: 0;
        right: -20px;
    }
    51% {
        right: -20px;
    }
    55% {
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    65% {
        opacity: 1;
    }
    70% {
        opacity: 0;
    }
    75% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    85% {
        opacity: 1;
    }
    90% {
        opacity: 0;
        right: -20px;
    }
    95% {
        opacity: 1;
        right: 78px;
    }
    96% {
        right: -20px;
    }
    100% {
        opacity: 0;
        right: -20px;
    }
}


.cssload-box {
    position: relative;
    width: 292px;
    height: 78px;
    margin: auto;
    margin-top: 20%;
}

.cssload-loading_2:after {
    content: '';
    position: absolute;
    left: -39px;
    display: block;
    width: 39px;
    height: 49px;
    border-radius: 4px;
    background-color: transparent;
    box-shadow: 47px 0 2px rgba(61, 195, 255, 0.8), 94px 0 0px rgb(61, 195, 255), 140px 0 2px rgba(61, 195, 255, 0.8), 187px 0 4px rgba(61, 195, 255, 0.6), 234px 0 6px rgba(61, 195, 255, 0.4), 281px 0 8px rgba(61, 195, 255, 0.2);
    transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    animation: cssload-loading_2Anim 2.3s linear infinite;
    -o-animation: cssload-loading_2Anim 2.3s linear infinite;
    -ms-animation: cssload-loading_2Anim 2.3s linear infinite;
    -webkit-animation: cssload-loading_2Anim 2.3s linear infinite;
    -moz-animation: cssload-loading_2Anim 2.3s linear infinite;
}


@keyframes cssload-loading_2Anim {
    0% {
        box-shadow: 47px 0 0px rgb(61, 195, 255), 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 10px rgba(61, 195, 255, 0);
    }
    10% {
        box-shadow: 47px 0 2px rgba(61, 195, 255, 0.8), 94px 0 0px rgb(61, 195, 255), 140px 0 2px rgba(61, 195, 255, 0.8), 187px 0 4px rgba(61, 195, 255, 0.6), 234px 0 6px rgba(61, 195, 255, 0.4), 281px 0 8px rgba(61, 195, 255, 0.2);
    }
    20% {
        box-shadow: 47px 0 4px rgba(61, 195, 255, 0.6), 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 0px #3dc3ff, 187px 0 2px rgba(61, 195, 255, 0.8), 234px 0 4px rgba(61, 195, 255, 0.6), 281px 0 6px rgba(61, 195, 255, 0.4);
    }
    30% {
        box-shadow: 47px 0 6px rgba(61, 195, 255, 0.4), 94px 0 4px rgba(61, 195, 255, 0.6), 140px 0 2px rgba(61, 195, 255, 0.8), 187px 0 0px #3dc3ff, 234px 0 2px rgba(61, 195, 255, 0.8), 281px 0 4px rgba(61, 195, 255, 0.6);
    }
    40% {
        box-shadow: 47px 0 8px rgba(61, 195, 255, 0.2), 94px 0 6px rgba(61, 195, 255, 0.4), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 2px rgba(61, 195, 255, 0.8), 234px 0 0px #3dc3ff, 281px 0 2px rgba(61, 195, 255, 0.8);
    }
    50% {
        box-shadow: 47px 0 10px rgba(61, 195, 255, 0), 94px 0 8px rgba(61, 195, 255, 0.2), 140px 0 6px rgba(61, 195, 255, 0.4), 187px 0 4px rgba(61, 195, 255, 0.6), 234px 0 2px rgba(61, 195, 255, 0.8), 281px 0 0px #3dc3ff;
    }
    60% {
        box-shadow: 47px 0 8px rgba(61, 195, 255, 0.2), 94px 0 10px rgba(61, 195, 255, 0), 140px 0 8px rgba(61, 195, 255, 0.2), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 4px rgba(61, 195, 255, 0.6), 281px 0 2px rgba(61, 195, 255, 0.8);
    }
    70% {
        box-shadow: 47px 0 6px rgba(61, 195, 255, 0.4), 94px 0 8px rgba(61, 195, 255, 0.2), 140px 0 10px rgba(61, 195, 255, 0), 187px 0 8px rgba(61, 195, 255, 0.2), 234px 0 6px rgba(61, 195, 255, 0.4), 281px 0 4px rgba(61, 195, 255, 0.6);
    }
    80% {
        box-shadow: 47px 0 4px rgba(61, 195, 255, 0.6), 94px 0 6px rgba(61, 195, 255, 0.4), 140px 0 8px rgba(61, 195, 255, 0.2), 187px 0 10px rgba(61, 195, 255, 0), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 6px rgba(61, 195, 255, 0.4);
    }
    90% {
        box-shadow: 47px 0 2px rgba(61, 195, 255, 0.8), 94px 0 4px rgba(61, 195, 255, 0.6), 140px 0 6px rgba(61, 195, 255, 0.4), 187px 0 8px rgba(61, 195, 255, 0.2), 234px 0 10px rgba(61, 195, 255, 0), 281px 0 8px rgba(61, 195, 255, 0.2);
    }
    100% {
        box-shadow: 47px 0 0px #3dc3ff, 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 10px rgba(61, 195, 255, 0);
    }
}

@-o-keyframes cssload-loading_2Anim {
    0% {
        box-shadow: 47px 0 0px rgb(61, 195, 255), 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 10px rgba(61, 195, 255, 0);
    }
    10% {
        box-shadow: 47px 0 2px rgba(61, 195, 255, 0.8), 94px 0 0px rgb(61, 195, 255), 140px 0 2px rgba(61, 195, 255, 0.8), 187px 0 4px rgba(61, 195, 255, 0.6), 234px 0 6px rgba(61, 195, 255, 0.4), 281px 0 8px rgba(61, 195, 255, 0.2);
    }
    20% {
        box-shadow: 47px 0 4px rgba(61, 195, 255, 0.6), 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 0px #3dc3ff, 187px 0 2px rgba(61, 195, 255, 0.8), 234px 0 4px rgba(61, 195, 255, 0.6), 281px 0 6px rgba(61, 195, 255, 0.4);
    }
    30% {
        box-shadow: 47px 0 6px rgba(61, 195, 255, 0.4), 94px 0 4px rgba(61, 195, 255, 0.6), 140px 0 2px rgba(61, 195, 255, 0.8), 187px 0 0px #3dc3ff, 234px 0 2px rgba(61, 195, 255, 0.8), 281px 0 4px rgba(61, 195, 255, 0.6);
    }
    40% {
        box-shadow: 47px 0 8px rgba(61, 195, 255, 0.2), 94px 0 6px rgba(61, 195, 255, 0.4), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 2px rgba(61, 195, 255, 0.8), 234px 0 0px #3dc3ff, 281px 0 2px rgba(61, 195, 255, 0.8);
    }
    50% {
        box-shadow: 47px 0 10px rgba(61, 195, 255, 0), 94px 0 8px rgba(61, 195, 255, 0.2), 140px 0 6px rgba(61, 195, 255, 0.4), 187px 0 4px rgba(61, 195, 255, 0.6), 234px 0 2px rgba(61, 195, 255, 0.8), 281px 0 0px #3dc3ff;
    }
    60% {
        box-shadow: 47px 0 8px rgba(61, 195, 255, 0.2), 94px 0 10px rgba(61, 195, 255, 0), 140px 0 8px rgba(61, 195, 255, 0.2), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 4px rgba(61, 195, 255, 0.6), 281px 0 2px rgba(61, 195, 255, 0.8);
    }
    70% {
        box-shadow: 47px 0 6px rgba(61, 195, 255, 0.4), 94px 0 8px rgba(61, 195, 255, 0.2), 140px 0 10px rgba(61, 195, 255, 0), 187px 0 8px rgba(61, 195, 255, 0.2), 234px 0 6px rgba(61, 195, 255, 0.4), 281px 0 4px rgba(61, 195, 255, 0.6);
    }
    80% {
        box-shadow: 47px 0 4px rgba(61, 195, 255, 0.6), 94px 0 6px rgba(61, 195, 255, 0.4), 140px 0 8px rgba(61, 195, 255, 0.2), 187px 0 10px rgba(61, 195, 255, 0), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 6px rgba(61, 195, 255, 0.4);
    }
    90% {
        box-shadow: 47px 0 2px rgba(61, 195, 255, 0.8), 94px 0 4px rgba(61, 195, 255, 0.6), 140px 0 6px rgba(61, 195, 255, 0.4), 187px 0 8px rgba(61, 195, 255, 0.2), 234px 0 10px rgba(61, 195, 255, 0), 281px 0 8px rgba(61, 195, 255, 0.2);
    }
    100% {
        box-shadow: 47px 0 0px #3dc3ff, 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 10px rgba(61, 195, 255, 0);
    }
}

@-ms-keyframes cssload-loading_2Anim {
    0% {
        box-shadow: 47px 0 0px rgb(61, 195, 255), 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 10px rgba(61, 195, 255, 0);
    }
    10% {
        box-shadow: 47px 0 2px rgba(61, 195, 255, 0.8), 94px 0 0px rgb(61, 195, 255), 140px 0 2px rgba(61, 195, 255, 0.8), 187px 0 4px rgba(61, 195, 255, 0.6), 234px 0 6px rgba(61, 195, 255, 0.4), 281px 0 8px rgba(61, 195, 255, 0.2);
    }
    20% {
        box-shadow: 47px 0 4px rgba(61, 195, 255, 0.6), 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 0px #3dc3ff, 187px 0 2px rgba(61, 195, 255, 0.8), 234px 0 4px rgba(61, 195, 255, 0.6), 281px 0 6px rgba(61, 195, 255, 0.4);
    }
    30% {
        box-shadow: 47px 0 6px rgba(61, 195, 255, 0.4), 94px 0 4px rgba(61, 195, 255, 0.6), 140px 0 2px rgba(61, 195, 255, 0.8), 187px 0 0px #3dc3ff, 234px 0 2px rgba(61, 195, 255, 0.8), 281px 0 4px rgba(61, 195, 255, 0.6);
    }
    40% {
        box-shadow: 47px 0 8px rgba(61, 195, 255, 0.2), 94px 0 6px rgba(61, 195, 255, 0.4), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 2px rgba(61, 195, 255, 0.8), 234px 0 0px #3dc3ff, 281px 0 2px rgba(61, 195, 255, 0.8);
    }
    50% {
        box-shadow: 47px 0 10px rgba(61, 195, 255, 0), 94px 0 8px rgba(61, 195, 255, 0.2), 140px 0 6px rgba(61, 195, 255, 0.4), 187px 0 4px rgba(61, 195, 255, 0.6), 234px 0 2px rgba(61, 195, 255, 0.8), 281px 0 0px #3dc3ff;
    }
    60% {
        box-shadow: 47px 0 8px rgba(61, 195, 255, 0.2), 94px 0 10px rgba(61, 195, 255, 0), 140px 0 8px rgba(61, 195, 255, 0.2), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 4px rgba(61, 195, 255, 0.6), 281px 0 2px rgba(61, 195, 255, 0.8);
    }
    70% {
        box-shadow: 47px 0 6px rgba(61, 195, 255, 0.4), 94px 0 8px rgba(61, 195, 255, 0.2), 140px 0 10px rgba(61, 195, 255, 0), 187px 0 8px rgba(61, 195, 255, 0.2), 234px 0 6px rgba(61, 195, 255, 0.4), 281px 0 4px rgba(61, 195, 255, 0.6);
    }
    80% {
        box-shadow: 47px 0 4px rgba(61, 195, 255, 0.6), 94px 0 6px rgba(61, 195, 255, 0.4), 140px 0 8px rgba(61, 195, 255, 0.2), 187px 0 10px rgba(61, 195, 255, 0), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 6px rgba(61, 195, 255, 0.4);
    }
    90% {
        box-shadow: 47px 0 2px rgba(61, 195, 255, 0.8), 94px 0 4px rgba(61, 195, 255, 0.6), 140px 0 6px rgba(61, 195, 255, 0.4), 187px 0 8px rgba(61, 195, 255, 0.2), 234px 0 10px rgba(61, 195, 255, 0), 281px 0 8px rgba(61, 195, 255, 0.2);
    }
    100% {
        box-shadow: 47px 0 0px #3dc3ff, 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 10px rgba(61, 195, 255, 0);
    }
}

@-webkit-keyframes cssload-loading_2Anim {
    0% {
        box-shadow: 47px 0 0px rgb(61, 195, 255), 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 10px rgba(61, 195, 255, 0);
    }
    10% {
        box-shadow: 47px 0 2px rgba(61, 195, 255, 0.8), 94px 0 0px rgb(61, 195, 255), 140px 0 2px rgba(61, 195, 255, 0.8), 187px 0 4px rgba(61, 195, 255, 0.6), 234px 0 6px rgba(61, 195, 255, 0.4), 281px 0 8px rgba(61, 195, 255, 0.2);
    }
    20% {
        box-shadow: 47px 0 4px rgba(61, 195, 255, 0.6), 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 0px #3dc3ff, 187px 0 2px rgba(61, 195, 255, 0.8), 234px 0 4px rgba(61, 195, 255, 0.6), 281px 0 6px rgba(61, 195, 255, 0.4);
    }
    30% {
        box-shadow: 47px 0 6px rgba(61, 195, 255, 0.4), 94px 0 4px rgba(61, 195, 255, 0.6), 140px 0 2px rgba(61, 195, 255, 0.8), 187px 0 0px #3dc3ff, 234px 0 2px rgba(61, 195, 255, 0.8), 281px 0 4px rgba(61, 195, 255, 0.6);
    }
    40% {
        box-shadow: 47px 0 8px rgba(61, 195, 255, 0.2), 94px 0 6px rgba(61, 195, 255, 0.4), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 2px rgba(61, 195, 255, 0.8), 234px 0 0px #3dc3ff, 281px 0 2px rgba(61, 195, 255, 0.8);
    }
    50% {
        box-shadow: 47px 0 10px rgba(61, 195, 255, 0), 94px 0 8px rgba(61, 195, 255, 0.2), 140px 0 6px rgba(61, 195, 255, 0.4), 187px 0 4px rgba(61, 195, 255, 0.6), 234px 0 2px rgba(61, 195, 255, 0.8), 281px 0 0px #3dc3ff;
    }
    60% {
        box-shadow: 47px 0 8px rgba(61, 195, 255, 0.2), 94px 0 10px rgba(61, 195, 255, 0), 140px 0 8px rgba(61, 195, 255, 0.2), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 4px rgba(61, 195, 255, 0.6), 281px 0 2px rgba(61, 195, 255, 0.8);
    }
    70% {
        box-shadow: 47px 0 6px rgba(61, 195, 255, 0.4), 94px 0 8px rgba(61, 195, 255, 0.2), 140px 0 10px rgba(61, 195, 255, 0), 187px 0 8px rgba(61, 195, 255, 0.2), 234px 0 6px rgba(61, 195, 255, 0.4), 281px 0 4px rgba(61, 195, 255, 0.6);
    }
    80% {
        box-shadow: 47px 0 4px rgba(61, 195, 255, 0.6), 94px 0 6px rgba(61, 195, 255, 0.4), 140px 0 8px rgba(61, 195, 255, 0.2), 187px 0 10px rgba(61, 195, 255, 0), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 6px rgba(61, 195, 255, 0.4);
    }
    90% {
        box-shadow: 47px 0 2px rgba(61, 195, 255, 0.8), 94px 0 4px rgba(61, 195, 255, 0.6), 140px 0 6px rgba(61, 195, 255, 0.4), 187px 0 8px rgba(61, 195, 255, 0.2), 234px 0 10px rgba(61, 195, 255, 0), 281px 0 8px rgba(61, 195, 255, 0.2);
    }
    100% {
        box-shadow: 47px 0 0px #3dc3ff, 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 10px rgba(61, 195, 255, 0);
    }
}

@-moz-keyframes cssload-loading_2Anim {
    0% {
        box-shadow: 47px 0 0px rgb(61, 195, 255), 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 10px rgba(61, 195, 255, 0);
    }
    10% {
        box-shadow: 47px 0 2px rgba(61, 195, 255, 0.8), 94px 0 0px rgb(61, 195, 255), 140px 0 2px rgba(61, 195, 255, 0.8), 187px 0 4px rgba(61, 195, 255, 0.6), 234px 0 6px rgba(61, 195, 255, 0.4), 281px 0 8px rgba(61, 195, 255, 0.2);
    }
    20% {
        box-shadow: 47px 0 4px rgba(61, 195, 255, 0.6), 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 0px #3dc3ff, 187px 0 2px rgba(61, 195, 255, 0.8), 234px 0 4px rgba(61, 195, 255, 0.6), 281px 0 6px rgba(61, 195, 255, 0.4);
    }
    30% {
        box-shadow: 47px 0 6px rgba(61, 195, 255, 0.4), 94px 0 4px rgba(61, 195, 255, 0.6), 140px 0 2px rgba(61, 195, 255, 0.8), 187px 0 0px #3dc3ff, 234px 0 2px rgba(61, 195, 255, 0.8), 281px 0 4px rgba(61, 195, 255, 0.6);
    }
    40% {
        box-shadow: 47px 0 8px rgba(61, 195, 255, 0.2), 94px 0 6px rgba(61, 195, 255, 0.4), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 2px rgba(61, 195, 255, 0.8), 234px 0 0px #3dc3ff, 281px 0 2px rgba(61, 195, 255, 0.8);
    }
    50% {
        box-shadow: 47px 0 10px rgba(61, 195, 255, 0), 94px 0 8px rgba(61, 195, 255, 0.2), 140px 0 6px rgba(61, 195, 255, 0.4), 187px 0 4px rgba(61, 195, 255, 0.6), 234px 0 2px rgba(61, 195, 255, 0.8), 281px 0 0px #3dc3ff;
    }
    60% {
        box-shadow: 47px 0 8px rgba(61, 195, 255, 0.2), 94px 0 10px rgba(61, 195, 255, 0), 140px 0 8px rgba(61, 195, 255, 0.2), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 4px rgba(61, 195, 255, 0.6), 281px 0 2px rgba(61, 195, 255, 0.8);
    }
    70% {
        box-shadow: 47px 0 6px rgba(61, 195, 255, 0.4), 94px 0 8px rgba(61, 195, 255, 0.2), 140px 0 10px rgba(61, 195, 255, 0), 187px 0 8px rgba(61, 195, 255, 0.2), 234px 0 6px rgba(61, 195, 255, 0.4), 281px 0 4px rgba(61, 195, 255, 0.6);
    }
    80% {
        box-shadow: 47px 0 4px rgba(61, 195, 255, 0.6), 94px 0 6px rgba(61, 195, 255, 0.4), 140px 0 8px rgba(61, 195, 255, 0.2), 187px 0 10px rgba(61, 195, 255, 0), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 6px rgba(61, 195, 255, 0.4);
    }
    90% {
        box-shadow: 47px 0 2px rgba(61, 195, 255, 0.8), 94px 0 4px rgba(61, 195, 255, 0.6), 140px 0 6px rgba(61, 195, 255, 0.4), 187px 0 8px rgba(61, 195, 255, 0.2), 234px 0 10px rgba(61, 195, 255, 0), 281px 0 8px rgba(61, 195, 255, 0.2);
    }
    100% {
        box-shadow: 47px 0 0px #3dc3ff, 94px 0 2px rgba(61, 195, 255, 0.8), 140px 0 4px rgba(61, 195, 255, 0.6), 187px 0 6px rgba(61, 195, 255, 0.4), 234px 0 8px rgba(61, 195, 255, 0.2), 281px 0 10px rgba(61, 195, 255, 0);
    }
}
/*--Загрузчик*/

.popup {
    background: rgba(0, 0, 0, 0.61);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999999;
    display: none;
}

.popup .popup-window {
    position: absolute;
    background: white;
    left: 25%;
    right: 25%;
    top: 30%;
    z-index: 99999999999;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    padding: 15px;
    padding-bottom: 40px;
}

.popup .popup-window .fa-window-close-o {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 50px;
    color: #616976;
    cursor: pointer;
    z-index: 9999;
}

.popup .popup-window .fa-window-close-o:hover {
    color: red;
}

.popup .popup-window .fa-window-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 50px;
    color: #616976;
    cursor: pointer;
    z-index: 9999;
}

.popup .popup-window .fa-window-close:hover {
    color: red;
}

.popup .popup-window h2 {
    color: #616976;
    text-align: center;
    font-size: 24px;
}

.popup .popup-window .popup-window-content {
    font-size: 18px;
    font-weight: bold;
    color: #616976;
}

body, html, .wrapper, .site-container {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* ==========================================
   ОБЩИЕ СТИЛИ ФОРМ И КОМПОНЕНТОВ (bitrix_solutions)
   ========================================== */

/* --- Хлебные крошки (breadcrumb) --- */
.bx-breadcrumb {
    margin: 20px 0;
    font-size: 14px;
    color: #6b7280;
}
.bx-breadcrumb .bx-breadcrumb-item {
    display: inline-flex;
    align-items: center;
}
.bx-breadcrumb .bx-breadcrumb-item a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}
.bx-breadcrumb .bx-breadcrumb-item a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}
.bx-breadcrumb .bx-breadcrumb-item span {
    color: #9ca3af;
    margin: 0 8px;
}

/* --- Контейнер форм авторизации/регистрации --- */
.bx-authform, .bx-auth {
    max-width: 500px;
    margin: 40px auto;
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
}
.bx-authform .bx-title, .bx-auth h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111827;
    text-align: center;
}

/* --- Поля ввода --- */
.auth-form-group {
    margin-bottom: 20px;
}
.auth-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-wrapper i {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 16px;
}
.bx-auth-input,
.auth-input-wrapper input[type="text"],
.auth-input-wrapper input[type="password"],
.auth-input-wrapper input[type="email"] {
    width: 100%;
    padding: 12px 14px 12px 42px; /* отступ слева под иконку */
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    background-color: #f9fafb;
}
.bx-auth-input:focus,
.auth-input-wrapper input:focus {
    border-color: #2563eb;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* --- Чекбоксы (для регистрации) --- */
.auth-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.4;
}
.auth-checkbox-wrapper input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
    cursor: pointer;
}
.auth-checkbox-wrapper a {
    color: #2563eb;
    text-decoration: none;
}
.auth-checkbox-wrapper a:hover {
    text-decoration: underline;
}

/* --- Кнопки --- */
.bx-authform .btn-primary,
.bx-auth input[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}
.bx-authform .btn-primary:hover,
.bx-auth input[type="submit"]:hover {
    background-color: #1d4ed8;
}

/* --- Сообщения об ошибках/успехе --- */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-danger {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.alert-success {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* --- Профиль пользователя (main.profile) --- */
.profile-container {
    max-width: 900px;
    margin: 40px auto;
}
.profile-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
}
.profile-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
    color: #111827;
}
.profile-table {
    width: 100%;
    border-collapse: collapse;
}
.profile-table td {
    padding: 12px 0;
    vertical-align: top;
    border-bottom: 1px solid #f3f4f6;
}
.profile-table td:first-child {
    width: 40%;
    color: #6b7280;
    font-weight: 500;
}

/* --- Подтверждение почты (main.mail.confirm) --- */
.mail-confirm-box {
    text-align: center;
    padding: 40px 20px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    color: #0369a1;
}
.mail-confirm-box .confirm-code {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 4px;
    margin: 20px 0;
    color: #0284c7;
}

/* --- Пагинация (main.pagenavigation) --- */
.bx-pagination {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}
.bx-pagination-container ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.bx-pagination-container ul li span,
.bx-pagination-container ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.bx-pagination-container ul li.bx-active span,
.bx-pagination-container ul li a:hover {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Сообщения в формах */
.auth-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
    animation: slideDown 0.3s ease-out;
}

.auth-message-success {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.auth-message-error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Подсветка полей с ошибками */
.auth-input.error {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

.auth-input.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

/* Ошибки под полями */
.field-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    animation: fadeIn 0.2s ease-out;
}

/* Ссылки в формах */
.auth-form-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.auth-form-links a {
    color: #2fc6f6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.auth-form-links a:hover {
    color: #00a8d8;
    text-decoration: underline;
}

/* Чекбокс в форме авторизации */
.auth-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #4b5563;
}

.auth-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #2fc6f6;
}

/* Лоадер кнопки */
.btn-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bx-auth-reg {
    max-width: 500px;
    margin: 0 auto;
}

.bx-auth-reg .auth-form-group {
    margin-bottom: 20px;
}

.bx-auth-reg .auth-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a2e;
    font-size: 14px;
}

.bx-auth-reg .auth-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: #f9fafb;
}

.bx-auth-reg .auth-input:focus {
    border-color: #2fc6f6;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 198, 246, 0.1);
}

.bx-auth-reg .auth-input::placeholder {
    color: #9ca3af;
}

.bx-auth-reg .starrequired {
    color: #ef4444;
    margin-left: 2px;
}

.bx-auth-reg .auth-form-options {
    margin: 24px 0;
}

.bx-auth-reg .auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    line-height: 1.4;
}

.bx-auth-reg .auth-checkbox input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #2fc6f6;
}

.bx-auth-reg .auth-checkbox a {
    color: #2fc6f6;
    text-decoration: none;
}

.bx-auth-reg .auth-checkbox a:hover {
    text-decoration: underline;
}

.bx-auth-reg .btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.bx-auth-reg .auth-form-description {
    margin: 20px 0;
    padding: 15px;
    background-color: #f0f9ff;
    border-left: 3px solid #2fc6f6;
    border-radius: 4px;
    font-size: 13px;
    color: #4b5563;
}

.bx-auth-reg .auth-form-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.bx-auth-reg .auth-form-footer p {
    margin: 8px 0;
    font-size: 14px;
    color: #6b7280;
}

.bx-auth-reg .auth-form-footer a {
    color: #2fc6f6;
    text-decoration: none;
    font-weight: 600;
}

.bx-auth-reg .auth-form-footer a:hover {
    text-decoration: underline;
}

.bx-auth-reg .captcha-image {
    display: block;
    margin: 10px 0;
    border-radius: 4px;
}

.bx-auth-reg .bx-auth-secure {
    background-color: #FFFAE3;
    border: 1px solid #DEDBC8;
    padding: 2px 6px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    border-radius: 4px;
    font-size: 12px;
}

.bx-auth-reg .bx-auth-secure-icon {
    background-image: url(images/sec.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

.bx-auth-reg .bx-auth-secure-unlock {
    background-image: url(images/sec-unlocked.png);
}

/* Адаптивность для модального окна */
.modal-content.reg-modal .bx-auth-reg {
    max-width: 100%;
}

@media (max-width: 576px) {
    .bx-auth-reg .auth-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .bx-auth-reg .auth-form-group {
        margin-bottom: 16px;
    }

    .bx-auth-reg .auth-checkbox {
        font-size: 12px;
    }
}

/* Фиксированный заголовок модалки */
.modal-content.reg-modal {
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-content.reg-modal h2,
.modal-content.reg-modal .modal-close {
    flex-shrink: 0;
}

/* Скроллируемая область формы */
.modal-content.reg-modal .bx-auth-reg {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #2fc6f6 #f1f5f9;
}

.modal-content.reg-modal .bx-auth-reg::-webkit-scrollbar {
    width: 8px;
}

.modal-content.reg-modal .bx-auth-reg::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.modal-content.reg-modal .bx-auth-reg::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2fc6f6, #00a8d8);
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

.modal-content.reg-modal .bx-auth-reg::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00a8d8, #0088b8);
}

.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a2e;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrapper i {
    position: absolute;
    left: 15px;
    color: #6b7280;
    z-index: 1;
}

.auth-input-wrapper input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.auth-input-wrapper input:focus {
    border-color: #2fc6f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 198, 246, 0.1);
}

.captcha-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-image {
    border-radius: 4px;
}

.captcha-wrapper input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

.auth-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
}

.auth-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.auth-forgot {
    color: #2fc6f6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.auth-forgot:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

.auth-register-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
}

.auth-register-link a {
    color: #2fc6f6;
    text-decoration: none;
    font-weight: 600;
}

.auth-error {
    margin-top: 20px;
    padding: 12px 15px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}


.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(26 26 46 / 87%);
    color: #fff;
    padding: 16px 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.2);
}
.cookie-notice.show {
    transform: translateY(0);
}
.cookie-notice__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}
.cookie-notice a {
    color: #2fc6f6;
    text-decoration: none;
}
.cookie-notice a:hover {
    text-decoration: underline;
}
.cookie-notice__accept {
    background: rgba(0, 191, 255, 0.6);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.cookie-notice__accept:hover {
    background: rgba(0, 191, 255, 0.9);
}
@media (max-width: 768px) {
    .cookie-notice__content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-notice__accept {
        width: 100%;
        max-width: 200px;
    }
}

/* ============================================
   ОБЩИЕ СТИЛИ ДЛЯ СТРАНИЦ РАЗДЕЛОВ
   ============================================ */

.certified-page,
.warranty-page,
.support-page,
.scalability-page {
    padding: 60px 0;
    background: var(--bg-light, #f8fafc);
}

/* Заголовок страницы */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-title i {
    color: var(--primary-color, #00c0ff);
}

.page-description {
    font-size: 20px;
    color: var(--text-light, #6b7280);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Секции */
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark, #1a1a2e);
    text-align: center;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light, #6b7280);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ============================================
   СЕРТИФИКАТЫ
   ============================================ */

.intro-block {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
    background: var(--bg-white, #ffffff);
    padding: 50px;
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    margin-bottom: 60px;
}

.intro-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light, #6b7280);
    margin-bottom: 20px;
}

.intro-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-dark, #1a1a2e);
}

.intro-list li i {
    color: var(--success-color, #10b981);
    font-size: 20px;
}

.intro-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color, #00c0ff), var(--primary-dark, #006d92));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--text-white, #ffffff);
}

/* Сетка сертификатов */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.certificate-card {
    background: var(--bg-white, #ffffff);
    border-radius: var(--radius-xl, 16px);
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    transition: var(--transition, all 0.3s ease);
    display: flex;
    flex-direction: column;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.15));
}

.certificate-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: var(--bg-light, #f8fafc);
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-image img {
    transform: scale(1.05);
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-card:hover .certificate-overlay {
    opacity: 1;
}

.btn-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-white, #ffffff);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 20px 40px;
    border: 2px solid var(--text-white, #ffffff);
    border-radius: var(--radius-lg, 12px);
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--text-white, #ffffff);
    color: var(--text-dark, #1a1a2e);
}

.btn-view i {
    font-size: 32px;
}

.certificate-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.certificate-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 12px;
}

.certificate-info p {
    font-size: 15px;
    color: var(--text-light, #6b7280);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #00c0ff);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    background: rgba(0, 192, 255, 0.1);
    border-radius: var(--radius-md, 8px);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-download:hover {
    background: var(--primary-color, #00c0ff);
    color: var(--text-white, #ffffff);
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.advantage-card {
    background: var(--bg-white, #ffffff);
    padding: 40px 30px;
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    text-align: center;
    transition: var(--transition, all 0.3s ease);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.15));
}

.advantage-card.large {
    padding: 50px 40px;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color, #00c0ff), var(--primary-dark, #006d92));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-white, #ffffff);
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 15px;
    color: var(--text-light, #6b7280);
    line-height: 1.6;
}

.advantage-stats {
    display: flex;
    justify-content: space-around;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color, #e5e7eb);
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color, #00c0ff);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light, #6b7280);
}

/* ============================================
   ГАРАНТИЯ
   ============================================ */

.warranty-main {
    background: var(--bg-white, #ffffff);
    padding: 50px;
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    margin-bottom: 60px;
}

.warranty-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 20px;
}

.warranty-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light, #6b7280);
    margin-bottom: 30px;
}

.warranty-content a {
    color: var(--primary-color, #00c0ff);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted var(--primary-color, #00c0ff);
    transition: all 0.3s ease;
}

.warranty-content a:hover {
    border-bottom-style: solid;
}

.warranty-periods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.period-card {
    background: var(--bg-light, #f8fafc);
    padding: 40px;
    border-radius: var(--radius-lg, 12px);
    text-align: center;
    border-left: 4px solid var(--primary-color, #00c0ff);
}

.period-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color, #00c0ff), var(--primary-dark, #006d92));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-white, #ffffff);
}

.period-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 15px;
}

.period-duration {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color, #00c0ff);
    margin-bottom: 15px;
}

.period-card p {
    font-size: 15px;
    color: var(--text-light, #6b7280);
    line-height: 1.6;
}

/* Что включает гарантия */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.include-card {
    background: var(--bg-white, #ffffff);
    padding: 40px 30px;
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    text-align: center;
    transition: var(--transition, all 0.3s ease);
}

.include-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.15));
}

.include-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--success-color, #10b981), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-white, #ffffff);
}

.include-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 12px;
}

.include-card p {
    font-size: 14px;
    color: var(--text-light, #6b7280);
    line-height: 1.6;
}

/* Условия гарантии */
.conditions-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.condition-block {
    background: var(--bg-white, #ffffff);
    padding: 40px;
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
}

.condition-block h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.condition-block.positive h3 {
    color: var(--success-color, #10b981);
}

.condition-block.negative h3 {
    color: var(--accent-color, #ff6b6b);
}

.condition-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.condition-block li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    color: var(--text-dark, #1a1a2e);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.condition-block li:last-child {
    border-bottom: none;
}

.condition-block.positive li:before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color, #10b981);
}

.condition-block.negative li:before {
    content: '\f057';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color, #ff6b6b);
}

/* Процесс */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.process-step {
    background: var(--bg-white, #ffffff);
    padding: 40px 30px;
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color, #00c0ff), var(--primary-dark, #006d92));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white, #ffffff);
}

.process-step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-light, #6b7280);
    line-height: 1.6;
}

/* CTA блоки */
.warranty-cta,
.support-cta,
.scalability-cta {
    background: linear-gradient(135deg, var(--primary-color, #00c0ff), var(--primary-dark, #006d92));
    padding: 60px 40px;
    border-radius: var(--radius-xl, 16px);
    text-align: center;
    color: var(--text-white, #ffffff);
}

.warranty-cta h2,
.support-cta h2,
.scalability-cta h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.warranty-cta p,
.support-cta p,
.scalability-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.warranty-cta .btn,
.support-cta .btn,
.scalability-cta .btn {
    background: var(--text-white, #ffffff);
    color: var(--primary-dark, #006d92);
}

.warranty-cta .btn:hover,
.support-cta .btn:hover,
.scalability-cta .btn:hover {
    background: var(--bg-light, #f8fafc);
    transform: translateY(-2px);
}

/* ============================================
   ТЕХПОДДЕРЖКА
   ============================================ */

.support-importance {
    background: var(--bg-white, #ffffff);
    padding: 50px;
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    margin-bottom: 60px;
}

.importance-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 20px;
}

.importance-content > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light, #6b7280);
    margin-bottom: 30px;
}

.importance-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.importance-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.importance-point i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color, #00c0ff), var(--primary-dark, #006d92));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-white, #ffffff);
    flex-shrink: 0;
}

.importance-point h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 8px;
}

.importance-point p {
    font-size: 14px;
    color: var(--text-light, #6b7280);
    line-height: 1.6;
}

/* Тарифы */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.plan-card {
    background: var(--bg-white, #ffffff);
    border-radius: var(--radius-xl, 16px);
    padding: 40px 30px;
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    text-align: center;
    position: relative;
    transition: var(--transition, all 0.3s ease);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.15));
}

.plan-card.featured {
    border: 3px solid var(--primary-color, #00c0ff);
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color, #ff6b6b);
    color: var(--text-white, #ffffff);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 30px;
}

.price-from {
    font-size: 14px;
    color: var(--text-light, #6b7280);
    display: block;
}

.price-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color, #00c0ff);
}

.price-period {
    font-size: 14px;
    color: var(--text-light, #6b7280);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.plan-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    color: var(--text-dark, #1a1a2e);
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    position: absolute;
    left: 0;
    color: var(--success-color, #10b981);
}

/* ============================================
   МАСШТАБИРУЕМОСТЬ
   ============================================ */

.scalability-intro {
    background: var(--bg-white, #ffffff);
    padding: 50px;
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    margin-bottom: 60px;
    text-align: center;
}

.intro-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light, #6b7280);
    max-width: 800px;
    margin: 0 auto;
}

/* Редакции */
.editions-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.edition-card {
    background: var(--bg-white, #ffffff);
    border-radius: var(--radius-xl, 16px);
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    transition: var(--transition, all 0.3s ease);
    position: relative;
}

.edition-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.15));
}

.edition-card.featured {
    border: 3px solid var(--primary-color, #00c0ff);
}

.edition-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color, #ff6b6b);
    color: var(--text-white, #ffffff);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.edition-header {
    background: linear-gradient(135deg, var(--primary-color, #00c0ff), var(--primary-dark, #006d92));
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-white, #ffffff);
}

.edition-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.edition-info h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
}

.edition-price {
    font-size: 18px;
    opacity: 0.9;
}

.edition-content {
    padding: 30px;
}

.edition-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 15px;
    margin-top: 20px;
}

.edition-content h4:first-child {
    margin-top: 0;
}

.edition-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.edition-content li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    color: var(--text-dark, #1a1a2e);
}

.edition-content li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color, #10b981);
}

.edition-cta {
    margin-top: 25px;
    text-align: center;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media screen and (max-width: 1024px) {
    .certificates-grid,
    .editions-timeline {
        grid-template-columns: 1fr;
    }

    .advantages-grid,
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media screen and (max-width: 768px) {
    .page-title {
        font-size: 32px;
        flex-direction: column;
    }

    .intro-block {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-image {
        margin: 0 auto;
    }

    .warranty-periods,
    .conditions-content,
    .importance-points {
        grid-template-columns: 1fr;
    }

    .advantages-grid,
    .includes-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

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

@media screen and (max-width: 576px) {
    .certified-page,
    .warranty-page,
    .support-page,
    .scalability-page {
        padding: 40px 0;
    }

    .page-title {
        font-size: 26px;
    }

    .page-description {
        font-size: 16px;
    }

    .warranty-main,
    .support-importance,
    .scalability-intro {
        padding: 30px 20px;
    }

    .certificate-card,
    .advantage-card,
    .include-card,
    .process-step,
    .plan-card,
    .edition-card {
        padding: 25px 20px;
    }
}
/* Прижимаем кнопки к низу карточки */
.edition-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.edition-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.edition-cta {
    margin-top: auto;
    padding-top: 25px;
}

/* ============================================
   Top Bar - обновлённые стили
   ============================================ */
.top-bar {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-item i {
    color: var(--primary-color);
}

.top-item a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.top-item a:hover {
    color: var(--primary-color);
}

/* Кнопка "Заказать звонок" в top-bar */
.header-actions-top {
    display: flex;
    align-items: center;
}

.header-actions-top .btn-callback {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-size: 13px;
}

.header-actions-top .btn-callback:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.header-actions-top .btn-callback i {
    font-size: 14px;
}

/* ============================================
   Header Actions - обновлённые стили
   ============================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Авторизация в header */
.top-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-auth, .btn-reg, .btn-link {
    color: var(--text-white);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 13px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-auth:hover, .btn-reg:hover, .btn-link:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--text-white);
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #009ccf;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

/* Планшеты портретные (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Top bar на мобильных */
    .top-bar-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    .top-info {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .top-item {
        font-size: 13px;
        justify-content: center;
    }

    .header-actions-top {
        width: 100%;
        justify-content: center;
    }

    .header-actions-top .btn-callback {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 10px 20px;
    }

    /* Header на мобильных */
    .header-content {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
        order: 2;
        margin-top: 10px;
    }

    .top-auth {
        gap: 10px;
    }

    .btn-auth, .btn-reg {
        padding: 6px 12px;
        font-size: 12px;
    }

    .btn-auth span, .btn-reg span {
        display: none; /* Скрываем текст, оставляем иконки */
    }

    .user-welcome {
        font-size: 12px;
    }

    .user-name {
        display: none;
    }

    /* Мобильное меню */
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .main-nav.mobile-open {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* Мобильные телефоны (max-width: 576px) */
@media screen and (max-width: 576px) {
    .top-bar {
        font-size: 12px;
    }

    .top-item i {
        display: none;
    }

    .header-actions-top .btn-callback {
        font-size: 12px;
        padding: 8px 15px;
    }

    .header-actions-top .btn-callback i {
        display: none;
    }

    .btn-auth, .btn-reg {
        padding: 8px 12px;
    }

    .btn-auth i, .btn-reg i {
        font-size: 16px;
    }
}

/* ============================================
   Footer Bottom - вертикальное расположение
   ============================================ */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

/* Блок с юридическими ссылками - сверху */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    order: 1;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Блок copyright - снизу */
.copyright {
    order: 2;
    text-align: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 8px 0;
}

.copyright p:last-child {
    margin-bottom: 0;
}

/* Бейдж партнёра */
.bitrix-partner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.bitrix-partner img {
    height: 30px;
    width: auto;
}

.bitrix-partner span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ============================================
   АДАПТИВНОСТЬ Footer Bottom
   ============================================ */

/* Планшеты и меньше */
@media screen and (max-width: 768px) {
    .footer-bottom {
        padding: 25px 0;
    }

    .footer-bottom-content {
        gap: 18px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .footer-legal a {
        font-size: 13px;
    }

    .copyright p {
        font-size: 13px;
    }

    .bitrix-partner {
        flex-direction: column;
        gap: 6px;
    }

    .bitrix-partner img {
        height: 25px;
    }

    .bitrix-partner span {
        font-size: 12px;
    }
}

/* Мобильные телефоны */
@media screen and (max-width: 576px) {
    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom-content {
        gap: 15px;
    }

    .footer-legal {
        gap: 10px;
    }

    .footer-legal a {
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 4px;
    }

    .copyright p {
        font-size: 12px;
        line-height: 1.5;
    }

    .bitrix-partner img {
        height: 22px;
    }

    .bitrix-partner span {
        font-size: 11px;
    }
}