﻿/* Карточка */
/* build 2 */
.card {
    transition: 0.3s ease;
}
    /*.card:hover {
        transform: translateY(-4px);
    }*/

/* Инпуты */
.form-control,
.form-select {
    border-radius: 12px;
    padding: 14px 16px;
}

/* Кнопки объема */
.btn-outline-secondary {
    border-radius: 10px;
    padding: 6px 14px;
}

    .btn-outline-secondary:hover {
        background-color: #3f9fd2;
        color: #fff;
        border-color: #3f9fd2;
    }

/* Основная кнопка */
.btn-primary {
    background-color: #3f9fd2;
    border-color: #3f9fd2;
}

    .btn-primary:hover {
        background-color: #338bb8;
    }

/* CTA кнопка */
.btn-warning {
    background-color: #ffb300;
    border-color: #ffb300;
    color: #000;
}

    .btn-warning:hover {
        background-color: #e6a200;
    }

/* Появление результата */
#calcResult {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Выбранный объем */
.btn-outline-secondary.active {
    background-color: #3f9fd2;
    color: #fff;
    border-color: #3f9fd2;
}

/* Блок результата */
.calc-result-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

    /* Лёгкое выделение */
    .calc-result-box:hover {
        box-shadow: 0 14px 40px rgba(0,0,0,0.08);
    }

.step-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s;
}

    .step-card:hover {
        transform: translateY(-5px);
    }

.step-number {
    width: 50px;
    height: 50px;
    background: #3f9fd2;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto;
}

/* Градиент для кружков (как в Wizixo) */
.bg-grad {
    background: #3f9fd2;
    color: #fff;
}

.process-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Общая линия */
.process-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

/* Скрываем "хвосты" линии у первого и последнего элемента на десктопе */
@media (min-width: 992px) {
    .process-line.first {
        left: 50%;
    }

    .process-line.last {
        right: 50%;
    }
}

/* Номер шага */
.process-number {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 991px) {
    /* Скрываем линию на маленьких экранах, так как шаги встают друг под друга или в 2 колонки */
    .process-line {
        display: none;
    }
}

/* Темный фон как на скрине (антрацитовый) */
.bg-dark-custom {
    background-color: #2c313a;
}

/* Цвет акцентов (из прошлого блока с номерами) */
.text-primary-custom {
    color: #3f9fd2;
}

.text-light-muted {
    color: #adb5bd;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Стилизация списка с иконками */
.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-weight: 500;
}

    .custom-list li i {
        position: absolute;
        left: 0;
        top: 2px;
        color: #3f9fd2;
        font-size: 1.2rem;
    }

/* Высота карты для мобильных */
.min-vh-50 {
    min-height: 400px;
}

@media (max-width: 991px) {
    .min-vh-50 {
        min-height: 300px;
    }
}

.faq-section {
    padding: 60px 0;
    background: #ffffff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
}

    .faq-item h5 {
        font-weight: 700;
        margin-bottom: 8px;
    }

    .faq-item p {
        margin: 0;
        font-size: 0.95rem;
        opacity: 0.85;
    }

.address-wrapper {
    position: relative;
}

.suggest-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 2000;
    border: none; /* убираем рамку */
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    border-radius: 0 0 6px 6px;
    max-height: 220px;
    overflow-y: auto;
}

.suggest-item {
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

    .suggest-item:last-child {
        border-bottom: none;
    }

    .suggest-item:hover {
        background: #f5f7fa;
    }

.fuel-group .btn-outline-primary {
    color: #6bbcea;
    border-color: #6bbcea;
}

    .fuel-group .btn-outline-primary:hover {
        background-color: #6bbcea;
        color: #fff;
    }

.fuel-group .btn-check:checked + .btn-outline-primary {
    background-color: #6bbcea;
    border-color: #6bbcea;
    color: #fff;
}

.fuel-group .btn-check:focus + .btn-outline-primary {
    box-shadow: 0 0 0 0.2rem rgba(107, 188, 234, 0.35);
}

.fuel-group .btn-outline-primary:active {
    background-color: #6bbcea;
    border-color: #6bbcea;
}
