:root{
  /* Fondo blanco */
  --bg: #ffffff;

  /* Tarjetas y bordes */
  --card: #f7f8fb;
  --card2: #ffffff;
  --line: rgba(10, 20, 40, .12);

  /* Texto */
  --text: #0f172a;
  --muted: #4b5563;

  /* Acentos */
  --accent:#06b6d4;
  --accent2:#8b5cf6;

  --radius: 18px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }

.container{
  width: min(1300px,100%);
  margin: 0 auto;
}

/* =========================
   TOP LOGOS
   - Logo centro ARRIBA ancho completo
   ========================= */

.top-logos{
  padding: 22px 0 14px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

/* Rectángulo del logo de arriba (ANCHO COMPLETO) */
.logo-center-top{
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 16px 16px;
  margin: 0 auto 14px;

  width: 100%;
  border-radius: calc(var(--radius)+8px);
  border: 1px solid rgba(6,182,212,.22);
  background: linear-gradient(135deg, rgba(6,182,212,.10), rgba(139,92,246,.08));
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
}

/* Imagen centro */
.logo-center-top img{
  max-height: 350px;
  max-width: 1300px;
  object-fit: contain;
}

/* =========================
   BLOQUE INFERIOR (1 RECTÁNGULO)
   - Izq (logo grande) / Centro (patrocinadores) / Der (logo grande)
   ========================= */
/* =========================
   BLOQUE INFERIOR HORIZONTAL
   Izq + 4 sponsors en línea + Der
   ========================= */

   .bottom-card--3{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
  }
  
  /* Lados (izq/der) */
  .bottom-card__item{
    flex: 0 0 320px;      /* ancho fijo para que no aplaste el centro */
    display:flex;
    justify-content:center;
    align-items:center;
  }
  
  .bottom-card__item--right{
    flex: 0 0 320px;
  }
  
  .bottom-card__item img{
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
  }
  
  /* Centro: grid 4 columnas */
  /* Forzar 4 logos en una sola línea (sin que se vaya uno abajo) */
.bottom-card__sponsors{
  grid-template-columns: repeat(4, 1fr) !important; /* SIEMPRE 4 */
  gap: 10px !important;
  padding: 10px !important;
}

/* Tamaño flexible: se ajusta según ancho disponible */
.mini-sponsor{
  width: 100% !important;             /* ya no fijo */
  max-width: 150px;                   /* límite */
  aspect-ratio: 1 / 1;                /* cuadrado perfecto */
  height: auto !important;
}

/* Imagen adentro se ajusta */
.mini-sponsor img{
  max-width: 140px !important;
  max-height: 140px !important;


  
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(10,20,40,.10);
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  }
  
  .mini-sponsor:hover{
    transform: translateY(-2px);
    border-color: rgba(6,182,212,.35);
    box-shadow: 0 12px 22px rgba(0,0,0,.10);
  }
  
  .mini-sponsor img{
    max-height: 110px;
    max-width: 110px;
    object-fit: contain;
  }
  
  /* Responsive: cuando ya no quepa, se apila */
  @media (max-width: 1100px){
    .bottom-card--3{
      flex-direction: column;
      gap: 12px;
    }
    .bottom-card__item,
    .bottom-card__item--right{
      flex: 0 0 auto;
      width: 100%;
    }
    .bottom-card__sponsors{
      width: 100%;
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 620px){
    .bottom-card__sponsors{
      grid-template-columns: 1fr;
    }
  }
  

/* Logos grandes */
.bottom-card__item{
  display:flex;
  justify-content:flex-start;
  align-items:center;
}

.bottom-card__item--right{
  justify-content:flex-end;
}
  
.bottom-card__item img{
  max-height: 220px;
  max-width: 320px;
  object-fit: contain;
}

/* Patrocinadores al centro */
.bottom-card__sponsors{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;

  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  border: 1px dashed rgba(10,20,40,.12);
}

/* Logos mini patrocinadores */
.mini-sponsor{
  display:grid;
  place-items:center;
  width: 150px;
  height: 150px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(10,20,40,.10);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.mini-sponsor:hover{
  transform: translateY(-2px);
  border-color: rgba(6,182,212,.35);
  box-shadow: 0 12px 22px rgba(0,0,0,.10);
}

.mini-sponsor img{
  max-height: 140px;
  max-width: 140px;
  object-fit: contain;
}

/* =========================
   SEARCH
   ========================= */

.search{
  padding: 18px 0 40px;
}

.search__form{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: var(--card2);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.search__input{
  flex:1;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  outline: none;
}

.search__input::placeholder{
  color: rgba(15,23,42,.45);
}

.search__input:focus{
  border-color: rgba(6,182,212,.7);
  box-shadow: 0 0 0 4px rgba(6,182,212,.12);
}

.search__btn{
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  font-weight: 400;
  cursor: pointer;
  color:#061018;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.search__btn:hover{ filter: brightness(1.03); }

.search__hint{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width:850px){
  .bottom-card--3{
    grid-template-columns: 1fr; /* apila todo */
    gap: 12px;
  }

  .bottom-card__item,
  .bottom-card__item--right{
    justify-content: center;
  }

  .logo-center-top img{
    max-width: 340px;
  }
}

@media (max-width: 820px){
  .logo-center-top img{
    max-width: 360px;
    max-height: 200px;
  }

  .bottom-card__item img{
    max-height: 110px;
    max-width: 110px;
  }

  .mini-sponsor{
    width:75px;
    height:75px;
  }
}


/* =========================
   LINKS EN EL CENTRO (Enlaces rápidos)
   ========================= */

   .bottom-card__links{
    display:flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
  
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.75);
    border: 1px dashed rgba(10,20,40,.12);
  }
  
  /* CONTENEDOR DEL MENU */
.bottom-card__links{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;

  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.80);
  border: 1px dashed rgba(10,20,40,.12);
}

/* BOTONES DEL MENU */
.quick-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 14px 18px;     /* más grande */
  min-height: 50px;
  border-radius: 999px;

  background: #000;       /* fondo negro */
  color: #fff;            /* letra blanca */
  font-weight: 800;
  font-size: 16px;        /* letras más grandes */
  letter-spacing: .2px;

  border: 2px solid rgba(0,0,0,.85);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);

  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

/* Hover bonito */
.quick-link:hover{
  transform: translateY(-2px);
  background: linear-gradient(135deg, #000, #1f2937); /* negro a gris */
  border-color: rgba(6,182,212,.45);
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
}

/* Click */
.quick-link:active{
  transform: translateY(0);
}

/* Foco para teclado */
.quick-link:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(6,182,212,.18), 0 16px 30px rgba(0,0,0,.18);
  border-color: rgba(6,182,212,.60);
}

/* Opcional: marcar el link "activo" */
.quick-link.active{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#061018;
  border-color: rgba(6,182,212,.35);
}

/* Responsive */
@media (max-width: 720px){
  .quick-link{
    font-size: 14px;
    padding: 12px 14px;
    min-height: 46px;
  }
}

  
  /* Responsive */
  @media (max-width: 720px){
    .quick-link{
      font-size: 12px;
      padding: 9px 11px;
    }
  }
  .logo-move{
    display:inline-block;
    animation: moveLR 2.2s ease-in-out infinite alternate;
  }
  
  @keyframes moveLR{
    from { transform: translateX(-10px); }
    to   { transform: translateX(10px); }
  }
    

  /* =========================
   VIDEO MP4 debajo del buscador
   ========================= */

   .video-section{
    padding: 0 0 34px;
  }
  
  .video-card{
    margin-top: 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 8px);
    background: var(--card2, #fff);
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
  }
  
  
  



  .promo-video {
    width: 100%;
    display: block;
    border-radius: var(--radius);
    background: #000;
    /* Quitamos aspect-ratio para flexibilizar */
    object-fit: cover;
}

@media (max-width: 768px) {
    .promo-video {
        /* En móviles, si querés que se vea más grande, forzamos altura */
        height: 60vh; /* Por ejemplo, 60% de la altura de la pantalla */
        object-fit: contain; /* O cover según tu preferencia */
    }
}

  









/* Menú centrado con el mismo ancho del sitio */
.bottom-card__links{
  width: min(1100px, 92%);
  margin: 14px auto 0; /* lo centra y le da aire arriba */
}



/* Sección de contenido general */
.content{
  padding: 18px 0 40px;
}

.content__head{
  width: min(1100px, 92%);
  margin: 0 auto 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: var(--card);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.content__title{
  margin: 0 0 6px;
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--text);
}

.content__subtitle{
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

/* =========================
   FOOTER PRO (redes + pagos + contador)
   ========================= */

   .site-footer{
    margin-top: 26px;
    border-top: 1px solid var(--line);
    background: #fff;
  }
  
  .footer-grid{
    padding: 18px 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
    align-items: start;
  }
  
  .footer-block{
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    background: var(--card);
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    padding: 16px;
  }
  
  .footer-title{
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 900;
    color: var(--text);
  }
  
  .footer-note{
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
  }
  
  /* Redes */
  .social-icons{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .social-btn{
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #000;
    color: #fff;
    border: 2px solid rgba(0,0,0,.85);
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
    text-decoration: none;
  }
  
  .social-btn:hover{
    transform: translateY(-2px);
    background: linear-gradient(135deg, #000, #1f2937);
    border-color: rgba(6,182,212,.55);
    box-shadow: 0 16px 30px rgba(0,0,0,.18);
  }
  
  .social-btn i{
    font-size: 18px;
  }
  
  /* Pagos */
  .pay-icons{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .pay-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(10,20,40,.12);
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
  }
  
  .pay-badge i{
    font-size: 26px;
    color: #0f172a;
  }
  
  /* Contador */
  .counter{
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(10,20,40,.12);
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
  }
  
  .counter i{
    font-size: 18px;
    color: #0f172a;
  }
  
  .counter-number{
    font-size: 26px;
    font-weight: 1000;
    letter-spacing: 1px;
    color: #0f172a;
  }
  
  /* Parte de abajo */
  .footer-bottom{
    border-top: 1px solid var(--line);
    background: #fff;
  }
  
  .footer-bottom-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--muted);
    font-size: 13px;
  }
  
  .footer-mini{
    color: var(--muted);
  }
  
  /* Responsive */
  @media (max-width: 980px){
    .footer-grid{
      grid-template-columns: 1fr;
    }
    .footer-bottom-inner{
      flex-direction: column;
      gap: 6px;
    }
  }
  
/* =========================
   RESPONSIVE FIX - BUSCADOR
   Pegá esto al FINAL de styles.css
   ========================= */

/* Un poco de aire a los lados en pantallas pequeñas */
@media (max-width: 900px){
  .container{
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Asegura que el form pueda partirse en varias líneas */
.search__form{
  flex-wrap: wrap;              /* clave */
  align-items: stretch;
}

/* Estilos para cada campo con icono + input/select */
.searchbar__field{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 260px;              /* crece, encoge y se acomoda */
  min-width: 220px;
}

.searchbar__field i{
  min-width: 18px;
  text-align: center;
  color: var(--muted);
}

/* Inputs y selects ocupan todo el ancho del campo */
.searchbar__field .search__input{
  width: 100%;
  flex: 1;
}

/* Botón buscar dentro del form (tu quick-link) */
.search__form > button.quick-link{
  flex: 0 0 auto;
  white-space: nowrap;
}

/* MOBILE: apilar todo en columna y botón full width */
@media (max-width: 640px){
  .search__form{
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .searchbar__field{
    flex: 1 1 100%;
    min-width: 100%;
  }

  .search__form > button.quick-link{
    width: 100%;
    justify-content: center;
  }

  /* Un toque más compacto para móvil */
  .search__input{
    padding: 12px 12px;
    border-radius: 14px;
  }
}

/* TABLET: que queden 2 campos por fila si cabe */
@media (min-width: 641px) and (max-width: 980px){
  .searchbar__field{
    flex: 1 1 calc(50% - 10px);
    min-width: 260px;
  }
}
