/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Dec 28 2025 | 22:56:00 */
.stepsform .elementor-field-group{
	flex-wrap: wrap-reverse !important;
}


.stepformtitle{
	font-size:25px;
	font-weight:700;
	color: #162b62;
	width:100%;
	text-align:center;
}

.stepimg{
	overflow:hidden;
	width:100%;
}

.stepimg img{
	width:100%;
	border-radius:8px;
}

/* Стили ТОЛЬКО для групп step2-step9 (радио и чекбоксы) */
/* Селектор для span с опциями в группах step2-step9 */
span.elementor-field-option:has(input[id^="form-field-step"]) {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

span.elementor-field-option:has(input[id^="form-field-step"]):last-child {
    margin-bottom: 0 !important;
}

/* Стили для label в группах step2-step9 */
label[for^="form-field-step"] {
    display: block !important;
    width: 100% !important;
    background-color: white !important;
    border: 2px solid white !important;
    border-radius: 8px !important;
    color: #162b62 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    box-sizing: border-box !important;
    padding: 15px 15px 15px 45px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    position: relative !important;
    margin: 0 !important;
    text-align: left !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
}

/* Кастомный индикатор для ЧЕКБОКСОВ (квадрат) */
input[type="checkbox"][id^="form-field-step"] + label::before {
    content: '' !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important; /* Чуть скругленные углы для чекбокса */
    background-color: white !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

/* Кастомный индикатор для РАДИО-КНОПОК (круг) */
input[type="radio"][id^="form-field-step"] + label::before {
    content: '' !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 50% !important; /* Круг для радио-кнопок */
    background-color: white !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

/* Кастомная галочка для ЧЕКБОКСОВ (скрыта по умолчанию) */
input[type="checkbox"][id^="form-field-step"] + label::after {
    content: '' !important;
    position: absolute !important;
    left: 21px !important;
    top: 50% !important;
    transform: translateY(-50%) scale(0) rotate(45deg) !important;
    width: 7px !important;
    height: 12px !important;
    border-bottom: 3px solid white !important; /* Белая галочка */
    border-right: 3px solid white !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    transition: all 0.2s ease !important;
    opacity: 0 !important;
    z-index: 2 !important;
}

/* Кастомная галочка для РАДИО-КНОПОК (скрыта по умолчанию) */
input[type="radio"][id^="form-field-step"] + label::after {
    content: '' !important;
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) scale(0) !important;
    width: 12px !important;
    height: 12px !important;
    background-color: #ba1010 !important; /* Красный кружок для радио */
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
}

/* Эффект при наведении на label */
label[for^="form-field-step"]:hover {
    border-color: #ba1010 !important;
    color: #ba1010 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
}

/* Изменение цвета индикатора при наведении */
label[for^="form-field-step"]:hover::before {
    border-color: #ba1010 !important;
}

/* Стили для выбранных элементов */
/* Для чекбоксов */
input[type="checkbox"][id^="form-field-step"]:checked + label {
    border-color: #ba1010 !important;
    color: #ba1010 !important;
    box-shadow: 0 0 0 2px rgba(186, 16, 16, 0.3) !important;
    background-color: rgba(186, 16, 16, 0.03) !important;
}

/* Для радио-кнопок */
input[type="radio"][id^="form-field-step"]:checked + label {
    border-color: #ba1010 !important;
    color: #ba1010 !important;
    box-shadow: 0 0 0 2px rgba(186, 16, 16, 0.3) !important;
    background-color: rgba(186, 16, 16, 0.03) !important;
}

/* Показываем галочку для выбранных ЧЕКБОКСОВ */
input[type="checkbox"][id^="form-field-step"]:checked + label::after {
    transform: translateY(-50%) scale(1) rotate(45deg) !important;
    opacity: 1 !important;
}

/* Меняем фон индикатора для выбранных ЧЕКБОКСОВ */
input[type="checkbox"][id^="form-field-step"]:checked + label::before {
    border-color: #ba1010 !important;
    background-color: #ba1010 !important; /* Красный фон для чекбокса */
}

/* Показываем галочку для выбранных РАДИО-КНОПОК */
input[type="radio"][id^="form-field-step"]:checked + label::after {
    transform: translateY(-50%) scale(1) !important;
    opacity: 1 !important;
}

/* Меняем цвет кружка при выборе для РАДИО-КНОПОК */
input[type="radio"][id^="form-field-step"]:checked + label::before {
    border-color: #ba1010 !important;
    background-color: white !important;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    label[for^="form-field-step"] {
        font-size: 15px !important;
        padding: 12px 12px 12px 40px !important;
        min-height: 50px !important;
    }
    
    label[for^="form-field-step"]::before {
        left: 12px !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Чекбоксы */
    input[type="checkbox"][id^="form-field-step"] + label::after {
        left: 18px !important;
        width: 6px !important;
        height: 10px !important;
    }
    
    /* Радио-кнопки */
    input[type="radio"][id^="form-field-step"] + label::after {
        left: 17px !important;
        width: 10px !important;
        height: 10px !important;
    }
}

@media (max-width: 480px) {
    label[for^="form-field-step"] {
        font-size: 14px !important;
        padding: 10px 10px 10px 35px !important;
        min-height: 46px !important;
    }
    
    label[for^="form-field-step"]::before {
        left: 10px !important;
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Чекбоксы */
    input[type="checkbox"][id^="form-field-step"] + label::after {
        left: 16px !important;
        width: 5px !important;
        height: 9px !important;
        border-bottom-width: 2px !important;
        border-right-width: 2px !important;
    }
    
    /* Радио-кнопки */
    input[type="radio"][id^="form-field-step"] + label::after {
        left: 15px !important;
        width: 8px !important;
        height: 8px !important;
    }
}

/* Анимация при переключении */
@keyframes radio-pulse {
    0% { transform: translateY(-50%) scale(1) !important; }
    50% { transform: translateY(-50%) scale(1.1) !important; }
    100% { transform: translateY(-50%) scale(1) !important; }
}

@keyframes checkbox-check {
    0% { transform: translateY(-50%) scale(0) rotate(45deg) !important; }
    50% { transform: translateY(-50%) scale(1.1) rotate(45deg) !important; }
    100% { transform: translateY(-50%) scale(1) rotate(45deg) !important; }
}

input[type="radio"][id^="form-field-step"]:checked + label::after {
    animation: radio-pulse 0.3s ease !important;
}

input[type="checkbox"][id^="form-field-step"]:checked + label::after {
    animation: checkbox-check 0.3s ease !important;
}

/*------------------------*/


/* Скрываем оригинальные радио-кнопки */
.elementor-field-group-field_60d349d .elementor-field-subgroup input[type="radio"] {
    display: none;
}

/* Контейнер для плиток - располагаем в строку */
.elementor-field-group-field_60d349d .elementor-field-subgroup.elementor-subgroup-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
	width:100%;
}

/* Каждый контейнер опции занимает 25% ширины */
.elementor-field-group-field_60d349d .elementor-field-option {
    width: calc(25% - 11.25px); /* 25% минус gap/4 */
    display: flex;
    justify-content: center;
    align-items: center;
	
}

/* Стили для метки (плитки) */
.elementor-field-group-field_60d349d .elementor-field-option label {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Вертикальное выравнивание снизу */
    align-items: center;
    width: 100%; /* Занимает всю ширину родителя */
    height: 160px; /* Фиксированная высота */
    background-color: white;
    border: 2px solid white;
    border-radius: 8px;
    color: #162b62;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    box-sizing: border-box;
    padding: 15px;
    font-weight: 600; /* Жирность 600 */
    font-size: 15px; /* Размер текста 15px */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    
    /* Фоновое изображение */
    background-size: 60%; /* Изображение адаптируется */
    background-repeat: no-repeat;
    background-position: center bottom; /* Изображение вверху */
}

/* Текст над псевдоэлементом */
.elementor-field-group-field_60d349d .elementor-field-option label span {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 5px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Фоновые изображения для каждой плитки */
.elementor-field-group-field_60d349d .elementor-field-option:nth-child(1) label {
    background-image: url('https://ilgcs.com/wp-content/uploads/2025/12/ns1.png');
}

.elementor-field-group-field_60d349d .elementor-field-option:nth-child(2) label {
    background-image: url('https://ilgcs.com/wp-content/uploads/2025/12/ns2.png');
}

.elementor-field-group-field_60d349d .elementor-field-option:nth-child(3) label {
    background-image: url('https://ilgcs.com/wp-content/uploads/2025/12/ns3.png');
}

.elementor-field-group-field_60d349d .elementor-field-option:nth-child(4) label {
    background-image: url('https://ilgcs.com/wp-content/uploads/2025/12/ns4.png');
}

/* Эффект при наведении */
.elementor-field-group-field_60d349d .elementor-field-option label:hover {
    border-color: #ba1010;
    color: #ba1010;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Усиливаем фон под текстом при наведении */
.elementor-field-group-field_60d349d .elementor-field-option label:hover::after {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Стили для выбранной плитки */
.elementor-field-group-field_60d349d .elementor-field-subgroup input[type="radio"]:checked + label {
    border-color: #ba1010;
    color: #ba1010;
    box-shadow: 0 0 0 3px rgba(186, 16, 16, 0.3);
    transform: translateY(-2px);
}

/* Усиливаем фон под текстом для выбранной плитки */
.elementor-field-group-field_60d349d .elementor-field-subgroup input[type="radio"]:checked + label::after {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .elementor-field-group-field_60d349d .elementor-field-option {
        width: calc(50% - 7.5px); /* 2 в ряд на планшетах */
    }
    
    .elementor-field-group-field_60d349d .elementor-field-option label {
        height: 140px; /* Немного уменьшаем высоту на планшетах */
    }
}

@media (max-width: 480px) {
    .elementor-field-group-field_60d349d .elementor-field-option {
        width: 100%; /* 1 в ряд на мобильных */
    }
    
    .elementor-field-group-field_60d349d .elementor-field-option label {
        max-width: 200px; /* Ограничиваем максимальную ширину */
        margin: 0 auto;
        height: 150px; /* Фиксированная высота на мобильных */
    }
}

/* Для очень широких экранов - ограничиваем максимальную ширину плиток */
@media (min-width: 1200px) {
    .elementor-field-group-field_60d349d .elementor-field-option label {
        max-width: 180px;
    }
}