   :root {
            --primary-color: #5f0b8f;
            /* Color principal de tu empresa */
            --secondary-color: #6f028a;
            /* Color secundario de tu empresa */
            --highlight-color: #22FCA5;
            /* Color de acento */
            --dark-color: #1c1c1c;
            --light-color: #f0f0f0;
            --text-color: #e0e0e0;
            --card-bg: #ffffff;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
            --card-border-radius: 20px;
        }

        * {
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            background: #f8f9fa;
            /* Un fondo global ligeramente gris */
            color: var(--dark-color);
            line-height: 1.6;
            transition: background-color 0.3s ease, color 0.3s ease;
            overflow-x: hidden;
        }

        /* ESTILOS DEL MODAL DE PUBLICACIONES ... (sin cambios) */
        .publication-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.35);
            z-index: 2000;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 3vw 1rem 1.5rem 1rem;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }

        .publication-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .publication-modal-content {
            position: relative;
            width: 100%;
            max-width: 900px;
            aspect-ratio: 16/9;
            margin-top: 2vw;
            background: transparent;
            border-radius: 28px;
            box-shadow: 0 8px 32px rgba(34, 34, 34, 0.13);
            padding: 0;
            overflow: hidden;
            display: flex;
            align-items: stretch;
            justify-content: stretch;
            transform: scale(0.97);
            transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
        }

        .publication-modal-overlay.active .publication-modal-content {
            transform: scale(1);
        }

        .publication-modal-content.carousel {
            max-width: 900px;
            aspect-ratio: 16/9;
        }

        .publication-modal-content img {
            width: 100%;
            height: 100%;
            display: block;
            border-radius: 28px;
            box-shadow: none;
            object-fit: cover;
            margin: 0;
            max-height: none;
            background: #eee;
            transition: border-radius 0.3s;
        }

        .publication-modal-close {
            position: absolute;
            top: 18px;
            right: 18px;
            width: 44px;
            height: 44px;
            background: #fff;
            color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s, background-color 0.3s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
            z-index: 10;
        }

        .publication-modal-close:hover {
            transform: scale(1.08) rotate(90deg);
            background-color: var(--highlight-color);
            color: #fff;
        }

        @media (max-width: 900px) {

            .publication-modal-content,
            .publication-modal-content.carousel {
                max-width: 98vw;
                aspect-ratio: 16/10;
                border-radius: 18px;
            }

            .publication-modal-content img {
                border-radius: 18px;
            }
        }

        @media (max-width: 600px) {
            .publication-modal-overlay {
                align-items: center;
                padding: 1.5rem 0.2rem;
            }

            .publication-modal-content {
                margin-top: 0;
                border-radius: 8px;
                aspect-ratio: 1/1;
            }

            .publication-modal-content img {
                border-radius: 8px;
            }

            .publication-modal-close {
                top: 8px;
                right: 8px;
                width: 36px;
                height: 36px;
                font-size: 20px;
            }
        }

        /* Estilos del carrusel Swiper ... (sin cambios) */
        .swiper-container {
            width: 100%;
            height: 100%;
        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .swiper-button-next,
        .swiper-button-prev {
            display: none !important;
            /* Ocultamos los por defecto, usaremos los nuestros */
        }

        .swiper-pagination-bullet {
            background: rgba(255, 255, 255, 0.5) !important;
            width: 10px !important;
            height: 10px !important;
            opacity: 1 !important;
        }

        .swiper-pagination-bullet-active {
            background: var(--highlight-color) !important;
        }

        /* CONTAINER UTILITIES */
        .container {
            max-width: 15 00px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        @media (min-width: 576px) {
            .container {
                padding: 0 1.5rem;
            }
        }

        @media (min-width: 768px) {
            .container {
                padding: 0 2rem;
            }
        }

        @media (min-width: 1024px) {
            .container {
                padding: 0 2.5rem;
            }
        }

        @media (min-width: 1200px) {
            .container {
                padding: 0 3rem;
            }
        }

        /* ========================================
    HEADER (CON CAMBIOS DE TRANSPARENCIA)
    ========================================
    */
        .header {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 0;
            z-index: 1000;
            /* CAMBIO: Fondo 100% transparente por defecto */
            background: transparent;
            box-shadow: none;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }

        /* CAMBIO: Clase que se añade con JS al hacer scroll */
        .header.scrolled {
            background-color: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
            gap: 2rem;
        }

        .logo-container {
            flex-shrink: 0;
            padding-left: 0.5rem;
            /* CAMBIO: Añadido para gestionar los dos logos */
            position: relative;
            height: 55px;
            /* Altura del logo */
            display: flex;
            align-items: center;
        }

        /* CAMBIO: Estilos para los logos */
        .logo-int {
            height: 55px;
            width: auto;
            transition: opacity 0.3s ease, transform 0.3s ease;
            position: absolute;
            /* Posiciona los logos uno encima de otro */
            top: 0;
            left: 0;
        }

        .logo-int-light {
            opacity: 1;
            /* Visible por defecto */
        }

        .logo-int-dark {
            opacity: 0;
            /* Oculto por defecto */
        }

        /* CAMBIO: En scroll, se invierte la opacidad de los logos */
        .header.scrolled .logo-int-light {
            opacity: 0;
        }

        .header.scrolled .logo-int-dark {
            opacity: 1;
        }


        /* Header Actions (Botones de escritorio) */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .header-phone span {
            display: inline;
        }


        .header-phone {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            /* CAMBIO: Color blanco por defecto */
            color: #fff;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 0.5rem 1rem;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .header-phone i {
            color: #fff;
            font-size: 1.2rem;
            transition: color 0.3s ease;
        }


        .header-phone:hover {
            color: var(--highlight-color);
        }

        .header-phone:hover i {
            color: var(--highlight-color);
        }

        /* CAMBIO: Estilos en scroll */
        .header.scrolled .header-phone {
            color: var(--primary-color);
        }

        .header.scrolled .header-phone i {
            color: var(--secondary-color);
        }

        .header.scrolled .header-phone:hover {
            color: var(--highlight-color);
        }

        .header.scrolled .header-phone:hover i {
            color: var(--highlight-color);
        }


        .header-btn {
            background: var(--primary-color);
            color: #fff;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            white-space: nowrap;
            border: 2px solid var(--primary-color);
        }

        .header-btn:hover {
            background: transparent;
            color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(123, 67, 156, 0.3);
        }

        .header-btn.secondary {
            /* CAMBIO: Estilos transparentes por defecto */
            background: transparent;
            color: #fff;
            border: 2px solid #fff;
        }

        .header-btn.secondary:hover {
            background: #fff;
            color: var(--dark-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
        }

        /* CAMBIO: Estilos en scroll */
        .header.scrolled .header-btn.secondary {
            background: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .header.scrolled .header-btn.secondary:hover {
            background: var(--primary-color);
            color: #fff;
            box-shadow: 0 4px 12px rgba(123, 67, 156, 0.3);
        }

        /* NAVIGATION */
        .nav {
            display: flex;
            align-items: center;
            flex: 1;
            justify-content: center;
        }

        .nav ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 0;
            align-items: center;
        }

        .nav li:first-child a {
            background: var(--secondary-color);
            color: #fff;
            padding: 1rem 1.8rem;
            margin: 0;
            font-weight: 600;
        }

        .header.scrolled .nav li:first-child a {
            background: var(--secondary-color);
            /* Mantenemos el color en scroll */
            color: #fff;
        }

        .nav li:first-child a:hover {
            background: var(--highlight-color);
            color: var(--dark-color);
        }

        .nav li:first-child a::after {
            display: none;
        }

        .nav a {
            position: relative;
            font-weight: 500;
            font-size: 0.9rem;
            text-decoration: none;
            /* CAMBIO: Color blanco por defecto */
            color: #fff;
            padding: 1rem 1.5rem;
            transition: all 0.3s ease;
            white-space: nowrap;
            display: block;
        }

        /* CAMBIO: Color de texto en scroll */
        .header.scrolled .nav a {
            color: var(--dark-color);
        }

        .nav a::after {
            display: none;
        }

        .nav a:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.1);
        }

        .header.scrolled .nav a:hover {
            color: var(--primary-color);
            background: rgba(123, 67, 156, 0.05);
        }


        /* CAMBIO: Clases para ocultar/mostrar botones en móvil */
        .nav-mobile-only {
            display: none;
        }

        /* MENU HAMBURGUESA */
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 4px;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 4px;
            transition: background-color 0.3s ease;
        }

        .menu-toggle:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .header.scrolled .menu-toggle:hover {
            background-color: rgba(123, 67, 156, 0.1);
        }

        .menu-toggle span {
            width: 24px;
            height: 2px;
            /* CAMBIO: Color blanco por defecto */
            background: #fff;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        /* CAMBIO: Color de hamburguesa en scroll */
        .header.scrolled .menu-toggle span {
            background: var(--primary-color);
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* ========================================
    NUEVO: HERO PROJECT CAROUSEL
    ========================================
    */
        .hero-carousel-section {
            width: 100%;
            height: 100vh;
            /* Ocupa toda la altura de la pantalla */
            position: relative;
            background: #333;
            /* Fallback */
        }

        .hero-swiper-container {
            width: 100%;
            height: 100%;
        }

        .hero-swiper-slide {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            position: relative;
            display: flex;
            align-items: center;
            /* Centrado vertical */
            justify-content: flex-start;
            /* Alineado a la izquierda */
        }

                 /* NUEVO: Ajuste de posición de imagen en móvil */
                 @media (max-width: 768px) {
                     .hero-swiper-slide {
                         background-position: 70% center;
                         /* Enfoca más hacia la derecha */
                     }
                 }
        
                 @media (max-width: 480px) {
                     .hero-swiper-slide {
                         background-position: 75% center;
                         /* Aún más hacia la derecha en móviles pequeños */
                     }
                 }

        /* Capa oscura para legibilidad */
        .hero-swiper-slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 70%);
            z-index: 1;
        }

        .hero-slide-content {
            position: relative;
            z-index: 2;
            color: #fff;
            padding-left: 5vw;
            /* Espaciado desde la izquierda */
            max-width: 600px;
        }

        @media (min-width: 768px) {
            .hero-slide-content {
                padding-left: 10vw;
            }
        }

        .hero-project-logo {
            /* CAMBIO: Aumentamos el tamaño */
            max-width: 320px;
            /* CAMBIO: Reducimos el margen inferior */
            margin-bottom: 0.25rem;
            /* CAMBIO: Restauramos el filtro blanco */
            filter: brightness(0) invert(1);
            height: auto;
        }

        .hero-project-name {
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 0.5rem;
            /* CAMBIO: Ocultamos el nombre del proyecto */
            display: none;
        }

        .hero-project-status {
            display: inline-block;
            background-color: var(--highlight-color);
            color: var(--dark-color);
            padding: 0.5rem 1.25rem;
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            border-radius: 4px;
            /* CAMBIO: Ajustamos el margen superior */
            margin-top: 0.25rem;
            letter-spacing: 0.5px;
        }

        .hero-project-address {
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(1.2rem, 3vw, 2rem);
            font-weight: 500;
            margin-top: 1rem;
            line-height: 1.3;
            margin-bottom: 0.25rem;
            /* Ajuste para la ciudad */
        }

        /* NUEVO: Estilo para la ciudad */
        .hero-project-city {
            font-family: 'Poppins', sans-serif;
            font-size: clamp(1rem, 2vw, 1.2rem);
            font-weight: 400;
            margin: 0;
            opacity: 0.8;
        }

        .hero-project-button {
            display: inline-block;
            border: 2px solid #fff;
            color: #fff;
            padding: 0.75rem 2rem;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            margin-top: 2rem;
            transition: all 0.3s ease;
            text-transform: uppercase;
        }

        .hero-project-button:hover {
            background-color: #fff;
            color: var(--dark-color);
        }

        /* --- INICIO: CAMBIOS BOTONES NAVEGACIÓN --- */
        /* Navegación del Hero Swiper */
        .hero-swiper-button-next,
        .hero-swiper-button-prev {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);

            width: 50px;
            height: 60px;

            /* CAMBIO: Transparente por defecto con borde morado */
            background-color: transparent;
            border: 2px solid var(--primary-color);

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

            /* CAMBIO: Flecha morada por defecto */
            color: var(--primary-color);

            font-size: 1.5rem;
            /* Flecha más grande */
            cursor: pointer;

            /* CAMBIO: Transición para la animación de hover */
            transition: all 0.3s ease;

            z-index: 10;
            border-radius: 0;
            /* Reseteamos el radio por defecto */
        }

        .hero-swiper-button-prev {
            left: 2vw;
            border-radius: 25px 0 0 25px;
            /* Forma de "D" invertida */
        }

        .hero-swiper-button-next {
            right: 2vw;
            border-radius: 0 25px 25px 0;
            /* Forma de "D" */
        }

        .hero-swiper-button-next:hover,
        .hero-swiper-button-prev:hover {

            background-color: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
            transform: translateY(-50%) scale(1.05);
        }

        .hero-swiper-pagination {
            display: none !important;
        }

        main {
            margin-top: 0;
            min-height: auto;
            padding: 0;
        }

        .main-content {
            text-align: center;
            padding: 4rem 1rem;
        }

        .main-content h1 {
            font-size: clamp(1.75rem, 4vw, 3rem);
            margin-bottom: 1rem;
            color: var(--primary-color);
            font-weight: 700;
        }

        .main-content p {
            font-size: clamp(1rem, 2vw, 1.2rem);
            max-width: 600px;
            margin: 0 auto;
            /* CAMBIO: Color devuelto a la normalidad */
            opacity: 1;
            color: #333;
        }

        .proyectos-profesionales-section {
            background-color: #f8f9fa;
            padding: 4rem 0;
        }

        .proyecto-filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            padding: 1.5rem 2rem;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            margin-bottom: 3rem;
            align-items: flex-end;
        }

        .filter-group {
            flex: 1 1 250px;
            display: flex;
            flex-direction: column;
            gap: 0;
            position: relative;
        }

        .filter-group label {
            display: none;
            /* Ocultamos el label */
        }

        .filter-group select {
            padding: 1rem 1.25rem;
            padding-right: 3rem;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            font-weight: 500;
            background-color: #fff;
            color: var(--primary-color);
            transition: all 0.3s ease;
            appearance: none;
            cursor: pointer;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237b439c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 20px;
        }

        .filter-group select:hover {
            border-color: var(--primary-color);
            background-color: #fafafa;
        }


        .filter-group select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(123, 67, 156, 0.15);
        }

        .filter-group select option {
            padding: 0.75rem;
            font-size: 1rem;
            color: var(--dark-color);
        }

        .filter-group select option:first-child {
            color: var(--primary-color);
            font-weight: 600;
        }

        /* Icono antes del select */
        .filter-group::before {
            content: '';
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            background-size: contain;
            background-repeat: no-repeat;
            pointer-events: none;
            z-index: 1;
        }

        /* Icono de edificio para tipo de proyecto */
        .filter-group:first-child::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237b439c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
        }

        /* Icono de ubicación para ciudades */
        .filter-group:nth-child(2)::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237b439c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
        }

        /* Ajustar padding del select para el icono */
        .filter-group select {
            padding-left: 3rem;
        }


        .filter-btn {
            flex-basis: 150px;
            background: var(--primary-color);
            color: #fff;
            border: none;
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 12px rgba(123, 67, 156, 0.3);
        }


        .filter-btn:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(111, 2, 138, 0.4);
        }

        .filter-btn:active {
            transform: translateY(0);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .proyecto-filter-bar {
                padding: 1.25rem 1.5rem;
                gap: 0.75rem;
            }

            .filter-group {
                flex: 1 1 100%;
            }

            .filter-group select {
                font-size: 0.95rem;
                padding: 0.9rem 1rem;
                padding-left: 2.75rem;
                padding-right: 2.75rem;
            }

            .filter-group::before {
                left: 0.85rem;
                width: 18px;
                height: 18px;
            }

            .filter-btn {
                flex-basis: 100%;
                padding: 1rem 1.5rem;
                font-size: 0.95rem;
            }
        }

        @media (max-width: 480px) {
            .proyecto-filter-bar {
                padding: 1rem;
            }

            .filter-group select {
                font-size: 0.9rem;
                padding: 0.85rem 0.9rem;
                padding-left: 2.5rem;
                padding-right: 2.5rem;
            }

            .filter-btn {
                font-size: 0.9rem;
            }
        }

        .proyectos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2rem;
        }

        /* Wrapper para tarjeta + botón */
        .proyecto-card-wrapper {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        /* ==================================================
           INICIO DE CAMBIOS DE TARJETA (Estilo Topográfico)
          ================================================== */

        .proyecto-card {
            position: relative;
            background: #f0f0f0;
            /* Color de fondo mientras carga la imagen */
            border-radius: 24px;
            /* Redondeo de la tarjeta */
            overflow: hidden;
            /* MUY Importante para el efecto de "corte" */
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            aspect-ratio: 10 / 12;
            /* Proporción vertical como la de ejemplo */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .proyecto-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        }

        /* Contenedor de la imagen (ocupa todo) */
        .card-image-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* Imágenes */
        .card-image-container img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.4s ease;
        }

        .card-img-main {
            opacity: 1;
            z-index: 1;
        }

        .card-img-hover {
            opacity: 0;
            z-index: 2;
            transform: scale(1.08);
        }

        .proyecto-card:hover .card-img-main {
            opacity: 0;
        }

        .proyecto-card:hover .card-img-hover {
            opacity: 1;
            transform: scale(1);
        }

        /* Overlay oscuro (más fuerte abajo) */
        .card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom,
                    rgba(0, 0, 0, 0.3) 0%,
                    rgba(0, 0, 0, 0.1) 40%,
                    rgba(0, 0, 0, 0.7) 100%);
            z-index: 3;
            pointer-events: none;
        }

        .card-status-badge {
            position: absolute;
            top: 0.5rem;
            left: 1.2rem;
            padding: 0.3rem 0.2rem;
            /* Más acolchado */
            font-weight: 500;
            /* Más bold */
            font-size: 0.7rem;
            border-radius: 5px;
            z-index: 10;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
            /* Los colores se asignan en línea (ya está bien) */
        }

        /* --- 1. Ciudad (Esquina Superior Derecha) --- */
        .card-city-overlay {
            position: absolute;
            top: 0.5rem;
            right: 1.5rem;
            /* CAMBIO: De left a right */
            display: flex;
            align-items: center;
            gap: 0.6rem;
            color: #fff;
            font-size: 1.1rem;
            font-weight: 500;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
            z-index: 10;
        }

        .card-city-overlay i {
            font-size: 1rem;
            /* Ajustar icono */
        }


        /* --- 2. Contenido Inferior (Wrapper) --- */
        .card-bottom-content {
            position: absolute;
            bottom: 0rem;
            left: 1.5rem;
            width: calc(100% - 3rem);
            /* Ocupa el ancho menos los paddings */
            display: flex;
            flex-direction: column;
            gap: 0rem;
            z-index: 10;
            pointer-events: none;
            /* No interfiere con el click */
        }

        .card-characteristics-overlay {
            position: relative;
            display: flex;
            gap: 0;
            flex-wrap: nowrap;
            justify-content: flex-start;
            align-items: center;
            background: rgba(0, 0, 0, 0.35);
            backdrop-filter: blur(10px);
            padding: 0.75rem 0.5rem;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            max-width: 100%;
            /* CAMBIO: Ajustar ancho cuando hay solo una característica */
            width: fit-content;
            min-width: fit-content;
        }

        .char-item-overlay {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            /* CAMBIO: Flex adaptable según cantidad de items */
            flex: 1 1 auto;
            min-width: 0;
            background: transparent;
            padding: 0 0.75rem;
            border: none;
            box-shadow: none;
            border-right: 1px solid rgba(255, 255, 255, 0.4);
        }

        .card-characteristics-overlay:has(.char-item-overlay:only-child) {
            width: fit-content;
            padding: 0.75rem 1rem;
        }

        .char-item-overlay:only-child {
            border-right: none;
            padding: 0 0.5rem;
            flex: 0 1 auto;
        }

        .char-item-overlay:last-child {
            border-right: none;
        }

        .char-item-overlay img {
            width: 26px;
            /* Más grande */
            height: 26px;
            filter: brightness(0) invert(1);
            flex-shrink: 0;
        }

        /* Iconos de FontAwesome (si se usan) */
        .char-item-overlay i {
            width: 26px;
            text-align: center;
            font-size: 1.2rem;
            color: #fff;
            filter: none;
            flex-shrink: 0;
        }


        /* --- 5. Texto de Característica (Label + Value) --- */
        .char-text {
            display: flex;
            flex-direction: column;
            gap: 0.1rem;
            align-items: flex-start;
            /* Alineado a la izquierda */
            color: #fff;
            /* Texto blanco */
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
            min-width: 0;
            /* Para flexbox */
        }

        .char-label {
            font-size: 0.8rem;
            color: #f0f0f0;
            /* Blanco suave */
            font-weight: 400;
            text-transform: capitalize;
            line-height: 1.1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
        }

        .char-value {
            font-size: 1rem;
            color: #fff;
            /* Blanco puro */
            font-weight: 600;
            /* Bold */
            line-height: 1.1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
        }

        .card-logo-overlay {
            position: relative;
            padding: 0;
            border-radius: 0;
            max-width: 300px;
            /* Contenedor mantiene el mismo tamaño */
            margin-top: 0;
            /* El gap del parent lo maneja */
        }

        .card-logo-overlay img {
            position: relative;
            width: 100%;
            height: auto;
            max-height: 105px;
            object-fit: contain;
            object-position: left;
            filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
            display: block;
        }

        /* --- 7. Precio (Caja blanca) --- */
        .card-price-box {
            position: absolute;
            bottom: 0;
            right: 0;
            background: #fff;
            padding: 0.75rem 1.25rem;
            /* El truco del "corte": */
            border-top-left-radius: 24px;

            box-shadow: -5px -5px 20px rgba(0, 0, 0, 0.1);
            text-align: right;
            z-index: 5;
            /* Quitar estilos de overlay */
            color: var(--dark-color);
            text-shadow: none;
            pointer-events: auto;
            /* Se puede hacer click */
        }

        .price-label {
            font-size: 0.9rem;
            color: #555;
            /* Texto oscuro */
            margin: 0 0 0.1rem 0;
            text-transform: capitalize;
            /* "Precio desde" */
            letter-spacing: 0px;
            font-weight: 500;
        }

        .price-amount {
            font-size: 1.75rem;
            font-weight: 700;
            /* Bold */
            color: #5a0393;
            /* Naranja como en la imagen */
            margin: 0;
            line-height: 1;
        }


        /* ========================================
           FIN DE CAMBIOS DE TARJETA
          ======================================== */


        /* Responsive */
        @media (max-width: 768px) {
            .proyectos-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .proyecto-card {
                aspect-ratio: 10 / 12.5;
            }

            .card-city-overlay {
                font-size: 1.4rem;
                top: 1rem;
                right: 1rem;
                /* CAMBIO: De left a right */
            }

            .char-label {
                font-size: 0.75rem;
            }

            .char-value {
                font-size: 0.9rem;
            }

            .price-amount {
                font-size: 1.5rem;
            }

            .card-price-box {
                padding: 0.6rem 1rem;
            }
        }

        @media (max-width: 480px) {
            .proyecto-card {
                aspect-ratio: 10 / 13;
                /* Un poco más alto en móvil */
            }

            .card-status-badge {
                top: 1rem;
                left: 1rem;
                padding: 0.5rem 1rem;
                font-size: 0.7rem;
            }

            .card-city-overlay {
                top: 1rem;
                right: 1rem;
                /* CAMBIO: De left a right */
                font-size: 1.2rem;
            }

            .card-city-overlay {
                top: 1rem;
                right: 1rem;
                /* CAMBIO: De left a right */
                font-size: 1.2rem;
            }

            .card-bottom-content {
                bottom: 1rem;
                left: 1rem;
                width: calc(100% - 2rem);
            }

            .card-characteristics-overlay {
                padding: 0.5rem 0.6rem;
            }

            .char-item-overlay {
                padding: 0 0.5rem;
                gap: 0.4rem;
            }

            .char-item-overlay img,
            .char-item-overlay i {
                width: 20px;
                height: 20px;
                font-size: 1rem;
            }

            .char-label {
                font-size: 0.75rem;
            }

            .char-value {
                font-size: 0.9rem;
            }

            .card-logo-overlay {
                max-width: 200px;
            }

            .card-logo-overlay img {
                max-height: 80px;
            }

            .price-label {
                font-size: 0.8rem;
            }

            .price-amount {
                font-size: 1.4rem;
            }

            .card-price-box {
                padding: 0.5rem 0.8rem;
                border-top-left-radius: 18px;
            }
        }

        /* ========================================
   FOOTER - DISEÑO PROFESIONAL OPTIMIZADO
   ======================================== */
        .footer-int {
            background: #e8e8e8;
            color: #333;
            padding: 3.5rem 0 1.5rem;
            font-size: 0.9rem;
            margin-top: 0;
        }

        .footer-top-section {
            display: grid;
            grid-template-columns: 0.4fr 0.8fr 2fr 0.4fr;
            gap: 2.5rem;
            padding-bottom: 2rem;
            border-bottom: 2px solid #d0d0d0;
            align-items: start;
        }

        /* ========================================
   COLUMNA 1: SOLO LOGO
   ======================================== */
        .footer-logo-only {
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
        }

        .footer-int-logo {
            height: 70px;
            width: auto;
        }

        /* ========================================
   COLUMNA 2: INFORMACIÓN DE CONTACTO
   ======================================== */
        .footer-contact-column {
            display: flex;
            flex-direction: column;
        }

        .contact-info-text {
            text-align: left;
        }

        .contact-info-text p {
            margin: 0.25rem 0;
            line-height: 1.4;
            color: #555;
            font-size: 0.9rem;
        }

        .contact-info-text strong {
            color: var(--secondary-color);
            display: block;
            margin: 0;
            margin-bottom: 0.75rem;
            font-size: 1.05rem;
            font-weight: 600;
        }

        .contact-info-text strong:not(:first-child) {
            margin-top: 1.5rem;
        }

        /* ========================================
   COLUMNA 3: ENLACES
   ======================================== */
        .footer-links {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2.5rem;
        }

        .footer-links-col {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .footer-links-col h4 {
            color: var(--secondary-color);
            font-weight: 600;
            margin: 0 0 0.75rem 0;
            font-size: 1.05rem;
        }

        .footer-links-col a {
            color: #555;
            text-decoration: none;
            transition: color 0.3s ease;
            padding: 0.15rem 0;
            font-size: 0.9rem;
        }

        .footer-links-col a:hover {
            color: var(--primary-color);
        }

        /* Botón Contactar */
        .btn-cotizar {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: #fff !important;
            padding: 1rem 2rem;
            border-radius: 50px;
            text-transform: uppercase;
            font-weight: 700;
            text-align: center;
            font-size: 0.95rem;
            letter-spacing: 1px;
            margin-top: 1rem;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: 0 8px 24px rgba(123, 67, 156, 0.35);
            text-decoration: none;
        }

        .btn-cotizar:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(123, 67, 156, 0.45);
        }

        .btn-cotizar i {
            transition: transform 0.3s ease;
        }

        .btn-cotizar:hover i {
            transform: translateX(3px);
        }

        /* ========================================
   COLUMNA 4: REDES SOCIALES VERTICALES
   ======================================== */
        .social-media {
            display: flex !important;
            flex-direction: column !important;
            gap: 1rem !important;
            align-items: center !important;
            justify-content: flex-start !important;
            padding-top: 0 !important;
        }

        .social-icon-unified {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 50px !important;
            height: 50px !important;
            font-size: 1.3rem !important;
            color: #fff !important;
            background: #181818 !important;
            border-radius: 16px !important;
            border: 2px solid #fff !important;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18) !important;
            transition: transform 0.25s cubic-bezier(.68, -0.55, .27, 1.55), box-shadow 0.25s, background 0.25s, border 0.25s !important;
            text-align: center !important;
            position: relative !important;
            overflow: hidden !important;
        }

        .social-icon-unified:hover,
        .social-icon-unified:focus {
            color: #fff !important;
            background: #7b439c !important;
            border: 2px solid #22FCA5 !important;
            transform: scale(1.13) translateY(-6px) rotate(-3deg) !important;
            box-shadow: 0 12px 32px rgba(34, 252, 165, 0.22) !important;
            outline: none !important;
        }

        .social-icon-unified i,
        .social-icon-unified svg,
        .social-icon-unified img {
            margin: 0 !important;
            padding: 0 !important;
            width: 22px !important;
            height: 22px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            color: inherit !important;
            z-index: 2 !important;
            transition: color 0.25s !important;
        }

        /* ========================================
   FOOTER BOTTOM
   ======================================== */
        .footer-bottom {
            text-align: center;
            padding-top: 1.5rem;
        }

        .footer-bottom img {
            height: 100px;
            margin-bottom: 0.75rem;
        }

        .disclaimer {
            font-size: 0.7rem;
            color: #666;
            max-width: 650px;
            margin: 0 auto 1rem;
            line-height: 1.3;
        }

        .footer-bottom-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1rem 0;
        }

        .footer-bottom-links a {
            color: var(--primary-color);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            padding: 0.5rem 1rem;
            background: rgba(123, 67, 156, 0.08);
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .footer-bottom-links a:hover {
            color: #fff;
            background: var(--primary-color);
        }

        .copyright {
            font-size: 0.7rem;
            color: #555;
            margin-top: 0.75rem;
        }

        /* ========================================
   RESPONSIVE FOOTER
   ======================================== */

        @media (min-width: 1200px) {
            .footer-int-logo {
                height: 80px;
            }

            .footer-top-section {
                grid-template-columns: 0.5fr 1fr 2fr 0.4fr;
            }
        }

        @media (max-width: 991px) {
            .footer-top-section {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .footer-logo-only {
                justify-content: center;
            }

            .footer-int-logo {
                height: 70px;
            }

            .contact-info-text {
                text-align: center;
            }

            .footer-links {
                grid-template-columns: 1fr 1fr;
                gap: 2.5rem;
            }

            .footer-links-col {
                text-align: center;
            }

            .social-media {
                flex-direction: row !important;
                align-items: center !important;
                justify-content: center !important;
                flex-wrap: wrap !important;
                gap: 1rem !important;
            }
        }

        @media (max-width: 768px) {
            .footer-int {
                padding: 2.5rem 0 1rem;
            }

            .footer-top-section {
                gap: 2.5rem;
            }

            .footer-int-logo {
                height: 80px;
            }

            .footer-links {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .btn-cotizar {
                width: 100%;
                max-width: 300px;
            }

            .social-icon-unified {
                width: 45px !important;
                height: 45px !important;
            }
        }

        @media (max-width: 480px) {
            .footer-int {
                padding: 2rem 0 1rem;
            }

            .footer-int-logo {
                height: 50px;
            }

            .social-icon-unified {
                width: 42px !important;
                height: 42px !important;
                font-size: 1.1rem !important;
            }

            .social-icon-unified i,
            .social-icon-unified svg,
            .social-icon-unified img {
                width: 20px !important;
                height: 20px !important;
            }

            .footer-bottom-links {
                flex-direction: column;
                gap: 0.5rem;
                align-items: center;
            }

            .footer-bottom-links a {
                width: 90%;
                max-width: 280px;
                text-align: center;
            }
        }

        @media (max-width: 1024px) {
            .header-actions {
                display: flex;
                /* CAMBIO: Mostrar en lugar de ocultar */
                gap: 0.75rem;
            }

            .header-phone span {
                display: none;
            }

            .nav {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(15px);
                border-top: 1px solid rgba(0, 0, 0, 0.1);
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
                opacity: 0;
                visibility: hidden;
                transform: translateY(-20px);
                transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            }

            .nav.active {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }

            .nav ul {
                flex-direction: column;
                gap: 0;
                width: 100%;
                padding: 1rem 0;
            }

            .nav li {
                width: 100%;
            }

            .nav li:first-child a {
                background: var(--secondary-color);
                color: #fff;
            }

            .nav li:first-child a:hover {
                background: var(--highlight-color);
                color: var(--dark-color) !important;
            }

            .nav a {
                display: block;
                padding: 1rem 2rem;
                width: 100%;
                font-size: 1.05rem;
                border-bottom: 1px solid rgba(0, 0, 0, 0.05);
                transition: all 0.3s ease;
                color: var(--dark-color);
            }

            .nav a:hover {
                background: var(--light-color);
                padding-left: 2.5rem;
                color: var(--primary-color);
            }

            .menu-toggle {
                display: none !important;
            }

            .nav-mobile-only {
                display: block;
                width: 100%;
            }

            .header-phone-mobile {
                display: flex !important;
                align-items: center;
                gap: 0.75rem;
                font-weight: 600 !important;
                color: var(--primary-color) !important;
                /* Siempre color primario */
            }

            .header-phone-mobile i {
                color: var(--secondary-color);
                font-size: 1.1rem;
            }

            /* Estilo para el botón "Mundo Int" en móvil */
            .header-btn-mobile {
                display: block;
                text-align: center;
                background: var(--primary-color);
                color: #ffffff !important;
                padding: 0.75rem 1.5rem !important;
                margin: 0.5rem 1.5rem;
                /* Margen para que parezca un botón */
                border-radius: 6px;
                font-weight: 600;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                transition: all 0.3s ease;
                border: none !important;
                /* Sobrescribir borde de .nav a */
            }

            .header-btn-mobile:hover {
                background: var(--highlight-color) !important;
                /* Sobrescribe hover de .nav a */
                color: var(--dark-color) !important;
                transform: scale(1.02);
                padding-left: 1.5rem !important;
                /* Resetea el hover de nav a */
            }

            /* Prevent body scroll when menu is open */
            body.menu-open {
                overflow: hidden;
            }

            /* INICIO DEL CAMBIO: Ocultar flechas del carrusel en móvil/tablet */
            .hero-swiper-button-next,
            .hero-swiper-button-prev {
                display: none;
            }

            /* FIN DEL CAMBIO */

        }

        /* Very small devices */
        @media (max-width: 375px) {
            .container {
                padding: 0 0.75rem;
            }

            .social-media {
                gap: 0.75rem;
            }

            .social-media a {
                width: 35px;
                height: 35px;
                font-size: 1.1rem;
            }

            .footer-bottom-links {
                flex-direction: column;
                gap: 0.5rem;
            }
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Focus styles for accessibility */
        .nav a:focus,
        .footer-links-col a:focus,
        .social-media a:focus {
            outline: 2px solid var(--highlight-color);
            outline-offset: 2px;
        }

        .logos-carousel-track {
            display: flex;
            flex-direction: row;
            gap: 3rem;
            min-width: max-content;
            width: max-content;
            justify-content: flex-start;
            align-items: center;
            will-change: transform;
        }

        .logos-carousel-title h2 {
            font-size: clamp(1.5rem, 3vw, 2.5rem);
            color: var(--primary-color);
            font-weight: 700;
            margin-bottom: 0;
            position: relative;
            display: inline-block;
        }

        .logos-carousel-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(45deg, var(--secondary-color), var(--highlight-color));
            border-radius: 2px;
        }

        .logos-carousel-title p {
            color: #666;
            font-size: 1.1rem;
            margin: 0;
            opacity: 0.8;
        }

        .logos-carousel-container {
            position: relative;
            width: 100%;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0;
            background: #f3f3f3;
            min-height: 80px;
            height: 80px;
            margin-bottom: 0;
            /* NUEVO: Eliminar margen inferior */
        }

        .logos-carousel-section {
            margin-bottom: 0;
            /* NUEVO: Sin margen inferior */
            padding-bottom: 0;
            /* NUEVO: Sin padding inferior */
        }

        .logos-carousel-track {
            display: flex;
            flex-direction: row;
            gap: 2.5rem;
            min-width: max-content;
            width: auto;
            justify-content: flex-start;
            align-items: center;
            flex-wrap: nowrap;
        }

        @media (max-width: 1024px) {
            .logos-carousel-track {
                gap: 1.5rem;
            }

            .logo-item img {
                max-width: 220px;
                max-height: 90px;
            }

            .logo-item {
                height: 100px;
                min-width: 80px;
            }
        }

        @media (max-width: 768px) {
            .logos-carousel-track {
                gap: 1rem;
            }

            .logo-item img {
                max-width: 140px;
                max-height: 60px;
            }

            .logo-item {
                height: 70px;
                min-width: 60px;
            }
        }

        @media (max-width: 480px) {
            .logos-carousel-track {
                gap: 0.5rem;
            }

            .logo-item img {
                max-width: 90px;
                max-height: 40px;
            }

            .logo-item {
                height: 45px;
                min-width: 40px;
            }
        }

        .logos-carousel-track:hover {
            animation-play-state: running;
        }

        @keyframes scroll-infinite {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .logo-item {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            background: transparent;
            border-radius: 0;
            box-shadow: none !important;
            border: none !important;
            min-width: 100px;
            height: 100%;
            position: relative;
            overflow: visible;
        }

        .logo-item::before {
            display: none !important;
        }

        .logo-item:hover::before {
            display: none !important;
        }

        .logo-item:hover {
            box-shadow: none !important;
            background: transparent !important;
            transform: none !important;
        }

        .logo-item::before,
        .logo-item:hover::before {
            display: none !imporant;
        }

        .logo-item img {
            max-width: 400px;
            max-height: 160px;
            width: auto;
            height: auto;
            object-fit: contain;
            filter: none !important;
            transition: none !important;
        }

        .logo-item:hover img {
            filter: none !important;
            transform: none !important;
        }

        .logo-separator {
            margin: 0 0.2rem;
            user-select: none;
            font-size: 0.8rem;
            color: #111;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 110px;
        }

        /* --- 8. Botón Ver Proyecto --- */
        .card-view-button {
            display: block;
            width: 100%;
            padding: 1rem 2rem;
            margin-top: 1.5rem;
            background: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            border-radius: 8px;
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            text-align: center;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .card-view-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary-color);
            transition: left 0.3s ease;
            z-index: -1;
        }

        .card-view-button:hover {
            color: #fff;
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(123, 67, 156, 0.3);
        }

        .card-view-button:hover::before {
            left: 0;
        }

        .card-view-button:active {
            transform: translateY(0);
        }

        /* Responsive para el botón */
        @media (max-width: 768px) {
            .card-view-button {
                padding: 0.9rem 1.5rem;
                font-size: 0.95rem;
                margin-top: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .card-view-button {
                padding: 0.8rem 1.2rem;
                font-size: 0.85rem;
                margin-top: 1rem;
                letter-spacing: 0.5px;
            }
        }

        /* Contenedor del botón Ver Todos */
        /* Contenedor del botón Ver Todos */
        .ver-todos-container {
            display: none;
            text-align: center;
            margin-top: 3rem;
            padding: 0;
            width: 100%;
        }

        .btn-ver-todos {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            width: 100%;
            background: var(--highlight-color);
            color: var(--dark-color);
            border: none;
            padding: 1.75rem 2rem;
            border-radius: 0;
            font-family: 'Poppins', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.3s ease, color 0.3s ease;
            box-shadow: 0 4px 20px rgba(34, 252, 165, 0.3);
            position: relative;
            overflow: hidden;
        }

        .btn-ver-todos::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary-color);
            transition: left 0.4s ease;
            z-index: 1;
        }

        .btn-ver-todos:hover {
            color: #fff;
            box-shadow: 0 6px 30px rgba(123, 67, 156, 0.5);
        }

        .btn-ver-todos:hover::before {
            left: 0;
        }

        .btn-ver-todos:active {
            transform: scale(0.98);
        }

        /* Asegurar que el texto y el icono estén encima del overlay */
        .btn-ver-todos {
            position: relative;
            z-index: 0;
        }

        .btn-ver-todos::before {
            z-index: -1;
        }

        .btn-ver-todos i {
            position: relative;
            z-index: 2;
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .btn-ver-todos:hover i {
            transform: translateY(4px);
            color: #fff;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .ver-todos-container {
                margin-top: 2.5rem;
            }

            .btn-ver-todos {
                padding: 1.5rem 1.5rem;
                font-size: 1rem;
                letter-spacing: 1.5px;
            }
        }

        @media (max-width: 480px) {
            .ver-todos-container {
                margin-top: 2rem;
            }

            .btn-ver-todos {
                padding: 1.25rem 1rem;
                font-size: 0.9rem;
                letter-spacing: 1px;
            }
        }

        /* ==========================================
   SECCIÓN DE TESTIMONIOS Y ESTADÍSTICAS
   ========================================== */
        .testimonios-stats-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            padding: 3rem 0;
            margin-top: -2rem;
            position: relative;
            overflow: hidden;
        }

        .testimonios-stats-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 20% 50%, rgba(123, 67, 156, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(34, 252, 165, 0.03) 0%, transparent 50%);
            pointer-events: none;
        }

        /* Grid Principal - Dos Columnas con proporción ajustada */
        .testimonios-stats-grid {
            display: grid;
            grid-template-columns: 0.9fr 1.1fr;
            /* CAMBIO: Carrusel más pequeño, stats más grande */
            gap: 3.5rem;
            /* CAMBIO: Aumentado el gap */
            align-items: center;
            position: relative;
            z-index: 1;
            max-width: 1400px;
            margin: 0 auto;
        }

        .testimonios-column {
            width: 100%;
            min-width: 0;
        }

        .stats-column {
            width: 100%;
            min-width: 0;
        }

        /* TESTIMONIOS - MÁS COMPACTO */
        .testimonios-wrapper {
            position: relative;
            width: 100%;
        }

        .testimonios-header {
            text-align: center;
            margin-bottom: 1.5rem;
            /* CAMBIO: Reducido */
        }

        .testimonios-title {
            font-size: clamp(1.25rem, 2.5vw, 1.75rem);
            /* CAMBIO: Más pequeño */
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.4rem;
            line-height: 1.2;
        }

        .testimonios-subtitle {
            font-size: 0.9rem;
            /* CAMBIO: Más pequeño */
            color: #666;
            margin: 0;
        }

        .testimonios-swiper {
            padding: 0 0 3rem;
            width: 100%;
            position: relative;
        }

        /* Tarjeta de testimonio - Más pequeña */
        .testimonio-card {
            background: transparent;
            border-radius: 0;
            padding: 0;
            box-shadow: none;
            transition: all 0.3s ease;
            position: relative;
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .testimonio-quote-icon {
            display: none;
        }

        .testimonio-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0;
            width: 100%;
        }

        /* Contenedor de foto - MÁS PEQUEÑO */
        .testimonio-photo-container {
            width: 100%;
            max-width: 380px;
            /* CAMBIO: Reducido de 500px */
            aspect-ratio: 1 / 1;
            border-radius: 15px;
            overflow: hidden;
            border: none;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .testimonio-card:hover .testimonio-photo-container {
            transform: scale(1.02);
            box-shadow: 0 20px 60px rgba(123, 67, 156, 0.2);
        }

        .testimonio-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .testimonio-photo-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 4rem;
            /* CAMBIO: Reducido */
        }

        /* Ocultar info de nombre, rating y texto */
        .testimonio-info,
        .testimonio-nombre,
        .testimonio-rating,
        .testimonio-text {
            display: none;
        }

        /* Navegación moderna - Más pequeña */
        .testimonios-nav {
            position: absolute;
            bottom: 15px;
            /* CAMBIO: Más cerca */
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.6rem;
            /* CAMBIO: Reducido */
            z-index: 10;
        }

        .testimonios-button-prev,
        .testimonios-button-next {
            width: 45px;
            /* CAMBIO: Más pequeño */
            height: 45px;
            background: rgba(255, 255, 255, 0.95);
            color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-size: 1.1rem;
            /* CAMBIO: Más pequeño */
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
        }

        .testimonios-button-prev:hover,
        .testimonios-button-next:hover {
            background: var(--primary-color);
            color: #fff;
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(123, 67, 156, 0.3);
        }

        /* Paginación moderna */
        .testimonios-pagination {
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            display: flex;
            gap: 0.4rem;
            /* CAMBIO: Reducido */
            justify-content: center;
        }

        .testimonios-pagination .swiper-pagination-bullet {
            width: 7px;
            /* CAMBIO: Más pequeño */
            height: 7px;
            background: #ddd;
            opacity: 1;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .testimonios-pagination .swiper-pagination-bullet-active {
            background: var(--primary-color);
            width: 25px;
            /* CAMBIO: Más pequeño */
            border-radius: 4px;
        }

        /* ESTADÍSTICAS - MÁS GRANDE Y VISTOSA */
        .stats-wrapper {
            position: relative;
            width: 100%;
        }

        .stats-header {
            text-align: center;
            margin-bottom: 2.5rem;
            /* CAMBIO: Aumentado */
        }

        .stats-title {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            /* CAMBIO: Más grande */
            font-weight: 800;
            /* CAMBIO: Más bold */
            color: var(--primary-color);
            margin-bottom: 1rem;
            /* CAMBIO: Aumentado */
            line-height: 1.2;
            letter-spacing: -0.5px;
        }

        .stats-subtitle {
            font-size: 1rem;
            /* CAMBIO: Aumentado */
            line-height: 1.6;
            color: #555;
            /* CAMBIO: Más oscuro para mejor contraste */
            margin: 0 auto;
            max-width: 95%;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.75rem;
            /* CAMBIO: Aumentado */
        }

        .stat-card {
            background: #fff;
            border-radius: 24px;
            /* CAMBIO: Más redondeado */
            padding: 2rem 1.75rem;
            /* CAMBIO: Más padding */
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
            /* CAMBIO: Sombra más fuerte */
            display: flex;
            align-items: center;
            gap: 1.5rem;
            /* CAMBIO: Más gap */
            transition: all 0.3s ease;
            border: 1px solid rgba(123, 67, 156, 0.08);
            /* CAMBIO: Añadido borde sutil */
        }

        .stat-card:hover {
            transform: translateY(-8px);
            /* CAMBIO: Más movimiento */
            box-shadow: 0 15px 45px rgba(123, 67, 156, 0.2);
        }

        .stat-card-wide {
            grid-column: 1 / -1;
            justify-content: center;
        }

        .stat-icon {
            width: 75px;
            /* CAMBIO: Más grande */
            height: 75px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 20px;
            /* CAMBIO: Más redondeado */
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(123, 67, 156, 0.25);
            /* CAMBIO: Añadida sombra */
        }

        .stat-icon i {
            font-size: 2rem;
            /* CAMBIO: Más grande */
            color: #fff;
        }

        .stat-content {
            flex: 1;
        }

        .stat-number {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            /* CAMBIO: Más grande */
            font-weight: 900;
            /* CAMBIO: Más bold */
            color: #650290;
            line-height: 1;
            margin-bottom: 0.5rem;
            /* CAMBIO: Más espacio */
            font-family: 'Montserrat', sans-serif;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
            /* CAMBIO: Añadida sombra sutil */
        }

        .stat-label {
            font-size: 0.95rem;
            /* CAMBIO: Ligeramente más grande */
            font-weight: 600;
            color: #333;
            line-height: 1.3;
        }

        /* RESPONSIVE */
        @media (max-width: 1200px) {
            .testimonios-stats-grid {
                grid-template-columns: 0.85fr 1.15fr;
                gap: 3rem;
            }

            .testimonio-photo-container {
                max-width: 350px;
            }

            .stat-card {
                padding: 1.75rem 1.5rem;
            }
        }

        @media (max-width: 991px) {
            .testimonios-stats-section {
                padding: 2.5rem 0;
                margin-top: -1rem;
            }

            .testimonios-stats-grid {
                grid-template-columns: 1fr;
                gap: 3.5rem;
            }

            .testimonio-photo-container {
                max-width: 400px;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                max-width: 550px;
                margin: 0 auto;
            }

            .stat-card-wide {
                grid-column: 1;
            }
        }

        @media (max-width: 768px) {
            .testimonios-stats-section {
                padding: 2rem 0;
                margin-top: -0.5rem;
            }

            .testimonios-stats-grid {
                gap: 3rem;
            }

            .testimonio-photo-container {
                max-width: 320px;
                border-radius: 16px;
            }

            .testimonios-swiper {
                padding: 0 0 2.5rem;
            }

            .testimonios-nav {
                bottom: 12px;
            }

            .testimonios-button-prev,
            .testimonios-button-next {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .stat-card {
                padding: 1.5rem 1.25rem;
            }

            .stat-icon {
                width: 65px;
                height: 65px;
            }

            .stat-icon i {
                font-size: 1.75rem;
            }
        }

        @media (max-width: 480px) {
            .testimonios-stats-section {
                padding: 1.5rem 0;
            }

            .testimonio-photo-container {
                max-width: 280px;
                border-radius: 12px;
            }

            .testimonios-nav {
                bottom: 10px;
                gap: 0.5rem;
            }

            .testimonios-button-prev,
            .testimonios-button-next {
                width: 38px;
                height: 38px;
                font-size: 0.95rem;
            }

            .stat-card {
                flex-direction: column;
                text-align: center;
                padding: 1.5rem 1rem;
            }

            .testimonios-pagination {
                bottom: -18px;
            }
        }

        /* ==========================================
   MENÚ DESPLEGABLE "MUNDO INT" - PROFESIONAL
   ========================================== */

        /* Overlay del Modal */
        .menu-mundo-int-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(10px);
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding: 0;
        }

        .menu-mundo-int-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Contenedor del Menú */
        .menu-mundo-int-container {
            width: 100%;
            max-width: 950px;
            height: 100vh;
            background: #ffffff;
            transform: translateX(100%);
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: row;
            box-shadow: -15px 0 60px rgba(0, 0, 0, 0.4);
            position: relative;
            overflow: hidden;
        }

        .menu-mundo-int-overlay.active .menu-mundo-int-container {
            transform: translateX(0);
        }

        /* Botón Cerrar - Corporativo */
        .menu-mundo-int-close {
            position: absolute;
            top: 2rem;
            right: 2rem;
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.95);
            border: none;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 100;
            border-radius: 50%;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        .menu-mundo-int-close:hover {
            background: var(--primary-color);
            color: #fff;
            transform: rotate(90deg) scale(1.08);
            box-shadow: 0 6px 25px rgba(123, 67, 156, 0.4);
        }

        /* Columna Izquierda: Imagen de Marca */
        .menu-mundo-int-image {
            width: 42%;
            background-size: cover;
            background-position: center center;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            padding: 3.5rem 2.5rem;
        }

        /* Degradado Corporativo Elegante */
        .menu-mundo-int-image::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg,
                    rgba(95, 11, 143, 0.92) 0%,
                    rgba(111, 2, 138, 0.88) 50%,
                    rgba(95, 11, 143, 0.92) 100%);
            mix-blend-mode: multiply;
        }

        /* Logo Corporativo Superior */
        .menu-mundo-logo {
            position: relative;
            z-index: 2;
            max-width: 200px;
            width: 100%;
            height: auto;
            filter: brightness(0) invert(1) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
            margin-top: 1rem;
        }

        /* Texto Corporativo en Imagen */
        .menu-mundo-int-tagline {
            position: relative;
            z-index: 2;
            text-align: center;
            color: #ffffff;
            margin-bottom: 2rem;
        }

        .menu-mundo-int-tagline h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0 0 0.5rem 0;
            letter-spacing: 0.5px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .menu-mundo-int-tagline p {
            font-size: 0.95rem;
            font-weight: 400;
            margin: 0;
            opacity: 0.95;
            line-height: 1.5;
            text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        }

        /* Columna Derecha: Navegación Profesional */
        .menu-mundo-int-nav {
            width: 58%;
            display: flex;
            flex-direction: column;
            padding: 0.1rem 1.5rem 3rem;
            overflow-y: auto;
            background: #ffffff;
            position: relative;
        }

        /* Título de Navegación */
        .menu-mundo-int-nav-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 0px;
            margin-bottom: 0rem;
            padding-bottom: 0rem;
            border-bottom: 2px solid var(--highlight-color);
        }

        /* Scroll Corporativo */
        .menu-mundo-int-nav::-webkit-scrollbar {
            width: 6px;
        }

        .menu-mundo-int-nav::-webkit-scrollbar-track {
            background: #f5f5f5;
            border-radius: 10px;
        }

        .menu-mundo-int-nav::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
            border-radius: 10px;
        }

        .menu-mundo-int-nav::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
        }

        /* Lista de Enlaces - Estilo Corporativo */
        .menu-mundo-int-links {
            display: flex;
            flex-direction: column;
            gap: 0;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .menu-mundo-int-links li {
            border-bottom: 1px solid #f0f0f0;
            transition: background-color 0.3s ease;
        }

        .menu-mundo-int-links li:last-child {
            border-bottom: none;
        }

        .menu-mundo-int-links li:hover {
            background-color: rgba(123, 67, 156, 0.03);
        }

        .menu-mundo-int-links a {
            display: flex;
            align-items: center;
            padding: 1.4rem 0;
            font-family: 'Poppins', sans-serif;
            font-size: 1.05rem;
            font-weight: 500;
            color: #333;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        /* Icono de flecha en enlaces */
        .menu-mundo-int-links a::before {
            content: '→';
            position: absolute;
            left: -20px;
            opacity: 0;
            color: var(--primary-color);
            font-size: 1.2rem;
            font-weight: 700;
            transition: all 0.3s ease;
        }

        .menu-mundo-int-links a:hover {
            color: var(--primary-color);
            padding-left: 1.5rem;
            font-weight: 600;
        }

        .menu-mundo-int-links a:hover::before {
            opacity: 1;
            left: 0;
        }

        /* Footer del Menú - Contacto Corporativo */
        .menu-mundo-int-footer {
            margin-top: auto;
            padding-top: 2rem;
            border-top: 2px solid #f0f0f0;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
        }

        .menu-mundo-footer-label {
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }

        .menu-mundo-contact-item {
            display: flex;
            align-items: center;
            gap: 0.9rem;
            text-decoration: none;
            color: #333;
            font-size: 1.1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            padding: 0.5rem 0;
        }

        .menu-mundo-contact-item i {
            font-size: 1.3rem;
            color: var(--secondary-color);
            transition: all 0.3s ease;
        }

        .menu-mundo-contact-item:hover {
            color: var(--primary-color);
            padding-left: 0.5rem;
        }

        .menu-mundo-contact-item:hover i {
            color: var(--primary-color);
            transform: scale(1.1);
        }


        .menu-mundo-social {
            display: flex;
            gap: 0.9rem;
            justify-content: flex-start;
        }

        .menu-mundo-social a {
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: #fff;
            border-radius: 50%;
            font-size: 1.1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 3px 12px rgba(123, 67, 156, 0.3);
        }

        .menu-mundo-social a:hover {
            background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
            transform: translateY(-3px) scale(1.08);
            box-shadow: 0 6px 18px rgba(123, 67, 156, 0.5);
        }

        /* ========================================
   RESPONSIVE CORPORATIVO
   ======================================== */

        @media (max-width: 992px) {
            .menu-mundo-int-container {
                max-width: 100%;
            }

            .menu-mundo-int-image {
                width: 38%;
                padding: 3rem 2rem;
            }

            .menu-mundo-int-nav {
                width: 62%;
                padding: 4rem 2.5rem 2.5rem;
            }

            .menu-mundo-logo {
                max-width: 180px;
            }
        }

        @media (max-width: 768px) {
            .menu-mundo-int-container {
                flex-direction: column;
            }

            .menu-mundo-int-image {
                width: 100%;
                min-height: 220px;
                padding: 2.5rem 2rem;
                justify-content: center;
            }

            .menu-mundo-logo {
                max-width: 160px;
                margin-top: 0;
            }

            .menu-mundo-int-tagline {
                margin-bottom: 0;
            }

            .menu-mundo-int-tagline h3 {
                font-size: 1.3rem;
            }

            .menu-mundo-int-tagline p {
                font-size: 0.9rem;
            }

            .menu-mundo-int-nav {
                width: 100%;
                padding: 2.5rem 2rem;
            }

            .menu-mundo-int-nav-title {
                font-size: 1rem;
                margin-bottom: 1.5rem;
            }

            .menu-mundo-int-links a {
                font-size: 1rem;
                padding: 1.2rem 0;
            }

            .menu-mundo-int-close {
                top: 1.25rem;
                right: 1.25rem;
                width: 44px;
                height: 44px;
                font-size: 22px;
            }
        }

        @media (max-width: 480px) {
            .menu-mundo-int-image {
                min-height: 180px;
                padding: 2rem 1.5rem;
            }

            .menu-mundo-logo {
                max-width: 140px;
            }

            .menu-mundo-int-tagline h3 {
                font-size: 1.1rem;
            }

            .menu-mundo-int-tagline p {
                font-size: 0.85rem;
            }

            .menu-mundo-int-nav {
                padding: 2rem 1.5rem;
            }

            .menu-mundo-int-nav-title {
                font-size: 0.95rem;
            }

            .menu-mundo-int-links a {
                font-size: 0.95rem;
                padding: 1.1rem 0;
            }

            .menu-mundo-contact-item {
                font-size: 1rem;
            }

            .menu-mundo-contact-item i {
                font-size: 1.2rem;
            }

            .menu-mundo-social a {
                width: 38px;
                height: 38px;
                font-size: 1rem;
            }
        }


        /* ==========================================
           INICIO: NUEVOS ESTILOS SECCIÓN BLOG AVANCE
           ========================================== */

        .blog-section-avance {
            padding: 4rem 0;
            background-color: #ffffff;
        }

        .blog-section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .blog-section-header h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            font-weight: 700;
            color: var(--dark-color);
            margin: 0;
            line-height: 1.2;
        }

        .blog-section-header h2 span {
            color: #6a0386;
            /* Naranja/Rojo de la imagen de ejemplo */
            /* O puedes usar el color primario:
            color: var(--primary-color);
            */
        }

        .blog-section-header p {
            font-size: 1.1rem;
            color: #555;
            margin-top: 0.5rem;
        }

        .blog-grid-avance {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-auto-rows: auto;
            gap: 1.5rem;
        }

        .blog-card-avance {
            background: var(--card-bg);
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: var(--dark-color);
            transition: all 0.3s ease;
        }

        .blog-card-avance:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
        }

        .blog-card-avance.main-post {
            grid-column: span 2;
            grid-row: span 2;
        }

        .blog-card-avance.secondary-post {
            grid-column: span 1;
            grid-row: span 1;
        }

        .blog-card-avance.cta-card {
            grid-column: span 1;
            grid-row: span 1;
            background: #55016a;
            /* Naranja de la imagen */
            color: #fff;
            padding: 2rem;
            justify-content: center;
        }

        .blog-card-avance.cta-card h3 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.3;
        }

        .blog-card-avance.cta-card a {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: #fff;
            color: #0feec5;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .blog-card-avance.cta-card a:hover {
            background: #f0f0f0;
            transform: scale(1.03);
        }

        .blog-card-image-container {
            width: 100%;
            overflow: hidden;
            position: relative;
        }

        .main-post .blog-card-image-container {
            aspect-ratio: 16 / 9;
        }

        .secondary-post .blog-card-image-container {
            aspect-ratio: 16 / 10;
        }

        .blog-card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .blog-card-avance:hover .blog-card-image {
            transform: scale(1.05);
        }

        .blog-card-content {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .main-post .blog-card-content {
            padding: 2rem;
        }

        .blog-card-category {
            display: inline-block;
            background-color: rgba(123, 67, 156, 0.1);
            color: var(--primary-color);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            width: fit-content;
        }

        .blog-card-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            font-weight: 600;
            line-height: 1.4;
            margin: 0 0 0.5rem 0;
            flex-grow: 1;
            /* Empuja la fecha hacia abajo */
        }

        .main-post .blog-card-title {
            font-size: 1.75rem;
        }

        .secondary-post .blog-card-title {
            font-size: 1.1rem;
        }

        .blog-card-date {
            font-size: 0.85rem;
            color: #777;
            margin-top: 1rem;
        }

        .blog-card-resumen {
            display: none;
            /* Oculto en tarjetas secundarias */
            font-size: 1rem;
            color: #555;
            line-height: 1.6;
            margin-top: 1rem;
        }

        .main-post .blog-card-resumen {
            display: block;
            /* Visible solo en la tarjeta principal */
        }

        @media (max-width: 991px) {
            .blog-grid-avance {
                grid-template-columns: 1fr 1fr;
            }

            .blog-card-avance.main-post {
                grid-column: span 2;
                grid-row: span 1;
            }

            .main-post .blog-card-image-container {
                aspect-ratio: 16 / 8;
            }

            .main-post .blog-card-title {
                font-size: 1.5rem;
            }
        }

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

            .blog-card-avance.main-post,
            .blog-card-avance.secondary-post,
            .blog-card-avance.cta-card {
                grid-column: span 1;
                grid-row: span 1;
            }

            .main-post .blog-card-image-container {
                aspect-ratio: 16 / 10;
            }

            .main-post .blog-card-title {
                font-size: 1.25rem;
            }

            .blog-card-resumen {
                display: none;
                /* Ocultar resumen en móvil */
            }
        }

        /* ==========================================
   ANIMACIONES DE SCROLL PROFESIONALES
   ========================================== */

        /* Clase base para elementos animados */
        .scroll-animate,
        .scroll-fade-up,
        .scroll-fade-left,
        .scroll-fade-right,
        .scroll-scale,
        .section-title-animate,
        .filter-bar-animate {
            opacity: 0;
            transform: translateY(30px);

            transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),

                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);

        }

        .scroll-animate.animate-in,
        .scroll-fade-up.animate-in,
        .scroll-fade-left.animate-in,
        .scroll-fade-right.animate-in,
        .scroll-scale.animate-in,
        .section-title-animate.animate-in,
        .filter-bar-animate.animate-in {
            opacity: 1;
            transform: translateY(0);
        }

        /* Variantes de animación */
        .scroll-fade-left {
            transform: translateX(-60px);
        }

        .scroll-fade-left.animate-in {
            transform: translateX(0);
        }

        .scroll-fade-right {
            transform: translateX(60px);
        }

        .scroll-fade-right.animate-in {
            transform: translateX(0);
        }

        .scroll-scale {
            transform: scale(0.9);
        }

        .scroll-scale.animate-in {
            transform: scale(1);
        }

        /* Delays escalonados para elementos en grid */
        .scroll-animate:nth-child(1) {
            transition-delay: 0s;
        }

        .scroll-animate:nth-child(2) {
            transition-delay: 0.05s;
        }

        .scroll-animate:nth-child(3) {
            transition-delay: 0.1s;
        }

        .scroll-animate:nth-child(4) {
            transition-delay: 0.15s;
        }

        .scroll-animate:nth-child(5) {
            transition-delay: 0.2s;
        }

        .scroll-animate:nth-child(6) {
            transition-delay: 0.25s;
        }

        .scroll-animate:nth-child(7) {
            transition-delay: 0.3s;
        }

        .scroll-animate:nth-child(8) {
            transition-delay: 0.35s;
        }

        /* Animación para títulos de sección */
        .section-title-animate {
            transform: translateY(30px);
            transition-duration: 0.6s;
        }

        /* Animación para la barra de filtros */
        .filter-bar-animate {
            transform: translateY(-30px);
            transition-duration: 0.7s;
        }

        /* Reduce motion para accesibilidad */
        @media (prefers-reduced-motion: reduce) {

            .scroll-animate,
            .scroll-fade-up,
            .scroll-fade-left,
            .scroll-fade-right,
            .scroll-scale,
            .section-title-animate,
            .filter-bar-animate {
                transition: none;
                opacity: 1;
                transform: none;
            }
        }

        /* ==========================================
   MODAL DE PUBLICACIONES PROFESIONAL
   ========================================== */
        .publicaciones-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }

        .publicaciones-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .publicaciones-swiper-container {
            width: 100%;
            max-width: 700px;
            /* ← CAMBIADO de 900px a 700px para que sea más estrecho */
            height: auto;
            max-height: 85vh;
            position: relative;
            border-radius: 0;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
            border: 12px solid #ffffff;
            /* ← Marco blanco de 12px */
        }

        .publicacion-slide {
            width: 100%;
            height: 100%;
            position: relative;
            display: flex;
            flex-direction: column;
            background: #fff;
            overflow: hidden;
        }

        .publicacion-imagen {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: #f0f0f0;
            flex-shrink: 0;
            display: block;
        }

        .publicacion-contenido {
            display: none;
        }

        .publicacion-titulo {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .publicacion-descripcion {
            font-size: 1rem;
            line-height: 1.6;
            color: #555;
            margin-bottom: 1rem;
        }

        .publicacion-fechas {
            display: flex;
            gap: 1.5rem;
            font-size: 0.9rem;
            color: #777;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #e0e0e0;
        }

        .publicacion-fecha-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .publicacion-fecha-item i {
            color: var(--secondary-color);
        }

        .publicaciones-modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.95);
            color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 100;
            border: 2px solid var(--primary-color);
        }

        .publicaciones-modal-close:hover {
            background: var(--primary-color);
            color: #fff;
            transform: rotate(90deg) scale(1.1);
        }

        .publicaciones-swiper-button-next,
        .publicaciones-swiper-button-prev {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 60px;
            background: rgba(255, 255, 255, 0.95);
            border: 2px solid var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .publicaciones-swiper-button-prev {
            left: 1rem;
            border-radius: 25px 0 0 25px;
        }

        .publicaciones-swiper-button-next {
            right: 1rem;
            border-radius: 0 25px 25px 0;
        }

        .publicaciones-swiper-button-next:hover,
        .publicaciones-swiper-button-prev:hover {
            background: var(--primary-color);
            color: #fff;
            transform: translateY(-50%) scale(1.05);
        }

        .publicaciones-swiper-pagination {
            bottom: 1rem !important;
        }

        .publicaciones-swiper-pagination .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            background: rgba(255, 255, 255, 0.5);
            opacity: 1;
        }

        .publicaciones-swiper-pagination .swiper-pagination-bullet-active {
            background: var(--highlight-color);
            width: 30px;
            border-radius: 5px;
        }

        @media (max-width: 768px) {
            .publicaciones-swiper-container {
                max-width: 95vw;
                max-height: 80vh;
                border: 4px solid #ffffff;
                /* ← AÑADE ESTA LÍNEA: Marco más delgado en móvil */
            }

            .publicaciones-modal-close {
                top: 0.5rem;
                right: 0.5rem;
                width: 42px;
                height: 42px;
                font-size: 20px;
            }

            .publicaciones-swiper-button-prev,
            .publicaciones-swiper-button-next {
                width: 40px;
                height: 50px;
                font-size: 1.2rem;
            }

            .publicaciones-swiper-button-prev {
                left: 0.5rem;
            }

            .publicaciones-swiper-button-next {
                right: 0.5rem;
            }
        }