/* ============================================================ */
/* ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ И ОБЩИЕ СТИЛИ                          */
/* ============================================================ */

:root {
    --primary-color: #326273;
    --secondary-color: #5C9EAD;
    --accent-color: #4a6cfa;
    --text-color: #333;
    --light-bg: #f8f9fc;
    --white: #ffffff;
    --gray-light: #f5f7ff;
    --success-color: #28a745;
    --gradient-start: #03045e;
    --gradient-end: #0096c7;
    --border-radius: 16px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 16px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-blue: linear-gradient(135deg, #326273 0%, #5C9EAD 100%);
    --gradient-light: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    
    /* ===== ЕДИНЫЕ ОТСТУПЫ ДЛЯ ВСЕХ СЕКЦИЙ ===== */
    --section-padding: 40px;
    --section-padding-tablet: 40px;
    --section-padding-mobile: 30px;
}

html {
    scroll-padding-top: 120px;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    width: 95%;          
    max-width: 1400px;
    margin: 0 auto;   
    padding: 0 15px;     
}

/* ============================================================ */
/* ============================================================ */
/* ===== ВСЕ СЕКЦИИ — ОДИНАКОВЫЕ ОТСТУПЫ ===== */
/* ============================================================ */
/* ============================================================ */

.about-section,
.features-section,
.interface-section,
.instructions-section,
.pricing-section,
.cta-section,
.faq-section,
.contacts-section,
.fips-premium {
    padding: var(--section-padding) 0;
}

/* ============================================================ */
/* АДАПТИВНОСТЬ ДЛЯ ОТСТУПОВ СЕКЦИЙ                             */
/* ============================================================ */

@media (max-width: 992px) {
    .about-section,
    .features-section,
    .interface-section,
    .instructions-section,
    .pricing-section,
    .cta-section,
    .faq-section,
    .contacts-section,
    .fips-premium {
        padding: var(--section-padding-tablet) 0;
    }
}

@media (max-width: 768px) {
    .about-section,
    .features-section,
    .interface-section,
    .instructions-section,
    .pricing-section,
    .cta-section,
    .faq-section,
    .contacts-section,
    .fips-premium {
        padding: var(--section-padding-tablet) 0;
    }
}

@media (max-width: 480px) {
    .about-section,
    .features-section,
    .interface-section,
    .instructions-section,
    .pricing-section,
    .cta-section,
    .faq-section,
    .contacts-section,
    .fips-premium {
        padding: var(--section-padding-mobile) 0;
    }
}

/* ============================================================ */
/* БЛОК 2: HEADER (ШАПКА САЙТА)                                */
/* ============================================================ */

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    min-height: 60px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    min-height: 60px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    font-size: 0;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    margin-right: 0;
    width: 40px;
    height: 40px;
}

.logo span:last-child {
    display: none;
}

/* ===== РАСКРЫВАЮЩЕЕСЯ МЕНЮ "УСЛУГИ" ===== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 260px;
    width: max-content;
    max-width: 360px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 8px 0;
    list-style: none;
    z-index: 10000;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: -4px;
    padding-top: 4px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 16px;
    background: transparent;
    pointer-events: auto;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: #f0f4ff;
    color: #326273;
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        animation: dropdownFade 0.25s ease;
    }
}

@keyframes dropdownFade {
    0% { opacity: 0; transform: translateX(-50%) translateY(-5px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 768px) {
    .dropdown.open .dropdown-menu {
        display: block;
        position: static;
        transform: none;
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border-radius: 8px;
        background: #f8f9fa;
        margin-top: 5px;
        border: 1px solid #e0e0e0;
        padding: 5px 0;
    }
    
    .dropdown.open .dropdown-menu::before {
        display: none;
    }
    
    .dropdown.open .dropdown-menu li a {
        padding: 12px 20px;
        font-size: 15px;
        white-space: normal;
        color: #333;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .dropdown.open .dropdown-menu li:last-child a {
        border-bottom: none;
    }
}

/* Центральное меню */
nav {
    display: flex;
    justify-content: center;
    flex: 2;
    margin: 0 30px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 100%;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    padding: 8px 0;
    font-size: 15px;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Правая группа кнопок */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.download-btn, .access-btn, .web-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.web-btn {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.web-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 98, 115, 0.25);
}

.download-btn {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.download-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 98, 115, 0.25);
}

.access-btn {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.access-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 98, 115, 0.25);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
}

.mobile-menu-btn span {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 1200px) {
    nav ul { gap: 30px; }
}

@media (max-width: 1100px) {
    nav ul { gap: 20px; }
    nav ul li a { font-size: 14px; }
    .header-buttons { gap: 10px; }
    .download-btn, .access-btn, .web-btn {
        padding: 6px 15px;
        font-size: 13px;
        min-height: 36px;
    }
}

@media (max-width: 900px) {
    nav ul { gap: 15px; }
    nav ul li a { font-size: 13px; }
    .download-btn, .access-btn, .web-btn {
        padding: 5px 12px;
        font-size: 12px;
        min-height: 32px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .header-left { width: auto; }
    .logo { font-size: 1.2rem; }
    .logo span:last-child {
        display: inline;
        margin-left: 8px;
        font-size: 1rem;
    }
    .logo img { margin-right: 10px; }
    .mobile-menu-btn { display: flex; }
    
    nav {
        display: none;
        width: 100%;
        margin: 15px 0 0;
        flex: none;
        order: 3;
    }
    
    nav.active { display: block; }
    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    nav ul li {
        width: 100%;
        text-align: center;
    }
    nav ul li a {
        display: block;
        padding: 12px;
        width: 100%;
        font-size: 15px;
    }
    nav ul li a::after { display: none; }
    
    .header-buttons {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 10px;
        gap: 10px;
        order: 4;
    }
    .header-buttons.active { display: flex; }
    .download-btn, .access-btn, .web-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 14px;
        min-height: 44px;
    }
}

/* ============================================================ */
/* БЛОК 3: HERO SECTION (ГЛАВНЫЙ ЭКРАН)                         */
/* ============================================================ */

.hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #03045e 0%, #0096c7 100%);
    color: var(--white);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.hero-shape-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.hero-shape-2 { width: 500px; height: 500px; bottom: -200px; right: -100px; }
.hero-shape-3 { width: 200px; height: 200px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
}

.hero-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.row-top { margin-bottom: 80px; }
.row-bottom { margin-bottom: 0; }

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-image-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-actions-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.5;
    max-width: 600px;
}

.hero-features {
    margin-bottom: 20px;
    width: 100%;
    max-width: 500px;
}

