html {
  scroll-behavior: smooth;
}

/*Tarjeta es una clase comun*/
.card {
  border: 3px solid var(--gris);
  border-radius: 60px;
  padding: 40px 30px;
  display: flex;
  justify-self: center;
  flex-direction: column;
  place-items: center;
  height: 100%;
  max-width: 350px;

  /*Variable de espaciado dentro de la tarjeta*/
  --margen: 10px;
  --transparencia: 0;
}

/* Nombre Plan de cada Card */
.card h3 {
  background: rgba(267, 18, 15, var(--transparencia));
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 500;
  margin-bottom: var(--margen);
}

/* Highlight */
.card h3 .highlight-yellow {
  color: var(--terciario);
}

/* Highlight */
.card h3 .highlight-blue {
  color: var(--secundario);
}

/* Highlight */
.card h3 .highlight-green {
  color: var(--primario);
}

/*Info de cada Card: Subtitulo | Precio*/
.card .price-info {
  /*Subtitulo*/
  background: rgba(167, 218, 15, var(--transparencia));
  text-align: center;
}

.card .price-info h4 {
  font-size: clamp(19.85px, 3vw, 39.7px);
  font-weight: 500;
  margin-bottom: var(--margen);
}

/*Precio de cada card*/
.card .price-info .price {
  font-size: clamp(19.85px, 3vw, 39.7px);
  font-weight: 500;
  margin-bottom: var(--margen);
}

/*Descripcion de cada card*/
.card .desc {
  background: rgba(167, 218, 215, var(--transparencia));
  text-align: justify;
  color: #000000;
  font-size: clamp(10.585px, 3.5vw, 21.17px);
  font-weight: 200;
}

/*Enlace*/
.card a {
  display: block;
  margin-top: calc(var(--margen) + 10px);
  font-size: clamp(11.25px, 1.7vw, 22.5px);
}

/*Boton Amarillo*/
.card .btn-yellow {
  background-color: var(--terciario);
  color: #1f2937;
  width: 80%;
}

/*Boton Verde*/
.card .btn-green {
  background-color: var(--primario);
  color: #1f2937;
  width: 80%;
}

/* =========================================
   Responsive Tarjetas
   ========================================= */
@media (max-width: 992px) {
  .card a {
    font-size: 16px;
    padding: 12px 10px;
    width: 95%;
  }
}

/* =========================================
   Estilos del Hero Section
   ========================================= */

.hero-tvc {
  position: relative;
  width: 100%;
  /* --- CAMBIO PRINCIPAL --- */
  /* Restamos los 108px del navbar al 100% de la altura del viewport */
  min-height: calc(100dvh - 108px);
  /* ------------------------ */
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../assets/television.png");
  background-size: cover;
  background-position: 50% 70%;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Capa para oscurecer el fondo */
.hero-tvc .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.529
  ); /* 0.65 es la opacidad, modifícala a tu gusto */
  z-index: 1;
}

/* Contenedor del texto y botón */
.hero-tvc .hero-content {
  position: relative;
  z-index: 2; /* Para que quede por encima del overlay */
  text-align: center;
  padding: 0 20px;
}

/* Tipografía del título */
.hero-tvc .hero-content .hero-title {
  color: #ffffff;
  /* Uso de clamp para que el texto sea responsive automáticamente */
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.hero-tvc .hero-content .hero-title .text-highlight {
  color: var(--terciario); /* El tono amarillo/dorado de la imagen */
}

/* =========================================
Estilos del Botón Llamativo
========================================= */

.hero-tvc .hero-content .btn-llamativo {
  display: inline-block;
  padding: 16px 48px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--terciario);
  text-decoration: none;
  letter-spacing: 1px;

  /* Efecto Glassmorphism del diseño original */
  background-color: var(--terciario-desvanecido);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 2px solid var(--terciario);
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Transición con un pequeño rebote */
}

/* El Hover interactivo */
.hero-tvc .hero-content .btn-llamativo:hover {
  background-color: var(--terciario);
  color: #ffffff; /* Texto oscuro para contrastar con el fondo amarillo */
  transform: translateY(-6px) scale(1.05); /* Se levanta y se agranda un poco */
  box-shadow: 0 15px 25px rgba(248, 177, 51, 0.4); /* Resplandor dorado debajo */
  border-color: var(--terciario);
}

/* Efecto al hacer clic */
.hero-tvc .hero-content .btn-llamativo:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: 0 5px 10px rgba(248, 177, 51, 0.3);
}

