/* ============================================================
   БЛОК 3: УСЛУГИ (services.css) — ОБНОВЛЁННЫЙ
   ============================================================ */

.services {
    padding: 80px 20px;
    background: #ffffff;
}

.services__container {
    max-width: 900px;  /* уже, чтобы карточки не растягивались */
    margin: 0 auto;
}

/* ===== РАЗДЕЛИТЕЛЬ (полоска + мандала) ===== */
.services__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.services__divider-line {
    flex: 1;
    height: 1.5px;
    background: #ae634c;
    opacity: 0.3;
}

.services__divider-mandala {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    animation: spin 20s linear infinite;
}

.services__divider-mandala img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ===== ЗАГОЛОВКИ ===== */
.services__title {
    font-size: 42px;
    font-weight: 700;          /* ← жирный */
    color: #8a4f3b;            /* ← терракотовый */
    text-align: center;
    margin-bottom: 8px;
}

.services__subtitle {
    font-size: 18px;
    color: #4a3a35;
    text-align: center;
    margin-bottom: 50px;
}

/* ===== КАРТОЧКИ (один столбик) ===== */
.services__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== КАРТОЧКА (горизонтальная) ===== */
.services__card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #f5edea;
    border-radius: 20px;
    padding: 20px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.6s ease;
}

.services__card--left {
    transform: translateX(-60px);
}

.services__card--right {
    transform: translateX(60px);
}

.services__card.visible {
    opacity: 1;
    transform: translateX(0);
}

.services__card:nth-child(1) { transition-delay: 0.1s; }
.services__card:nth-child(2) { transition-delay: 0.25s; }
.services__card:nth-child(3) { transition-delay: 0.4s; }
.services__card:nth-child(4) { transition-delay: 0.55s; }

.services__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(174, 99, 76, 0.10);
}

/* ===== ИКОНКА (слева, без фона) ===== */
.services__card-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;  /* ← убрали фон */
}

.services__card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ===== ТЕЛО КАРТОЧКИ ===== */
.services__card-body {
    flex: 1;
}

.services__card-title {
    font-size: 20px;
    font-weight: 600;
    color: #ae634c;
    margin-bottom: 6px;
}

.services__card-desc {
    font-size: 15px;
    color: #4a3a35;
    line-height: 1.5;
    margin-bottom: 10px;
}

.services__card-btn {
    display: inline-block;
    font-weight: 500;
    color: #8a4f3b;
    text-decoration: none;
    border-bottom: 2px solid #d2c1bc;
    padding-bottom: 3px;
    transition: border-color 0.3s ease;
}

.services__card-btn:hover {
    border-color: #ae634c;
}

/* ===== АНИМАЦИЯ МАНДАЛЫ ===== */
@keyframes services-spin { ... }
.services__divider-mandala {
    animation: services-spin 20s linear infinite;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 768px) {
    .services {
        padding: 50px 16px;
    }
    .services__container {
        max-width: 100%;
    }
    .services__title {
        font-size: 30px;
    }
    .services__subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .services__card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 12px;
    }
    .services__card-icon {
        width: 64px;
        height: 64px;
    }
    .services__card--left,
    .services__card--right {
        transform: translateY(40px);
    }
    .services__divider-mandala {
        width: 30px;
        height: 30px;
    }
    .services__divider {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .services__title {
        font-size: 26px;
    }
    .services__card-icon {
        width: 56px;
        height: 56px;
    }
    .services__card-title {
        font-size: 18px;
    }
    .services__card-desc {
        font-size: 14px;
    }
}