.hero-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
    width: 100%;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-right: 15px;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.version-block {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.hero-version-label {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-version-label.desktop-label {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-version-label.web-label {
    background: rgba(0, 150, 199, 0.3);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.app-showcase {
    position: relative;
    margin-bottom: 20px;
    background: transparent;
    border: none;
    padding: 0;
}

.app-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    transition: all 0.5s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.app-image:hover {
    transform: scale(1.02);
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 10px 16px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
}

.floating-badge-desktop-1 { top: 15%; left: -30px; animation-delay: 0s; }
.floating-badge-desktop-2 { top: 40%; right: -40px; animation-delay: 1s; }
.floating-badge-desktop-3 { bottom: 20%; left: -20px; animation-delay: 2s; }
.floating-badge-web-1 { top: 20%; right: -30px; animation-delay: 0.5s; }
.floating-badge-web-2 { bottom: 30%; left: -30px; animation-delay: 1.5s; }
.floating-badge-web-3 { top: 50%; right: -20px; animation-delay: 2.5s; }

.floating-badge img {
    width: 20px;
    height: 20px;
}

.version-info {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.version-badge, .os-badge {
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 320px;
    margin-bottom: 20px;
    align-items: center;
}

.hero-btn-white {
    background: rgba(255, 255, 255, 0.95);
    color: #03045e;
    padding: 16px 30px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 60px;
}

.hero-btn-white:hover {
    background: #0096c7;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 150, 199, 0.3);
    border-color: #0096c7;
}

.action-note {
    text-align: center;
    width: 100%;
    max-width: 320px;
}

.action-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-style: italic;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

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

@media (max-width: 992px) {
    .hero-row { flex-direction: column; text-align: center; }
    .row-top { flex-direction: column; margin-bottom: 60px; }
    .row-top .hero-text { order: 1; }
    .row-top .hero-image-col { order: 2; }
    .row-bottom .hero-image-col { order: 1; }
    .row-bottom .hero-actions-col { order: 2; }
    
    .hero-text { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
    .hero-feature { justify-content: center; width: 100%; max-width: 450px; }
    .hero-image-col { width: 100%; display: flex; justify-content: center; }
    .hero-actions-col { align-items: center; width: 100%; display: flex; flex-direction: column; align-items: center; }
    .hero-actions-vertical { max-width: 350px; width: 100%; align-items: center; }
    .hero-btn-white { width: 100%; text-align: center; }
    .floating-badge { display: flex; font-size: 0.85rem; padding: 8px 14px; }
    .floating-badge-desktop-1 { left: -15px; }
    .floating-badge-desktop-2 { right: -20px; }
    .floating-badge-web-1 { right: -15px; }
    .floating-badge-web-2 { left: -15px; }
}

@media (max-width: 768px) {
    .hero { padding: 100px 15px 80px; min-height: auto; }
    .row-top .hero-text { order: 1; }
    .row-top .hero-image-col { order: 2; }
    .hero-text h1 { font-size: 2rem; margin-bottom: 15px; padding: 0 10px; }
    .hero-subtitle { font-size: 1.1rem; margin-bottom: 30px; padding: 0 10px; }
    .hero-feature { font-size: 0.95rem; margin-bottom: 15px; padding: 0 10px; }
    .feature-icon { width: 50px; height: 50px; margin-right: 12px; }
    .feature-icon img { width: 30px; height: 30px; }
    .hero-version-label { font-size: 0.9rem; padding: 6px 16px; margin-bottom: 15px; }
    .app-image { max-width: 380px; }
    .floating-badge { display: none; }
    .version-info { flex-direction: column; gap: 8px; align-items: center; }
    .version-badge, .os-badge { width: fit-content; font-size: 0.8rem; padding: 4px 12px; }
    .hero-actions-vertical { max-width: 300px; gap: 15px; }
    .hero-btn-white { padding: 14px 25px; font-size: 1rem; min-height: 55px; }
    .action-note p { font-size: 0.9rem; }
    .row-top { margin-bottom: 50px; }
    .scroll-indicator { bottom: 20px; }
    .scroll-arrow { width: 25px; height: 25px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); }
}

@media (min-width: 993px) {
    .hero-text { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
    .hero-text h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); max-width: 600px; text-align: center; }
    .hero-subtitle { font-size: 1.4rem; margin-bottom: 40px; opacity: 0.95; line-height: 1.5; max-width: 600px; text-align: center; }
    .hero-features { margin-bottom: 20px; width: 100%; max-width: 500px; align-self: flex-start; }
    .hero-feature { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 20px; font-size: 1.1rem; opacity: 0.9; width: 100%; text-align: left; }
    .hero-actions-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
}

/* ===== КЛИКАБЕЛЬНЫЕ ССЫЛКИ В HERO ===== */
.hero-feature-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.hero-feature-link:hover {
    color: #ffffff;
    text-decoration: none;
}

/* ============================================================ */
/* БЛОК 4: ACCESS FORM (ФОРМА ПОЛУЧЕНИЯ ДОСТУПА)               */
/* ============================================================ */

.access-form-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding-top: 80px;
    box-sizing: border-box;
}

.access-form-container.show {
    display: flex;
    opacity: 1;
}

.access-form {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    width: 95%;
    max-width: 700px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    margin: 0 auto;
}

.form-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.form-close:hover {
    color: var(--primary-color);
    background: #f5f5f5;
}

.form-title {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.tariff-selection { margin-bottom: 15px; }
.tariff-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}
.tariff-option { cursor: pointer; }
.tariff-option input[type="radio"] { display: none; }
.tariff-card {
    padding: 15px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}
.tariff-option input[type="radio"]:checked + .tariff-card {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #f8fdff 0%, #f0f9ff 100%);
    box-shadow: 0 5px 15px rgba(92, 158, 173, 0.2);
    transform: translateY(-2px);
}
.tariff-name { font-weight: 700; color: var(--primary-color); margin-bottom: 6px; font-size: 1.3rem; line-height: 1.2; }
.tariff-price { font-size: 1.5rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 3px; line-height: 1.1; }
.tariff-period { color: #666; font-size: 0.9rem; margin-bottom: 7px; font-weight: 500; line-height: 1.2; }
.tariff-desc { color: #666; font-size: 0.85rem; line-height: 1.3; font-weight: 500; }
.tariff-features-link { text-align: center; margin: 8px 0 18px 0; font-size: 0.85rem; }
.tariff-features-link a { color: #666; text-decoration: none; border-bottom: 1px dashed #999; transition: all 0.3s ease; }
.tariff-features-link a:hover { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; color: #555; font-size: 1rem; }
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    margin-bottom: 5px;
    background: #fafafa;
}
.form-input:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(92, 158, 173, 0.2);
    background: white;
}
.form-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #5C9EAD;
}
.radio-group { display: flex; flex-direction: column; gap: 12px; }
.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 16px !important;
    line-height: 1.4;
}
.radio-option:hover { border-color: #5C9EAD; background: #f0f8fa; }
.radio-option input[type="radio"] { display: none; }
.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #5C9EAD;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
}
.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #5C9EAD;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.documents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 5px 0;
    font-size: 16px !important;
    line-height: 1.4;
}
.checkbox-option input[type="checkbox"] { display: none; }
.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #5C9EAD;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
}
.checkbox-option input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #5C9EAD;
    font-weight: bold;
    font-size: 16px;
}
textarea.form-input { min-height: 100px; resize: vertical; font-family: inherit; }
.form-note { margin-top: 15px; font-size: 0.9rem; color: #666; text-align: center; line-height: 1.4; }
.form-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.form-submit:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 98, 115, 0.4);
}
.form-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
}
.form-message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

@media (max-width: 768px) {
    .access-form-container { padding-top: 70px; padding-left: 15px; padding-right: 15px; }
    .access-form { max-width: 100%; padding: 25px 20px; max-height: calc(100vh - 85px); }
    .form-title { font-size: 1.5rem; margin-bottom: 20px; }
    .tariff-options { grid-template-columns: 1fr; gap: 12px; }
    .tariff-card { min-height: 110px; padding: 18px 12px; }
    .tariff-name { font-size: 1.2rem; }
    .tariff-price { font-size: 1.3rem; }
    .form-close { top: 10px; right: 15px; font-size: 24px; width: 35px; height: 35px; }
    .documents-grid { grid-template-columns: 1fr; }
    .form-section { padding: 15px; }
}

@media (max-width: 480px) {
    .access-form-container { padding-top: 60px; padding-left: 10px; padding-right: 10px; }
    .access-form { padding: 20px 15px; max-height: calc(100vh - 70px); border-radius: 12px; }
    .form-title { font-size: 1.3rem; margin-bottom: 15px; }
    .tariff-card { min-height: 100px; padding: 15px 10px; }
    .tariff-name { font-size: 1.1rem; }
    .tariff-price { font-size: 1.2rem; }
    .tariff-desc { font-size: 0.8rem; }
    .form-input { padding: 12px 14px; }
    .form-submit { padding: 14px; font-size: 1rem; }
    .form-close { top: 8px; right: 12px; font-size: 20px; width: 30px; height: 30px; }
}

/* ============================================================ */
/* СЕКЦИЯ: О СЕРВИСЕ (ОБЪЕДИНЕННАЯ ТЕМНАЯ КАРТОЧКА)            */
/* ============================================================ */

.about-section {
    padding: var(--section-padding) 0;
    background: #ffffff;
}

.about-section .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ОБЩАЯ ТЕМНАЯ КАРТОЧКА ===== */

.about-main-card {
    background: linear-gradient(145deg, #0d1b2a 0%, #1b3a5c 100%);
    border-radius: 24px;
    padding: 40px 45px 35px;
    box-shadow: 0 8px 40px rgba(13, 27, 42, 0.3);
}

.about-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 30px 0;
    letter-spacing: -0.3px;
}

/* ===== ДЛЯ КОГО — СВЕТЛАЯ КАРТОЧКА ===== */

.about-for-whom {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 20px 24px 22px 24px;
    margin-bottom: 35px;
    border: 2px solid rgba(34, 166, 90, 0.25);
    box-shadow: 0 4px 25px rgba(34, 166, 90, 0.10);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-for-whom:hover {
    border-color: rgba(34, 166, 90, 0.5);
    box-shadow: 0 6px 35px rgba(34, 166, 90, 0.18);
}

.about-for-whom__badge-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.about-for-whom__badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 0.3px;
    padding: 3px 16px;
    border-radius: 30px;
    background: rgba(34, 166, 90, 0.15);
    color: #22a65a;
    border: 1px solid rgba(34, 166, 90, 0.2);
}

.about-for-whom__badge::first-letter {
    text-transform: uppercase;
}

.about-for-whom__header {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.about-for-whom__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a2a3a;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.2px;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.about-for-whom__title::before,
.about-for-whom__title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1.5px;
    background: rgba(34, 166, 90, 0.2);
}

.about-for-whom__title::before {
    left: -30px;
}

.about-for-whom__title::after {
    right: -30px;
}

.about-for-whom__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-for-whom__item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(34, 166, 90, 0.04);
    padding: 10px 20px 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(34, 166, 90, 0.08);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-for-whom__item:hover {
    background: rgba(34, 166, 90, 0.08);
    border-color: rgba(34, 166, 90, 0.2);
    box-shadow: 0 4px 15px rgba(34, 166, 90, 0.08);
}

.about-for-whom__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: linear-gradient(135deg, #22a65a, #1a8a4a);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.7rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(34, 166, 90, 0.25);
}

.about-for-whom__text {
    font-size: 0.9rem;
    color: #2a3a4a;
    line-height: 1.3;
    font-weight: 500;
}

/* ===== ШАПКИ БЛОКОВ "ЧТО УМЕЕТ" ===== */

.about-block-header {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px 14px 0 0;
    padding: 14px 24px 30px 24px;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: none;
}

.about-block-header__top {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 6px;
}

.about-block-header__badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 0.3px;
    padding: 3px 16px;
    border-radius: 30px;
    background: rgba(34, 166, 90, 0.15);
    color: #22a65a;
    border: 1px solid rgba(34, 166, 90, 0.2);
}

.about-block-header__badge::first-letter {
    text-transform: uppercase;
}

.about-block-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.2px;
    text-align: center;
}

/* ===== ВИДЕО-БЛОКИ ===== */

.video-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 35px 30px 25px 30px;
    margin: 0 0 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.video-card--last {
    margin-bottom: 0;
}

.video-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ===== ВИДЕО-РЯДЫ ===== */

.video-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 45px;
    padding: 0 5px;
    padding-bottom: 50px;
    margin-bottom: 30px;
    border-bottom: 2px dashed rgba(50, 98, 115, 0.12);
}

.video-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.video-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* ===== КОЛОНКА С ВИДЕО ===== */

.video-col-video {
    flex: 1 1 55%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== КОЛОНКА С ТЕКСТОМ ===== */

.video-col-text {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 5px;
    width: 100%;
}

/* ===== БЕЙДЖИ: ДЕСКТОП — СПРАВА, ВЕБ — СЛЕВА ===== */

.video-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 14px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    text-transform: none;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.7);
    color: #326273;
    border: 1.5px solid #326273;
}

