/* ==========================================================================
   1. COMPONENTES BASE Y CARGADORES (SPINNER & BACK TO TOP)
   ========================================================================== */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/* ==========================================================================
   2. BOTONES UNIVERSALES
   ========================================================================== */
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square { width: 32px; height: 32px; }
.btn-sm-square { width: 34px; height: 34px; }
.btn-md-square { width: 44px; height: 44px; }
.btn-lg-square { width: 56px; height: 56px; }
.btn-xl-square { width: 66px; height: 66px; }

.btn-square, .btn-sm-square, .btn-md-square, .btn-lg-square, .btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}

/* ==========================================================================
   3. TOPBAR (BARRA SUPERIOR)
   ========================================================================== */
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/* ==========================================================================
   4. NAVBAR (MENÚ DE NAVEGACIÓN - MANTENIENDO FRANJA ROSADA ORIGINAL)
   ========================================================================== */
.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 110px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 11px;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/* Responsivo Móvil (Navbar) */
@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 27px 33px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

/* Diseño Escritorio (Navbar - Franja Rosada Intacta) */
@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #ffc6f3;
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}

/* ==========================================================================
   5. CAROUSEL HERO & CABECERAS SECUNDARIAS
   ========================================================================== */

/* --- Owl Carousel Hero --- */
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}

.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption { padding-top: 45px; }
    .header-carousel .header-carousel-item { height: 1300px; }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item { height: 950px; }
    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }
    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}

/* --- Hero Estático Optimizado 2.0 --- */
.hero {
    position: relative;
    background: linear-gradient(rgba(1, 40, 107, 0.85), rgba(1, 40, 107, 0.75)),
                url('../img/hero-psicologia.jpg') center/cover no-repeat;
    padding: 160px 0 130px;
    color: #fff;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p.lead {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 580px;
    line-height: 1.6;
}

.hero-btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.03);
}

.hero-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.hero-whatsapp:hover {
    background: #1ebe5d;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Imagen Hero derecha con efecto de profundidad */
.hero img {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .hero { padding: 100px 0 80px; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero p.lead { margin: 0 auto 30px; }
    .hero .d-flex { justify-content: center; }
}

@media (max-width: 767px) {
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 1.9rem; }
    .hero p.lead { font-size: 1.05rem; }
}

/* --- Cabeceras de Páginas Internas (Breadcrumb) --- */
.bg-breadcrumb,
.bg-breadcrumb2,
.bg-breadcrumb3,
.bg-breadcrumb4 {
    position: relative;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb  { background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb.jpg); }
.bg-breadcrumb2 { background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb2.jpg); }
.bg-breadcrumb3 { background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb3.jpg); }
.bg-breadcrumb4 { background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb4.jpg); }

.bg-breadcrumb .breadcrumb { position: relative; }
.bg-breadcrumb .breadcrumb .breadcrumb-item a { color: var(--bs-white); }

/* ==========================================================================
   6. SECCIONES CLÍNICAS (FEATURES & SERVICES)
   ========================================================================== */
.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.feature .feature-item:hover { background: var(--bs-primary); }

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
    color: var(--bs-primary);
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon i { z-index: 9; }

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after { height: 100%; }

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon { color: var(--bs-white); }
.feature .feature-item:hover h4, .feature .feature-item:hover p { color: var(--bs-white); }
.feature .feature-item:hover a.btn { background: var(--bs-white); color: var(--bs-primary); }
.feature .feature-item:hover a.btn:hover { background: var(--bs-dark); color: var(--bs-white); }

/* Servicios */
.service .service-item { border-radius: 10px; }
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img { transition: 0.5s; }
.service .service-item:hover .service-img img { transform: scale(1.1); }

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after { height: 100%; }

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i { color: var(--bs-primary); transition: 0.5s; }
.service .service-item:hover .service-img .service-icon i { transform: rotateX(360deg); color: var(--bs-white); }
.service .service-item:hover .service-img .service-icon { bottom: 0; color: var(--bs-white); background: var(--bs-primary); }

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner { position: relative; z-index: 9; }
.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p { transition: 0.5s; }

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p { color: var(--bs-white); }
.service .service-item:hover .service-content .service-content-inner .btn.btn-primary { color: var(--bs-primary); background: var(--bs-white); }
.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover { color: var(--bs-white); background: var(--bs-dark); }
.service .service-item:hover .service-content .service-content-inner .h4:hover { color: var(--bs-dark); }

.service .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}
.service .service-item:hover .service-content::after { height: 100%; }

/* ==========================================================================
   7. SECCIONES ADICIONALES (FAQS, BLOG, TEAM, TESTIMONIAL)
   ========================================================================== */
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(1, 95, 201, .8);
    font-size: 18px;
}
.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-primary);
    background: var(--bs-light);
}