/* =========================================
   Contenedor Principal de TV
   ========================================= */
.contenedor-tv {
  padding: 20px 0px; /* Espaciado arriba/abajo y márgenes laterales */
  margin: 0 auto; /* Centrar en pantallas muy grandes */
}

/* Encabezados de la sección */
.contenedor-tv .tv-header {
  text-align: center;
  margin-bottom: 20px;
}

.contenedor-tv .tv-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.contenedor-tv .tv-header h2 .highlight-yellow {
  color: var(--terciario); /* Usando tu variable */
}

.contenedor-tv .tv-header .tv-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: #4a4a4a;
  max-width: 80%;
  margin: 0 auto;
  line-height: 1.6;
}

/* =========================================
 Grid de 2 Columnas
 ========================================= */
.contenedor-tv .tv-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* La TV toma un poco más de espacio que la tarjeta */
  gap: 40px;
  align-items: center; /* Centra verticalmente ambos elementos */
}

/* =========================================
 Marco de la Televisión
 ========================================= */
.contenedor-tv .tv-content-grid .tv-container {
  width: 100%;
}

/* Carcasa gris exterior */
.contenedor-tv .tv-content-grid .tv-container .tv-frame {
  background-color: var(--gris-claro); /* Gris de la carcasa */
  padding: 25px 30px; /* Más padding a los lados para simular la estructura */
  border-radius: 40px 0px 0px 40px;
}

/* Marco negro de la pantalla */
.contenedor-tv .tv-content-grid .tv-container .tv-frame .tv-screen-wrapper {
  position: relative;
  background-color: #1a1a1a;
  border: 8px solid #000000; /* Bisel negro del monitor */
  border-bottom-width: 15px; /* Un poco más grueso abajo (como una TV real) */
  border-radius: 5px;
  overflow: hidden; /* Corta lo que se salga (como los bordes curvos) */
  aspect-ratio: 16 / 9; /* Mantiene proporción de TV */
  display: flex;
}

/* El Sello de TVC */
.contenedor-tv
  .tv-content-grid
  .tv-container
  .tv-frame
  .tv-screen-wrapper
  .tvc-badge {
  position: absolute;
  top: 5%; /* Distancia desde arriba */
  left: 0; /* Pegado al borde izquierdo de la pantalla */
  background-color: var(--terciario);
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.5rem);
  padding: 8px 30px;
  border-radius: 0 25px 25px 0; /* Curvo solo a la derecha */
  z-index: 10;
  box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.3);
}

/* La imagen dentro de la TV */
.contenedor-tv
  .tv-content-grid
  .tv-container
  .tv-frame
  .tv-screen-wrapper
  .tv-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen llene la pantalla sin deformarse */
}

/* =========================================
 Responsive (Para móviles y tablets)
 ========================================= */
@media (max-width: 992px) {
  .contenedor-tv {
    padding: 30px 0px 30px 0px; /* Espaciado arriba/abajo y márgenes laterales */
  }
  .contenedor-tv .tv-content-grid {
    grid-template-columns: 1fr; /* Pasa a 1 sola columna */
    gap: 60px;
  }
  .contenedor-tv .tv-content-grid .tv-container .tv-frame {
    padding: 15px 20px;
    border-radius: 20px;
  }
}

/* =========================================
   Carrusel Infinito de Logos
   ========================================= */

.seccion-alianzas {
  --gap: 50px;
  padding: 10px 0;
  background-color: #ffffff; /* Fondo blanco para que coincida con la imagen */
}

/* Contenedor principal que oculta lo que se desborda */
.seccion-alianzas .carrusel-contenedor {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

/* Efecto de desvanecido blanco en los laterales */
.seccion-alianzas .carrusel-contenedor::before,
.seccion-alianzas .carrusel-contenedor::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px; /* Qué tan ancho quieres el difuminado */
  height: 100%;
  z-index: 2;
  pointer-events: none; /* Evita que el difuminado bloquee clics */
}

.seccion-alianzas .carrusel-contenedor::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.seccion-alianzas .carrusel-contenedor::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* La pista que contiene las imágenes y se anima */
.seccion-alianzas .carrusel-contenedor .carrusel-track {
  /* Variable para calcular matemáticamente el loop perfecto en el keyframe */
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: max-content; /* Crítico: evita que los logos se compriman */
  animation: scrollInfinito 35s linear infinite; /* 35s es la velocidad. Cámbialo a tu gusto */
  /* Si el usuario pasa el mouse, el carrusel se pausa 
  */
}
/*
.seccion-alianzas .carrusel-contenedor .carrusel-track:hover {
  animation-play-state: paused;
}
*/

