

/* Start:/local/css/village.css?178362622337421*/
/* ═══════════════════════════════════════════════════
   village.css — Платформа для посёлков и УК
   Prefix: vl-
   Секции: hero, stats, ecosystem, features, preview, onboarding, cta
   ═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════ */
.vl-hero {
    padding: var(--space-16) 0 var(--space-12);
    background: var(--gradient-section);
    overflow: hidden;
}

.vl-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.vl-hero__badge {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-text-muted);
    background: transparent;
    border-radius: var(--radius-full);
    padding: 0;
    margin-bottom: var(--space-4);
    letter-spacing: 0.01em;
}

.vl-hero__title {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-snug);
    color: var(--color-text);
    margin: 0 0 var(--space-5);
}

.vl-hero__desc {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    line-height: var(--lh-relaxed);
    margin: 0 0 var(--space-6);
    max-width: 480px;
}

/* Грид-фичи в hero */
.vl-hero__features {
    list-style: none;
    margin: 0 0 var(--space-8);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 0.7fr 1fr;
    gap: var(--space-3);
}

.vl-hero__feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-text);
    line-height: var(--lh-snug);
}

.vl-hero__feature::before {
    content: '';
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background-color: var(--color-blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M13.3 3.3a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L6.6 8.6l5.3-5.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
    margin-top: 1px;
}

.vl-hero__buttons {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: nowrap;
}

.vl-hero__btn-play {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-base);
    color: var(--color-text);
    text-decoration: none;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2);
    transition: var(--transition-base);
    background: #fff;
}

.vl-hero__btn-play:hover {
    color: var(--color-blue);
    border-color: var(--color-blue);
    background: var(--color-blue-light);
}

.vl-hero__btn-play-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.vl-hero__btn-play:hover .vl-hero__btn-play-icon {
    border-color: var(--color-blue);
    background: var(--color-blue-light);
}

/* Медиа-блок hero */
.vl-hero__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-hero__mockup,
.vl-hero__mockup-img {
    width: 100%;
    max-width: 560px;
    height: 380px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════
   2. STATS
   ═══════════════════════════════════════════════════ */
.vl-stats {
    padding: var(--space-10) 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.vl-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    text-align: center;
}

.vl-stat-item__value {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--color-blue);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.vl-stat-item__label {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    line-height: var(--lh-snug);
}

/* ═══════════════════════════════════════════════════
   3. ECOSYSTEM
   ═══════════════════════════════════════════════════ */
.vl-ecosystem {
    padding: var(--space-16) 0;
    background: var(--gradient-section);
}

/* Общий лейаут: текст 1/3 + схема 2/3 */
.vl-ecosystem__layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-10);
    align-items: center;
}

.vl-ecosystem__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vl-ecosystem__title {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-snug);
    margin: 0 0 var(--space-4);
}

.vl-ecosystem__desc {
    font-size: var(--fs-base);
    color: var(--color-text-muted);
    line-height: var(--lh-relaxed);
    margin: 0 0 var(--space-6);
}

/* Схема экосистемы */
.vl-ecosystem__diagram {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-6);
    align-items: center;
    position: relative;
}

