@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 60px 0;
}


/* TEXTOS */

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 20px 0 30px;
    color: #cbd5f5;
}

.hero-actions .btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 500;
}


/* CAROUSEL */

.hero-carousel {
    position: relative;
}

.carousel-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

.carousel-card:hover {
    transform: translateY(-8px);
}

.carousel-card h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.carousel-card p {
    color: #cbd5f5;
}


/* BOTONES CAROUSEL */

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.services-section {
    padding: 100px 0;
    background: #0f172a;
    color: #fff;
    position: relative;
    overflow: hidden;
}


/* TITULOS */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-description {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #cbd5f5;
    line-height: 1.7;
}


/* TARJETAS */

.service-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* animación inicial */
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}


/* delay para efecto escalonado */

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}


/* HOVER */

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(59, 130, 246, 0.4);
}


/* ICONOS */

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: #fff;
}


/* TEXTOS */

.service-card h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    color: #cbd5f5;
    font-size: 0.95rem;
}


/* ANIMACIÓN */

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    background: #ffffff;
    color: #1e293b;
    padding: 80px 0 30px;
    border-top: 1px solid #e5e7eb;
}


/* TITULOS */

.footer-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-subtitle {
    font-weight: 600;
    margin-bottom: 15px;
}


/* TEXTOS */

.footer-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 15px;
}


/* LINKS */

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #475569;
    transition: all 0.3s ease;
    position: relative;
}


/* EFECTO HOVER ELEGANTE */

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-links a:hover::after {
    width: 100%;
}


/* CORREO */

.footer-contact a {
    color: #3b82f6;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}


/* LINEA INFERIOR */

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}


/* RESPONSIVE */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .carousel-card {
        padding: 25px;
    }
    .section-title {
        font-size: 2rem;
    }
    .service-card {
        padding: 25px;
    }
    .footer-section {
        text-align: center;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}


/* Hover elegante */

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebe5d;
    color: #fff;
}


/* Animación tipo pulso */

.whatsapp-float::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}