/* RESET BÁSICO */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #fff;
}

/* ===================== */
/* HERO */
/* ===================== */
.hero-servicios {
    background: linear-gradient(135deg, #0d6efd, #000);
    color: #fff;
    text-align: center;
    padding: 140px 20px 100px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: relative;
    overflow: hidden;
}

/* efecto glow sutil */
.hero-servicios::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13,110,253,0.4), transparent);
    top: -200px;
    right: -200px;
    filter: blur(80px);
}

/* título */
.hero-servicios h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    z-index: 1;
}

/* subtítulo */
.hero-servicios p {
    font-size: 1.2rem;
    color: #dcdcdc;
    max-width: 600px;
    z-index: 1;
}

/* ===================== */
/* SERVICIOS */
/* ===================== */
.servicios-section {
    background: #f8f9fa;
    padding: 80px 0;
}

/* ===================== */
/* CARDS */
/* ===================== */
.card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transition: all 0.35s ease;
    position: relative;
}

/* hover pro */
.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* imagen */
.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* zoom imagen */
.card:hover .card-img-top {
    transform: scale(1.08);
}

/* contenido */
.card-body {
    padding: 20px;
}

/* título */
.card-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* categoría */
.text-muted {
    font-size: 0.85rem;
}

/* descripción */
.card-text {
    font-size: 0.9rem;
    color: #555;
}

/* ===================== */
/* BOTÓN */
/* ===================== */
.btn-info {
    background: linear-gradient(135deg, #0d6efd, #3a86ff);
    border: none;
    color: #fff;
    font-weight: 500;
    border-radius: 10px;
    padding: 10px;
    transition: all 0.3s ease;
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13,110,253,0.4);
}

/* ===================== */
/* ANIMACIONES */
/* ===================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */
@media (max-width: 768px) {

    .hero-servicios {
        padding: 100px 20px 70px;
    }

    .hero-servicios h1 {
        font-size: 2rem;
    }

    .hero-servicios p {
        font-size: 1rem;
    }

    .card {
        margin-bottom: 20px;
    }
}