/* ===================================
   CUVO TABS - ESTILOS PRINCIPALES
   =================================== */

/* Clase hidden para ocultar contenido (CRÍTICO para el funcionamiento de tabs) */

.hidden {
    display: none !important;
}

/* Estilos para los botones de tabs */
.cuvo-tab-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.cuvo-tab-btn:hover:not(.active-tab) {
    background: rgba(255,255,255,0.1);
    color: white;
}

.cuvo-tab-btn.active-tab {
    background: transparent !important;
    color: white !important;
    border-color: rgba(255,255,255,0.2) !important;
}

.cuvo-tab-btn.active-tab::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
}

/* Estilos para el contenido de tabs */
.cuvo-tab-content {
    transition: opacity 0.3s ease;
    opacity: 1;
}
.cuvo-tab-content.hidden {
    opacity: 0;
}

/* Estilos para el contenedor principal */
.cuvo-tabs-container {
    /* Puedes agregar estilos adicionales aquí si lo necesitas */
}

/* ===================================
   SHARKTANK SECTION - ESTILOS
   =================================== */

.cuvo-sharktank-section {
    position: relative;
}

.cuvo-sharktank-section .bg-slide {
    animation: cuvoFade 12s infinite;
}

.cuvo-sharktank-section .bg-slide:nth-child(2) {
    animation-delay: 4s;
}

.cuvo-sharktank-section .bg-slide:nth-child(3) {
    animation-delay: 8s;
}

@keyframes cuvoFade {
    0%, 100% { 
        opacity: 0; 
    }
    10%, 30% { 
        opacity: 1; 
    }
}

/* ===================================
   MEDIA QUERIES - RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .cuvo-tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .cuvo-tabs-container {
        padding: 15px;
    }
}

/* ===================================
   UTILITIES - CLASES DE UTILIDAD
   =================================== */

/* Clases de texto */
.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

/* Clases de fondo */
.bg-white\/5 {
    background: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
    background: rgba(255, 255, 255, 0.1);
}

/* Clases de borde */
.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Estilo común para todos los botones del banner */
.btn-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem; /* 6px */
  text-align: center;
  text-decoration: none;
  color: white;
  border: 2px solid white;
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem; /* 12px */
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.25s ease;
  flex: 1;
  min-width: 130px;
  max-width: 180px;
}


.hide-scrollbar {
    -ms-overflow-style: none;  /* IE y Edge */
    scrollbar-width: none;     /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

    .typing-cursor {
        display: inline-block;
        margin-left: 2px;
        font-weight: 400;
        font-size: inherit;
        animation: blink 1s step-end infinite;
    }
    
    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0; }
    }

  .hero-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1; /* detrás de todo */
    overflow: hidden;
    /*background: rgba(0,0,0,0.65);*/
  }
  
.hero-content {
    position: relative;
    z-index: 30;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Cambiado de 'center' a 'flex-start' */
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    color: white;
    box-sizing: border-box;
}
  .hero-spacer {
    height: 1vh;
  }
  
@media (min-width: 640px) {
  .btn-banner {
    font-size: 0.875rem; /* 14px */
    padding: 0.625rem 1rem; /* 10px 16px */
    min-width: 150px;
  }
}
@media (min-width: 768px) {
    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
        margin-top: 10%;
    }
}

/* Hover */
.btn-banner:hover {
  background-color: white;
  color: black;
}

/* Asegurar que en móviles muy pequeños no se desborden */
@media (max-width: 375px) {
  .btn-banner {
    min-width: 110px;
    font-size: 0.7rem;
    padding: 0.45rem 0.6rem;
  }
}

#gallery-slider img {
  transition: transform 0.2s linear;
  will-change: transform;
}


/* === Carrusel de Marcas (Full Width) === */
.brand-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100vw;          
  background: transparent;
  margin-top: 3%;
  margin-bottom: 0; 
}

.brand-carousel-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: scrollBrands 25s linear infinite;
  width: max-content;     /* 🔹 Permite que se desplace correctamente el contenido largo */
}

.brand-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  pointer-events: none; /* No clickeables */
}

.brand-logo:hover {
  opacity: 1;
}

@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



.hero-content {
  position: relative;
  z-index: 30;
}

/* PRIMERA PANTALLA */
.hero-main {
  height: 100vh;                 
  display: flex;
  flex-direction: column;
  justify-content: center;      
  align-items: center;        
  text-align: center;
  padding: 0 1rem;
}

/* SEGUNDA PANTALLA */
.hero-recognized {
  min-height: 50vh;             
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 0;
}

.hero-fade-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-fade-slider .parallax {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  filter: blur(3px);      /* blur fijo */
  transform: scale(1.06);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-fade-slider .parallax.active {
  opacity: 1;
  z-index: 1;
}


.hero-fixed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75); 
  pointer-events: none;
  z-index: 2;
}
.cuvo-sharktank-section .bg-white\/10 {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.15),
        rgba(255,255,255,0.05)
    );
}
.cuvo-sharktank-section .bg-white\/10 {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}



/* FIX: Asegurar que hidden funcione correctamente */
.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* FIX: Cuando NO está hidden, mostrar correctamente */
.cuvo-tab-content:not(.hidden) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}