/* корень/edu/edu.css - обновлённая версия */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.4;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ========== КНОПКА НАВЕРХ ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #6c63ff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(108,99,255,0.3);
}

.scroll-top:hover {
    background: #5a52d9;
    transform: translateY(-3px);
}

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

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav {
    display: flex;
    gap: 24px;
    flex: 1;
    justify-content: center;
}

.nav__link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
    color: #6c63ff;
}

.mobile-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    flex-shrink: 0;
    color: #333;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid #eee;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 0;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}

.btn--outline {
    background: transparent;
    border: 1px solid #6c63ff;
    color: #6c63ff;
}

.btn--outline:hover {
    background: #6c63ff;
    color: #fff;
}

.btn--small {
    padding: 8px 20px;
    font-size: 13px;
}

/* ========== HERO ========== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 60px;
    background: radial-gradient(ellipse at 30% 40%, #0f0c2a 0%, #050510 100%);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__glow-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.4), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 12s ease-in-out infinite;
}

.hero__glow-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.35), transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: float 15s ease-in-out infinite reverse;
}

.hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#6c63ff 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    opacity: 0.25;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(2%, -2%); }
}

.hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

/* Левая колонка с текстом */
.hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #fff;
    text-align: left;
}

.hero__list {
    margin-bottom: 24px;
}

