*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background:#000;
    overflow-x:hidden;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, padding 0.3s ease;
  z-index: 1000;
}



header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  padding: 12px 60px;
}

.logo{
    color:#ff00aa;
    font-size:28px;
    font-weight:800;
}

.hamburger{
    width:30px;
    cursor:pointer;
}

.hamburger span{
    display:block;
    height:3px;
    background:white;
    margin:6px 0;
}

.menu-btn {
  position: relative;
  z-index: 10001;
}

body.menu-open .menu-btn {
  opacity: 0;
  pointer-events: none;
}

/* SIDE MENU */

.overlay-menu{
    position:fixed;
    inset:0;
    background:#000000bd;
    opacity:0;
    pointer-events:none;
    transition:.3s;
    z-index:15;
}

.overlay-menu.active{
    opacity:1;
    pointer-events:all;
}

.side-menu{
    position:fixed;
    top:0;
    right:-320px;
    width:320px;
    height:100vh;
    background:linear-gradient(45deg, #00000000, #000000);
    padding:120px 30px;
    transition:.4s;
    z-index:20;
}

.side-menu.active{
    right:0;
    z-index: 10000;
}

.close-btn{
    font-size:28px;
    color:white;
    cursor:pointer;
    text-align:right;
    margin-bottom:40px;
}

.side-menu a{
    display:block;
    color:white;
    text-decoration:none;
    margin-bottom:25px;
    font-size:18px;
}

/* HERO */

.hero-slider{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
}

.slides{
    display:flex;
    height:100%;
    transition:transform .6s ease;
}

.slide{
    min-width:100%;
    height:100%;
    position:relative;
}

.slide img.bg{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
}

.gradient{
    position:absolute;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, rgba(150,0,255,.6) 0%, rgba(0,90,255,.7) 60%);
}

.content{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding:0 8%;
    color:white;
}

.text-box{
    position:relative;
    max-width:700px;
}

/* IMAGEN SUPERPUESTA */
.product-img{
    position:absolute;
    left:-500px;
    bottom:-60px;
    width:320px;
    z-index:3;
    filter:drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}

.text-box h1{
    font-size:clamp(36px,6vw,90px);
    font-weight:800;
    line-height:1.05;
}

.text-box h2{
    margin-top:20px;
    font-size:clamp(18px,2vw,30px);
    font-weight:600;
}

.btn{
    margin-top:30px;
    display:inline-block;
    padding:14px 40px;
    border:2px solid white;
    border-radius:40px;
    text-decoration:none;
    color:white;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:white;
    color:black;
}

.arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:2px solid white;
    border-radius:50%;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:22px;
    z-index:5;
}

.arrow.left{ left:30px; }
.arrow.right{ right:30px; }

.arrow:hover{
    background:white;
    color:black;
}

/* RESPONSIVE */

@media(max-width:1024px){
    .product-img{
        position:relative;
        left:0;
        bottom:0;
        margin-bottom:20px;
        display: none;
    }
    .content{
        justify-content:center;
        text-align:center;
    }
}

.flavors-section {
  width: 100%;
  min-height: 100vh;
  padding: 100px 0;
  display: flex;
  align-items: center;
  transition: background 0.6s ease;
  overflow: hidden;
}

.flavors-wrapper {
  width: min(90%, 1300px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

/* SLIDER */

.flavor-slider {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 520px;
}

.flavor-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.flavor-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: all 0.5s ease;
}

.flavor-item img {
  height: 480px;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

/* ACTIVA */
.flavor-item.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
}

/* PREV */
.flavor-item.prev {
  transform: translate(-60%, -50%) scale(0.75);
  opacity: 0.4;
  z-index: 2;
}

/* NEXT */
.flavor-item.next {
  transform: translate(60%, -50%) scale(0.75);
  opacity: 0.4;
  z-index: 2;
}

/* INFO */

.flavor-content {
  color: white;
}

.flavor-content h2 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  margin: 0;
  line-height: 55px;
}

.flavor-content p {
  margin-top: 20px;
  font-size: 18px;
  max-width: 500px;
}

/* CONTROLES */

.flavor-controls {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.flavor-controls button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  color: white;
  font-size: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.flavor-controls button:hover {
  background: white;
  color: black;
}

/* MOBILE */

@media (max-width: 900px) {

  .flavors-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .flavor-item.prev,
  .flavor-item.next {
    display: none;
  }

  .flavor-slider {
    height: 380px;
  }

  .flavor-item img {
    height: 350px;
  }

  .flavor-controls {
    justify-content: center;
  }

  #flavorTitle,
  #flavorText {
    transition: opacity 0.3s ease;
  }

.flavors-section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  width: 100%;
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #111;
}

