        :root {
    --primary-blue: #284596;
    --primary-blue-light: #1d4ed8;
    --primary-blue-dark: #0d1d50;
            --secondary-green: #2a2cb6;
            --accent-yellow: #ffc107;
            --light-gray: #f8fafc;
            --medium-gray: #e2e8f0;
            --dark-gray: #1e293b;
            --text-dark: #2c333d;
            --text-light: #f1f5f9;
    --header-bg: linear-gradient(135deg, #010101 0%, #5c5c5c 50%, #000000 100%);
            --header-hover: rgba(255, 255, 255, 0.15);
            --button-gradient: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-green) 100%);
            --button-hover-gradient: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--secondary-green) 100%);
            --card-gradient: linear-gradient(to bottom right, rgba(255, 255, 255, 0.95) 0%, rgba(240, 240, 240, 0.95) 100%);
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
            --danger-hover: #dc2626;
    --footer-bg: linear-gradient(135deg, #010101 0%, #5c5c5c 50%, #000000 100%);
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--light-gray);
            color: var(--text-dark);
            padding: 0;
            margin: 0;
            line-height: 1.6;
            transition: all 0.3s ease;
            padding-top: 80px;
            scroll-behavior: smooth;
        }

        /* HEADER STYLES */
        .main-header {
            background: var(--header-bg);
            color: white;
            padding: 15px 0;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .header-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: white;
        }

        .header-logo img {
            height: 65px;
        }

        .header-logo-text {
            font-size: 1.5rem;
            font-weight: bold;
        }

        .header-logo-subtext {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .header-nav {
            display: flex;
            gap: 5px;
        }

        .header-nav-link {
            padding: 10px 15px;
            color: var(--text-light);
            text-decoration: none;
            border-radius: 50px;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            font-weight: 500;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

.header-nav-link:hover,
.header-nav-link.active {
    text-decoration: underline;
}


        .header-nav-link i {
            font-size: 1.1rem;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .cart-btn {
            position: relative;
        }

        .cart-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #dc3545;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

        /* MAIN CONTENT */
        .main-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* FOOTER STYLES */
        .main-footer {
            background: var(--footer-bg);
            color: white;
            padding: 40px 0 20px;
            margin-top: 50px;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-logo {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .footer-logo img {
            height: 190px;
            margin-bottom: 15px;
        }

        .footer-nav {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .footer-nav-link {
            color: var(--text-light);
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-nav-link:hover {
            color: white;
            transform: translateX(5px);
        }

        .footer-contact h4,
        .footer-social h4 {
            margin-bottom: 15px;
            font-size: 1.2rem;
        }

        .footer-contact p {
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-social-links {
            display: flex;
            gap: 15px;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* RESPONSIVE STYLES */
        @media (max-width: 992px) {
            .header-container {
                flex-direction: column;
                gap: 15px;
            }
            
            .header-nav {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .footer-logo {
                align-items: center;
            }
            
            .footer-social-links {
                justify-content: center;
            }
        }

        @media (max-width: 768px) {
            body {
                padding-top: 120px;
            }
            
            .header-nav-link {
                padding: 8px 12px;
                font-size: 0.9rem;
            }
            
            .header-nav-link span {
                display: none;
            }
            
            .header-nav-link i {
                font-size: 1.2rem;
            }
        }

        /* Estilos para contenedores cuadrados y rectangulares */
        .square-container {
            background: var(--card-gradient);
            margin-bottom: 25px;
            padding: 25px;
            border: none;
            transition: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            display: flex;
            flex-direction: column;
        }

        .rectangular-container {
            background: var(--card-gradient);
            margin-bottom: 25px;
            padding: 25px;
            border: none;
            transition: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            display: flex;
            flex-direction: column;
        }

        .section-title {
            color: var(--primary-blue-dark);
            font-weight: 700;
            margin-bottom: 15px;
            font-size: 1.8rem;
            position: relative;
            font-family: 'Poppins', sans-serif;
            letter-spacing: -0.5px;
        }

        .home-hero {
            position: relative;
            color: white;
            padding: 80px 30px;
            margin-bottom: 30px;
            text-align: center;
            overflow: hidden;
            min-height: 500px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .hero-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }

        .home-hero h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .home-hero h4 {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 30px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .hero-buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }

        .btn-explore {
            padding: 10px 15px;
            min-width: 160px;
            flex: 1 1 auto;
            max-width: 220px;
            font-size: 0.9rem;
            line-height: 1.3;
            white-space: nowrap;
            height: auto;
            background: var(--button-gradient);
            color: white;
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(0, 98, 204, 0.4);
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .btn-explore.btn-white {
            background: white;
            color: var(--primary-blue);
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
        }
.btn-explore.btn-gray {
    background: linear-gradient(145deg, #7a7a7a, #9c9c9c); /* Gris degradado elegante */
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.btn-explore.btn-gray:hover {
    background: linear-gradient(145deg, #9c9c9c, #bfbfbf); /* Aclara el degradado */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

        .btn-explore.btn-white:hover {
            background: #f8f9fa;
            color: var(--primary-blue-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .btn-explore:hover {
            background: var(--button-hover-gradient);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 98, 204, 0.2);
        }

        .btn-explore i {
            margin-right: 8px;
            font-size: 1rem;
        }
.btn-explore.btn-green {
    background: linear-gradient(145deg, #28a745, #45c36a);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 128, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-explore.btn-green:hover {
    background: linear-gradient(145deg, #45c36a, #28a745);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 128, 0, 0.25);
}


        .tool-card {
            height: 100%;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            background: var(--card-gradient);
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--medium-gray);
            padding: 20px;
        }

        .tool-card:hover {
            box-shadow: 0 10px 20px rgba(0, 98, 204, 0.15);
            border-color: var(--primary-blue-light);
            transform: translateY(-5px);
        }

        .btn {
            border-radius: 50px !important;
            font-weight: 500;
            padding: 8px 20px;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            font-size: 0.9rem;
            border: none;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .btn-primary {
            background: var(--button-gradient);
            color: white;
        }

        .btn-primary:hover {
            background: var(--button-hover-gradient);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 98, 204, 0.2);
        }

        .hidden-section {
            display: none;
        }

        .active-section {
            display: block;
            animation: fadeInSection 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        @keyframes fadeInSection {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Float buttons */
        .float-buttons {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .float-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            text-decoration: none;
            border: none;
        }

        .float-btn:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        .whatsapp-btn {
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        }

        .whatsapp-btn:hover {
            background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
        }

        .gmail-btn {
            background: linear-gradient(135deg, #D44638 0%, #B23121 100%);
        }

        .gmail-btn:hover {
            background: linear-gradient(135deg, #B23121 0%, #D44638 100%);
        }

        .phone-btn {
            background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
        }

        .phone-btn:hover {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
        }

        /* Grid para contenedores cuadrados y rectangulares */
        .content-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .square-item {
            background: var(--card-gradient);
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .rectangular-item {
            background: var(--card-gradient);
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            grid-column: span 2;
            display: flex;
            flex-direction: column;
        }

        /* Ajuste para pantallas pequeñas */
        @media (max-width: 768px) {
            .rectangular-item {
                grid-column: span 1;
            }
            
            .content-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Estilos para la sección de contacto */
        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
            gap: 15px;
        }

        .contact-item i {
            font-size: 1.5rem;
            color: var(--primary-blue);
            margin-top: 5px;
        }

        .contact-item h5 {
            margin-bottom: 5px;
            color: var(--dark-gray);
        }

        .contact-form {
            background: var(--card-gradient);
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        /* Estilos para las tarjetas de ubicación */
        .location-card {
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }

        .location-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 98, 204, 0.15);
        }

        .location-map iframe {
            border: none;
        }

        /* Estilos para los contadores */
        .counter-box {
            padding: 20px;
        }

        .counter-box h2 {
            font-weight: 700;
            margin-bottom: 10px;
        }

        .counter-box h5 {
            color: var(--text-dark);
            font-weight: 500;
        }

        /* Estilos para la sección de historia */
        .history-section {
            padding: 25px;
        }

        .history-section h3 {
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .history-section p {
            line-height: 1.8;
            color: var(--text-dark);
        }

        /* Estilos para navegación por secciones */
        .page-section {
            padding: 30px 0;
        }

        .section-anchor {
            display: block;
            position: relative;
            top: -100px;
            visibility: hidden;
        }

        /* Estilos para la sección de evidencias */
        .evidence-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .evidence-item {
            background-color: white;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .evidence-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        /* Cuando hay imagen */
        .evidence-item img {
            display: block;
            width: 0%;
            height: 0px;
            object-fit: cover;
        }

        /* Cuando no hay imagen */
        .evidence-item.no-image {
            display: flex;
            flex-direction: column;
        }

        .evidence-item.no-image .evidence-content {
            padding: 20px;
        }

        /* Contenido */
        .evidence-content {
            padding: 20px;
        }

        .evidence-title {
            color: var(--primary-blue);
            font-weight: 600;
            margin-bottom: 10px;
        }

        .btn-primary-custom {
            background-color: var(--primary-blue);
            color: white;
            border: none;
            padding: 8px 20px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-primary-custom:hover {
            background-color: var(--primary-blue-dark);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .video-item {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--medium-gray);
        }

        .video-item:last-child {
            border-bottom: none;
        }

        /* Ajuste para la sección de inicio (hero) */
        #inicio.page-section {
            padding: 0 !important;
            margin: 0;
            width: 100%;
            max-width: 100%;
        }

        .home-hero {
            width: 100%;
            max-width: 100%;
            margin: 0;
            padding: 80px 20px;
        }

        /* Asegurar que el video ocupe todo el ancho */
        .hero-video {
            width: 100%;
        }

        /* Contenedor de contenido del hero */
        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Ajustes responsivos para el hero */
        @media (max-width: 768px) {
            .home-hero {
                padding: 60px 15px;
                min-height: 400px;
            }
            
            .home-hero h1 {
                font-size: 2rem;
            }
            
            .home-hero h3 {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .home-hero {
                padding: 40px 10px;
                min-height: 350px;
            }
            
            .home-hero h1 {
                font-size: 1.8rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn-explore {
                width: 100%;
                max-width: 280px;
                margin-bottom: 10px;
            }
        }

        /* Estilos para el contenido del segundo index (35.23) */
        .content-section {
            background-color: white;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
            padding: 30px;
            margin-bottom: 30px;
            border-left: 4px solid var(--primary-blue);
        }

        /* Estilos para el grid de información */
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .info-card {
            background: var(--card-gradient);
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .info-card h3 {
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-weight: 600;
            border-bottom: 2px solid var(--primary-blue-light);
            padding-bottom: 10px;
        }

        .info-card p, .info-card ul {
            flex-grow: 1;
        }

        .info-card ul {
            padding-left: 20px;
        }

        .info-card li {
            margin-bottom: 8px;
        }

        /* Para tarjetas más largas (rectangulares) */
        .info-card-large {
            grid-column: span 2;
        }

        @media (max-width: 768px) {
            .info-card-large {
                grid-column: span 1;
            }
        }

/* Estilos para ODS */
.ods8-badge {
    background-color: var(--secondary-green);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 0px; /* Reducido para acercar los badges */
}

.ods9-badge {
    background-color: #ad1c1c;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 5px; /* Espacio mínimo entre badges */
}

        /* Notas section */
        .notes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .note-card {
            background: var(--card-gradient);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            height: 100%;
            display: flex;
            flex-direction: column;
            border-top: 4px solid var(--primary-blue);
        }

        .note-card h4 {
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .note-card i {
            font-size: 1.5rem;
            color: var(--primary-blue);
            margin-bottom: 15px;
        }

        /* Estilos para la nueva sección de producto */
        .product-section {
            padding: 40px 0;
        }

        .product-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 30px;
        }

        .product-gallery {
            flex: 1;
            min-width: 300px;
        }

        .product-main-image {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            margin-bottom: 15px;
        }

        .product-thumbnails {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 10px;
        }

        .product-thumbnail {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .product-thumbnail:hover,
        .product-thumbnail.active {
            border-color: var(--primary-blue);
            transform: scale(1.05);
        }

        .product-info {
            flex: 1;
            min-width: 300px;
        }

        .product-price {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-blue);
            margin: 15px 0;
        }

        .product-description {
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .product-features {
            margin-bottom: 20px;
        }

        .product-features ul {
            padding-left: 20px;
        }

        .product-features li {
            margin-bottom: 8px;
        }

        .product-contact {
            background-color: var(--light-gray);
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
        }

        .platform-access {
            background: var(--card-gradient);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            text-align: center;
        }

        .platform-icon {
            font-size: 3rem;
            color: var(--primary-blue);
            margin-bottom: 20px;
        }

        .platform-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            margin-top: 20px;
        }

        @media (max-width: 768px) {
            .product-container {
                flex-direction: column;
            }
            
            .platform-buttons {
                flex-direction: column;
                align-items: center;
            }
        }
        
        /* Estilos para el contenido existente */
        .sponsor-note {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.8);
            margin-top: 20px;
            text-align: center;
            max-width: 600px;
            line-height: 1.4;
        }

        .sponsor-note a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: underline;
            transition: color 0.3s ease;
        }

        .sponsor-note a:hover {
            color: white;
        }
        
        .whatsapp-btn {
            background: linear-gradient(135deg, #128c7e, #25d366);
            border: none;
            border-radius: 50px !important;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .whatsapp-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }