  :root {
            --primary:  #0e27c9;
            --dark: #1a1a1a;
            --light: #ffffff;
            --text-dark: #333333;
            --accent: #0e27c9;
            --hover:#0097a7;
             --primary-color: #00bcd4;
            --secondary-color: #0097a7;
            --light-bg: #f8f9ff;
            --white: #ffffff;
            --text-dark: #1f2937;
            --text-light: #6b7280;
            --border-color: #e5e7eb;
        }

     
 
        /* ===== WIDGET FLOTANTE CALIDAD DEL AIRE ===== */
        .air-quality-widget {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: white;
            border-radius: 12px;
            padding: 1rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            width: auto;
            z-index: 99;
            animation: slideInRight 0.8s ease-out;
            border-left: 5px solid var(--primary);
            transition: all 0.3s ease;
            min-width: 200px;
            max-width: 280px;
        }

        .air-quality-widget.hidden {
            display: none;
        }

        .air-quality-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
            gap: 0.5rem;
        }

        .air-quality-header h3 {
            font-size: 0.95rem;
            color: var(--dark);
            margin: 0;
            font-weight: 600;
            flex: 1;
        }

        .widget-buttons {
            display: flex;
            gap: 0.3rem;
        }

        .refresh-btn, .close-btn {
            background: var(--primary);
            color: white;
            border: none;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            flex-shrink: 0;
            padding: 0;
        }

        .refresh-btn:hover, .close-btn:hover {
            background: var(--hover);
            transform: scale(1.1);
        }

        .refresh-btn.loading {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        .air-quality-content {
            text-align: center;
        }

        .aqi-number {
            font-size: 2rem;
            font-weight: bold;
            color: var(--primary);
            margin: 0.5rem 0;
            line-height: 1;
        }

        .aqi-label {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--dark);
            margin: 0.3rem 0;
        }

        .aqi-description {
            font-size: 0.75rem;
            color: #666;
            margin: 0.3rem 0 0.75rem 0;
            line-height: 1.3;
        }

        .air-quality-details {
            font-size: 0.8rem;
            color: #666;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
            background: #f9f9f9;
            padding: 0.75rem;
            border-radius: 8px;
            margin: 0;
        }

        .air-quality-details p {
            margin: 0;
            padding: 0;
            text-align: left;
        }

        .air-quality-details strong {
            color: var(--primary);
            font-weight: 600;
        }

        .last-update {
            text-align: center;
            font-size: 0.7rem;
            color: #bbb;
            margin-top: 0.5rem;
            padding-top: 0.5rem;
            border-top: 1px solid #eee;
        }

        /* Icono flotante para abrir widget */
        .air-quality-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--primary);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-size: 1.5rem;
            z-index: 98;
            box-shadow: 0 4px 12px rgba(63, 60, 231, 0.296);
            animation: slideInRight 0.8s ease-out;
        }

        .air-quality-toggle.show {
            display: flex;
        }

        .air-quality-toggle:hover {
            background: var(--hover);
            transform: scale(1.15);
            box-shadow: 0 6px 20px rgba(63, 60, 231, 0.296);
        }

    

        /* ===== ANIMACIONES ===== */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== RESPONSIVO ===== */
        @media (max-width: 768px) {
            
            .hamburger {
                display: flex;
            }

            .hamburger.active span:nth-child(1) {
                transform: rotate(-45deg) translate(-5px, 6px);
            }

            .hamburger.active span:nth-child(2) {
                opacity: 0;
            }

            .hamburger.active span:nth-child(3) {
                transform: rotate(45deg) translate(-5px, -6px);
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .about-content {
                grid-template-columns: 1fr;
            }

            .air-quality-widget {
                width: auto;
                max-width: 260px;
                bottom: 10px;
                right: 10px;
                padding: 0.85rem;
            }

            .air-quality-header h3 {
                font-size: 0.9rem;
            }

            .aqi-number {
                font-size: 1.8rem;
            }

            .refresh-btn, .close-btn {
                width: 26px;
                height: 26px;
                font-size: 0.85rem;
            }

            .air-quality-toggle {
                width: 45px;
                height: 45px;
                font-size: 1.3rem;
            }

            section {
                padding: 60px 1.5rem;
            }

            .section-title {
                font-size: 2rem;
            }
        }

        @media (max-width: 480px) {
           
            .hero {
                padding: 60px 1rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .cta-buttons {
                flex-direction: column;
            }

            .btn {
                width: 100%;
            }

            .air-quality-widget {
                width: auto;
                max-width: 240px;
                padding: 0.75rem;
                bottom: 10px;
                right: 10px;
            }

            .aqi-number {
                font-size: 1.6rem;
            }

            .air-quality-header h3 {
                font-size: 0.85rem;
            }

            .refresh-btn, .close-btn {
                width: 24px;
                height: 24px;
                font-size: 0.8rem;
            }

            .air-quality-details {
                font-size: 0.75rem;
                padding: 0.6rem;
            }

            .aqi-label {
                font-size: 0.8rem;
            }

            .aqi-description {
                font-size: 0.7rem;
            }

            .last-update {
                font-size: 0.65rem;
            }

            .air-quality-toggle {
                width: 42px;
                height: 42px;
                font-size: 1.2rem;
                bottom: 15px;
                right: 15px;
            }
        }