/* Estilos individuales de cada logo */
.seccion-alianzas .carrusel-contenedor .carrusel-track .logo-item {
  width: 200px; /*Tamano de los logos*/
  height: 100%;
  object-fit: contain;
  /* Opcional: ponerlos en grises y que tengan color al hacer hover */
  filter: grayscale(0%);
  opacity: 1;
  transition: all 0.3s ease;
}

/* Opcional para el hover */
.seccion-alianzas .carrusel-contenedor .carrusel-track .logo-item:hover {
  filter: grayscale(100%);
  opacity: 0.9;
}

/* La magia del movimiento infinito */
@keyframes scrollInfinito {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Como JS duplica el contenido, desplazamos exactamente el 50% de la pista más la mitad del gap */
    transform: translateX(calc(-50% - (var(--gap) / 2)));
  }
}

/* =========================================
   Sección Stream (Celular y Tarjeta)
   ========================================= */

.seccion-stream {
  margin: 20px 0px;
  padding: 20px 0px;
}

.seccion-stream .stream-header {
  text-align: center;
  margin-bottom: 20px;
}

.seccion-stream .stream-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 15px;
}

.seccion-stream .stream-header p {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: var(--gris);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

/*Clase Compartida*/
.seccion-stream .stream-header .highlight-green {
  color: var(
    --primario
  ); /* Si no tienes --primario, usa este verde por defecto */
}

/* Grid Principal */
.seccion-stream .stream-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

/* =========================================
   Animación del Celular
   ========================================= */
.seccion-stream .stream-grid .phone-column {
  display: flex;
  justify-content: center;
  height: 100%;
}

.seccion-stream .stream-grid .phone-column .phone-background {
  background-color: var(--gris-claro); /* Fondo gris claro redondeado */
  border-radius: 0px 20px 20px 0px;
  width: 100%;
}

.seccion-stream .stream-grid .phone-column .phone-background .phone-wrapper {
  position: relative;
  width: 100%;
  max-width: 250px; /* Ajusta según el ancho real de tu imagen celular.png */
  margin: 0 auto;
}

/* ESTADO ACTIVO (Cuando se hace Scroll) */
.seccion-stream
  .stream-grid
  .phone-column
  .phone-background
  .phone-wrapper.desplegar
  .barra-animada {
  opacity: 1;
  width: 180%; /* Crecen para salirse del celular */
  transform: translateX(-15%);
}

.seccion-stream
  .stream-grid
  .phone-column
  .phone-background
  .phone-wrapper.desplegar
  .phone-image {
  transform: translateX(-30%);
}

.seccion-stream
  .stream-grid
  .phone-column
  .phone-background
  .phone-wrapper
  .phone-image {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2; /* El celular está por encima */
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estilos base de las barras */
.seccion-stream
  .stream-grid
  .phone-column
  .phone-background
  .phone-wrapper
  .barra-animada {
  position: absolute;
  left: 10%; /* Empiezan dentro de la pantalla del celular */
  width: 80%; /* Ancho para que quepan dentro del celular */
  height: 100px;
  padding: 15px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 2.2rem;
  text-align: center;
  place-content: center;
  z-index: 3; /* Para que se vean por encima del fondo blanco del celular */
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Colores y posiciones individuales */
.seccion-stream
  .stream-grid
  .phone-column
  .phone-background
  .phone-wrapper
  .barra-animada.barra-tv {
  top: 20%;
  background-color: #fef0d8;
  color: var(--terciario);
}

.seccion-stream
  .stream-grid
  .phone-column
  .phone-background
  .phone-wrapper
  .barra-animada.barra-peliculas {
  top: 42%;
  background-color: #dfe2ff;
  color: var(--secundario);
  transition-delay: 0.2s; /* Se anima un poco después */
}

.seccion-stream
  .stream-grid
  .phone-column
  .phone-background
  .phone-wrapper
  .barra-animada.barra-series {
  top: 64%;
  background-color: #e2f5d8;
  color: var(--primario);
  transition-delay: 0.4s; /* Se anima al último */
}

/* Responsive */
@media (max-width: 992px) {
  .seccion-stream .stream-grid {
    grid-template-columns: 1fr;
  }
  .seccion-stream .stream-grid .phone-column .phone-background {
    margin: 0 auto;
  }
  .seccion-stream
    .stream-grid
    .phone-column
    .phone-background
    .phone-wrapper.desplegar
    .barra-animada {
    opacity: 1;
    width: 130%; /* Crecen para salirse del celular */
    transform: translateX(-15%);
  }
  .seccion-stream
    .stream-grid
    .phone-column
    .phone-background
    .phone-wrapper.desplegar
    .phone-image {
    transform: translateX(-20%);
  }
}

/* =========================================
   Sección Descarga APP
   ========================================= */
.seccion-app {
  background-color: var(--gris-claro); /* Fondo gris súper claro */
  padding: 80px 5%;
  overflow: hidden; /* Evita que la animación genere scroll horizontal */
}

.seccion-app .app-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1.2fr;
  align-items: center;
  gap: 40px;
}

/* Textos de la izquierda */
.seccion-app .app-container .app-texto {
  text-align: center;
}

.seccion-app .app-container .app-texto h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #000;
  line-height: 1.1;
  margin-bottom: 25px;
}

.seccion-app .app-container .app-texto p {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gris);
  margin-bottom: 40px;
}

