

/* Start:/cooperation/dali/dali.css?178005911814357*/
/* ===== БЛОК С ФОРМОЙ ===== */

.dali-form-wrapper ~ * {
    position: relative;
    z-index: 10;
    margin-top: 50px !important;
}
.dali-form-wrapper {
    position: relative;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    margin: 40px 0;
}

/* Размытый фоновый рисунок */
.dali-form-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://arlight.moscow/upload/medialibrary/5fa/hddh97opit278pd4ynq2bfgr556yvdxg.jpg'); /* ЗАМЕНИТЕ НА ВАШУ КАРТИНКУ */
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(1.0);
    transform: scale(0.95);
    z-index: 0;
}

/* Затемнение поверх фона */
.dali-form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 30%);
    z-index: 1;
}

/* Контент поверх фона */
.dali-form-content {
    position: relative;
    z-index: 2;
    padding: 50px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Левая часть с текстом */
.dali-form-text {
    flex: 1;
    min-width: 260px;
    color: #ffffff;
}

.dali-form-text h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dali-form-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.2);
}

.dali-form-text .highlight {
    font-size: clamp(36px, 7vw, 48px);
    font-weight: 800;
    color: #FFD700;
    display: inline-block;
    margin-right: 5px;
}

.dali-form-text p {
    font-size: clamp(14px, 3.5vw, 18px);
    line-height: 1.5;
    margin: 15px 0;
    opacity: 0.9;
}

.dali-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.dali-features li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    font-size: clamp(13px, 3vw, 15px);
}

.dali-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
    font-size: 16px;
}