.hero__list-item {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero__list-item::before {
    content: "✓";
    color: #6c63ff;
    font-weight: bold;
    font-size: 18px;
}

.hero__license {
    font-size: 14px;
    color: rgba(108, 99, 255, 0.8);
    margin-bottom: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-style: italic;
}

/* Кнопка с фиолетовой окантовкой */
.btn--primary {
    background: transparent;
    border: 2px solid #6c63ff;
    color: #6c63ff;
}

.btn--primary:hover {
    background: #6c63ff;
    color: #fff;
    transform: translateY(-2px);
}

.hero__buttons {
    display: flex;
    gap: 16px;
}

/* ========== 3D ГЕКСАГОН ========== */
.hero__hexagon {
    flex: 0 0 350px;
    position: relative;
    height: 350px;
    perspective: 1200px;
}

.hexagon-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hexagon {
    position: relative;
    width: 220px;
    height: 220px;
    transform-style: preserve-3d;
    animation: rotateHexagon 25s infinite linear;
    cursor: pointer;
}

.hexagon:hover {
    animation-play-state: paused;
}

@keyframes rotateHexagon {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.hexagon__face {
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(20, 15, 55, 0.92);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(108, 99, 255, 0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.1);
    backface-visibility: visible;
}

.hexagon__face--front {
    transform: translateZ(110px);
}
.hexagon__face--back {
    transform: rotateY(180deg) translateZ(110px);
}
.hexagon__face--right {
    transform: rotateY(90deg) translateZ(110px);
}
.hexagon__face--left {
    transform: rotateY(-90deg) translateZ(110px);
}
.hexagon__face--top {
    transform: rotateX(90deg) translateZ(110px);
}
.hexagon__face--bottom {
    transform: rotateX(-90deg) translateZ(110px);
}

.hexagon__face-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
}

.hexagon__number {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #b8b0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.hexagon__label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}

.hexagon__face--back,
.hexagon__face--left,
.hexagon__face--right {
    background: rgba(15, 10, 45, 0.95);
    border-color: rgba(108, 99, 255, 0.25);
}

.hexagon__face--back .hexagon__number,
.hexagon__face--left .hexagon__number,
.hexagon__face--right .hexagon__number {
    background: linear-gradient(135deg, #8b85ff, #6c63ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hexagon__face:hover {
    background: rgba(108, 99, 255, 0.2);
    border-color: rgba(108, 99, 255, 0.8);
    transition: all 0.3s ease;
}

/* Адаптив */
@media (max-width: 1024px) {
    .hero__container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero__content {
        align-items: center;
        text-align: center;
    }
    
    .hero__title {
        text-align: center;
        font-size: 48px;
    }
    
    .hero__list-item {
        justify-content: center;
    }
    
    .hero__license {
        text-align: center;
    }
    
    .hero__hexagon {
        flex: 0 0 auto;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__list-item {
        font-size: 14px;
    }
    
    .hero__license {
        font-size: 12px;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .hero__buttons .btn {
        text-align: center;
    }
    
    .hero__hexagon {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }
    
    .hero__hexagon {
        transform: scale(0.7);
        margin: -30px auto;
    }
}



/* ========== SECTION TAGS ========== */
.section {
    padding: 80px 0;
}

.section__tag {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6c63ff;
    display: inline-block;
    margin-bottom: 16px;
}

.section__title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section__subtitle {
    font-size: 16px;
    color: #555;
    max-width: 700px;
    margin-top: 8px;
}

.section--gray {
    background: #f8f8fc;
}

/* ========== ИЗМЕНЕНИЯ В ЗАКОНОДАТЕЛЬСТВЕ ========== */
.changes-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
}

.change-card {
    display: flex;
    gap: 24px;
    background: white;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid #eef0f5;
    transition: all 0.3s;
}

.change-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    transform: translateX(4px);
}

.change-card__date {
    width: 140px;
    flex-shrink: 0;
    text-align: center;
    padding-right: 24px;
    border-right: 2px solid #eef0f5;
}

.change-card__day {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.change-card__year {
    display: block;
    font-size: 13px;
    color: #6c63ff;
    font-weight: 600;
}

.change-card__content {
    flex: 1;
}

.change-card__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}

.change-card__badge--law { background: #e8eaf6; color: #3949ab; }
.change-card__badge--gov { background: #e8f5e9; color: #2e7d32; }
.change-card__badge--digital { background: #e0f7fa; color: #00838f; }
.change-card__badge--letter { background: #fce4ec; color: #c2185b; }
.change-card__badge--license { background: #fff3e0; color: #ef6c00; }
.change-card__badge--gosuslugi { background: #e8eaf6; color: #1a237e; }

.change-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.change-card__subtitle {
    font-size: 13px;
    color: #6c63ff;
    margin-bottom: 16px;
    font-weight: 500;
}

.change-card__list {
    margin: 0 0 16px 20px;
    padding: 0;
}

.change-card__list li {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.change-card__list li strong {
    color: #1a1a1a;
}

.change-card__effect {
    background: #f8f8fc;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    color: #1a1a1a;
    margin-top: 12px;
    border-left: 3px solid #6c63ff;
}

.change-card__effect strong {
    color: #6c63ff;
}

.change-card__links {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.change-card__link {
    font-size: 13px;
    color: #6c63ff;
    text-decoration: none;
    font-weight: 500;
}

.change-card__link:hover {
    text-decoration: underline;
}

/* Кнопки перехода в реестры */
.registry-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid #eef0f5;
}

.registry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #6c63ff;
    border-radius: 40px;
    padding: 10px 24px;
    text-decoration: none;
    transition: all 0.2s;
}

.registry-btn:hover {
    background: #6c63ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108,99,255,0.2);
}

.registry-btn:hover .registry-btn__text {
    color: white;
}

.registry-btn:hover .registry-btn__arrow {
    color: white;
    transform: translateX(4px);
}

.registry-btn__text {
    font-size: 14px;
    font-weight: 500;
    color: #6c63ff;
    transition: color 0.2s;
}

.registry-btn__arrow {
    font-size: 14px;
    font-weight: 500;
    color: #6c63ff;
    transition: all 0.2s;
}

/* Сводная таблица */
.summary-table {
    margin-top: 48px;
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #eef0f5;
    overflow-x: auto;
}

.summary-table__title {
    font-size: 24px;  /* УВЕЛИЧЕН */
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.summary-table__grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;  /* Добавлен общий размер шрифта */
    min-width: 800px;
}

.summary-table__grid th,
.summary-table__grid td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #eef0f5;
    border-right: 1px solid #eef0f5;
    vertical-align: middle;
}

.summary-table__grid th:last-child,
.summary-table__grid td:last-child {
    border-right: none;
}

/* Фиксированная ширина для столбцов с программами */
.summary-table__grid th:not(:first-child),
.summary-table__grid td:not(:first-child) {
    width: 110px;
}

/* Первый столбец */
.summary-table__grid td:first-child {
    text-align: left;
    font-weight: 500;
    font-size: 14px;  /* УВЕЛИЧЕН */
}

.summary-table__grid th {
    background: #f8f8fc;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 14px;  /* УВЕЛИЧЕН */
}

/* Чередование цветов строк */
.summary-table__grid tbody tr:nth-child(even) {
    background-color: #fafafc;
}

.summary-table__grid tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Подсветка строки при наведении */
.summary-table__grid tbody tr:hover {
    background-color: #f0f0f5 !important;
    transition: background-color 0.2s ease;
}

/* Цвета галочек */
.check-green {
    color: #22c55e;
    font-size: 18px;  /* УВЕЛИЧЕН */
    font-weight: 700;
}

.check-blue {
    color: #6c63ff;
    font-size: 18px;  /* УВЕЛИЧЕН */
    font-weight: 700;
}

.check-no {
    color: #ccc;
    font-size: 14px;  /* УВЕЛИЧЕН */
}

/* Нижняя панель: легенда + кнопка в одну строку по центру */
.summary-table__footer {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

/* Легенда - в одну строку */
.table-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.table-legend__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #555;
}

.table-legend__green {
    width: 16px;
    height: 16px;
    background: #22c55e;
    border-radius: 4px;
}

.table-legend__blue {
    width: 16px;
    height: 16px;
    background: #6c63ff;
    border-radius: 4px;
}

.table-legend__text {
    font-size: 12px;
}

/* Кнопка печати */
.summary-table__print {
    background: transparent;
    border: 1px solid #6c63ff;
    border-radius: 40px;
    padding: 8px 24px;
    font-size: 13px;
    font-weight: 500;
    color: #6c63ff;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.summary-table__print:hover {
    background: #6c63ff;
    color: white;
    transform: translateY(-2px);
}

/* Примечания */
.summary-notes {
    margin-top: 24px;
}

.summary-note {
    margin: 8px 0;
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    text-align: left;
}

/* Стили для печати */
@media print {
    body {
        background: white;
        padding: 0;
        margin: 0;
    }
    
    .header, .footer, .mobile-btn, .nav, .hero, .section__tag, 
    .section__title, .section__subtitle, .summary-table__print,
    .legislation-cta, .btn, .scroll-top, .modal, .sdo__buttons,
    .calc-summary-right, .license-check, .faq-question,
    .mobile-menu, .contacts__form-block, .contacts__callback-block,
    .timeline-arrow, .carousel-btn, .sdo__carousel, .demo-credentials {
        display: none !important;
    }
    
    .summary-table {
        padding: 0;
        margin: 0;
        border: none;
        box-shadow: none;
        overflow: visible;
    }
    
    .summary-table__footer {
        margin-top: 20px;
    }
    
    .summary-table__grid {
        width: 100%;
        font-size: 10px;
    }
    
    .summary-table__grid th,
    .summary-table__grid td {
        padding: 6px 4px;
        border: 1px solid #ccc;
    }
    
    .summary-table__grid th:not(:first-child),
    .summary-table__grid td:not(:first-child) {
        width: auto;
        min-width: 50px;
    }
    
    .summary-table__grid td:first-child {
        font-size: 9px;
    }
    
    .check-green, .check-blue {
        font-size: 11px;
    }
    
    .container {
        padding: 0;
        margin: 0;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .summary-table {
        padding: 20px;
    }
    
    .summary-table__grid th,
    .summary-table__grid td {
        padding: 8px 4px;
        font-size: 10px;
    }
    
    .summary-table__grid th:not(:first-child),
    .summary-table__grid td:not(:first-child) {
        width: 55px;
    }
    
    .summary-table__grid td:first-child {
        font-size: 10px;
    }
    
    .check-green, .check-blue {
        font-size: 12px;
    }
    
    .summary-table__footer {
        flex-direction: column;
        gap: 16px;
    }
    
    .table-legend {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .change-card {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .change-card__date {
        width: 100%;
        flex-shrink: 0;
        padding-right: 0;
        border-right: none;
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: 8px;
        border-bottom: 1px solid #eef0f5;
        padding-bottom: 12px;
    }
    
    .change-card__day {
        font-size: 14px;
    }
    
    .change-card__title {
        font-size: 18px;
    }
    
    .summary-table {
        padding: 20px;
    }
    
    .registry-buttons {
        flex-direction: column;
    }
    
    .registry-btn {
        justify-content: center;
    }
}


/* ========== ПРОГРАММЫ ========== */
.programs-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.program-detailed {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #eef0f5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.program-detailed__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.program-num {
    width: 40px;
    height: 40px;
    background: #6c63ff;
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.program-detailed__header h3 {
    font-size: 22px;
    font-weight: 700;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.program-toggle {
    background: #6c63ff;
    border: none;
    width: auto;
    min-width: 100px;
    padding: 6px 16px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}

.program-toggle:hover {
    background: #5a52d9;
}

.program-badge {
    background: #6c63ff10;
    color: #6c63ff;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
}

.program-detailed__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.program-detailed__grid div {
    font-size: 14px;
    color: #333;
}

.program-list-compact {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eef0f5;
}

.program-list-compact.open {
    display: block;
}

.dangerous-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.dangerous-item {
    padding: 10px 16px;
    background: #f8f8fc;
    border-radius: 12px;
    font-size: 14px;
    color: #333;
    border-left: 3px solid #6c63ff;
}

/* ========== СДО ========== */
.section--sdo {
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
}

.sdo__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.sdo__features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.sdo__features span {
    background: #ffffff;
    border: 1px solid #eef0f5;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 13px;
}

.sdo__buttons {
    display: flex;
    gap: 20px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.sdo__media {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.sdo__main-image {
    background: #f0f0f5;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sdo__main-image img {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

/* Карусель */
.sdo__carousel {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid #eef0f5;
    width: 100%;
    box-sizing: border-box;
}

.carousel-btn {
    background: #6c63ff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #5a52d9;
    transform: scale(1.05);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
}

.carousel-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-track__wrapper {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.carousel-track__img {
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    background: #f5f5f5;
}

.carousel-track__img:hover {
    transform: scale(1.02);
    border-color: #b8b0ff;
}

.carousel-track__img.active {
    border-color: #6c63ff;
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.3);
}

.demo-credentials {
    margin-top: 20px;
    padding: 16px 20px;
    background: #f8f8f8;
    border-radius: 16px;
    border-left: 4px solid #6c63ff;
}

.demo-credentials__title {
    font-size: 13px;
    font-weight: 600;
    color: #6c63ff;
    margin-bottom: 12px;
}

.demo-credentials__item {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.demo-credentials__label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    min-width: 55px;
}

.demo-credentials__value {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: monospace;
}

@media (max-width: 1024px) {
    .sdo__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .sdo__main-image {
        min-height: 240px;
    }
    
    .sdo__main-image img {
        max-height: 240px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* ========== LIGHTBOX (ПОЛНОЭКРАННЫЙ РЕЖИМ) ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox__image {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: 700;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.2s;
}

.lightbox__close:hover {
    transform: scale(1.1);
    color: #6c63ff;
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: 700;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    padding: 20px 15px;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 10001;
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

.lightbox__prev:hover,
.lightbox__next:hover {
    background: #6c63ff;
    transform: translateY(-50%) scale(1.05);
}

.lightbox__counter {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    width: fit-content;
    margin: 0 auto;
    border-radius: 30px;
    font-family: monospace;
}

@media (max-width: 768px) {
    .lightbox__prev,
    .lightbox__next {
        font-size: 30px;
        padding: 12px 10px;
    }
    
    .lightbox__close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
    
    .lightbox__image {
        max-width: 95%;
        max-height: 80%;
    }
}

/* ========== ПРЕИМУЩЕСТВА ========== */
.benefits-header {
    text-align: center;
    margin-bottom: 48px;
}

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

.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eef0f5;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #6c63ff30;
}

.benefit-card__icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Адаптив */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .benefit-card {
        padding: 24px 20px;
    }
}


/* ========== ФОРМАТЫ ========== */
.formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.format-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafaff 100%);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #eef0f5;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c63ff, #b8b0ff);
}

.format-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(108,99,255,0.2);
    border-color: #6c63ff30;
}

.format-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

.format-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.format-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #6c63ff10;
    color: #6c63ff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
}

/* ========== ЧЕК-ЛИСТ 2464 ========== */
.checklist-2464 {
    background: white;
    border-radius: 32px;
    padding: 32px;
    margin-top: 40px;
    border: 1px solid #eef0f5;
}

.checklist-2464__progress {
    height: 6px;
    background: #eef0f5;
    border-radius: 10px;
    margin-bottom: 32px;
    overflow: hidden;
}

.checklist-2464__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6c63ff, #b8b0ff);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.checklist-2464__questions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checklist-2464__question {
    background: #fafafc;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #eef0f5;
    transition: all 0.2s;
}

.checklist-2464__question.answered {
    border-left: 4px solid #6c63ff;
}

.checklist-2464__question-text {
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.4;
}

.checklist-2464__question-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.checklist-2464__btn {
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
    background: white;
    border: 1px solid #eef0f5;
    color: #555;
}

.checklist-2464__btn:hover {
    border-color: #6c63ff;
    color: #6c63ff;
}

.checklist-2464__btn--selected {
    background: #6c63ff;
    border-color: #6c63ff;
    color: white !important;
}

/* Стили для блока нарушения */
.checklist-2464__violation {
    margin-top: 16px;
    padding: 18px 20px;
    background: #fff8f0;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 3px solid #f59e0b;
}

.checklist-2464__violation-text {
    color: #92400e;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
}

.checklist-2464__violation-quote {
    color: #555;
    font-size: 13px;
    padding-top: 8px;
    border-top: 1px solid #fde68a;
}

.checklist-2464__result {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #eef0f5;
}

.checklist-2464__result-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.checklist-2464__recommendations {
    background: #f8f8fc;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.checklist-2464__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.checklist-2464__table th,
.checklist-2464__table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eef0f5;
    vertical-align: top;
}

.checklist-2464__table th {
    background: #f0f0f5;
    font-weight: 600;
    color: #1a1a1a;
}

.checklist-2464__table td:first-child {
    width: 40px;
    text-align: center;
    font-weight: 600;
    color: #6c63ff;
}

.checklist-2464__score {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #eef0f5;
    text-align: center;
    margin-bottom: 24px;
}

.checklist-2464__score-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.checklist-2464__score-bar {
    height: 12px;
    background: #eef0f5;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.checklist-2464__score-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.checklist-2464__score-fill.green { background: linear-gradient(90deg, #22c55e, #16a34a); }
.checklist-2464__score-fill.yellow { background: linear-gradient(90deg, #eab308, #ca8a04); }
.checklist-2464__score-fill.orange { background: linear-gradient(90deg, #f97316, #ea580c); }
.checklist-2464__score-fill.red { background: linear-gradient(90deg, #ef4444, #dc2626); }

.checklist-2464__score-percent {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.checklist-2464__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .checklist-2464 {
        padding: 20px;
    }
    
    .checklist-2464__question {
        padding: 16px;
    }
    
    .checklist-2464__question-text {
        font-size: 14px;
    }
    
    .checklist-2464__btn {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .checklist-2464__table th,
    .checklist-2464__table td {
        padding: 8px;
        font-size: 11px;
    }
    
    .checklist-2464__actions {
        flex-direction: column;
    }
    
    .checklist-2464__actions .btn {
        text-align: center;
    }
    
    .checklist-2464__violation {
        padding: 12px 14px;
    }
    
    .checklist-2464__violation-text {
        font-size: 12px;
    }
    
    .checklist-2464__violation-quote {
        font-size: 11px;
    }
}


/* ========== КАЛЬКУЛЯТОР ========== */
.section--calc-light {
    background: #f8f8fc;
}

.calc-wrapper-light {
    background: white;
    border-radius: 32px;
    padding: 40px;
    margin-top: 40px;
    border: 1px solid #eef0f5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

/* Обёртка каждой таблицы */
.calc-table-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef0f5;
    margin-bottom: 32px;
}

/* Заголовок таблицы */
.calc-table-caption {
    font-weight: 700;
    font-size: 18px;
    color: #1a1a1a;
    padding: 20px 24px 12px 24px;
    background: white;
    border-bottom: 2px solid #6c63ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Кнопка развернуть/свернуть */
.toggle-dangerous-btn {
    background: #f0f0f5;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    color: #6c63ff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.toggle-dangerous-btn:hover {
    background: #6c63ff;
    color: white;
}

.toggle-text {
    font-size: 13px;
}

.toggle-icon {
    font-size: 12px;
}

/* Шапка таблицы — все ячейки по центру */
.calc-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 14px 24px;
    background: #f8f8fc;
    border-bottom: 1px solid #eef0f5;
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
    text-align: center;
}

.calc-table-header > div:first-child {
    text-align: left;
}

.calc-table-header > div:nth-child(2),
.calc-table-header > div:nth-child(3) {
    text-align: center;
}

/* Строка таблицы */
.calc-row-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid #eef0f5;
    transition: background 0.2s;
}

.calc-row-item:hover {
    background: #fafafc;
}

/* Чекбокс и название программы */
.calc-check {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calc-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #6c63ff;
    flex-shrink: 0;
}

.calc-check label {
    font-size: 14px;
    cursor: pointer;
    line-height: 1.3;
    color: #333;
}

/* Цена и количество — по центру */
.calc-price,
.calc-count {
    text-align: center;
}

.calc-price {
    font-weight: 600;
    color: #6c63ff;
}

.calc-count input {
    width: 100px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #eef0f5;
    background: white;
    font-family: inherit;
    text-align: center;
}

.calc-count input:focus {
    outline: none;
    border-color: #6c63ff;
}

/* Итоговая панель */
.calc-summary-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #eef0f5;
    flex-wrap: wrap;
    gap: 20px;
}

.calc-summary-left {
    text-align: left;
}

.calc-subtotal {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.calc-discount {
    font-size: 16px;
    color: #22c55e;
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
}

.calc-total {
    font-size: 24px;
    font-weight: 700;
}

.calc-total span {
    color: #6c63ff;
    font-size: 32px;
}

.calc-summary-right {
    display: flex;
    gap: 16px;
}

.calc-note {
    font-size: 12px;
    color: #888;
    margin-top: 20px;
    text-align: left;
}

.training-mode-switch {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 12px 20px;
    background: #f8f8fc;
    border-radius: 40px;
    display: inline-flex;
}

.mode-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.mode-btn {
    padding: 8px 24px;
    border: 1px solid #6c63ff;
    border-radius: 30px;
    background: transparent;
    color: #6c63ff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.mode-btn.active {
    background: #6c63ff;
    color: white;
}

.mode-btn:hover {
    transform: translateY(-2px);
}

/* Кнопки в модалке - одинаковые */
.modal__footer .btn {
    background: transparent;
    border: 1px solid #6c63ff;
    color: #6c63ff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.modal__footer .btn:hover {
    background: #6c63ff;
    color: white;
    transform: translateY(-2px);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .calc-wrapper-light {
        padding: 20px;
    }
    
    .calc-table-header,
    .calc-row-item {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
        padding: 12px 16px;
    }
    
    .calc-check label {
        font-size: 12px;
    }
    
    .calc-count input {
        width: 70px;
        padding: 6px 8px;
    }
    
    .calc-summary-panel {
        flex-direction: column;
        align-items: stretch;
    }
    
    .calc-summary-right {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .calc-table-header {
        display: none;
    }
    
    .calc-row-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .calc-check {
        order: 1;
    }
    
    .calc-price {
        order: 2;
        text-align: left;
    }
    
    .calc-count {
        order: 3;
        text-align: left;
    }
    
    .calc-count input {
        width: 100%;
    }
}



/* ========== ТЕХНОЛОГИЯ ОБУЧЕНИЯ ========== */
.section--tech {
    background: #ffffff;
}

.tech-header {
    text-align: left;
    margin-bottom: 48px;
}

.tech-header .section__subtitle {
    margin-top: 12px;
    color: #666;
}

/* Горизонтальный таймлайн с прокруткой */
.steps-timeline {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding: 20px 10px 40px 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.steps-timeline::-webkit-scrollbar {
    height: 6px;
}

.steps-timeline::-webkit-scrollbar-track {
    background: #eef0f5;
    border-radius: 10px;
}

.steps-timeline::-webkit-scrollbar-thumb {
    background: #6c63ff;
    border-radius: 10px;
}

.timeline-step {
    min-width: 300px;
    max-width: 320px;
    background: #f8f8fc;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    border: 1px solid #eef0f5;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.timeline-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #6c63ff30;
}

.timeline-step__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.timeline-step__number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6c63ff, #8b85ff);
    color: white;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-step__header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.timeline-step__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.timeline-step__content p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 16px;
}

.timeline-step__buttons {
    display: flex;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

/* Все кнопки одинаковые - прозрачные с окантовкой */
.timeline-step .btn {
    background: transparent;
    border: 1px solid #6c63ff;
    color: #6c63ff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    flex: 1;
}

.timeline-step .btn:hover {
    background: #6c63ff;
    color: white;
    transform: translateY(-2px);
}

.timeline-step__arrow {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #6c63ff;
    background: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-step:last-child .timeline-step__arrow {
    display: none;
}

/* Адаптив */
@media (max-width: 768px) {
    .tech-header {
        text-align: center;
    }
    
    .steps-timeline {
        gap: 16px;
        padding: 16px 8px 32px 8px;
    }
    
    .timeline-step {
        min-width: 260px;
        padding: 20px;
    }
    
    .timeline-step__header h3 {
        font-size: 16px;
    }
    
    .timeline-step__number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .timeline-step__arrow {
        right: -16px;
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
    
    .timeline-step .btn {
        width: 100%;
    }
}

.timeline-footer-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eef0f5;
}

.timeline-footer-buttons .btn {
    background: transparent;
    border: 1px solid #6c63ff;
    color: #6c63ff;
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.timeline-footer-buttons .btn:hover {
    background: #6c63ff;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .timeline-footer-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .timeline-footer-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========== ЛИЦЕНЗИИ И СЕРТИФИКАТЫ ========== */
.licenses-header {
    text-align: center;
    margin-bottom: 48px;
}

.licenses-header .section__subtitle {
    margin-top: 12px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.license-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef0f5;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.license-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #6c63ff30;
}

.license-card__image {
    flex: 0 0 220px;
    background: #f8f8fc;
    padding: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.license-card__image img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.license-card__info {
    flex: 1;
    padding: 20px 24px;
    text-align: left;
}

.license-card__info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.license-card__info p {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.license-card__info p:last-of-type {
    margin-bottom: 16px;
}

.license-link {
    display: inline-block;
    color: #6c63ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.license-link:hover {
    color: #5a52d9;
    transform: translateX(4px);
}

.license-check {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.license-check .btn {
    background: transparent;
    border: 1px solid #6c63ff;
    color: #6c63ff;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.license-check .btn:hover {
    background: #6c63ff;
    color: white;
    transform: translateY(-2px);
}

/* Адаптив */
@media (max-width: 768px) {
    .licenses-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .license-card {
        flex-direction: column;
        text-align: center;
    }
    
    .license-card__image {
        flex: none;
        width: 100%;
        padding: 24px;
        min-height: auto;
    }
    
    .license-card__image img {
        max-height: 160px;
    }
    
    .license-card__info {
        text-align: center;
        padding: 20px;
    }
    
    .license-check {
        flex-direction: column;
        gap: 12px;
    }
    
    .license-check .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========== ВЕРТИКАЛЬНЫЙ ТАЙМЛАЙН (изменения в законодательстве) ========== */
.timeline-vertical {
    max-width: 800px;
    margin: 48px auto 0;
    position: relative;
    padding-left: 40px;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #6c63ff, #b8b0ff, #6c63ff);
}

.timeline-vertical-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-vertical-item:last-child {
    padding-bottom: 0;
}

.timeline-vertical-dot {
    position: absolute;
    left: -40px;
    top: 0;
    width: 32px;
    height: 32px;
    background: #6c63ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(108,99,255,0.2);
}

.timeline-vertical-content {
    background: white;
    border-radius: 20px;
    padding: 20px 24px;
    border: 1px solid #eef0f5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.timeline-vertical-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.timeline-vertical-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 12px;
}

.timeline-vertical-badge {
    display: inline-block;
    background: #6c63ff10;
    color: #6c63ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* ========== FAQ ========== */
.faq-section {
    background: #ffffff;
}

.faq-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    border: 1px solid #eef0f5;
    border-radius: 20px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    background: #fafafc;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f0f0f5;
}

.faq-plus {
    font-size: 20px;
    font-weight: 600;
    color: #6c63ff;
}

.faq-answer {
    padding: 0 24px 20px 24px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    display: none;
}

.faq-answer.show {
    display: block;
}

/* ========== КОНТАКТЫ ========== */
/* ========== КОНТАКТЫ ========== */
.contacts__flex {
    display: flex;
    gap: 40px;
    align-items: flex-end;
}

.contacts__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contacts__right {
    flex: 1;
}

.contacts__text {
    margin-bottom: 0;
}

.contacts__desc {
    color: #555;
    line-height: 1.6;
    margin-top: 8px;
}

/* Карточки */
.contact-card {
    background: #f8f8fc;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef0f5;
}

.contact-card__title {
    background: #eef0f5;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
    border-bottom: 1px solid #eef0f5;
}

.contact-card__content {
    padding: 20px;
}

/* Формы */
.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: 14px;
    background: white;
    margin-bottom: 14px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.callback-form input:focus {
    outline: none;
    border-color: #6c63ff;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* Адаптив */
@media (max-width: 768px) {
    .contacts__flex {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }
    
    .contact-card__title {
        font-size: 15px;
        padding: 12px 16px;
    }
    
    .contact-card__content {
        padding: 16px;
    }
}

/* ========== МОДАЛКА ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal__content {
    background: white;
    border-radius: 24px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eef0f5;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.modal__header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.modal__close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
}

.modal__close:hover {
    color: #6c63ff;
}

.modal__body {
    padding: 24px;
}

/* ========== ФОРМА В МОДАЛКЕ ========== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 13px;
    color: #333;
}

/* Базовые стили для всех полей */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #eef0f5;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: #f8f8fc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #6c63ff;
    background: white;
}

/* Стили для file input */
.form-group input[type="file"] {
    padding: 10px;
    background: #f8f8fc;
    border: 1px dashed #6c63ff;
    cursor: pointer;
}

.form-group input[type="file"]::-webkit-file-upload-button {
    background: #6c63ff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 12px;
    font-size: 12px;
    transition: all 0.2s;
}

.form-group input[type="file"]::-webkit-file-upload-button:hover {
    background: #5a52d9;
}

/* Выбранные программы */
.selected-programs {
    background: #f8f8fc;
    border-radius: 12px;
    padding: 12px;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #eef0f5;
}

.selected-programs-label {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

.selected-program-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #eef0f5;
    font-size: 12px;
    gap: 12px;
}

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

.selected-program-item span:first-child {
    flex: 1;
    text-align: left;
    word-break: break-word;
}

.selected-program-item span:last-child {
    flex-shrink: 0;
    white-space: nowrap;
    font-weight: 500;
    color: #6c63ff;
}

/* ========== ИНФОРМАЦИОННЫЕ КАРТОЧКИ ========== */
.info-card {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #eef0f5;
}

.info-card__title {
    background: #eef0f5;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    border-bottom: 1px solid #eef0f5;
}

.info-card__content {
    padding: 16px;
    background: white;
}

/* ========== РАДИОГРУППЫ ========== */
.radio-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #6c63ff;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #6c63ff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ========== КНОПКИ ШАБЛОНОВ ========== */
.template-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.template-btn {
    flex: 1;
    padding: 8px 12px;
    background: white;
    border: 1px solid #6c63ff;
    border-radius: 8px;
    font-size: 12px;
    color: #6c63ff;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.template-btn:hover {
    background: #6c63ff;
    color: white;
}

/* ========== ПОДСКАЗКИ ========== */
.form-hint {
    font-size: 11px;
    color: #666;
    display: block;
    margin-top: 5px;
}

/* ========== ПОЯСНЕНИЯ ========== */
.form-note {
    font-size: 11px;
    color: #666;
    margin-top: 16px;
    padding: 12px;
    background: #f8f8fc;
    border-radius: 12px;
    border-left: 3px solid #6c63ff;
}

.form-note a {
    color: #6c63ff;
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* ========== КНОПКИ МОДАЛКИ ========== */
.modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #eef0f5;
    margin-top: 10px;
}

.btn--outline {
    background: transparent;
    border: 1px solid #6c63ff;
    color: #6c63ff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn--outline:hover {
    background: #6c63ff;
    color: white;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 768px) {
    .modal__content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal__body {
        padding: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .radio-group {
        gap: 16px;
    }
    
    .template-buttons {
        flex-direction: column;
    }
    
    .modal__footer {
        flex-direction: column-reverse;
    }
    
    .modal__footer .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: #0a0a0a;
    color: #888;
    padding: 64px 0 48px;
}

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

.footer__col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer__company-note {
    font-size: 12px;
    color: #6c63ff;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer__links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.footer__links-list a,
.footer__contact-value {
    color: #888;
    text-decoration: none;
    font-size: 13px;
}

.footer__links-list a:hover,
.footer__contact-value:hover {
    color: #6c63ff;
}

.footer__requisites p {
    color: #888;
    font-size: 13px;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.footer__social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888;
}

.footer__social a:hover {
    background: #6c63ff;
    color: white;
}

.footer__legal a {
    color: #666;
    font-size: 12px;
    text-decoration: none;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 1024px) {
    .hero__title { font-size: 54px; }
    .section__title { font-size: 38px; }
    .sdo__container { grid-template-columns: 1fr; gap: 40px; }
    .formats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-btn { display: block; }
    .hero { padding: 100px 0 60px; }
    .hero__title { font-size: 40px; }
    .section__title { font-size: 32px; }
    .formats-grid { grid-template-columns: 1fr; }
    .contacts__layout { grid-template-columns: 1fr; }
    .callback-form { flex-direction: column; }
    .footer__grid { grid-template-columns: 1fr; }
    .hero__stats { gap: 24px; flex-wrap: wrap; }
    .container { padding: 0 20px; }
    .program-detailed__grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .licenses-grid { grid-template-columns: 1fr; }
    .timeline-item { flex-direction: column; align-items: center; text-align: center; }
    .timeline-arrow { margin-left: 0; }
    .timeline-vertical { padding-left: 20px; }
    .timeline-vertical::before { left: -5px; }
    .timeline-vertical-dot { left: -25px; width: 26px; height: 26px; font-size: 11px; }
    
    /* Мобильная версия калькулятора - все столбцы одинаковой ширины */
    .calc-table-header,
    .calc-row-item,
    .calc-dangerous-header {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
    }
    .calc-check label { font-size: 12px; }
    .calc-price { font-size: 13px; }
    .calc-count input { width: 70px; padding: 6px 8px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 32px; }
    .section__title { font-size: 28px; }
    .calc-wrapper-light { padding: 24px; }
    .calc-table-header { display: none; }
    .calc-row-item { grid-template-columns: 1fr; gap: 12px; }
    .calc-dangerous-header { grid-template-columns: 1fr; gap: 8px; }
    .calc-check { order: 1; }
    .calc-price { order: 2; }
    .calc-count { order: 3; }
    .calc-summary-panel { flex-direction: column; align-items: stretch; }
    .calc-summary-right { justify-content: center; }
    .timeline-vertical { padding-left: 15px; }
    .timeline-vertical-dot { left: -20px; width: 22px; height: 22px; font-size: 10px; }
    .timeline-vertical-content { padding: 16px; }
}