.arrow {
    top: 80%;
}

}

.footer {
  background: linear-gradient(135deg, #ffffff, #001de9);
  color: #fff;
  padding: 50px 20px 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ff00aa;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.link-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-column a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.link-column a:hover {
  color: #ffcc00;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  color: #fff;
  font-size: 30px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #0bea00;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Responsive */
@media(max-width: 900px){
  .footer-links {
    flex-direction: column;
    gap: 25px;
  }

  .link-column {
    align-items: center;
  }
}

.video-background-section {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa toda la altura de la ventana */
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.desktop-video {
  display: block;
}

.mobile-video {
  display: none;
}

/* Contenido sobre el video */
.video-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
}

.video-content h1 {
  font-size: clamp(36px, 5vw, 80px);
  font-weight: 800;
}

.video-content p {
  font-size: clamp(16px, 2vw, 24px);
  margin: 20px 0;
}

.video-content .btn {
  display: inline-block;
  padding: 12px 40px;
  border: 2px solid white;
  border-radius: 40px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

.video-content .btn:hover {
  background: white;
  color: black;
}

/* Responsive: mostrar video vertical en móviles */
@media(max-width: 900px){
  .desktop-video {
    display: none;
  }

  .mobile-video {
    display: block;
  }

  .video-content h1 {
    font-size: clamp(28px, 6vw, 60px);
  }

  .video-content p {
    font-size: clamp(14px, 3vw, 20px);
  }
}

/* Sección delgada */
.logo-marquee {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  background: linear-gradient(135deg, rgb(222 103 255), rgb(22 67 149));
  position: relative;
  z-index: 10;
}

/* Contenedor de los logos en fila */
.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.logo-track img {
  height: 100px; /* Ajusta según necesites */
  margin: 30px 100px; /* separación entre logos */
  object-fit: contain;
}

/* Animación horizontal infinita */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Preloader ocupa toda la pantalla */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgb(255 255 255), rgb(0 0 0));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* encima de todo */
}

/* Batería */
.battery {
  width: 120px;
  height: 50px;
  border: 4px solid #fff;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.battery::after {
  content: '';
  position: absolute;
  top: 12px;
  right: -12px;
  width: 12px;
  height: 26px;
  background: #fff;
  border-radius: 2px;
}

.level {
  height: 100%;
  width: 0%;
  background: #4caf50;
  animation: charge 2s infinite;
}

@keyframes charge {
  0%   { width: 0%; }
  50%  { width: 50%; }
  100% { width: 100%; }
}

/* Contenido principal inicialmente invisible */
#main-content {
  display: none;
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #ffffff, #83e900);
}

.contact-container {
  background: rgba(255, 255, 255, 0.15); /* fondo semitransparente */
  backdrop-filter: blur(15px); /* efecto glass */
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 500px;
  transition: transform 0.3s ease;
}

.contact-container:hover {
  transform: translateY(-5px);
}

.contact-container h2 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 40px;
  color: #111;
}

.input-group {
  position: relative;
  margin-bottom: 30px;
}

/* Inputs y textarea transparentes */
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 16px 12px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
  background-color: rgba(255,255,255,0.05); /* muy transparente */
  color: #111;
}

/* Evitar fondo en autofill de Chrome */
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px rgba(255,255,255,0.05) inset !important;
  -webkit-text-fill-color: #111 !important;
}

/* Labels flotantes */
.input-group label {
  position: absolute;
  top: 16px;
  left: 12px;
  color: #999;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Focus y contenido escrito */
.input-group input:focus,
.input-group textarea:focus {
  border-color: #00e34b;
  box-shadow: 0 0 10px rgba(0, 113, 227, 0.2);
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
  top: -15px;
  left: 10px;
  font-size: 12px;
  color: #00000065;
  background: rgba(255,255,255,0.15);
  padding: 0 4px;
}

/* Botón */
button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #89ea0c, #aaf5b0) ;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 113, 227, 0.2);
}

button2 {
  width: 100%;
    padding: 6px;
    border: solid 2px;
    border-radius: 5px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    /* font-weight: 600; */
    cursor: pointer;
    transition: all 0.3s ease;
    left: 770px;
    position: relative;
}

button2:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 113, 227, 0.2);
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  color: #333;
}

.flavors-section {
  display: flex;
  flex-direction: column; /* apila elementos verticalmente */
  align-items: center;
  padding: 80px 20px;
}