/* SVG-слой стрелок */
.vl-eco-arrows {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.vl-ecosystem__col {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.vl-ecosystem__col:first-child {
    align-items: flex-start;
}

.vl-ecosystem__col:last-child {
    align-items: flex-end;
}

.vl-ecosystem__center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-ecosystem__hub {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-full);
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    z-index: 1;
}

/* Пульсирующие кольца от центрального хаба */
.vl-eco-pulse {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 0;
}

.vl-eco-pulse span {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    border: 2px solid rgba(27, 111, 255, 0.45);
    animation: vl-hub-ring 3s ease-out infinite;
}

.vl-eco-pulse span:nth-child(2) { animation-delay: 1s; }
.vl-eco-pulse span:nth-child(3) { animation-delay: 2s; }

@keyframes vl-hub-ring {
    0%   { transform: scale(1);   opacity: 0.5; }
    60%  { opacity: 0.15; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* Бегущие пунктиры по линиям экосистемы */
@keyframes vl-dash-flow {
    to { stroke-dashoffset: -18; }
}

.vl-ecosystem__hub-logo {
    width: 40px;
    height: 40px;
}

.vl-ecosystem__hub-text {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.2;
}

/* Модуль экосистемы */
.vl-eco-module {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.vl-eco-module:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: inherit;
}

.vl-eco-module__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vl-eco-module__icon--blue   { background: #EEF2FF; }
.vl-eco-module__icon--green  { background: #D1FAE5; }
.vl-eco-module__icon--orange { background: #FEF3C7; }
.vl-eco-module__icon--purple { background: #EDE9FE; }

.vl-eco-module__text {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-text);
    line-height: var(--lh-snug);
}

.vl-eco-module__sub {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* Стрелки экосистемы — правая колонка стрелки влево, левая — вправо */
.vl-eco-module--right {
    flex-direction: row-reverse;
}

.vl-eco-module--right .vl-eco-module__text,
.vl-eco-module--right .vl-eco-module__sub {
    text-align: right;
}

/* Позиционирование для SVG-стрелок */
.vl-eco-module {
    position: relative;
}

/* ═══════════════════════════════════════════════════
   4. FEATURES — роли
   ═══════════════════════════════════════════════════ */
.vl-features {
    padding: var(--space-16) 0;
    background: var(--color-white);
}

.vl-features__head {
    margin-bottom: var(--space-8);
    text-align: left;
}

/* Поток ролей с рамкой */
.vl-features__flow {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-12);
    overflow-x: auto;
    padding: var(--space-5) var(--space-6);
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.vl-flow-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
    text-align: left;
    min-width: 140px;
    flex: 1;
}

.vl-flow-step__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-flow-step__icon--blue   { background: #EEF2FF; }
.vl-flow-step__icon--green  { background: #D1FAE5; }
.vl-flow-step__icon--orange { background: #FEF3C7; }
.vl-flow-step__icon--violet { background: #EDE9FE; }

.vl-flow-step__title {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-text);
    line-height: var(--lh-snug);
}

.vl-flow-step__action {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    line-height: var(--lh-snug);
}

.vl-flow-step__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vl-flow-arrow {
    color: var(--color-text-light);
    flex-shrink: 0;
}

/* 4 карточки ролей */
.vl-features__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto;
    gap: var(--space-4);
    align-items: start;
}

.vl-role-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    /* Subgrid: карточка занимает 3 строки и делит их с соседями */
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    gap: 0;
}

.vl-role-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.vl-role-card__head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: var(--space-4);
    align-self: start;
}

.vl-role-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Насыщенные фоны + цвет текста по карточке */
.vl-role-card__icon--blue   { background: #1B6FFF; }
.vl-role-card__icon--green  { background: #17B26A; }
.vl-role-card__icon--purple { background: #7C3AED; }
.vl-role-card__icon--violet { background: #0EA5E9; }

.vl-role-card--blue   .vl-role-card__subtitle { color: #1B6FFF; }
.vl-role-card--green  .vl-role-card__subtitle { color: #17B26A; }
.vl-role-card--purple .vl-role-card__subtitle { color: #7C3AED; }
.vl-role-card--violet .vl-role-card__subtitle { color: #0EA5E9; }

/* Цветная рамка + тонированный фон ~10% */
.vl-role-card--blue   { border-color: #1B6FFF; background: rgba(27,  111, 255, 0.06); }
.vl-role-card--green  { border-color: #17B26A; background: rgba(23,  178, 106, 0.06); }
.vl-role-card--purple { border-color: #7C3AED; background: rgba(124,  58, 237, 0.06); }
.vl-role-card--violet { border-color: #0EA5E9; background: rgba(14,  165, 233, 0.06); }

.vl-role-card--blue   .vl-role-card__list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231B6FFF' d='M13.3 3.3a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L6.6 8.6l5.3-5.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E"); }
.vl-role-card--green  .vl-role-card__list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2317B26A' d='M13.3 3.3a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L6.6 8.6l5.3-5.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E"); }
.vl-role-card--purple .vl-role-card__list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%237C3AED' d='M13.3 3.3a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L6.6 8.6l5.3-5.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E"); }
.vl-role-card--violet .vl-role-card__list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230EA5E9' d='M13.3 3.3a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L6.6 8.6l5.3-5.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E"); }

.vl-role-card__title {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    margin: 0;
    line-height: var(--lh-snug);
}

.vl-role-card__subtitle {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-blue);
    padding-bottom: var(--space-4);
    margin: 0;
    line-height: var(--lh-snug);
    align-self: start;
}

.vl-role-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.vl-role-card__list li {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    line-height: var(--lh-snug);
}

.vl-role-card__list li::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2317B26A' d='M13.3 3.3a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L6.6 8.6l5.3-5.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Нижняя строка «Единая система» */
.vl-features__footer {
    margin-top: var(--space-8);
    padding: var(--space-4) var(--space-8);
    background: var(--color-bg-section);
    border-radius: var(--radius-xl);
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    /* центрирование блока по ширине страницы */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.vl-features__footer-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--color-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vl-features__footer-title {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    margin: 0 0 var(--space-1);
}

.vl-features__footer-desc {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   5. PREVIEW — дашборд
   ═══════════════════════════════════════════════════ */
.vl-preview {
    padding: var(--space-16) 0;
}

.vl-preview__label {
    display: block;
    text-align: center;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-3);
}

.vl-preview__title {
    text-align: center;
    margin-bottom: var(--space-3);
}

.vl-preview__subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--fs-base);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Вкладки */
.vl-preview__tabs {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.vl-preview__tab {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-text-muted);
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.vl-preview__tab:hover {
    color: var(--color-blue);
    border-color: var(--color-blue);
    background: var(--color-blue-light);
}

.vl-preview__tab--active {
    color: var(--color-white);
    background: var(--color-blue);
    border-color: var(--color-blue);
    box-shadow: 0 4px 14px rgba(27, 111, 255, 0.30);
}

.vl-preview__tab--active:hover {
    color: var(--color-white);
    background: var(--color-blue-hover);
}

/* Обёртка скриншота (позволяет показывать спиннер поверх) */
.vl-preview__screen-wrap {
    position: relative;
    margin-bottom: var(--space-8);
}

/* Скриншот дашборда */
.vl-preview__screen {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}

/* Спиннер при AJAX-загрузке */
.vl-preview__loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(27, 111, 255, 0.2);
    border-top-color: var(--color-blue);
    border-radius: 50%;
    animation: vl-spin 0.7s linear infinite;
    z-index: 2;
}

.vl-preview__loader--active {
    display: block;
}

@keyframes vl-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.vl-preview__screen-placeholder {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-8);
    min-height: 420px !important;
}

/* 4 фичи внизу preview */
.vl-preview__features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.vl-preview-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.vl-preview-feature__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vl-preview-feature__icon--blue   { background: #1B6FFF; }
.vl-preview-feature__icon--green  { background: #17B26A; }
.vl-preview-feature__icon--purple { background: #7C3AED; }
.vl-preview-feature__icon--orange { background: #F97316; }

.vl-preview-feature__title {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    margin: 0 0 var(--space-1);
}

.vl-preview-feature__desc {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin: 0;
    line-height: var(--lh-snug);
}

/* ═══════════════════════════════════════════════════
   6. ONBOARDING — 5 шагов
   ═══════════════════════════════════════════════════ */
.vl-onboarding {
    padding: var(--space-16) 0;
    background: var(--gradient-section);
}

.vl-onboarding__label {
    display: block;
    text-align: center;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-3);
}

.vl-onboarding__title {
    text-align: center;
    margin-bottom: var(--space-3);
}

.vl-onboarding__subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--fs-base);
    margin-bottom: var(--space-12);
    margin-left: auto;
    margin-right: auto;
}

/* Шаги */
.vl-onboarding__steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-2);
    position: relative;
    margin-bottom: var(--space-8);
}

/* Пунктирная линия между шагами */
.vl-onboarding__steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(10% + 14px);
    right: calc(10% + 14px);
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-blue) 0,
        var(--color-blue) 8px,
        transparent 8px,
        transparent 18px
    );
    z-index: 0;
}

.vl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Цифра + иконка — горизонтально в одну линию */
.vl-step__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.vl-step__num {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-blue);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(27, 111, 255, 0.35);
    animation: vl-step-pulse 5s ease-out infinite;
}

/* Пульс по очереди: 1 → 2 → 3 → 4 → 5 */
@keyframes vl-step-pulse {
    0%    { box-shadow: 0 4px 14px rgba(27, 111, 255, 0.35), 0 0 0 0   rgba(27, 111, 255, 0.55); }
    14%   { box-shadow: 0 4px 14px rgba(27, 111, 255, 0.35), 0 0 0 14px rgba(27, 111, 255, 0);   }
    14.01%, 100% { box-shadow: 0 4px 14px rgba(27, 111, 255, 0.35), 0 0 0 0 rgba(27, 111, 255, 0); }
}

.vl-onboarding__steps .vl-step:nth-child(1) .vl-step__num { animation-delay: 0s;  }
.vl-onboarding__steps .vl-step:nth-child(2) .vl-step__num { animation-delay: 1s;  }
.vl-onboarding__steps .vl-step:nth-child(3) .vl-step__num { animation-delay: 2s;  }
.vl-onboarding__steps .vl-step:nth-child(4) .vl-step__num { animation-delay: 3s;  }
.vl-onboarding__steps .vl-step:nth-child(5) .vl-step__num { animation-delay: 4s;  }

/* Серый кружок с рамкой вокруг иконки */
.vl-step__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-border-light);
    background: var(--color-white);
    box-shadow: 0 0 0 6px var(--color-bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
    flex-shrink: 0;
}

.vl-step__title {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    margin: 0 0 var(--space-2);
    color: var(--color-blue);
}

.vl-step__desc {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin: 0;
    line-height: var(--lh-snug);
}

.vl-onboarding__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    background: var(--color-bg-section);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-6);
    width: fit-content;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   7. CTA
   ═══════════════════════════════════════════════════ */
.vl-cta {
    padding: var(--space-16) 0;
    background: var(--color-white);
}

.vl-cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    background: var(--color-dark-blue);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.vl-cta__content {
    padding: var(--space-12) var(--space-12) var(--space-12) var(--space-12);
}

.vl-cta__title {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-semibold);
    color: var(--color-white);
    margin: 0 0 var(--space-4);
    line-height: var(--lh-snug);
}

.vl-cta__desc {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.80);
    margin: 0 0 var(--space-8);
    line-height: var(--lh-relaxed);
}

.vl-cta__buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.vl-cta__buttons .btn {
    display: inline-flex;
    width: auto;
}

.btn--white {
    background: var(--color-white);
    color: var(--color-dark-blue);
    font-weight: var(--fw-medium);
}

.btn--white:hover {
    background: var(--color-blue-light);
    color: var(--color-blue-hover);
    transform: translateY(-1px);
}

.btn--outline-white {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
}

.vl-cta__contacts {
    display: flex;
    flex-direction: row;
    gap: var(--space-8);
}

.vl-cta__contact {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.vl-cta__contact-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vl-cta__contact-main {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 2px;
}

.vl-cta__contact-sub {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.65);
}

.vl-cta__disclaimer {
    margin-top: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.55);
}

/* Медиа CTA */
.vl-cta__media {
    height: 100%;
    min-height: 420px;
    position: relative;
}

.vl-cta__media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,24,92, 1), rgba(0,24,92, 0));
    pointer-events: none; /* чтобы градиент не мешал кликам по картинке */
}

.vl-cta__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vl-cta__photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px !important;
    border-radius: 0 !important;
}

/* ═══════════════════════════════════════════════════
   АДАПТИВ
   ═══════════════════════════════════════════════════ */
@media screen and (max-width: 1100px) {
    .vl-features__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .vl-stats__grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: var(--space-6);
    }
}

@media screen and (max-width: 968px) {

    /* --- HERO ---------------------------------------- */
    .vl-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vl-hero__desc {
        max-width: 100%;
    }

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

    .vl-hero__checklist {
        align-items: center;
    }

    .vl-hero__buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .vl-hero__media {
        order: -1;
    }

    .vl-hero__mockup {
        height: 260px;
    }

    /* --- ECOSYSTEM ------------------------------------ */
    .vl-ecosystem__layout {
        grid-template-columns: 1fr;
    }

    /* hub naverhu, dve kolonki ryadom pod nim */
    .vl-ecosystem__diagram {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-4);
        justify-content: center;
    }

    .vl-ecosystem__center {
        width: 100%;
        order: -1;
        overflow: hidden;
    }

    .vl-ecosystem__col {
        flex: 1 1 calc(50% - var(--space-2));
        align-items: flex-start !important;
    }

    /* SVG-strelki skryty: na mobil. absol. pozicii ne rabotayut */
    .vl-eco-arrows {
        display: none;
    }

    .vl-eco-module--right {
        flex-direction: row;
    }

    .vl-eco-module--right .vl-eco-module__text,
    .vl-eco-module--right .vl-eco-module__sub {
        text-align: left;
    }

    /* --- ONBOARDING ----------------------------------- */
    .vl-onboarding__steps {
        grid-template-columns: repeat(3, 1fr);
        row-gap: var(--space-8);
    }

    .vl-onboarding__steps::before {
        display: none;
    }

    /* --- PREVIEW -------------------------------------- */
    .vl-preview__features {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- CTA ------------------------------------------ */
    .vl-cta__inner {
        grid-template-columns: 1fr;
    }

    .vl-cta__content {
        padding: var(--space-8);
    }

    .vl-cta__media {
        min-height: 280px;
    }

    /* Na mobile foto snizu — gradient sverhu vniz */
    .vl-cta__media::before {
        background: linear-gradient(180deg, rgba(0,24,92,0.9) 0%, rgba(0,24,92,0) 55%);
    }
}

@media screen and (max-width: 640px) {

    /* --- HERO ---------------------------------------- */
    .vl-hero__title {
        font-size: var(--fs-3xl);
    }

    .vl-hero {
        padding-top: var(--space-8);
        padding-bottom: var(--space-6);
    }

    .vl-hero__features {
        grid-template-columns: 1fr;
    }

    /* Kartinka vniz — tekst pokazyvaetsya pervym */
    .vl-hero__media {
        order: 0;
    }

    /* --- STATS ---------------------------------------- */
    .vl-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    /* 5-й элемент один на ряду — растягиваем на всю ширину */
    .vl-stats__grid > *:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: fit-content;
    }

    /* --- ECOSYSTEM ------------------------------------ */
    /* Kolonki stekayutsya v 1 stolbec na uzkom ekrane */
    .vl-ecosystem__col {
        flex: 1 1 100%;
        align-items: stretch; /* vse moduli odinakoy shiriny */
    }

    /* Moduli — polnaya shirina kolonki */
    .vl-eco-module {
        width: 100%;
    }

    /* Khab chut menshe */
    .vl-ecosystem__hub {
        width: 120px;
        height: 120px;
    }

    .vl-ecosystem__hub-logo {
        width: 32px;
        height: 32px;
    }

    /* Kolca pulsa — menshe masshtab, ne vylezayut */
    .vl-eco-pulse span {
        animation: vl-hub-ring-sm 3s ease-out infinite;
    }

    @keyframes vl-hub-ring-sm {
        0%   { transform: scale(1);   opacity: 0.5; }
        60%  { opacity: 0.15; }
        100% { transform: scale(1.8); opacity: 0; }
    }

    /* --- FEATURES ------------------------------------- */
    .vl-features__cards {
        grid-template-columns: 1fr;
    }

    .vl-features__flow {
        gap: var(--space-3);
    }

    /* Footer: убираем trick left:50% — даёт horizontal overflow */
    .vl-features__footer {
        position: static;
        left: auto;
        transform: none;
        width: 100%;
        box-sizing: border-box;
        justify-content: flex-start;
    }

    /* --- PREVIEW -------------------------------------- */
    .vl-preview__features {
        grid-template-columns: 1fr;
    }

    .vl-preview__screen,
    .vl-preview__screen-placeholder {
        height: 240px;
        min-height: 240px !important;
    }

    .vl-preview__tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--space-2);
    }

    /* --- ONBOARDING ----------------------------------- */
    .vl-onboarding__steps {
        grid-template-columns: 1fr;
    }

    /* --- CTA ------------------------------------------ */
    .vl-cta__content {
        padding: 16px;
    }

    .vl-cta__title {
        font-size: var(--fs-2xl);
    }

    .vl-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .vl-cta__buttons .btn {
        width: auto;
        min-width: min(280px, 100%);
        justify-content: center;
    }

    .vl-cta__contacts {
        flex-direction: column;
        gap: var(--space-4);
    }
}

/* ═══════════════════════════════════════════════════
   8. MODAL
   ═══════════════════════════════════════════════════ */

/* Блокировка скролла при открытом модале */
body.vl-modal-open {
    overflow: hidden;
}

/* Обёртка модала — скрыта по умолчанию */
.vl-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.vl-modal--open {
    pointer-events: all;
    opacity: 1;
}

/* Затемнённый оверлей */
.vl-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 50, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Диалог */
.vl-modal__dialog {
    position: relative;
    z-index: 1;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vl-modal--open .vl-modal__dialog {
    transform: translateY(0) scale(1);
}

/* Тело модала */
.vl-modal__body {
    padding: var(--space-8) var(--space-8) var(--space-6);
}

/* Кнопка закрытия */
.vl-modal__close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-bg-section);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}

.vl-modal__close:hover {
    background: var(--color-blue-light);
    color: var(--color-blue);
}

/* End */
/* /local/css/village.css?178362622337421 */
