/* style_index.css */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; font-family: sans-serif; }

    /* Video Top y Logos */
    .video-top {
        position: relative;
        width: 100%; height: 50vh;
        overflow: hidden;
    }
    .video-top video {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        /* aca */
        /* min-width: 100%;
        min-height: 100%;
        object-fit: cover; */
        width: 100%; height: auto;
        object-fit: none; /*recorta bordes superior e inferior */
    }
    .video-top .overlay {
        position: absolute; top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.4);
    }
    .video-top .hero-content h1 {
        font-size: 3rem; margin-bottom: 0.5rem;
    }
    .video-top .hero-content p {
        font-size: 1.2rem;
    }

    /* Asegúrate de que .hero-content esté centrado */
    .video-top .hero-content {
        position: relative;
        z-index: 2;
        top: 30%;
        transform: translateY(-20%);
        text-align: center;
        color: #fff;
        padding: 0 1rem;
    }

    /* Estilo del botón y centrado */
    .video-top .hero-cta {
        position: relative; 
        z-index: 2;
        margin-top: 1rem;
    }
    .video-top .btn-shop {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        background: #ff6600;
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        border-radius: 4px;
    }
    .video-top .btn-shop:hover {
        background: #e65c00;
    } 
    .video-top .hero-cta {
        position: relative; 
        z-index: 2;
        margin-top: 1rem;
    }



    /* Logos Carousel justo debajo del tagline */
    .logos-carousel-section {
        position: absolute; bottom: 1rem; left: 0;
        width: 100%; overflow: hidden;
    }
    .logos-carousel-track {
        display: flex;
        width: 200%; /* duplicar 10 logos para loop */
        animation: slide-logos 15s linear infinite;
    }
    .logos-carousel-track li {
        flex: 0 0 calc(100% / 10);
        list-style: none; text-align: center;
    }
    .logos-carousel-track img {
        max-height: 60px; object-fit: contain;
    }
    @keyframes slide-logos {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }


    /* Bottom Half */
    .bottom-half {
    display: flex; width: 100%; height: 50vh;
    }
    .carousel-wrapper, .info-section {
    width: 50%; overflow-y: auto;
    }

    /* Carousel principal */
    .carousel-wrapper {
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    }
    .carousel-section { 
        width: 90%;
    }
    .carousel-section h2{
        text-align: center;
    }
    .carousel { position: relative; overflow: hidden; }
    .carousel-track { display: flex; transition: transform 0.4s ease; }
    .carousel-item {
    flex: 0 0 100%; display: flex; align-items: center;
    padding: 1rem;
    }
    .carousel-item img {
    flex: 1; max-width: 40%; height: auto; margin-right: 1rem;
    }
    .carousel-item .info {
    flex: 1; text-align: left;
    }
    .carousel-button {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); color: #fff; border: none;
    font-size: 2rem; width: 2.5rem; height: 2.5rem;
    cursor: pointer; z-index: 10;
    }
    .carousel-button.prev { left: 0.5rem; }
    .carousel-button.next { right: 0.5rem; }

    /* Info Section */
    .info-section {
    display: flex; flex-direction: column; justify-content: center;
    background: #eeecec; padding: 2rem;
    }
    .info-item { margin-bottom: 1.5rem; text-align: center; }
    .info-item h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .info-item p  { font-size: 1rem; color: #555; }

    /*borrar aca*/
    /*  */
    .bottom-half {
        display: flex;         /* Desktop: dos columnas */
      }
      .carousel-wrapper,
      .info-section {
        width: 50%;            /* Desktop: cada uno a la mitad */
      }
      
/* -------- MOBILE -------- */
@media (max-width: 768px) {


    /* 1) Vídeo ocupa 2/3 de la altura */
    .video-top {
        height: 66.66vh;
        overflow: hidden;
    }

    /* 2) Vídeo sin zoom, centrado horizontal y altura completa */
    .video-top video {
        position: absolute;
        top: -1rem;                /* lo pegamos arriba */
        left: 50%;             /* centrar horizontal */
        transform: translateX(-50%);
        width: 100%;           /* adaptar ancho según proporción */
        height: auto;          /* llenar la altura del contenedor */
        object-fit: contain;   /* nada de zoom ni recortes */
        object-position: center center;
    }


    /* Logos Carousel justo debajo del tagline */
    .logos-carousel-section {
        position: absolute;
        bottom: 1rem;
        left: 0;
        width: 100%;
        overflow: hidden;
      }
    
      .logos-carousel-track {
        display: flex;
        width: 200%; /* duplicar 10 logos para loop */
        animation: slide-logos 10s linear infinite;
        /* opcional: algo de padding lateral para que no queden pegados a la pantalla */
        padding: 0 1rem;
      }
    
      .logos-carousel-track li {
        flex: 0 0 calc(100% / 10); /* ancho base */
        margin: 0 1rem;          /* <-- espacio entre logos */
        list-style: none;
        text-align: center;
      }
    
      .logos-carousel-track img {
        max-height: 60px;
        object-fit: contain;
      }
    
      @keyframes slide-logos {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-50%); }
      }
  

      /* aca borra 1:49 */
    /* 2) Apilar bottom-half */
    .bottom-half {
      display: flex;
      flex-direction: column;
    }
  
    /* Carousel full‑width y auto‑altura */
    .carousel-wrapper {
      width: 100%;
      height: auto;       /* deja que el contenido determine la altura */
      overflow: visible;  /* muestra todo, sin recortes */
      padding: 2rem 1rem;    /* opcional, distancia del carousel al vídeo */
    }
  
    /* Info‑section full‑width y flujo normal */
    .info-section {
      width: auto;
      overflow: visible;
      padding: 2rem 0;    /* espaciado arriba y abajo */
      /* no definas height: deja que crezca según su contenido */
    }
  }

/* ───────── Widget flotante WhatsApp ───────── */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
  }
  .whatsapp-float a {
    color: #fff;
    font-size: 30px;
    text-decoration: none;
  }
  .whatsapp-float a:hover {
    transform: scale(1.1);
  }