/* =========================================
   Botones de Tiendas (Badges)
   ========================================= */
.seccion-app .app-container .app-texto .app-botones {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.seccion-app .app-container .app-texto .app-botones .store-badge {
  display: inline-flex;
  align-items: center;
  background-color: #000;
  color: #fff;
  padding: 10px 25px 10px 20px;
  border-radius: 40px;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.seccion-app .app-container .app-texto .app-botones .store-badge:hover {
  transform: translateY(-5px);
  background-color: #222;
}

.seccion-app .app-container .app-texto .app-botones .store-badge .store-text {
  display: flex;
  flex-direction: column;
  margin-left: 12px;
}

.seccion-app
  .app-container
  .app-texto
  .app-botones
  .store-badge
  .store-text
  .store-small {
  font-size: 0.7rem;
  line-height: 1;
  margin-bottom: 3px;
  color: #ccc;
}

.seccion-app
  .app-container
  .app-texto
  .app-botones
  .store-badge
  .store-text
  .store-large {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.5px;
}

/* =========================================
   Contenedor de Animación (Celulares)
   ========================================= */
.seccion-app .app-container .app-animacion {
  position: relative;
  height: 550px; /* Altura suficiente para los celulares de 1020px escalados */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.seccion-app .app-container .app-animacion .caja {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 3;
}

/* Estilos comunes de los celulares */
.seccion-app .app-container .app-animacion .phone {
  position: absolute;
  height: 100%;
  width: 300px;
  object-fit: contain;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* (El Iphone utiliza solo left) */
.seccion-app .app-container .app-animacion .iphone {
  animation-name: celularaladerLEFT;
  animation-duration: 3s;
  animation-timing-function: ease-in-out; /* Movimiento suave */
  z-index: 1;
  left: calc(
    100% - 300px
  ); /* El tope desde la izquierda - lo que mide el celular */
  transform: scale(0.8);
  filter: brightness(0.2);
}

/* (El Android utiliza solo right) */
.seccion-app .app-container .app-animacion .android {
  animation-name: celularalaizqRIGHT;
  animation-duration: 3s;
  animation-timing-function: ease-in-out; /* Movimiento suave */
  z-index: 4;
  right: calc(
    100% - 300px
  ); /* El tope desde la derecha - lo que mide el celular */
  transform: scale(1);
  filter: brightness(1);
}

/* =========================================
   Barras Conectoras
   ========================================= */
.seccion-app .app-container .app-animacion .app-barra {
  position: absolute;
  left: 15%;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 5; /* Entre los dos celulares */
  overflow: visible;
  /* ESTADO INICIAL PARA LA ANIMACIÓN */
  width: 70%;
  opacity: 1;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.seccion-app .app-container .app-animacion .app-barra.app-barra-tv {
  top: 25%;
  background-color: #fef0d8;
  color: var(--terciario); /* Usa tu variable de color */
  transition-delay: 0.1s;
  animation-name: Rotar;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: linear; /* Movimiento continuo */
  animation-delay: 0s;
}

.seccion-app .app-container .app-animacion .app-barra.app-barra-peliculas {
  top: 45%;
  background-color: #dfe2ff;
  color: var(--secundario);
  transition-delay: 0.3s;
  animation-name: Rotar;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: linear; /* Movimiento continuo */
  animation-delay: -2s; /* Desfase para que no se muevan juntas */
}

.seccion-app .app-container .app-animacion .app-barra.app-barra-series {
  top: 65%;
  background-color: #e2f5d8;
  color: var(--primario);
  transition-delay: 0.5s;
  animation-name: Rotar;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: linear; /* Movimiento continuo */
  animation-delay: -4s; /* Desfase para que no se muevan juntas */
}

/* =========================================
   ESTADO DESPLEGADO (Cuando se activa por JS)
   ========================================= */
.seccion-app .app-container .app-animacion.desplegar .iphone {
  animation-name: celularalaizqLEFT;
  animation-duration: 3s;
  animation-timing-function: ease-in-out; /* Movimiento suave */
  left: 0%; /* Se mueve a la derecha */
  transform: scale(1);
  filter: brightness(1);
  opacity: 1;
  z-index: 4;
}

.seccion-app .app-container .app-animacion.desplegar .android {
  animation-name: celularaladerRIGHT;
  animation-duration: 3s;
  animation-timing-function: ease-in-out; /* Movimiento suave */
  right: 0%; /* Se mueve a la derecha */
  transform: scale(0.8);
  filter: brightness(0.2);
  z-index: 1;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
  .seccion-app .app-container {
    grid-template-columns: 1fr; /* Pasa a 1 columna */
    text-align: center;
  }
  .seccion-app .app-container .app-botones {
    justify-content: center;
  }
  .seccion-app .app-container .app-animacion {
    height: 450px; /* Reduce un poco la altura en tablets */
  }
}

@media (max-width: 576px) {
  .seccion-app .app-container .app-animacion {
    height: 350px;
  }
  .seccion-app .app-container .app-animacion .app-barra {
    font-size: 1rem;
    height: 60px;
  }
}

@keyframes Rotar {
  0% {
    z-index: 5;
    left: 15%;
    transform: scale(1);
    filter: brightness(1);
  }
  24.9% {
    z-index: 5;
  }
  25% {
    z-index: -1;
    left: calc(80% + 200px);
    transform: scale(0.7);
    filter: brightness(0.6);
  }
  50% {
    z-index: -1;
    left: 15%;
    transform: scale(0.5);
    filter: brightness(0.3); /* Más oscuras cuando están atrás */
  }
  75% {
    z-index: -1;
    left: calc(-50% - 200px);
    transform: scale(0.7);
    filter: brightness(0.6);
  }
  75.1% {
    z-index: 5;
  }
  100% {
    z-index: 5;
    left: 15%;
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes celularalaizqLEFT {
  0% {
    z-index: 1;
    left: calc(100% - 300px);
    transform: scale(0.8);
    filter: brightness(0.2);
  }
  50% {
    z-index: 1;
    left: -20%;
    transform: scale(0.8);
    filter: brightness(0.3);
  }
  100% {
    z-index: 4;
    left: 0%;
    /* right: calc(100% - 300px); <--- ELIMINA ESTA LÍNEA */
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes celularaladerLEFT {
  0% {
    z-index: 4;
    left: 0%;
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    z-index: 4;
    left: calc(120% - 300px);
    transform: scale(1);
    filter: brightness(0.7);
  }
  100% {
    z-index: 1;
    left: calc(100% - 300px);
    transform: scale(0.8);
    filter: brightness(0.2);
  }
}

@keyframes celularaladerRIGHT {
  0% {
    z-index: 4;
    right: calc(100% - 300px);
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    z-index: 4;
    right: -20%;
    transform: scale(1);
    filter: brightness(0.7);
  }
  100% {
    z-index: 1;
    right: 0%;
    transform: scale(0.8);
    filter: brightness(0.2);
  }
}

@keyframes celularalaizqRIGHT {
  0% {
    z-index: 1;
    right: 0%;
    transform: scale(0.8);
    filter: brightness(0.2);
  }
  50% {
    z-index: 1;
    right: calc(120% - 300px);
    transform: scale(0.8);
    filter: brightness(0.3);
  }
  100% {
    z-index: 4;
    right: calc(100% - 300px);
    /* right: calc(100% - 300px); <--- ELIMINA ESTA LÍNEA */
    transform: scale(1);
    filter: brightness(1);
  }
}
