html {
    /* Compensa la altura del header sticky para las anclas */
    scroll-padding-top: 130px; 
    scroll-behavior: smooth;
}

.c-topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.c-benefit-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.c-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    z-index: 2;
}

.c-modality-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.c-modality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 74, 128, 0.1);
}

@media (max-width: 991.98px) {
    .c-hero-text-shadow {
        color: #ffffff !important;
        text-shadow: 0px 2px 12px rgba(0, 0, 0, 0.85);
    }

    .c-hero-text-shadow.text-corporate,
    .c-hero-text-shadow.text-muted,
    .c-hero-text-shadow.text-secondary {
        color: #ffffff !important;
    }
}

/* Floating Actions Refactor (BEM Methodology) */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99999;
    /* Directriz estricta de arquitectura */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.floating-actions__btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-actions__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-actions__btn--whatsapp {
    background-color: #25D366;
    color: white;
    animation: pulse-animation 2s infinite;
}

.floating-actions__btn--whatsapp:hover {
    background-color: #1ebe5d;
    color: white;
}

.floating-actions__btn--back-to-top {
    background-color: #004a80;
    /* Azul Corporativo */
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-actions__btn--back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.floating-actions__btn--back-to-top:hover {
    background-color: #00365d;
    color: white;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}