/* ======================================================
   3. HERO / PORTADA
====================================================== */

    .hero {
        height: 100vh;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        background-color: #000;
    }

    .hero-bg-slideshow {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 1;
    }

    .hero-slide {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0;
        animation: imageFade 20s linear infinite;
        filter: brightness(0.7) grayscale(30%);
    }

    .slide-1 { background-image: url('https://raw.githubusercontent.com/Alby-On/Electric_JOSCAM/main/images/fondos/camara.webp'); animation-delay: 0s; }
    .slide-2 { background-image: url('https://raw.githubusercontent.com/Alby-On/Electric_JOSCAM/main/images/fondos/camara2.webp'); animation-delay: 5s; }
    .slide-3 { background-image: url('https://raw.githubusercontent.com/Alby-On/Electric_JOSCAM/main/images/fondos/mantenimiento.webp'); animation-delay: 10s; }
    .slide-4 { background-image: url('https://raw.githubusercontent.com/Alby-On/Electric_JOSCAM/main/images/fondos/tablero.webp'); animation-delay: 15s; }

    .hero-overlay {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(255, 255, 255, 0.75);
        z-index: 2;
    }

    .hero-content {
        position: relative;
        z-index: 3;
        max-width: 1000px;
        padding: 0 20px;
        animation: fadeInUp 1.2s ease-out;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 4.2rem);
        color: #1a1a1a;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .hero h1 span {
        display: block;
        color: var(--accent);
        font-size: 0.9rem;
        letter-spacing: 5px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .hero p {
        font-size: 1.25rem;
        color: #333;
        max-width: 750px;
        margin: 0 auto 2.5rem;
        border-top: 1px solid rgba(0,0,0,0.1);
        padding-top: 1.5rem;
        line-height: 1.6;
    }

    .cta-button {
        display: inline-block;
        padding: 1.2rem 3rem;
        background: var(--accent);
        color: white !important;
        text-decoration: none;
        font-weight: bold;
        border-radius: 50px;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 10px 20px rgba(0, 179, 0, 0.2);
        text-transform: uppercase;
        letter-spacing: 1px;
        animation: heroBtnPulse 3s infinite;
    }

    .cta-button:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(0, 179, 0, 0.4);
        background: var(--accent-hover);
        animation: none;
    }

    @keyframes imageFade { 0%,100%{opacity:0;}5%,25%{opacity:1;}30%{opacity:0;} }
    @keyframes fadeInUp { from{opacity:0;transform:translateY(30px);} to{opacity:1;transform:translateY(0);} }

    @keyframes heroBtnPulse {
        0%{box-shadow:0 0 0 0 rgba(0,179,0,0.7);}
        70%{box-shadow:0 0 0 20px rgba(0,179,0,0);}
        100%{box-shadow:0 0 0 0 rgba(0,179,0,0);}
    }