.flavors-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 40px; /* espacio con el slider */
  color: #111;
  text-align: center;
  width: 100%;
}

/* Botón de idioma */
.language-switcher {
  margin-left: 10px; /* Reduce el espacio entre el logo y el botón */
  display: flex;
  justify-content: center;
  align-items: center;
}

.language-switcher button {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  
  position: relative;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .language-switcher button {
  
  margin-right: 5px;
  
}
}

/* Hover en el botón de idioma */
.language-switcher button:hover {
  background-color: #ffcc1c4a;
}


/* HERO */
.about-hero{
  position:relative;
  height:85vh;
  background:linear-gradient(135deg, #fdc989, #f58700);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px;
}

.about-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at center,rgba(255,0,0,0.4),transparent 70%);
  opacity:.6;
}

.about-hero-content{
  position:relative;
  z-index:2;
}

.about-hero h1{
  font-family:'Bebas Neue', sans-serif;
  font-size:6vw;
  letter-spacing:3px;
}

.about-hero h2{
  font-weight:300;
  margin-top:15px;
  font-size:1.5rem;
  opacity:.8;
}

/* SECTION GENERAL */
.section{
  padding:100px 10%;
  text-align:center;
}

.section h2{
  font-family:'Bebas Neue', sans-serif;
  font-size:3rem;
  margin-bottom:30px;
  letter-spacing:2px;
}

.section p{
  max-width:800px;
  margin:auto;
  line-height:1.7;
  font-size:1.1rem;
  opacity:.85;
}

/* GRID VALUES */
.values-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px;
  margin-top:60px;
}

.value-card{
  background: #00000014;;
  padding:40px;
  border-radius:20px;
  transition:.4s;
  border:1px solid rgba(255,255,255,0.05);
}

.value-card:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 40px rgba(255,0,0,0.2);
}

.value-card h3{
  font-family:'Bebas Neue', sans-serif;
  font-size:2rem;
  margin-bottom:15px;
}

.value-card p{
  font-size:1rem;
  opacity:.7;
}

/* COMMUNITY SECTION */
.community{
  background:linear-gradient(135deg,#111,#000);
}

/* CTA */
.cta{
  padding:120px 20px;
  text-align:center;
  background:linear-gradient(135deg,#ff0000,#550000);
}

.cta h2{
  font-family:'Bebas Neue', sans-serif;
  font-size:3rem;
  margin-bottom:30px;
}

.cta a{
  display:inline-block;
  padding:15px 40px;
  background:#fff;
  color:#000;
  text-decoration:none;
  font-weight:600;
  border-radius:40px;
  transition:.3s;
}

.cta a:hover{
  transform:scale(1.05);
}

/* RESPONSIVE */
@media(max-width:768px){
  .about-hero h1{
    font-size:12vw;
  }
}


.background-media-text__testimonial:before, .background-media-text__testimonial:after {
      content: '“';
    display: block;
    font-size: 30px;
    transform: scale(4) translate(0px, 10px);
    position: absolute;
    left: -90px;
    font-family: var(--typeHeaderPrimary), var(--typeHeaderFallback);
    background-image: url(//www.masbymessi.com/cdn/shop/files/088d76c….png?v=1723199685&width=1920);
    background-size: cover;
    background-position: center;
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.social-section {
  padding: 230px 5%;
  background: #000;
  color: linear-gradient(135deg, rgb(222 103 255), rgb(22 67 149));
}

.social-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 50px;
  background-image: linear-gradient(to right, #4e2394, #dbc9f5); /* Define tus colores */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* Hace el texto transparente para mostrar el fondo */
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 10px;
}

.video-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 5px;
}

.video-item img {
  width: 100%;
  display: block;
  transition: 0.3s ease;
}

.video-item:hover img {
  transform: scale(1.05);
}


/* MODAL */

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
}

.modal-wrapper {
  position: relative;
  display: flex;
  background: #111;
  width: 90%;
  max-width: 1000px;
  height: 80vh;
  border-radius: 16px;
  overflow: hidden;
  z-index: 2;
}

.modal-video {
  flex: 1;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-video video {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.modal-info {
  width: 300px;
  background: #fff;
  color: #000;
  padding: 30px;
  overflow-y: auto;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 32px;
  color: #b1b1b1;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 5;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #fff;
  background: #00000045;
  border: none;
  cursor: pointer;
  padding: 10px 18px;
  z-index: 5;
}

.prev { left: 10px; }
.next { right: 10px; }

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .modal-wrapper {
    flex-direction: column;
    height: 95vh;
  }

  .modal-info {
    width: 100%;
    height: 35%;
  }
}