 :root {
                --primary: #00A693;         /* Verde teal principal */
                --primary-dark: #008678;    /* Verde más oscuro */
                --accent: #F4436C;          /* Rosa fucsia */
                --lime: #B7D700;            /* Verde lima */
                --text-dark: #1C1C1C;       /* Negro fuerte */
                --background: #FAFAFA;      /* Fondo claro */
                --gray-light: #EDEDED;      /* Gris suave para bordes */
            }
            body {
                font-family: 'Inter', sans-serif;
                margin: 0;
                padding: 0;
                padding-top: 100px; /* ajusta según la altura real del navbar */
                background-color: var(--background);
                color: var(--text-dark);
            }

            .container {
                width: 90%;
                max-width: 1200px;
                margin: auto;
            }

            .topbar {
                background-color: var(--primary-dark);
                color: white;
                position: fixed;
                top: 0;
                width: 100%;
                z-index: 1030;
                height: 30px; /* Ajusta si es más alta */
            }

            .navbar {
                background-color: white;
                border-bottom: 1px solid var(--gray-light);
                box-shadow: 0 2px 4px rgba(0,0,0,0.05);
                position: fixed;
                top: 30px; /* Debajo del header */
                width: 100%;
                z-index: 1020;
            }


            .navbar .container {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .logo {
                height: 60px;
            }

            .nav-links {
                list-style: none;
                display: flex;
                gap: 1.5rem;
            }

            .nav-links a {
                text-decoration: none;
                color: var(--primary); /* verde teal */
                font-weight: 600;
                transition: color 0.3s;
            }

            .nav-links a:hover {
                color: var(--accent); /* rosa fucsia */
            }
            .hero {
                background: radial-gradient(circle at top left, #ffffff 0%, var(--soft-gray) 100%);
                padding: 4rem 0;
                position: relative;
                overflow: hidden;
            }

            .hero-content {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 2rem;
                flex-wrap: wrap;
            }

            .hero .text {
                max-width: 600px;
            }

            .hero .text h1 {
                font-size: 3rem;
                color: var(--primary-dark);
                margin-bottom: 0.5rem;
                font-weight: 800;
            }

            .hero .text .slogan {
                color: var(--accent); /* fucsia */
                font-size: 1.1rem;
                font-weight: 600;
                margin-bottom: 1rem;
            }

            .hero .text .subtext {
                font-size: 1.2rem;
                color: var(--text-dark);
                margin-bottom: 1.5rem;
            }

            .hero ul {
                list-style: none;
                padding: 0;
                font-size: 1rem;
                color: var(--text-dark);
            }

            .hero ul li {
                margin-bottom: 0.5rem;
                padding-left: 1.5rem;
                position: relative;
            }

            .hero ul li::before {
                content: '✔';
                color: var(--lime);
                position: absolute;
                left: 0;
                top: 0;
            }
            .hero::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-image: url('imagenes/fondo-huellas.svg'); /* puedes usar una versión vectorial o transparente */
                background-size: 200px;
                background-repeat: repeat;
                opacity: 0.05;
                pointer-events: none;
            }
            /* Color para títulos lime */
            .text-lime {
                color: var(--lime);
            }

            /* Footer completo */
            .footer {
                background-color: var(--primary-dark); /* verde oscuro */
                color: white;
                padding: 2rem 0 1rem;
                font-size: 0.9rem;
            }

            .footer-logo {
                height: 100px;
                margin-bottom: 10px;
            }

            .footer h4 {
                margin-bottom: 0.5rem;
                font-size: 1rem;
                font-weight: 600;
            }

            .footer p {
                margin: 0.4rem 0;
                line-height: 1.5;
                color: #f0f0f0;
            }

            .footer .social-icons a {
                margin-right: 10px;
                font-size: 1.5rem;
                color: white;
                transition: color 0.3s;
                text-decoration: none;
            }

            .footer .social-icons a:hover {
                color: var(--accent);
            }
            .footer-bottom {
                text-align: center;
                padding-top: 1rem;
                font-size: 0.85rem;
                border-top: 1px solid var(--primary);
                margin-top: 1rem;
                color: #dddddd;
            }

            .social-icons a {
                margin-right: 10px;
                font-size: 1.5rem;
                color: white;
                text-decoration: none;
                transition: color 0.3s;
            }

            .social-icons a:hover {
                color: var(--accent); /* rosa fucsia al pasar el mouse */
            }
            .services-modern {
                background-color: var(--background);
                padding: 5rem 1rem;
            }

            .section-title {
                font-size: 2.5rem;
                color: var(--primary-dark);
                text-align: center;
                margin-bottom: 3rem;
                font-weight: 700;
            }

            .services-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
                gap: 2.5rem;
            }

            .service-card {
                background-color: white;
                border-radius: 1rem;
                padding: 2.5rem 2rem;
                box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
                text-align: center;
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

            .service-card:hover {
                transform: translateY(-6px);
                box-shadow: 0 12px 24px rgba(0, 166, 147, 0.15);
            }
            .icon-wrapper {
                width: 80px;
                height: 80px;
                background-color: var(--primary);
                color: white;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 2rem;
            }
            .text-primary-dark {
                color: var(--primary-dark);
            }
            .text-lime {
                color: var(--lime);
            }
            .service-card h3 {
                font-size: 1.5rem;
                color: var(--primary-dark);
                margin-bottom: 0.5rem;
                font-weight: 700;
            }

            .service-description {
                font-size: 1rem;
                color: var(--text-dark);
                margin-bottom: 1rem;
            }

            .service-card ul {
                list-style: none;
                padding-left: 0;
                font-size: 0.95rem;
                color: var(--text-dark);
                text-align: left;
                margin: 0 auto;
                max-width: 250px;
            }

            .service-card ul li::before {
                content: '✔';
                color: var(--lime);
                margin-right: 0.5rem;
            }


            .slider {
                width: 100%;
                max-height: 700px;
                overflow: hidden;
                position: relative;
            }

            .slider-img {
                width: 100%;
                height: auto;
                display: block;
                object-fit: cover; /* Usa "contain" si no quieres recorte */
                transition: opacity 0.5s ease-in-out;
            }

            .info-cards {
                display: flex;
                gap: 1rem;
                padding: 2rem;
                justify-content: center;
                flex-wrap: wrap;
                background-color: var(--soft-gray);
            }

            .card {
                position: relative;
                flex: 1 1 300px;
                max-width: 360px;
                height: 280px;
                cursor: pointer;
                overflow: hidden;
                border-bottom: 5px solid transparent;
                transition: transform 0.3s ease, border-color 0.3s ease;
                background-color: var(--gray-light); /* fondo tipo imagen simulada */
            }
            .card:hover {
                transform: translateY(-5px);
                border-color: var(--primary-dark); /* borde verde oscuro */
            }

            /* Colores de fondo simulando imágenes */
            .card-servicios {
                background-color: #eeeeee;
            }

            .card-nosotros {
                background-color: #eeeeee;
            }

            .card-equipo {
                background-color: #eeeeee;
            }

            .overlay {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 100%;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
                display: flex;
                justify-content: center;
                align-items: flex-end;
                padding: 2rem 1rem;
                color: white;
                text-align: center;
                transition: background 0.3s ease;
            }

            .card:hover .overlay {
                background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
            }

            .overlay-text {
                transform: translateY(0);
                transition: transform 0.3s ease;
            }

            .card:hover .overlay-text {
                transform: translateY(-10px);
            }

            .overlay p {
                font-weight: bold;
                font-size: 0.9rem;
                margin: 0;
                letter-spacing: 1px;
                color: var(--accent); /* fucsia */
            }

            .overlay h3 {
                margin: 0.3rem 0 0;
                font-size: 1.4rem;
                font-weight: 700;
                color: white;
            }
            .servicios-section {
                text-align: center;
                padding: 3rem 1rem;
                background: #fff;
            }

            .subtitulo {
                color: #666;
                font-size: 0.9rem;
                letter-spacing: 1px;
                text-transform: uppercase;
                margin-bottom: 0.5rem;
            }

            .titulo {
                font-size: 2rem;
                font-weight: 800;
                color: #004d40;
                margin-bottom: 2rem;
            }

            .servicios-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 1rem;
                padding: 0 1rem;
            }

            .servicio-card {
                position: relative;
                height: 220px;
                overflow: hidden;
                cursor: pointer;
                border-bottom: 5px solid transparent;
                transition: transform 0.3s ease, border-color 0.3s ease;
            }

            /* Fondos simulando imágenes */
            .servicio1 {
                background-color: #f1f1f1;
            }
            .servicio2 {
                background-color: #f1f1f1;
            }
            .servicio3 {
                background-color: #f1f1f1;
            }
            .servicio4 {
                background-color: #f1f1f1;
            }
            .servicio5 {
                background-color: #f1f1f1;
            }
            .servicio6 {
                background-color: #f1f1f1;
            }

            .overlay {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 100%;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
                color: white;
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                align-items: center;
                padding: 1rem;
                text-align: center;
                transition: background 0.3s ease, transform 0.3s ease;
            }

            .overlay p {
                margin: 0;
                font-size: 0.8rem;
                font-weight: bold;
                letter-spacing: 1px;
            }

            .overlay h3 {
                margin: 0.2rem 0 0;
                font-size: 1.2rem;
                font-weight: 700;
            }

            .servicio-card:hover {
                transform: translateY(-5px);
                border-color: #004d40;
            }

            .servicio-card:hover .overlay {
                background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
            }
            .equipo-section {
                padding: 3rem 1rem;
                text-align: center;
                background-color: var(--background); /* blanco */
            }

            .equipo-section .titulo {
                font-size: 2rem;
                font-weight: 800;
                color: var(--primary-dark); /* verde oscuro */
                margin-bottom: 2.5rem;
            }

            .equipo-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
                gap: 2rem;
                max-width: 1200px;
                margin: auto;
            }

            .equipo-card {
                background: var(--background);
                padding: 1.5rem;
                text-align: center;
                border-radius: 0.75rem;
                box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

            .equipo-card:hover {
                transform: translateY(-6px);
                box-shadow: 0 10px 20px rgba(0, 166, 147, 0.15); /* sombra teal */
            }

            .foto-simulada {
                width: 100%;
                height: 260px;
                border-radius: 8px;
                margin-bottom: 1rem;
                background-color: var(--soft-gray); /* fondo gris claro */
            }

            .equipo-card h3 {
                font-size: 1.1rem;
                font-weight: 700;
                margin-bottom: 0.5rem;
                color: var(--text-dark);
            }

            .equipo-card .especialidad {
                color: var(--primary-dark);
                font-weight: 600;
                font-size: 0.9rem;
                text-transform: uppercase;
                margin-bottom: 0.5rem;
                border-bottom: 2px solid var(--gray-light);
                display: inline-block;
                padding-bottom: 0.2rem;
            }

            .equipo-card .descripcion {
                font-size: 0.9rem;
                color: var(--text-dark);
                line-height: 1.5;
            }


            .sedes-section {
                padding: 3rem 1rem;
                text-align: center;
                background-color: var(--soft-gray); /* fondo gris claro */
            }

            .sedes-section .titulo {
                font-size: 2rem;
                font-weight: 800;
                color: var(--primary-dark); /* verde oscuro */
                margin-bottom: 2rem;
            }

            .sedes-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
                gap: 2rem;
                max-width: 1000px;
                margin: auto;
            }

            .sede-card {
                background-color: var(--background); /* blanco */
                border-left: 6px solid var(--primary-dark); /* verde oscuro */
                padding: 1.5rem;
                border-radius: 0.5rem;
                box-shadow: 0 4px 12px rgba(0,0,0,0.05);
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

            .sede-card:hover {
                transform: translateY(-4px);
                box-shadow: 0 8px 20px rgba(0,166,147,0.12); /* sombra verde suave */
            }

            .sede-card h3 {
                font-size: 1.2rem;
                color: var(--primary); /* verde teal */
                margin-bottom: 0.3rem;
            }

            .sede-card p {
                font-size: 0.95rem;
                color: var(--text-dark);
            }
            .icon-circle {
                width: 80px;
                height: 80px;
                background-color: var(--primary);
                color: white;
                font-size: 2rem;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                box-shadow: 0 4px 12px rgba(0, 166, 147, 0.2);
                transition: transform 0.3s ease;
            }

            .service-modern:hover .icon-circle {
                transform: scale(1.1);
            }

            .text-primary-dark {
                color: var(--primary-dark);
            }

            .text-lime {
                color: var(--lime);
            }
            .btn-accent {
                background-color: var(--accent);
                color: white;
                border: none;
            }

            .btn-accent:hover {
                background-color: #d9345d;
                color: white;
            }

            .btn-outline-accent {
                border: 1px solid var(--accent);
                color: var(--accent);
            }

            .btn-outline-accent:hover {
                background-color: var(--accent);
                color: white;
            }
            #scrollToTopBtn {
                position: fixed;
                bottom: 20px;
                right: 20px;
                width: 55px;
                height: 55px;
                background-color: #d63384; /* morado institucional */
                border: 2px solid #ffffff;
                border-radius: 50%;
                padding: 10px;
                cursor: pointer;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 9999;
                transition: transform 0.2s ease, background-color 0.2s ease;
            }

            #scrollToTopBtn:hover {
                background-color: #d63384; /* morado más oscuro al pasar el mouse */
                transform: scale(1.1);
            }

            #scrollToTopBtn img {
                width: 28px;
                height: 28px;
                margin: 0;
            }

            #btnWhatsapp {
                position: fixed;
                top: 50%;
                right: 0;
                transform: translateY(-50%);
                background-color: #25D366;
                padding: 10px;
                border-top-left-radius: 12px;
                border-bottom-left-radius: 12px;
                z-index: 9999;
                box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.2);
                transition: transform 0.3s;
            }

            #btnWhatsapp:hover {
                transform: translateY(-50%) scale(1.05);
            }

            #btnWhatsapp img {
                display: block;
            }
            .navbar.fixed-top {
                z-index: 1050;
            }
            .hamburger {
                background: none;
                border: none;
                font-size: 1.8rem;
                display: none;
                color: var(--primary);
            }

            @media (max-width: 768px) {
                .nav-links {
                    display: none;
                    flex-direction: column;
                    background-color: white;
                    position: absolute;
                    top: 100%;
                    right: 0;
                    width: 200px;
                    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
                    padding: 1rem;
                    z-index: 999;
                }

                .nav-links.show {
                    display: flex;
                }

                .hamburger {
                    display: block;
                }
            }
            .foto-equipo {
                width: 100%;
                height: 260px;
                object-fit: cover;
                border-radius: 8px;
                margin-bottom: 1rem;
            }












            .galeria-item {
                position: relative;
                overflow: hidden;
                border-radius: 8px;
                box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
                transition: transform 0.3s ease;
            }

            .galeria-item:hover {
                transform: scale(1.03);
                z-index: 2;
            }

            .galeria-item img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform 0.4s ease;
            }

            .galeria-item:hover img {
                transform: scale(1.1);
            }

            .galeria-item.tall {
                grid-row: span 2;
            }

            .galeria-item.wide {
                grid-column: span 2;
            }

            /* Responsive ajuste */
            @media (max-width: 768px) {
                .galeria-item.tall,
                .galeria-item.wide {
                    grid-row: span 1;
                    grid-column: span 1;
                }
            }

            .galeria-grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            @media (max-width: 768px) {
                .galeria-grid {
                    grid-template-columns: 1fr;
                }
            }

            .galeria-card {
                position: relative;
                overflow: hidden;
                border-radius: 15px;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
                height: 300px; /* altura fija opcional para uniformidad */
            }


            .galeria-card:hover img {
                transform: scale(1.05);
            }


            .galeria-card img {
                width: 100%;
                height: 100%;
                object-fit: cover; /* para que se recorte sin deformarse */
                display: block;
                transition: transform 0.3s ease;
            }


            .galeria-card:hover img {
                transform: scale(1.1);
                filter: brightness(1.1) saturate(1.2);
            }

            .galeria-overlay {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                background: rgba(0, 0, 0, 0.65);
                color: #fff;
                padding: 1rem;
                transform: translateY(100%);
                transition: transform 0.3s ease;
            }
            h4,h2,h3 p {
                text-align: center;
            }
            .galeria-card:hover .galeria-overlay {
                transform: translateY(0);
            }

            .galeria-overlay h3 {
                margin: 0;
                font-size: 1.1rem;
                font-weight: bold;
                color: var(--lime);
            }

            .galeria-overlay p {
                margin-top: 0.3rem;
                font-size: 0.9rem;
                color: #f0f0f0;
            }