/* Blog */
.blog .blog-item { border-radius: 10px; transition: 0.5s; }
.blog .blog-item:hover { box-shadow: 0 0 45px rgba(0, 0, 0, .1); }
.blog .blog-item:hover .blog-content { background: var(--bs-white); }
.blog .blog-item .blog-img { border-top-left-radius: 10px; border-top-right-radius: 10px; position: relative; overflow: hidden; }
.blog .blog-item .blog-img img { transition: 0.5s; }
.blog .blog-item:hover .blog-img img { transform: scale(1.2); }

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}
.blog .blog-item:hover .blog-img::after { height: 100%; }
.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}
.blog .blog-item .blog-content { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; background: var(--bs-light); }
.blog .blog-item .blog-content a.btn { color: var(--bs-dark); }
.blog .blog-item:hover .blog-content a.btn:hover { color: var(--bs-primary); }

/* Team */
.team .team-item .team-img { position: relative; overflow: hidden; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.team .team-item .team-img img { transition: 0.5s; }
.team .team-item:hover .team-img img { transform: scale(1.1); }
.team .team-item .team-img::after { content: ""; position: absolute; width: 100%; height: 0; top: 0; left: 0; border-top-left-radius: 10px; border-top-right-radius: 10px; transition: 0.5s; }
.team .team-item:hover .team-img::after { height: 100%; background: rgba(255, 255, 255, 0.3); }
.team .team-item .team-img .team-icon { position: absolute; bottom: 20px; right: 20px; margin-bottom: -100%; transition: 0.5s; z-index: 9; }
.team .team-item:hover .team-img .team-icon { margin-bottom: 0; }
.team .team-item .team-title { color: var(--bs-white); background: var(--bs-primary); border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; transition: 0.5s; }
.team .team-item .team-title h4 { color: var(--bs-white); }
.team .team-item:hover .team-title { background: var(--bs-dark); }

/* Testimonial */
.testimonial-carousel .owl-stage-outer { margin-top: 58px; margin-right: -1px; }
.testimonial .owl-nav .owl-prev, .testimonial .owl-nav .owl-next { position: absolute; top: -58px; background: var(--bs-primary); color: var(--bs-white); padding: 5px 30px; border-radius: 30px; transition: 0.5s; }
.testimonial .owl-nav .owl-prev { left: 0; }
.testimonial .owl-nav .owl-next { right: 0; }
.testimonial .owl-nav .owl-prev:hover, .testimonial .owl-nav .owl-next:hover { background: var(--bs-dark); color: var(--bs-white); }

/* ==========================================================================
   8. CONTACTO INTERACTIVO
   ========================================================================== */
.contact .contact-img { position: relative; }
.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgb(161, 11, 142);
    z-index: 1;
    animation: image-efects 10s ease-in-out 1s infinite alternate;
    transition: 0.5s;
}

@keyframes image-efects {
    0%   { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25%  { border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%; }
    50%  { border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%; }
    75%  { border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.contact .contact-img .contact-img-inner { position: relative; z-index: 9; }

/* ==========================================================================
   9. PIE DE PÁGINA Y COPYRIGHT
   ========================================================================== */
.footer {
    background: url(../img/footer.jpg) no-repeat;
    background-size: cover;
    background-position: top center;
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}

.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}

.footer .footer-item .footer-btn a {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-white);
}

.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

/* ==========================================================================
   10. BOTÓN FLOTANTE WHATSAPP
   ========================================================================== */
.btn-whatsapp {
    display: block;
    width: 20px;
    height: 50px;
    color: #fff;
    position: fixed;
    left: 20px;
    bottom: 55px;
    border-radius: 50%;
    line-height: 20px;
    text-align: center;
    z-index: 999;
}

@media only screen and (max-width: 600px) {
    .btn-flotante {
        font-size: 14px;
        padding: 9px 20px;
        bottom: 20px;
        left: 20px;
    }
}

/* ==========================================================================
   11. FORMULARIO DE AGENDAR CITA
   ========================================================================== */
.formulario {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 320px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
}

h2 { margin-bottom: 15px; }

input, select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.formulario .btn {
    display: block;
    margin-top: 15px;
    padding: 12px;
    background: #004edf;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.formulario .btn:hover {
    background: #1ebe5d;
}

/* ==========================================================================
   12. TARJETAS DE ESPECIALIDADES (SERVICE CARDS CON TEXTO SEO)
   ========================================================================== */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
}

.service-card .service-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.06);
}

.service-card .service-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.service-card .service-content .title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #011547;
    text-decoration: none;
    line-height: 1.3;
}

.service-card .service-content .title:hover {
    color: #0d6efd;
}

.service-desc {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Texto SEO: indexable por Google, discreto visualmente, se expande en hover */
.service-seo-text {
    font-size: 0.80rem;
    color: #888;
    line-height: 1.55;
    border-top: 1px solid #eee;
    padding-top: 8px;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card:hover .service-seo-text {
    -webkit-line-clamp: unset;
    overflow: visible;
    color: #444;
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.service-card .service-link:hover {
    gap: 10px;
    color: #011547;
}

/* Animación fade-up */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}