.desktop-badge {
    align-self: flex-end;
}

.web-badge {
    align-self: flex-start;
}

/* ===== ТЕКСТ В КОЛОНКЕ ===== */

.video-text {
    width: 100%;
    max-width: 500px;
}

.video-text p {
    font-size: 1rem;
    color: #3a4a5a;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: left;
}

/* ===== КНОПКА "СМОТРЕТЬ НА RUTUBE" ===== */

.video-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #326273;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 24px;
    border: 1.5px solid #326273;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.7);
    margin-top: 14px;
    width: auto;
    align-self: center;
    white-space: nowrap;
}

.video-link:hover {
    color: #5C9EAD;
    gap: 14px;
    border-color: #5C9EAD;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(50, 98, 115, 0.15);
}

/* ===== ВИДЕО-ПЛЕЙСХОЛДЕР ===== */

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    background: #0a0a1a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #0a0a1a;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    z-index: 2;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    pointer-events: none;
}

.video-wrapper video[data-loaded="true"] ~ .video-placeholder {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-placeholder-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #5C9EAD;
    border-radius: 50%;
    animation: videoSpinner 0.9s linear infinite;
    margin-bottom: 12px;
}

@keyframes videoSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.video-placeholder-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ============================================================ */
/* АДАПТИВНОСТЬ ДЛЯ СЕКЦИИ "О СЕРВИСЕ"                          */
/* ============================================================ */

@media (max-width: 1024px) {
    .about-main-card {
        padding: 30px 30px 28px;
        border-radius: 20px;
    }

    .about-main-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .video-card {
        padding: 30px 25px 20px 25px;
    }

    .video-row {
        gap: 35px;
        padding-bottom: 40px;
    }
}

@media (max-width: 992px) {
    .about-main-card {
        padding: 30px 25px 25px;
        border-radius: 20px;
    }

    .about-main-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .about-for-whom {
        padding: 16px 20px 20px 20px;
    }

    .about-for-whom__items {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .about-for-whom__item {
        justify-content: flex-start;
        padding: 10px 16px;
    }

    .about-for-whom__text {
        font-size: 0.85rem;
    }

    .about-block-header {
        padding: 12px 18px 14px 18px;
    }

    .about-block-title {
        font-size: 0.95rem;
    }

    .video-card {
        padding: 30px 20px 20px 20px;
        margin: 0 0 25px 0;
        border-radius: 0 0 16px 16px;
    }

    .video-row {
        flex-direction: column !important;
        gap: 20px;
        padding-bottom: 25px;
        margin-bottom: 25px;
        align-items: center;
    }

    .video-row:nth-child(even) {
        flex-direction: column !important;
    }

    .video-col-video {
        flex: 1 1 100%;
        width: 100%;
    }

    .video-col-text {
        flex: 1 1 100%;
        width: 100%;
        align-items: center;
        padding-top: 0;
    }

    .desktop-badge,
    .web-badge {
        align-self: center;
    }

    .video-text {
        max-width: 100%;
    }

    .video-text p {
        font-size: 0.95rem;
        text-align: center;
    }

    .video-link {
        align-self: center;
    }

    .video-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-section .container {
        padding: 0 12px;
    }

    .about-main-card {
        padding: 20px 16px 20px;
        border-radius: 16px;
    }

    .about-main-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .about-for-whom {
        padding: 14px 16px 16px 16px;
        border-width: 1.5px;
        border-radius: 14px;
        margin-bottom: 25px;
    }

    .about-for-whom__badge {
        font-size: 0.6rem;
        padding: 2px 14px;
    }

    .about-for-whom__badge-wrap {
        margin-bottom: 6px;
    }

    .about-for-whom__header {
        margin-bottom: 12px;
    }

    .about-for-whom__title {
        font-size: 0.95rem;
        padding: 0 14px;
    }

    .about-for-whom__title::before,
    .about-for-whom__title::after {
        width: 15px;
    }

    .about-for-whom__title::before {
        left: -14px;
    }

    .about-for-whom__title::after {
        right: -14px;
    }

    .about-for-whom__item {
        padding: 10px 14px;
        gap: 10px;
        border-radius: 10px;
    }

    .about-for-whom__text {
        font-size: 0.82rem;
    }

    .about-for-whom__number {
        width: 20px;
        height: 20px;
        min-width: 20px;
        font-size: 0.65rem;
    }

    .about-block-header {
        padding: 10px 14px 12px 14px;
        border-radius: 12px 12px 0 0;
    }

    .about-block-header__badge {
        font-size: 0.6rem;
        padding: 2px 14px;
    }

    .about-block-header__top {
        margin-bottom: 4px;
    }

    .about-block-title {
        font-size: 0.9rem;
    }

    .video-card {
        padding: 25px 14px 16px 14px;
        border-radius: 0 0 14px 14px;
        margin: 0 0 18px 0;
    }

    .video-row {
        gap: 16px;
        padding-bottom: 20px;
        margin-bottom: 20px;
        padding: 0 2px 20px 2px;
    }

    .video-wrapper {
        border-radius: 12px;
    }

    .video-text p {
        font-size: 0.88rem;
        line-height: 1.6;
        text-align: center;
    }

    .video-link {
        font-size: 0.8rem;
        padding: 6px 18px;
        margin-top: 10px;
        width: 100%;
        max-width: 280px;
    }

    .video-badge {
        font-size: 0.55rem;
        padding: 2px 12px;
        margin-bottom: 10px;
        border-width: 1.5px;
    }

    .video-placeholder-spinner {
        width: 32px;
        height: 32px;
        border-width: 2.5px;
        margin-bottom: 8px;
    }

    .video-placeholder-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .about-section .container {
        padding: 0 8px;
    }

    .about-main-card {
        padding: 16px 10px 16px;
        border-radius: 14px;
    }

    .about-main-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .about-for-whom {
        padding: 12px 10px 14px 10px;
        border-width: 1.5px;
        border-radius: 12px;
        margin-bottom: 18px;
    }

    .about-for-whom__badge {
        font-size: 0.55rem;
        padding: 2px 12px;
    }

    .about-for-whom__badge-wrap {
        margin-bottom: 4px;
    }

    .about-for-whom__header {
        margin-bottom: 10px;
    }

    .about-for-whom__title {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .about-for-whom__title::before,
    .about-for-whom__title::after {
        width: 10px;
    }

    .about-for-whom__title::before {
        left: -10px;
    }

    .about-for-whom__title::after {
        right: -10px;
    }

    .about-for-whom__items {
        gap: 8px;
    }

    .about-for-whom__item {
        padding: 8px 12px;
        gap: 8px;
        border-radius: 8px;
        flex-wrap: wrap;
    }

    .about-for-whom__text {
        font-size: 0.76rem;
        line-height: 1.3;
    }

    .about-for-whom__number {
        width: 18px;
        height: 18px;
        min-width: 18px;
        font-size: 0.55rem;
    }

    .about-block-header {
        padding: 8px 12px 10px 12px;
        border-radius: 10px 10px 0 0;
    }

    .about-block-header__badge {
        font-size: 0.55rem;
        padding: 2px 12px;
    }

    .about-block-title {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .video-card {
        padding: 18px 10px 14px 10px;
        border-radius: 0 0 12px 12px;
        margin: 0 0 14px 0;
    }

    .video-row {
        gap: 12px;
        padding-bottom: 16px;
        margin-bottom: 16px;
        padding: 0 1px 16px 1px;
    }

    .video-wrapper {
        border-radius: 10px;
    }

    .video-text p {
        font-size: 0.8rem;
        line-height: 1.5;
        text-align: center;
    }

    .video-link {
        font-size: 0.72rem;
        padding: 5px 14px;
        border-width: 1.5px;
        margin-top: 8px;
        width: 100%;
        justify-content: center;
        max-width: 100%;
    }

    .video-badge {
        font-size: 0.5rem;
        padding: 1px 10px;
        margin-bottom: 8px;
        border-width: 1.5px;
    }

    .video-placeholder-spinner {
        width: 24px;
        height: 24px;
        border-width: 2px;
        margin-bottom: 6px;
    }

    .video-placeholder-text {
        font-size: 0.6rem;
    }
}

@media (max-width: 400px) {
    .about-main-title {
        font-size: 1rem;
    }

    .about-for-whom__title {
        font-size: 0.78rem;
        padding: 0 8px;
    }

    .about-for-whom__title::before,
    .about-for-whom__title::after {
        width: 8px;
    }

    .about-for-whom__title::before {
        left: -8px;
    }

    .about-for-whom__title::after {
        right: -8px;
    }

    .about-for-whom__text {
        font-size: 0.7rem;
    }

    .about-block-title {
        font-size: 0.75rem;
    }

    .video-text p {
        font-size: 0.75rem;
    }

    .video-link {
        font-size: 0.68rem;
        padding: 4px 12px;
    }

    .video-badge {
        font-size: 0.45rem;
        padding: 1px 8px;
        margin-bottom: 6px;
    }
}

/* ============================================================ */
/* БЛОК: FIPS PREMIUM (ГОСУДАРСТВЕННАЯ РЕГИСТРАЦИЯ)            */
/* ============================================================ */

.fips-premium {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.fips-premium::before,
.fips-premium::after {
    display: none;
}

.fips-premium-card {
    display: flex;
    align-items: stretch;
    background: #0d1b2a;
    border-radius: 24px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 2;
    min-height: 380px;
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(13, 27, 42, 0.3);
}

.fips-premium-left {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    background: rgba(201, 168, 76, 0.06);
    border-right: 1px solid rgba(201, 168, 76, 0.12);
}

.fips-emblem {
    margin-bottom: 24px;
    position: relative;
}

.fips-emblem svg {
    display: block;
    width: 80px;
    height: 80px;
}

.fips-emblem::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.fips-reg-number {
    text-align: center;
}

.fips-reg-number .reg-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 6px;
    font-weight: 500;
}

.fips-reg-number .reg-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #C9A84C;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
}

.fips-reg-number .reg-date {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    font-weight: 300;
}

.fips-premium-right {
    flex: 1;
    padding: 48px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== ЗАГОЛОВОК ПО ЦЕНТРУ ===== */
.fips-premium-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.3px;
    text-align: center;
}

/* ===== ОПИСАНИЕ — ПО ЛЕВОМУ КРАЮ ===== */
.fips-premium-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 560px;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.fips-premium-desc strong {
    color: #ffffff;
    font-weight: 600;
}

.fips-premium-desc .highlight {
    color: #C9A84C;
    font-weight: 500;
}

/* ===== СПИСОК — ПО ЛЕВОМУ КРАЮ ===== */
.fips-premium-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.fips-premium-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C9A84C;
    flex-shrink: 0;
    opacity: 0.6;
}

.feature-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

/* ===== КНОПКА ПО ЦЕНТРУ ===== */
.fips-premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: #C9A84C;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    transition: all 0.35s ease;
    width: fit-content;
    font-family: inherit;
    cursor: pointer;
    margin: 0 auto;
}