/* Правая часть — форма */
.dali-form-card {
    flex: 1;
min-height: 670px;
    min-width: 280px;
    max-width: 480px;
    background: rgba(255,255,255,0.96);
    border-radius: 5px;
    padding: clamp(24px, 5vw, 36px) clamp(20px, 4vw, 32px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
}

.dali-form-card h3 {
    font-size: clamp(22px, 4.5vw, 26px);
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #1a1a2e;
}

.dali-form-card .form-subtitle {
    color: #666;
    font-size: 13px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 14px;
}

/* Стилизация полей формы Битрикс */
.dali-form-card .form {
    margin: 0;
}

.dali-form-card .form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dali-form-card input[type="text"],
.dali-form-card input[type="email"],
.dali-form-card input[type="tel"],
.dali-form-card .form-input,
.dali-form-card .form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.dali-form-card input:focus {
    outline: none;
    border-color: #1a1a2e;
    box-shadow: 0 0 0 3px rgba(26,26,46,0.1);
}

.dali-form-card button,
.dali-form-card .btn-submit,
.dali-form-card input[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 17px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.dali-form-card button:hover,
.dali-form-card .btn-submit:hover,
.dali-form-card input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #2a2a4e 0%, #1a2a4e 100%);
}

.dali-form-card .licence-block {
    margin-top: 18px;
    font-size: 11px;
    color: #888;
    text-align: center;
}

.dali-form-card .licence-block a {
    color: #1a1a2e;
    text-decoration: none;
}

.dali-form-card .licence-block a:hover {
    text-decoration: underline;
}

/* ===== СКРЫВАЕМ БЛОК "ПОСЛЕ ОТПРАВКИ" ===== */
#bx_incl_area_14_1 > div > div > form > div.form_footer > button,
.dali-form-card .form_footer button,
.dali-form-card .btn[type="reset"] {
    display: none !important;
}

/* Скрываем кнопку очистки формы, если она есть */
.dali-form-card button[type="reset"],
.dali-form-card .btn-clear {
    display: none !important;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .dali-form-content {
        flex-direction: column;
        padding: 30px 20px;
        gap: 25px;
    }
    
    .dali-form-text {
        text-align: center;
    }
    
    .dali-form-text h2 br {
        display: none;
    }
    
    .dali-features {
        text-align: left;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .dali-form-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .dali-form-wrapper {
        margin: 25px 0;
        border-radius: 5px;
    }
    
    .dali-form-content {
        padding: 25px 16px;
    }
    
    .dali-form-card {
        padding: 22px 18px;
    }
    
    .dali-form-card input[type="text"],
    .dali-form-card input[type="email"],
    .dali-form-card input[type="tel"] {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .dali-form-card button,
    .dali-form-card input[type="submit"] {
        padding: 13px;
        font-size: 16px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .dali-form-card {
        min-width: auto;
        padding: 18px 14px;
    }
    
    .dali-features li {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

/* ===== УВЕДОМЛЕНИЕ ОБ УСПЕШНОЙ ОТПРАВКЕ ===== */
.form_result.success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    max-width: 480px;
    width: calc(100% - 40px);
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    animation: slideInSuccess 0.4s ease-out;
}

/* Внутреннее содержимое уведомления */
.form_result.success .result-success {
    background: linear-gradient(135deg, #1a5c1a 0%, #2a7a2a 100%);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
    text-align: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Иконка успеха */
.form_result.success .result-success:before {
    content: "✅";
    font-size: 56px;
    display: block;
    margin-bottom: 12px;
}

/* Заголовок */
.form_result.success .result-success .title,
.form_result.success h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: white;
}

/* Основной текст */
.form_result.success .result-success p {
    font-size: 16px;
    line-height: 1.5;
    margin: 10px 0;
    color: rgba(255,255,255,0.95);
}

/* Блок с email */
.form_result.success .result-success .email-highlight {
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 12px;
    margin: 16px 0;
    font-size: 18px;
    font-weight: 600;
    word-break: break-all;
}

/* Уведомление про спам */
.form_result.success .result-success .spam-note {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 12px;
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

/* Счетчик времени */
.form_result.success .result-success .timer-note {
    font-size: 13px;
    margin-top: 16px;
    opacity: 0.8;
}

/* Кнопка закрытия */
.form_result.success .close-toast {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 20px;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.form_result.success .close-toast:hover {
    background: rgba(255,255,255,0.35);
    transform: scale(1.05);
}

/* Затемнение фона */
.form_result.success + .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    backdrop-filter: blur(3px);
}

/* Анимация появления */
@keyframes slideInSuccess {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Адаптивность */
@media (max-width: 560px) {
    .form_result.success {
        width: calc(100% - 30px);
    }
    
    .form_result.success .result-success {
        padding: 22px 18px;
    }
    
    .form_result.success .result-success:before {
        font-size: 44px;
    }
    
    .form_result.success .result-success .title,
    .form_result.success h3 {
        font-size: 20px;
    }
    
    .form_result.success .result-success p {
        font-size: 14px;
    }
    
    .form_result.success .result-success .email-highlight {
        font-size: 15px;
        padding: 10px;
    }
}

	/*Стили для товарво и услуг */
/* ===== ОБЩИЙ КОНТЕЙНЕР СЛАЙДЕРОВ ===== */
.dali-sliders-section {
    margin: 50px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dali-slider-row-title {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 700;
    color: #1a1a2e;
    margin: 30px 0 15px 0;
    padding-left: 10px;
    border-left: 3px solid #1a1a2e;
}

.dali-swiper-container {
    overflow: hidden;
    position: relative;
    padding: 10px 0 20px 0;
}

/* ===== СТИЛЬ БАННЕРА-КАРТОЧКИ ===== */
.dali-slider-item {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    box-sizing: border-box;
    cursor: grab;
    background: #ffffff; /* Белый фон для самой карточки */
    border-radius: 6px;
    border: 1px solid #eef2f5;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dali-slider-item:active {
    cursor: grabbing;
}

.dali-slider-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(26, 26, 46, 0.08);
    border-color: rgba(26, 26, 46, 0.15);
}

/* Контейнер для картинки (задает пропорции) */
.dali-item-img-wrap {
    width: 100%;
    position: relative;
    background-color: #f9fbfd; /* Светлая подложка на случай, если картинка прозрачная */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Сама картинка — принимает размер родителя и НЕ режется */
.dali-item-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain; /* Картинка полностью помещается в блок без обрезки */
    display: block;
    transition: transform 0.5s ease;
}

.dali-slider-item:hover .dali-item-img-wrap img {
    transform: scale(1.03); /* Легкий зум картинки при наведении */
}

/* ===== ПАНЕЛЬ С НАЗВАНИЕМ СНИЗУ ===== */
.dali-item-footer {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #ffffff;
    border-top: 1px solid #f4f6f8;
}

.dali-slider-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e; /* Теперь текст темный, так как он на белом фоне снизу */
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.dali-slider-item:hover h4 {
    color: #16213e; /* Цвет меняется при наведении на баннер */
}

.dali-item-arrow {
    color: #1a1a2e;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.dali-slider-item:hover .dali-item-arrow {
    transform: translateX(4px);
    color: #FFD700; /* Стрелочка становится золотой */
}

/* Адаптив под мобилки */
@media (max-width: 768px) {
    .dali-item-footer {
        padding: 12px 15px;
    }
    .dali-slider-item h4 {
        font-size: 13px;
    }
}
.dali-form-card.is-success form,
.dali-form-card.is-success .form-subtitle,
.dali-form-card.is-success h3 {
    display: none !important;
}

.dali-success-box {
    text-align: center;
    padding: 24px 10px;
}

.dali-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f9d55, #22c55e);
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    line-height: 64px;
}

.dali-success-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.dali-success-text {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

.dali-success-note {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    background: #f5f7fb;
    color: #777;
    font-size: 13px;
}
/* End */
/* /cooperation/dali/dali.css?178005911814357 */
