/* Стили для блока "Как это работает" */
:root {
    --bg-light: #F8FAFC;
    --text-secondary: #5E6F7D;
    --border-light: #E6EDF4;
    --accent-blue: #0C8CE7;
    --shadow-sm: 0 8px 20px rgba(0,0,0,0.02), 0 2px 6px rgba(0,0,0,0.02);
    --shadow-hover: 0 15px 30px rgba(12,140,231,0.08), 0 5px 12px rgba(0,0,0,0.02);
}

/* Нумерация шагов */
.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Гибкий ряд */
.flex-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Элемент схемы (кружок с иконкой) */
.scheme-item {
    text-align: center;
    min-width: 120px;
}

.scheme-item .dot {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 30px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-sm);
}

/* Стрелка */
.scheme-arrow {
    font-size: 2rem;
    color: var(--accent-blue);
    font-weight: 300;
}

/* Карточка принятия решения */
.decision-card {
    background: white;
    border-radius: 32px;
    padding: 1.5rem;
    min-width: 260px;
    box-shadow: var(--shadow-hover);
}

.decision-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.decision-list {
    list-style: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.decision-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-light);
}

.decision-list li:last-child {
    border-bottom: none;
}

/* Разделитель */
.divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.divider-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent-blue) 0%, transparent 100%);
    margin: 0 auto;
}

.divider-label {
    background: white;
    border-radius: 40px;
    padding: 0.5rem 1.5rem;
    display: inline-block;
    font-weight: 500;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

/* Карточки инфраструктуры */
.infra-card {
    background: white;
    border-radius: 32px;
    padding: 1.5rem;
    max-width: 300px;
    box-shadow: var(--shadow-sm);
}

.infra-card.featured {
    border: 2px solid var(--accent-blue);
    box-shadow: var(--shadow-hover);
}

.infra-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Пример маршрута */
.route-example {
    margin-top: 2rem;
    background: white;
    border-radius: 40px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.route-node {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.95rem;
}

.route-arrow {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.route-target {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 2px solid var(--accent-blue);
    font-weight: 500;
}

.route-note {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .flex-row {
        flex-direction: column;
    }

    .scheme-arrow {
        transform: rotate(90deg);
    }

    .route-example {
        flex-direction: column;
        gap: 0.5rem;
    }

    .route-arrow {
        transform: rotate(90deg);
        margin: 0.25rem 0;
    }
}