.fips-premium-btn:hover {
    background: #C9A84C;
    color: #0a1628;
    border-color: #C9A84C;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.2);
}

.fips-premium-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.fips-premium-btn:hover svg {
    transform: translateX(4px);
}

/* ===== АДАПТИВНОСТЬ FIPS PREMIUM ===== */
@media (max-width: 992px) {
    .fips-premium-card {
        flex-direction: column;
        min-height: auto;
        border-radius: 20px;
    }

    .fips-premium-left {
        flex: none;
        width: 100%;
        padding: 30px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(201, 168, 76, 0.12);
        flex-direction: row;
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .fips-emblem {
        margin-bottom: 0;
    }

    .fips-emblem::after {
        display: none;
    }

    .fips-reg-number {
        text-align: left;
    }

    .fips-reg-number .reg-number {
        font-size: 1.5rem;
    }

    .fips-premium-right {
        padding: 32px 30px;
    }

    .fips-premium-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .fips-premium-btn {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .fips-premium-left {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px 16px;
    }

    .fips-premium-right {
        padding: 24px 18px;
    }

    .fips-premium-title {
        font-size: 1.25rem;
        text-align: center;
    }

    .fips-premium-desc {
        font-size: 0.95rem;
        text-align: left;
    }

    .fips-premium-feature {
        gap: 10px;
    }

    .feature-text {
        font-size: 0.9rem;
    }

    .fips-premium-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
        margin: 0 auto;
    }

    .fips-reg-number .reg-number {
        font-size: 1.3rem;
    }

    .fips-emblem svg {
        width: 60px;
        height: 60px;
    }
}

/* ============================================================ */
/* РАЗДЕЛ: ВОЗМОЖНОСТИ СЕРВИСА                                 */
/* ============================================================ */

.features-section {
    padding: var(--section-padding) 0;
    background: #ffffff;
}

/* ===== ОДНА БОЛЬШАЯ КАРТОЧКА С ТЕМНЫМ СИНИМ ФОНОМ ===== */
.features-main-card {
    background: #122a44;
    border-radius: 24px;
    padding: 40px 50px 40px;
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(18, 42, 68, 0.3);
}

.features-main-card .features-header {
    text-align: center;
    margin-bottom: 40px;
}

.features-main-card .features-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.features-main-card .features-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== СЕТКА ===== */
.features-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.features-row-three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.features-row-complex {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.features-col-small {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* ===== КАРТОЧКИ ===== */
.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 22px 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card-large {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 26px 28px 24px;
}

.feature-card-small {
    padding: 18px 20px 16px;
}

.feature-card-small .feature-icon img {
    width: 28px;
    height: 28px;
}

.feature-card-small .feature-card-desc {
    font-size: 0.88rem;
    line-height: 1.5;
}

.feature-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.feature-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.feature-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0;
    letter-spacing: -0.2px;
}

.feature-card-desc {
    font-size: 0.92rem;
    color: #4a5a6a;
    line-height: 1.6;
    margin: 0;
}

.feature-card-large .feature-card-desc {
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 0;
}

.feature-list li {
    padding: 4px 0 4px 22px;
    font-size: 0.95rem;
    color: #3a4a5a;
    position: relative;
    line-height: 1.5;
}

.feature-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #326273;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .features-main-card {
        padding: 35px 30px 30px;
        border-radius: 20px;
    }

    .features-main-card .features-title {
        font-size: 2rem;
    }

    .features-main-card .features-subtitle {
        font-size: 1rem;
    }

    .features-row-two,
    .features-row-three,
    .features-row-complex {
        grid-template-columns: 1fr;
    }

    .features-col-small {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card-large {
        order: 1;
    }

    .features-col-small {
        order: 2;
    }
}

@media (max-width: 768px) {
    .features-main-card {
        padding: 25px 18px 20px;
        border-radius: 16px;
    }

    .features-main-card .features-title {
        font-size: 1.5rem;
    }

    .features-main-card .features-subtitle {
        font-size: 0.92rem;
    }

    .features-main-card .features-header {
        margin-bottom: 25px;
    }

    .features-row-two,
    .features-row-three {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .features-row-complex {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .features-col-small {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .feature-card {
        padding: 18px 16px 16px;
        border-radius: 14px;
    }

    .feature-card-large {
        padding: 20px 18px 18px;
    }

    .feature-card-small {
        padding: 14px 14px 12px;
    }

    .feature-card-top {
        gap: 10px;
        margin-bottom: 6px;
    }

    .feature-card-title {
        font-size: 1rem;
    }

    .feature-card-desc {
        font-size: 0.88rem;
    }

    .feature-card-large .feature-card-desc {
        font-size: 0.92rem;
    }

    .feature-card-small .feature-card-desc {
        font-size: 0.82rem;
    }

    .feature-icon img {
        width: 32px;
        height: 32px;
    }

    .feature-card-small .feature-icon img {
        width: 24px;
        height: 24px;
    }

    .feature-list li {
        font-size: 0.88rem;
        padding: 3px 0 3px 18px;
    }
}

@media (max-width: 480px) {
    .features-main-card {
        padding: 20px 14px 16px;
        border-radius: 14px;
    }

    .features-main-card .features-title {
        font-size: 1.2rem;
    }

    .features-main-card .features-subtitle {
        font-size: 0.85rem;
    }

    .features-main-card .features-header {
        margin-bottom: 18px;
    }

    .features-row-two,
    .features-row-three,
    .features-row-complex {
        gap: 12px;
    }

    .features-col-small {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 14px 14px 12px;
        border-radius: 12px;
    }

    .feature-card-large {
        padding: 16px 14px 14px;
    }

    .feature-card-small {
        padding: 12px 12px 10px;
    }

    .feature-card-top {
        gap: 8px;
        margin-bottom: 4px;
    }

    .feature-card-title {
        font-size: 0.92rem;
    }

    .feature-card-desc {
        font-size: 0.82rem;
    }

    .feature-card-large .feature-card-desc {
        font-size: 0.88rem;
    }

    .feature-card-small .feature-card-desc {
        font-size: 0.78rem;
    }

    .feature-icon img {
        width: 28px;
        height: 28px;
    }

    .feature-card-small .feature-icon img {
        width: 22px;
        height: 22px;
    }

    .feature-list li {
        font-size: 0.82rem;
        padding: 2px 0 2px 16px;
    }
}

/* ============================================================ */
/* РАЗДЕЛ: ИНТЕРФЕЙС                                            */
/* ============================================================ */

.interface-section {
    padding: var(--section-padding) 0;
    background: transparent;
}

.interface-main-card {
    background: linear-gradient(145deg, #0d1b2a 0%, #1b3a5c 100%);
    border-radius: 24px;
    padding: 40px 40px 30px;
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(13, 27, 42, 0.3);
}

.interface-main-card__header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.interface-main-card__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: -0.3px;
}

.interface-main-card__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* ===== КАРТОЧКИ ===== */
.interface-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.interface-card:last-child {
    margin-bottom: 0;
}

.interface-card__body {
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding: 24px 28px 28px 28px;
    align-items: flex-start;
}

.interface-card__text {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding-top: 0;
}

.interface-card--desktop .interface-card__text {
    align-items: flex-end;
}

.interface-card--web .interface-card__text {
    align-items: flex-start;
}

.interface-card__badge-top {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    text-transform: none;
    background: rgba(50, 98, 115, 0.08);
    color: #326273;
    border: 1.5px solid #326273;
    margin-bottom: 6px;
}

.interface-card__text-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2a3a;
    letter-spacing: -0.2px;
    text-align: center;
    width: 100%;
}

.interface-card__text-desc {
    font-size: 0.95rem;
    color: #5a6a7a;
    line-height: 1.7;
    text-align: left;
    width: 100%;
}

.interface-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: transparent;
    color: #326273;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
    border: 1.5px solid #326273;
    cursor: pointer;
    margin-top: 8px;
    align-self: center;
    width: 100%;
    max-width: 280px;
}

.interface-card__btn:hover {
    background: #326273;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(50, 98, 115, 0.3);
}

.interface-card__btn--web {
    color: #326273;
    border-color: #326273;
}

.interface-card__btn--web:hover {
    background: #326273;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(50, 98, 115, 0.3);
}

/* ===== КАРУСЕЛЬ ===== */
.interface-carousel-wrap {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.interface-carousel__main {
    background: #f8f8fc;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef0f5;
    cursor: pointer;
    width: 100%;
    overflow: hidden;
}

.interface-carousel__main:hover {
    border-color: #326273;
}

.interface-carousel__main img {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.interface-carousel__bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.interface-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0;
}

.interface-track__wrapper {
    display: flex;
    gap: 10px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    flex-wrap: nowrap;
}

.interface-track__img {
    flex-shrink: 0;
    flex-grow: 0;
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f0f0f5;
    transition: all 0.25s ease;
}

.interface-track__img:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.interface-track__img.active {
    border-color: #326273;
    box-shadow: 0 0 0 3px rgba(50, 98, 115, 0.2);
}

.interface-arr {
    background: transparent;
    border: 1.5px solid #326273;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #326273;
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.interface-arr:hover {
    background: #326273;
    color: #fff;
    transform: scale(1.08);
}

.interface-arr:active {
    transform: scale(0.95);
}

.interface-arr:disabled {
    opacity: 0.3 !important;
    cursor: default !important;
    transform: none !important;
    box-shadow: none !important;
}

.interface-arr:disabled:hover {
    background: transparent !important;
    color: #326273 !important;
    transform: none !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .interface-main-card {
        padding: 30px 24px 25px;
        border-radius: 20px;
    }

    .interface-main-card__title {
        font-size: 2rem;
    }

    .interface-card__body {
        gap: 30px;
        padding: 20px 24px 24px 24px;
    }

    .interface-track__img {
        width: 100px;
        height: 75px;
    }

    .interface-carousel__main {
        min-height: 280px;
    }

    .interface-carousel__main img {
        max-height: 280px;
    }
}

@media (max-width: 992px) {
    .interface-main-card {
        padding: 30px 20px 25px;
        border-radius: 20px;
    }

    .interface-main-card__title {
        font-size: 1.8rem;
    }

    .interface-card__body {
        flex-direction: column !important;
        padding: 16px 20px 20px 20px;
        gap: 24px;
        align-items: stretch !important;
    }

    .interface-card--desktop .interface-card__text {
        align-items: center !important;
    }

    .interface-card--web .interface-card__text {
        align-items: center !important;
    }

    .interface-card__text-title {
        text-align: center !important;
    }

    .interface-card__text-desc {
        text-align: center !important;
    }

    .interface-card__btn {
        align-self: center !important;
    }

    .interface-track__img {
        width: 90px !important;
        height: 68px !important;
        flex: 0 0 90px !important;
    }

    .interface-carousel__main {
        min-height: 250px;
    }

    .interface-carousel__main img {
        max-height: 250px;
    }

    .interface-arr {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .interface-section {
        padding: var(--section-padding-tablet) 0;
    }

    .interface-main-card {
        padding: 20px 15px 20px;
        border-radius: 16px;
    }

    .interface-main-card__title {
        font-size: 1.5rem;
    }

    .interface-main-card__subtitle {
        font-size: 0.9rem;
    }

    .interface-main-card__header {
        margin-bottom: 28px;
        padding-bottom: 18px;
    }

    .interface-card__body {
        padding: 12px 16px 16px 16px;
        gap: 18px;
    }

    .interface-carousel__main {
        min-height: 200px;
        padding: 12px;
    }

    .interface-carousel__main img {
        max-height: 200px;
    }

    .interface-track__img {
        width: 75px !important;
        height: 56px !important;
        flex: 0 0 75px !important;
    }

    .interface-arr {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .interface-card__text-title {
        font-size: 1.1rem;
    }

    .interface-card__text-desc {
        font-size: 0.88rem;
    }

    .interface-card__badge-top {
        font-size: 0.6rem;
        padding: 2px 12px;
    }
}

@media (max-width: 480px) {
    .interface-section {
        padding: var(--section-padding-mobile) 0;
    }

    .interface-main-card {
        padding: 15px 10px 15px;
        border-radius: 14px;
    }

    .interface-main-card__title {
        font-size: 1.2rem;
    }

    .interface-main-card__subtitle {
        font-size: 0.8rem;
    }

    .interface-main-card__header {
        margin-bottom: 20px;
        padding-bottom: 14px;
    }

    .interface-card__body {
        padding: 10px 12px 14px 12px;
        gap: 14px;
    }

    .interface-carousel__main {
        min-height: 160px;
        padding: 10px;
    }

    .interface-carousel__main img {
        max-height: 160px;
    }

    .interface-track__img {
        width: 60px !important;
        height: 45px !important;
        flex: 0 0 60px !important;
    }

    .interface-arr {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .interface-card__text-title {
        font-size: 1rem;
    }

    .interface-card__text-desc {
        font-size: 0.82rem;
    }

    .interface-card__badge-top {
        font-size: 0.55rem;
        padding: 2px 10px;
    }
}

/* ============================================================ */
/* РАЗДЕЛ: ИНСТРУКЦИИ                                           */
/* ============================================================ */

.instructions-section {
    padding: var(--section-padding) 0;
    background: transparent;
}

.instructions-main-card {
    background: linear-gradient(145deg, #0d1b2a 0%, #1b3a5c 100%);
    border-radius: 24px;
    padding: 40px 50px 40px;
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(13, 27, 42, 0.3);
}

.instructions-main-card__header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.instructions-main-card__title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.instructions-main-card__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.instructions-category {
    margin-bottom: 30px;
    padding: 20px 24px;
    border: 1.5px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    transition: border-color 0.3s ease;
}

.instructions-category:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.instructions-category__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    text-align: center;
}

.instructions-category__items {
    display: grid;
    gap: 14px;
}

.instructions-category__items--two {
    grid-template-columns: 1fr 1fr;
}

.instructions-category__items--three {
    grid-template-columns: 1fr 1fr 1fr;
}

.instructions-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.instructions-col {
    padding: 20px 24px;
    border: 1.5px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.instructions-col:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.instructions-col__title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 0.3px;
}

.instructions-full-width {
    padding: 20px 24px;
    border: 1.5px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    margin-bottom: 30px;
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instructions-full-width:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.instructions-full-width .instruction-card {
    max-width: 50%;
    width: 100%;
}

.instructions-full-width__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    text-align: center;
}

.instruction-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.instruction-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.instruction-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 4px;
}

.instruction-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(50, 98, 115, 0.1);
    color: #326273;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 1.5px solid #326273;
}

.instruction-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2a3a;
    margin: 0;
    letter-spacing: -0.2px;
}

.instruction-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.instruction-card__desc {
    font-size: 0.88rem;
    color: #4a5a6a;
    line-height: 1.5;
    margin: 0 0 12px 0;
    flex: 1;
}

.instruction-card__link {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #326273;
    padding: 6px 18px;
    border: 1.5px solid #326273;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: flex-start;
    margin-top: 4px;
    flex-shrink: 0;
}

.instruction-card__link:hover {
    background: #326273;
    color: #ffffff;
}

.instruction-card--highlight {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.instruction-card--highlight .instruction-card__number {
    display: none;
}

.instruction-card--highlight .instruction-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.instruction-card--highlight .instruction-card__title {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.instruction-card--highlight .instruction-card__desc {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
    flex: 1;
}

.instruction-card__link--white {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.instruction-card__link--white:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.instructions-highlight-block {
    margin-top: 10px;
    padding: 30px 30px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.instructions-highlight-block__header {
    margin-bottom: 18px;
}

.instructions-highlight-block__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

.instructions-highlight-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .instructions-main-card {
        padding: 35px 30px 30px;
        border-radius: 20px;
    }

    .instructions-main-card__title {
        font-size: 2rem;
    }

    .instructions-main-card__subtitle {
        font-size: 1rem;
    }

    .instructions-two-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .instructions-full-width .instruction-card {
        max-width: 100%;
    }

    .instructions-category__items--three {
        grid-template-columns: 1fr 1fr;
    }

    .instructions-highlight-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .instructions-section {
        padding: var(--section-padding-tablet) 0;
    }

    .instructions-main-card {
        padding: 25px 18px 20px;
        border-radius: 16px;
    }

    .instructions-main-card__title {
        font-size: 1.5rem;
    }

    .instructions-main-card__subtitle {
        font-size: 0.92rem;
    }

    .instructions-category {
        padding: 14px 14px;
        margin-bottom: 20px;
    }

    .instructions-col {
        padding: 14px 14px;
    }

    .instructions-full-width {
        padding: 14px 14px;
    }

    .instructions-two-col {
        gap: 16px;
    }

    .instructions-category__title {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .instructions-category__items--two,
    .instructions-category__items--three {
        grid-template-columns: 1fr;
    }

    .instruction-card {
        padding: 14px 16px;
    }

    .instruction-card__top {
        gap: 12px;
    }

    .instruction-card__number {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.75rem;
    }

    .instruction-card__title {
        font-size: 0.92rem;
    }

    .instruction-card__desc {
        font-size: 0.82rem;
    }

    .instruction-card__link {
        font-size: 0.78rem;
        padding: 4px 14px;
    }

    .instruction-card--highlight {
        padding: 16px 18px;
    }

    .instruction-card--highlight .instruction-card__title {
        font-size: 0.95rem;
    }

    .instruction-card--highlight .instruction-card__desc {
        font-size: 0.85rem;
    }

    .instructions-highlight-block {
        padding: 20px 18px 18px;
    }

    .instructions-highlight-items {
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .instructions-section {
        padding: var(--section-padding-mobile) 0;
    }

    .instructions-main-card {
        padding: 20px 14px 16px;
        border-radius: 14px;
    }

    .instructions-main-card__title {
        font-size: 1.2rem;
    }

    .instructions-main-card__subtitle {
        font-size: 0.85rem;
    }

    .instructions-category {
        padding: 12px 10px;
        margin-bottom: 16px;
    }

    .instructions-col {
        padding: 12px 10px;
    }

    .instructions-full-width {
        padding: 12px 10px;
    }

    .instructions-two-col {
        gap: 12px;
    }

    .instructions-category__title {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .instruction-card {
        padding: 12px 12px;
        border-radius: 12px;
    }

    .instruction-card__top {
        gap: 10px;
    }

    .instruction-card__number {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 0.7rem;
    }

    .instruction-card__title {
        font-size: 0.85rem;
    }

    .instruction-card__desc {
        font-size: 0.78rem;
        margin-bottom: 8px;
    }

    .instruction-card__link {
        font-size: 0.75rem;
        padding: 3px 12px;
    }

    .instruction-card--highlight {
        padding: 14px 14px;
    }

    .instruction-card--highlight .instruction-card__title {
        font-size: 0.88rem;
    }

    .instruction-card--highlight .instruction-card__desc {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .instructions-highlight-block {
        padding: 16px 14px 14px;
    }

    .instructions-highlight-items {
        gap: 10px;
    }
}

/* ============================================================ */
/* РАЗДЕЛ: ТАРИФЫ                                               */
/* ============================================================ */

.pricing-section {
    padding: var(--section-padding) 0;
    background: transparent;
}

.pricing-main-card {
    background: #e8edf3;
    border-radius: 24px;
    padding: 40px 40px 30px;
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.pricing-main-card__header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-main-card__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.pricing-main-card__subtitle {
    font-size: 1rem;
    color: #5a6a7a;
    margin: 0;
    line-height: 1.6;
}

.pricing-table-wrapper {
    overflow-x: auto;
    margin: 20px 0 15px;
    border-radius: 16px;
    border: 1px solid #d0d8e0;
    background: #ffffff;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    font-size: 0.9rem;
}

.pricing-table th {
    padding: 10px 8px;
    text-align: center;
    vertical-align: middle;
    font-weight: 600;
    border: 1px solid #d0d8e0;
}

.pricing-table thead tr:first-child th {
    background: #1a3a5c;
    color: white;
    padding: 12px 8px;
    font-size: 1rem;
    border: 1px solid #1a3a5c;
}

.pricing-table thead tr:first-child th:nth-child(1) {
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}
.pricing-table thead tr:first-child th:nth-child(2) {
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}
.pricing-table thead tr:first-child th:nth-child(3) {
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}
.pricing-table thead tr:first-child th:nth-child(4) {
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.pricing-table thead tr:first-child th:first-child {
    border-top-left-radius: 16px;
    border-left: none;
}

.pricing-table thead tr:first-child th:last-child {
    border-top-right-radius: 16px;
    border-right: none;
}

.feature-column {
    text-align: left !important;
    padding-left: 16px !important;
    padding-right: 8px !important;
    font-weight: 500;
    color: #1a2a3a;
    width: 35%;
    background: #fafcfd;
    border: 1px solid #d0d8e0;
    font-size: 0.9rem;
}

.plan-header {
    line-height: 1.1;
}

.plan-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: white;
}

.plan-duration {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.8);
}

.plan-price {
    font-size: 1rem;
    font-weight: 600;
    color: #ffd966;
}

.version-row th {
    background: #e2e8ef;
    color: #1a2a3a;
    padding: 6px 4px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid #d0d8e0;
}

.version-cell {
    text-align: center;
    width: 15%;
}

.version-cell.desktop {
    background: rgba(50, 98, 115, 0.06);
}

.version-cell.web {
    background: rgba(92, 158, 173, 0.06);
}

.pricing-table td {
    padding: 8px 6px;
    border: 1px solid #d0d8e0;
    text-align: center;
    transition: background-color 0.2s ease;
    font-size: 1rem;
}

.desktop-cell.check,
.web-cell.check {
    color: #22a65a;
    font-weight: 600;
}

.desktop-cell.cross,
.web-cell.cross {
    color: #dc3545;
    font-weight: 600;
}

.desktop-cell.dash,
.web-cell.dash {
    color: #b0b8c0;
    font-weight: 400;
}

.pricing-table tbody tr:hover td {
    background: #f0f5fa;
}

.table-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 15px 0 20px;
    padding: 8px 24px;
    background: #f8fafc;
    border-radius: 30px;
    border: 1px solid #d0d8e0;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #3a4a5a;
}

.legend-icon.check {
    color: #22a65a;
}
.legend-icon.dash {
    color: #b0b8c0;
}
.legend-icon.cross {
    color: #dc3545;
}

.pricing-bottom {
    display: flex;
    align-items: stretch;
    gap: 30px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-bottom__left {
    flex: 1.2;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(34, 166, 90, 0.08), rgba(34, 166, 90, 0.03));
    border-radius: 16px;
    border: 1px solid rgba(34, 166, 90, 0.12);
}

.pricing-bottom__trial {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    text-align: center;
}

.pricing-bottom__trial-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #5a6a7a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-bottom__trial-days {
    font-size: 1.8rem;
    font-weight: 800;
    color: #22a65a;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.pricing-bottom__trial-desc {
    font-size: 0.85rem;
    color: #4a5a6a;
    margin-top: 2px;
}

.pricing-bottom__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: #22a65a;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.pricing-bottom__btn:hover {
    background: #1a8a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 166, 90, 0.3);
}

.pricing-bottom__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.pricing-bottom__extra-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: transparent;
    color: #1a3a5c;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    border: 1.5px solid #1a3a5c;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.pricing-bottom__extra-btn:hover {
    background: #1a3a5c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 58, 92, 0.2);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .pricing-main-card {
        padding: 30px 20px 25px;
        border-radius: 20px;
    }

    .pricing-main-card__title {
        font-size: 1.8rem;
    }

    .pricing-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .pricing-bottom__left {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 16px;
    }

    .pricing-bottom__trial {
        align-items: center;
    }

    .pricing-bottom__trial-days {
        font-size: 2rem;
    }

    .pricing-bottom__btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-bottom__extra-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: var(--section-padding-tablet) 0;
    }

    .pricing-main-card {
        padding: 20px 15px 20px;
        border-radius: 16px;
    }

    .pricing-main-card__title {
        font-size: 1.5rem;
    }

    .pricing-main-card__subtitle {
        font-size: 0.9rem;
    }

    .pricing-table {
        font-size: 0.75rem;
        min-width: 600px;
    }

    .feature-column {
        font-size: 0.75rem;
        padding-left: 10px !important;
    }

    .pricing-table td {
        font-size: 0.85rem;
        padding: 4px 3px;
    }

    .plan-name {
        font-size: 0.95rem;
    }
    .plan-price {
        font-size: 0.85rem;
    }

    .table-legend {
        gap: 16px;
        padding: 6px 16px;
        font-size: 0.7rem;
        flex-wrap: wrap;
    }

    .pricing-bottom__left {
        padding: 20px;
    }

    .pricing-bottom__trial-days {
        font-size: 1.6rem;
    }

    .pricing-bottom__btn {
        font-size: 0.85rem;
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {
    .pricing-section {
        padding: var(--section-padding-mobile) 0;
    }

    .pricing-main-card {
        padding: 16px 10px 16px;
        border-radius: 14px;
    }

    .pricing-main-card__title {
        font-size: 1.2rem;
    }

    .pricing-main-card__subtitle {
        font-size: 0.85rem;
    }

    .pricing-table {
        font-size: 0.65rem;
        min-width: 480px;
    }

    .feature-column {
        font-size: 0.65rem;
        padding-left: 6px !important;
    }

    .pricing-table td {
        font-size: 0.75rem;
        padding: 3px 2px;
    }

    .plan-name {
        font-size: 0.8rem;
    }
    .plan-price {
        font-size: 0.75rem;
    }
    .plan-duration {
        font-size: 0.65rem;
    }

    .pricing-bottom__left {
        padding: 16px;
    }

    .pricing-bottom__trial-days {
        font-size: 1.3rem;
    }

    .pricing-bottom__trial-label {
        font-size: 0.65rem;
    }

    .pricing-bottom__trial-desc {
        font-size: 0.75rem;
    }

    .pricing-bottom__btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .pricing-bottom__extra-btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}

/* ============================================================ */
/* РАЗДЕЛ: НАЧНИТЕ РАБОТАТЬ (CTA)                               */
/* ============================================================ */

.cta-section {
    padding: var(--section-padding) 0;
    background: transparent;
}

.cta-main-card {
    background: linear-gradient(145deg, #0d1b2a 0%, #1b3a5c 100%);
    border-radius: 24px;
    padding: 40px 40px 30px;
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(13, 27, 42, 0.3);
}

.cta-main-card__header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-main-card__title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.cta-main-card__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.cta-row {
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.cta-row--top {
    margin-bottom: 30px;
}

.cta-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 24px 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cta-card:hover {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cta-card__number-wrap {
    display: flex;
    align-items: center;
    gap: 2px;
    position: absolute;
    top: 12px;
    left: 16px;
    background: rgba(50, 98, 115, 0.1);
    padding: 4px 16px 4px 12px;
    border-radius: 30px;
    border: 1px solid rgba(50, 98, 115, 0.15);
}

.cta-card__number-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #326273;
    text-transform: none;
    letter-spacing: 0.3px;
}

.cta-card__number {
    font-size: 0.85rem;
    font-weight: 700;
    color: #326273;
}

.cta-card__badge {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    text-transform: none;
    background: rgba(50, 98, 115, 0.08);
    color: #326273;
    border: 1.5px solid #326273;
}

.cta-card__badge--web {
    background: rgba(50, 98, 115, 0.08);
    color: #326273;
    border: 1.5px solid #326273;
}

.cta-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    margin-top: 16px;
    width: 100%;
    justify-content: center;
}

.cta-card__icon {
    flex-shrink: 0;
    margin-bottom: 0;
    margin-top: 0;
}

.cta-card__icon img {
    width: 56px;
    height: 56px;
    opacity: 1;
    filter: none;
}

.cta-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2a3a;
    margin: 0;
    text-align: left;
}

.cta-card__desc {
    font-size: 0.9rem;
    color: #5a6a7a;
    margin-bottom: 16px;
    flex: 1;
    width: 100%;
}

.cta-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    width: 100%;
    max-width: 220px;
    background: transparent;
    color: #326273;
    border: 1.5px solid #326273;
}

.cta-card__btn:hover {
    background: #326273;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(50, 98, 115, 0.3);
}

.cta-card__info {
    font-size: 0.7rem;
    color: #8a9aa8;
    margin-top: 10px;
    width: 100%;
}

.cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 6px;
    position: relative;
    min-width: 50px;
}

.cta-divider span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.12);
    padding: 4px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.cta-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.cta-row-full {
    margin-bottom: 16px;
}

.cta-row-full:last-of-type {
    margin-bottom: 0;
}

.cta-step-full {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 16px 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease;
    position: relative;
}

.cta-step-full:hover {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cta-step-full__number-wrap {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(50, 98, 115, 0.1);
    padding: 4px 16px 4px 12px;
    border-radius: 30px;
    border: 1px solid rgba(50, 98, 115, 0.15);
    flex-shrink: 0;
}

.cta-step-full__number-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #326273;
    text-transform: none;
    letter-spacing: 0.3px;
}

.cta-step-full__number {
    font-size: 0.85rem;
    font-weight: 700;
    color: #326273;
}

.cta-step-full__icon {
    flex-shrink: 0;
}

.cta-step-full__icon img {
    width: 48px;
    height: 48px;
    opacity: 1;
    filter: none;
}

.cta-step-full__text {
    flex: 1;
}

.cta-step-full__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2a3a;
    margin: 0;
}

.cta-step-full__desc {
    font-size: 0.85rem;
    color: #5a6a7a;
    margin: 0;
}

.cta-step-full__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 180px;
    background: transparent;
    color: #326273;
    border: 1.5px solid #326273;
}

.cta-step-full__btn:hover {
    background: #326273;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(50, 98, 115, 0.3);
}

.cta-step-full__btn--outline {
    background: transparent;
    color: #326273;
    border: 1.5px solid #326273;
}

.cta-step-full__btn--outline:hover {
    background: #326273;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(50, 98, 115, 0.3);
}

.cta-note {
    text-align: center;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-note p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    font-weight: 500;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .cta-main-card {
        padding: 30px 20px 25px;
        border-radius: 20px;
    }

    .cta-main-card__title {
        font-size: 1.6rem;
    }

    .cta-row {
        flex-direction: column;
        gap: 20px;
    }

    .cta-divider {
        min-width: auto;
        padding: 4px 0;
    }

    .cta-card__btn {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: var(--section-padding-tablet) 0;
    }

    .cta-main-card {
        padding: 20px 15px 20px;
        border-radius: 16px;
    }

    .cta-main-card__title {
        font-size: 1.3rem;
    }

    .cta-main-card__subtitle {
        font-size: 0.9rem;
    }

    .cta-row {
        gap: 16px;
    }

    .cta-card {
        padding: 18px 16px 16px;
    }

    .cta-card__number-wrap {
        top: 10px;
        left: 12px;
        padding: 3px 14px 3px 10px;
    }

    .cta-card__number-label {
        font-size: 0.75rem;
    }

    .cta-card__number {
        font-size: 0.75rem;
    }

    .cta-card__badge {
        font-size: 0.6rem;
        padding: 2px 12px;
        top: 10px;
        right: 12px;
    }

    .cta-card__top {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .cta-card__title {
        text-align: center;
        font-size: 1rem;
    }

    .cta-card__icon img {
        width: 48px;
        height: 48px;
    }

    .cta-card__desc {
        font-size: 0.82rem;
    }

    .cta-card__btn {
        font-size: 0.85rem;
        padding: 8px 20px;
    }

    .cta-step-full {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }

    .cta-step-full__number-wrap {
        padding: 3px 14px 3px 10px;
    }

    .cta-step-full__number-label {
        font-size: 0.75rem;
    }

    .cta-step-full__number {
        font-size: 0.75rem;
    }

    .cta-step-full__icon img {
        width: 40px;
        height: 40px;
    }

    .cta-step-full__btn {
        min-width: 160px;
        width: 100%;
        max-width: 220px;
    }

    .cta-note p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: var(--section-padding-mobile) 0;
    }

    .cta-main-card {
        padding: 16px 10px 16px;
        border-radius: 14px;
    }

    .cta-main-card__title {
        font-size: 1.1rem;
    }

    .cta-main-card__subtitle {
        font-size: 0.8rem;
    }

    .cta-card__badge {
        font-size: 0.55rem;
        padding: 2px 10px;
        top: 8px;
        right: 10px;
    }

    .cta-card__number-wrap {
        top: 8px;
        left: 10px;
        padding: 2px 12px 2px 8px;
    }

    .cta-card__number-label {
        font-size: 0.65rem;
    }

    .cta-card__number {
        font-size: 0.65rem;
    }

    .cta-card__icon img {
        width: 40px;
        height: 40px;
    }

    .cta-card__title {
        font-size: 0.9rem;
    }

    .cta-card__btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .cta-step-full {
        padding: 16px;
    }

    .cta-step-full__number-wrap {
        padding: 2px 12px 2px 8px;
    }

    .cta-step-full__number-label {
        font-size: 0.65rem;
    }

    .cta-step-full__number {
        font-size: 0.65rem;
    }

    .cta-step-full__title {
        font-size: 0.95rem;
    }

    .cta-step-full__desc {
        font-size: 0.8rem;
    }

    .cta-step-full__btn {
        font-size: 0.8rem;
        padding: 8px 16px;
        min-width: 120px;
    }
}

/* ============================================================ */
/* РАЗДЕЛ: СТАТЬИ                                                */
/* ============================================================ */

.articles-section {
    padding: var(--section-padding) 0;
    background: transparent;
}

.articles-section .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ОСНОВНАЯ ТЕМНАЯ КАРТОЧКА ===== */

.articles-main-card {
    background: linear-gradient(145deg, #0d1b2a 0%, #1b3a5c 100%);
    border-radius: 24px;
    padding: 40px 50px 40px;
    box-shadow: 0 8px 40px rgba(13, 27, 42, 0.3);
}

/* ===== ЗАГОЛОВОК ===== */

.articles-main-card__header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.articles-main-card__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.articles-main-card__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* ===== СЕТКА СТАТЕЙ (2 КОЛОНКИ) ===== */

.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ===== КАРТОЧКА СТАТЬИ ===== */

.article-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.article-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ===== ВЕРХНЯЯ ЧАСТЬ: НОМЕР + ЗАГОЛОВОК ===== */

.article-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 4px;
}

.article-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(50, 98, 115, 0.1);
    color: #326273;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 1.5px solid #326273;
}

.article-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2a3a;
    margin: 0;
    letter-spacing: -0.2px;
}

