* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Arial', sans-serif;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding-left: 5vw;
}

.hero-left, .hero-right {
    width: 45%;
}

.hero-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 1.5s ease-out forwards;
    animation-delay: 0.3s;
    max-width: 600px;
}

.hero-left h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-left .hero-job,
.hero-left .hero-job-desc {
    font-size: 18px;
    margin-bottom: 10px;
}

.hero-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1.5s ease-out forwards;
    animation-delay: 0.6s;
    text-align: center;
}

.hero-right form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
}

.hero-right input[type="email"] {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
}

.hero-right button {
    padding: 10px;
    font-size: 16px;
    border: none;
    background-color: #ff7f50;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-right button:hover {
    background-color: #e06645;
}

.hero-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-arrow a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-overlay {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0 10%;
    }

    .hero-left, .hero-right {
        width: 100%;
        margin-bottom: 30px;
        animation-delay: 0.3s !important;
        transform: translateY(20px);
    }

    .hero-left {
        animation: fadeInUp 1s ease-out forwards;
    }

    .hero-right {
        animation: fadeInUp 1s ease-out forwards;
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-left h1 {
        font-size: 36px;
    }

    .hero-left .hero-job,
    .hero-left .hero-job-desc {
        font-size: 16px;
    }

    .hero-right form {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 28px;
    }

    .hero-left .hero-job,
    .hero-left .hero-job-desc {
        font-size: 14px;
    }

    .hero-right input[type="email"],
    .hero-right button {
        font-size: 14px;
        padding: 8px;
    }
}
.email-link {
    display: inline-block;
    padding: 12px 24px;
    /*background-color:#6445e0; /* Coral semi-transparente */
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.email-link:hover {
    background-color: #52e045;
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    color: #fff;
}
/* Fondo y overlay */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: white;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    background: black;
}



.hero-overlay {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding-left: 5vw;
}

/* Estilos del texto */
.hero-left {
    max-width: 800px;
    text-align: left;
}

.hero-left h1 {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: 'Anton', sans-serif; /* Usa Anton o Bebas Neue si la cargas */
}

.hero-job span {
    color: #e01b1b; /* Rojo intenso como el de la imagen */
    font-size: 1.2rem;
    font-weight: bold;
}

.hero-job-desc {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* Enlace de correo */
.email-link {
    display: inline-block;
    margin-top: 2rem;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid white;
    padding-bottom: 2px;
}

.email-link:hover {
    color: #fff;
    border-color: #741be0;
}

/* Flecha */
.hero-arrow {
    position: absolute;
    bottom: 20px;
    left: 50px;
    font-size: 2rem;
    color: white;
}
#changing-word {
    transition: opacity 0.5s ease-in-out;
}

#changing-word.fade-out {
    opacity: 0;
}
.video-container {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
  }
  .animated-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease-out forwards;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* === Reseteo Básico para el Contenedor (Asegura que no interfiera) === */
.section-clients .container {
    max-width: 1200px; /* O el ancho que uses */
    margin: 0 auto;
    padding: 0 15px; /* Espaciado lateral */
    box-sizing: border-box;
  }
  
  /* === Contenedor del Carrusel (Visor) === */
  .clients-carousel {
    overflow: hidden !important; /* FUERZA ocultar el desbordamiento */
    width: 100% !important; /* Ocupa todo el ancho del container */
    position: relative; /* Para posibles elementos internos absolutos si los necesitas */
    /* background-color: rgba(255, 0, 0, 0.1); /* DEBUG: Color para ver el área */
  }
  
  /* === El Track Deslizante (Contenedor Flex) === */
  .clients-track {
    /* --- ¡¡¡LO MÁS IMPORTANTE PARA EL LAYOUT HORIZONTAL!!! --- */
    display: flex !important;         /* FUERZA Flexbox */
    flex-direction: row !important;  /* FUERZA dirección horizontal (por defecto, pero por si acaso) */
    flex-wrap: nowrap !important;     /* FUERZA que NO salte de línea */
    /* --- Fin de lo más importante --- */
  
    width: max-content !important;    /* FUERZA que el ancho sea el del contenido total */
                                     /* Si max-content SIGUE fallando, USA CALC exacto: */
                                     /* width: calc((60px + 40px) * 26) !important; */ /* (Ancho Aprox Logo + Margen Total) * Num TOTAL Logos */
  
    align-items: center !important;   /* Alinea los logos verticalmente al centro */
  
    /* Animación */
    animation: scroll-infinite 30s linear infinite;
    will-change: transform;
  
    /* DEBUG: Color para ver el track */
    /* background-color: rgba(0, 255, 0, 0.1); */
    /* padding: 5px 0; */ /* Espacio vertical si lo necesitas */
  }
  
  /* === Cada Logo Individual (Flex Item) === */
  .client {
    /* --- ¡¡¡IMPORTANTE PARA ITEMS FLEX!!! --- */
    flex-shrink: 0 !important; /* FUERZA que no se encoja */
    width: auto !important;   /* FUERZA ancho automático (ignora width: 100% heredado) */
    display: inline-flex !important; /* FUERZA display tipo inline y flex para su contenido (img) */
    /* --- Fin importante --- */
  
    margin: 0 20px !important; /* Espacio IZQUIERDA y DERECHA */
    vertical-align: middle !important; /* Ayuda a la alineación vertical */
    align-items: center; /* Centra la imagen dentro del 'a' */
    justify-content: center; /* Centra la imagen dentro del 'a' */
  
    /* DEBUG: Borde para ver cada logo */
    /* border: 1px solid blue; */
  }
  
  .client img {
    display: block !important; /* FUERZA display block (evita espacios extra) */
    height: 60px !important;    /* FUERZA altura */
    width: auto !important;     /* FUERZA ancho automático */
    max-width: none !important; /* ¡CRÍTICO! FUERZA que no haya límite de ancho */
    object-fit: contain;
  
    /* DEBUG: Borde para ver la imagen */
    /* border: 1px solid green; */
  }
  
  /* === Animación === */
  /* Renombrada para evitar conflictos */
  @keyframes scroll-infinite {
    0% {
      transform: translateX(0%);
    }
    100% {
      /* Mueve el 50% porque tenemos el contenido duplicado */
      transform: translateX(-50%);
    }
  }
  
  /* === Pausa al Hover (Opcional) === */
  .clients-carousel:hover .clients-track {
    animation-play-state: paused;
  }
  
  /* === Título (Estilos básicos) === */
  .section-diff-title {
    margin-bottom: 30px; /* Espacio debajo del título */
  }
  .section-diff-title h2 {
    font-size: 2em; /* Tamaño ejemplo */
    color: #333; /* Color ejemplo */
  }
  
  
  
  
  
  
  