/* ===== КОНТЕНТ КАРТОЧКИ ===== */

.article-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.article-card__desc {
    font-size: 0.88rem;
    color: #4a5a6a;
    line-height: 1.5;
    margin: 0 0 12px 0;
    flex: 1;
}

/* ===== КНОПКА "ЧИТАТЬ" ===== */

.article-card__link {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #326273;
    padding: 6px 18px;
    border: 1.5px solid #326273;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: flex-start;
    margin-top: 4px;
    flex-shrink: 0;
}

.article-card__link:hover {
    background: #326273;
    color: #ffffff;
}

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

@media (max-width: 992px) {
    .articles-main-card {
        padding: 35px 30px 30px;
        border-radius: 20px;
    }

    .articles-main-card__title {
        font-size: 2rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .articles-section {
        padding: var(--section-padding-tablet) 0;
    }

    .articles-main-card {
        padding: 25px 18px 20px;
        border-radius: 16px;
    }

    .articles-main-card__title {
        font-size: 1.5rem;
    }

    .articles-main-card__subtitle {
        font-size: 0.92rem;
    }

    .articles-main-card__header {
        margin-bottom: 25px;
        padding-bottom: 14px;
    }

    .articles-grid {
        gap: 12px;
    }

    .article-card {
        padding: 14px 16px;
        border-radius: 12px;
    }

    .article-card__top {
        gap: 10px;
    }

    .article-card__number {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.75rem;
    }

    .article-card__title {
        font-size: 0.92rem;
    }

    .article-card__desc {
        font-size: 0.82rem;
    }

    .article-card__link {
        font-size: 0.78rem;
        padding: 4px 14px;
    }
}

@media (max-width: 480px) {
    .articles-section {
        padding: var(--section-padding-mobile) 0;
    }

    .articles-main-card {
        padding: 20px 14px 16px;
        border-radius: 14px;
    }

    .articles-main-card__title {
        font-size: 1.2rem;
    }

    .articles-main-card__subtitle {
        font-size: 0.85rem;
    }

    .articles-main-card__header {
        margin-bottom: 18px;
        padding-bottom: 10px;
    }

    .articles-grid {
        gap: 10px;
    }

    .article-card {
        padding: 12px 12px;
        border-radius: 10px;
    }

    .article-card__top {
        gap: 8px;
    }

    .article-card__number {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 0.7rem;
    }

    .article-card__title {
        font-size: 0.85rem;
    }

    .article-card__desc {
        font-size: 0.78rem;
        margin-bottom: 8px;
    }

    .article-card__link {
        font-size: 0.75rem;
        padding: 3px 12px;
    }
}

/* ============================================================ */
/* РАЗДЕЛ: ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ (FAQ)                       */
/* ============================================================ */

.faq-section {
    padding: var(--section-padding) 0;
    background: transparent;
}

.faq-main-card {
    background: linear-gradient(145deg, #0d1b2a 0%, #1b3a5c 100%);
    border-radius: 24px;
    padding: 40px 40px 30px;
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(13, 27, 42, 0.3);
}

.faq-main-card__header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-main-card__title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.faq-main-card__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.faq-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    text-align: center;
}

.faq-section-title--errors {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.faq-item {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e8ecf0;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: #d0d8e0;
    background: #f5f7fa;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-item__question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    user-select: none;
}

.faq-item__number {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8a9aa8;
    flex-shrink: 0;
    min-width: 30px;
}

.faq-item__title {
    font-size: 1.05rem;
    font-weight: 500;
    color: #1a2a3a;
    margin: 0;
    flex: 1;
}

.faq-item__toggle {
    background: #f0f2f5;
    border: none;
    color: #8a9aa8;
    font-size: 1.3rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item__toggle:hover {
    background: #e0e4ea;
    color: #326273;
}

.faq-item__toggle.active {
    transform: rotate(45deg);
    color: #326273;
}

.faq-item__answer {
    padding: 0 22px 20px 22px;
    display: none;
    color: #5a6a7a;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item__answer p {
    margin: 0 0 10px 0;
}

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

.faq-item__answer ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.faq-item__answer ul li {
    margin-bottom: 6px;
    color: #5a6a7a;
}

.faq-item__link {
    display: inline-block;
    color: #326273;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px dashed rgba(50, 98, 115, 0.3);
    transition: all 0.2s ease;
}

.faq-item__link:hover {
    color: #5C9EAD;
    border-bottom-color: #5C9EAD;
}

.faq-errors {
    margin-top: 0;
}

.faq-error-item {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e8ecf0;
    overflow: hidden;
    margin-bottom: 14px;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.faq-error-item:last-child {
    margin-bottom: 0;
}

.faq-error-item:hover {
    border-color: #d0d8e0;
    background: #f5f7fa;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-error-item__question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    cursor: pointer;
    user-select: none;
}

.faq-error-item__number {
    font-size: 0.8rem;
    font-weight: 700;
    color: #c0392b;
    flex-shrink: 0;
    min-width: 30px;
}

.faq-error-item__title {
    font-size: 1rem;
    font-weight: 500;
    color: #c0392b;
    margin: 0;
    flex: 1;
}

.faq-error-item__toggle {
    background: #f0f2f5;
    border: none;
    color: #8a9aa8;
    font-size: 1.3rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-error-item__toggle:hover {
    background: #e0e4ea;
    color: #c0392b;
}

.faq-error-item__toggle.active {
    transform: rotate(45deg);
    color: #c0392b;
}

.faq-error-item__answer {
    padding: 0 22px 20px 22px;
    display: none;
}

.faq-error-item__text {
    font-size: 0.95rem;
    color: #5a6a7a;
    line-height: 1.7;
    margin: 0 0 14px 0;
}

.faq-error-item__text strong {
    color: #1a2a3a;
}

.faq-error-item__image {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    margin-bottom: 14px;
    border: 1px solid #e8ecf0;
}

.faq-error-item__image img {
    max-width: 100%;
    border-radius: 8px;
    max-height: 300px;
    object-fit: contain;
}

.faq-error-item__image-caption {
    font-size: 0.8rem;
    color: #8a9aa8;
    margin: 8px 0 0 0;
}

.faq-error-item__solution {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(50, 98, 115, 0.06);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-left: 3px solid #326273;
}

.faq-error-item__solution-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #326273;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    margin-top: 1px;
}

.faq-error-item__solution span:last-child {
    font-size: 0.95rem;
    color: #5a6a7a;
    line-height: 1.5;
}

.faq-error-item__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #326273;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px dashed rgba(50, 98, 115, 0.3);
    transition: all 0.2s ease;
    padding-bottom: 2px;
}

.faq-error-item__link:hover {
    color: #5C9EAD;
    border-bottom-color: #5C9EAD;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .faq-main-card {
        padding: 30px 20px 25px;
        border-radius: 20px;
    }

    .faq-main-card__title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: var(--section-padding-tablet) 0;
    }

    .faq-main-card {
        padding: 20px 15px 20px;
        border-radius: 16px;
    }

    .faq-main-card__title {
        font-size: 1.3rem;
    }

    .faq-main-card__subtitle {
        font-size: 0.9rem;
    }

    .faq-section-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .faq-item__question {
        padding: 14px 16px;
        gap: 10px;
    }

    .faq-item__title {
        font-size: 0.95rem;
    }

    .faq-item__answer {
        padding: 0 16px 16px 16px;
        font-size: 0.9rem;
    }

    .faq-item__toggle {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }

    .faq-error-item__question {
        padding: 14px 16px;
    }

    .faq-error-item__title {
        font-size: 0.92rem;
    }

    .faq-error-item__answer {
        padding: 0 16px 16px 16px;
    }

    .faq-error-item__text {
        font-size: 0.9rem;
    }

    .faq-error-item__toggle {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }

    .faq-error-item__solution span:last-child {
        font-size: 0.9rem;
    }

    .faq-error-item__image img {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: var(--section-padding-mobile) 0;
    }

    .faq-main-card {
        padding: 16px 10px 16px;
        border-radius: 14px;
    }

    .faq-main-card__title {
        font-size: 1.1rem;
    }

    .faq-main-card__subtitle {
        font-size: 0.8rem;
    }

    .faq-section-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .faq-item__number {
        font-size: 0.65rem;
        min-width: 24px;
    }

    .faq-item__title {
        font-size: 0.88rem;
    }

    .faq-item__toggle {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }

    .faq-item__answer {
        font-size: 0.85rem;
    }

    .faq-error-item__number {
        font-size: 0.65rem;
        min-width: 24px;
    }

    .faq-error-item__title {
        font-size: 0.85rem;
    }

    .faq-error-item__toggle {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }

    .faq-error-item__text {
        font-size: 0.85rem;
    }

    .faq-error-item__image img {
        max-height: 150px;
    }

    .faq-error-item__solution {
        flex-direction: column;
        gap: 4px;
    }

    .faq-error-item__solution span:last-child {
        font-size: 0.85rem;
    }

    .faq-error-item__link {
        font-size: 0.82rem;
    }
}

/* ============================================================ */
/* РАЗДЕЛ: КОНТАКТЫ И ОБРАТНАЯ СВЯЗЬ                            */
/* ============================================================ */

.contacts-section {
    padding: var(--section-padding) 0;
    background: transparent;
}

.contacts-main-card {
    background: linear-gradient(145deg, #0d1b2a 0%, #1b3a5c 100%);
    border-radius: 24px;
    padding: 40px 40px 30px;
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(13, 27, 42, 0.3);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.contacts-col {
    display: flex;
    flex-direction: column;
}

.contacts-col--left {
    gap: 24px;
}

.contacts-header {
    text-align: center;
}

.contacts-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.contacts-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.contacts-col--right {
    justify-content: flex-start;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-card__title {
    background: rgba(50, 98, 115, 0.08);
    padding: 16px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a2a3a;
    border-bottom: 1px solid #eef0f5;
    text-align: center;
}

.contact-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form,
.callback-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea,
.callback-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: white;
    margin-bottom: 14px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
    flex: 1;
}

.contact-form input:focus,
.contact-form textarea:focus,
.callback-form input:focus {
    outline: none;
    border-color: #326273;
    box-shadow: 0 0 0 3px rgba(50, 98, 115, 0.1);
}

.contact-card .form-submit {
    background: transparent;
    color: #326273;
    border: 2px solid #326273;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-card .form-submit:hover {
    background: #326273;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(50, 98, 115, 0.3);
}

.contact-card .form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    background: transparent;
    color: #326273;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .contacts-main-card {
        padding: 30px 20px 25px;
        border-radius: 20px;
    }

    .contacts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .contacts-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .contacts-section {
        padding: var(--section-padding-tablet) 0;
    }

    .contacts-main-card {
        padding: 20px 15px 20px;
        border-radius: 16px;
    }

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

    .contacts-col--left {
        gap: 16px;
    }

    .contacts-title {
        font-size: 1.3rem;
    }

    .contacts-subtitle {
        font-size: 0.9rem;
    }

    .contact-card__content {
        padding: 16px;
    }

    .contact-card__title {
        font-size: 1rem;
        padding: 14px 16px;
    }

    .contact-form textarea {
        min-height: 80px;
    }

    .contact-card .form-submit {
        padding: 12px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contacts-section {
        padding: var(--section-padding-mobile) 0;
    }

    .contacts-main-card {
        padding: 16px 10px 16px;
        border-radius: 14px;
    }

    .contacts-title {
        font-size: 1.1rem;
    }

    .contacts-subtitle {
        font-size: 0.8rem;
    }

    .contacts-col--left {
        gap: 12px;
    }

    .contacts-grid {
        gap: 16px;
    }

    .contact-card__content {
        padding: 14px;
    }

    .contact-card__title {
        font-size: 0.95rem;
        padding: 12px 14px;
    }

    .contact-form input,
    .contact-form textarea,
    .callback-form input {
        padding: 10px 12px;
        font-size: 0.9rem;
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .contact-form textarea {
        min-height: 60px;
    }

    .contact-card .form-submit {
        padding: 12px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
}

/* ============================================================ */
/* БЛОК: FOOTER (ПОДВАЛ)                                        */
/* ============================================================ */

footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: #ccc;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================================ */
/* БЛОК: IMAGE MODAL (МОДАЛЬНОЕ ОКНО ДЛЯ ИЗОБРАЖЕНИЙ)          */
/* ============================================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: calc(100vh - 90px);
    object-fit: contain;
    animation: zoom 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

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

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 80%;
}

@media (max-width: 768px) {
    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
    .modal-caption {
        font-size: 1rem;
        bottom: 20px;
    }
}

/* ============================================================ */
/* БЛОК: SCROLL TO TOP (КНОПКА НАВЕРХ)                         */
/* ============================================================ */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.scroll-top-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ============================================================ */
/* МОДАЛЬНОЕ ОКНО С КНОПКАМИ НАВИГАЦИИ                         */
/* ============================================================ */

.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2001;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.modal-nav--prev {
    left: 30px;
}

.modal-nav--next {
    right: 30px;
}

@media (max-width: 768px) {
    .modal-nav {
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }
    .modal-nav--prev {
        left: 10px;
    }
    .modal-nav--next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .modal-nav {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
    .modal-nav--prev {
        left: 6px;
    }
    .modal-nav--next {
        right: 6px;
    }
}

@keyframes zoom {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}