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

body {
  background: #f4f4f4;
  text-align: center;
}

/* HEADER */
header {
  padding: 30px 20px 10px;
  text-align: center;
}

/* LOGO */
.logo {
  max-width: 960px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

/* CONTENEDOR PASSWORD */
.password-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  justify-content: center;
  margin-top: 15px;
}

/* ICONO CANDADO */
.lock-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

/* TEXTO DE CONTRASEÑA */
.password-text {
  font-size: 14px;
  border-bottom: 1px solid black;
  line-height: 1;
  user-select: none;
}

/* BANNER DE ARRIBA */
.banner-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  background: black;
}

/* NUEVO TICKER - TEXTO */
.stock-ticker {
  font-size: 10px;
  padding-block: 5px;
  border-block: 1px solid;
  overflow: hidden;
  user-select: none;
  --gap: 20px;
  display: flex;
  gap: var(--gap);
}

.stock-ticker ul {
  list-style: none;
  flex-shrink: 0;
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);
  animation: scroll 20s linear infinite;
}

.stock-ticker:hover ul {
  animation-play-state: paused;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.stock-ticker ul li {
  color: rgb(255, 255, 255);
  font-weight: bold;
  white-space: nowrap;
}

/* NUEVO BANNER DE IMÁGENES ABAJO */
.images-banner {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  background: black;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
}

.images-banner .image-ticker {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  position: relative;
}

footer {
  position: relative;
}

.images-banner .image-ticker ul {
  list-style: none;
  flex-shrink: 0;
  min-width: 100%;
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
  animation: scrollRight 240s linear infinite reverse;
}

.images-banner .image-ticker ul li {
  flex-shrink: 0;
}

.images-banner .image-ticker ul li img {
  height: 24px;       /* altura reducida para carrusel más pequeño */
  width: auto;        /* ancho automático para mantener proporción */
  display: block;
}

.images-banner .image-ticker:hover ul {
  animation-play-state: paused;
}

@keyframes scrollRight {
  to {
    transform: translateX(calc(-100%));
  }
}

/* TEXT */
.main-text {
  margin-top: 40px;
}

.main-text h1 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 500;
}

.main-text p {
  color: #777;
  font-size: 13px; /* tamaño deseado */
  display: none; /* oculto hasta que termine h1 */
}
/* INPUT */
.email-box {
  margin: 30px auto;
  width: min(100%, 420px);
  max-width: 420px;
  display: flex;
  border: 1px solid #aaa;
  padding: 10px;
  background: white;
}

.email-box input {
  border: none;
  flex: 1;
  outline: none;
}

.email-box button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

/* GIF */
.center-gif {
  margin: 40px 0;
}

.center-gif img {
  width: 450px;
  max-width: 85%;
}

/* FOOTER */
footer {
  margin-top: 300px;
  padding-bottom: 30px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.socials img {
  width: 12px;
  height: 12px;
  cursor: pointer;
  user-select: none;
}

.brand img {
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;

}

.brand {
  margin-bottom: 0;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .main-text h1 {
    font-size: 22px;
  }

  .center-gif img {
    width: 280px;
    max-width: 95%;
  }

  .socials img {
    width: 12px;
    height: 12px;
  }

  .email-box {
    width: calc(100% - 30px);
  }

  .pop-up {
    width: 92%;
    max-width: 360px;
    padding: 0;
  }

  .pop-up .container {
    padding: 30px 16px 40px;
    max-width: 100%;
  }
}

/* POP-UP */
.pop-up {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  overflow-y: auto;
  box-shadow: 0px 6px 30px rgba(0,0,0,0.4);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  z-index: 10;
  background-color: #ffffff;
  width: 80%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
}

.pop-up .content {
  width: 100%;
  text-align: center;
  position: relative;
}

.pop-up .container {
  padding: 50px 20px 70px;
  max-width: 520px;
  margin: 0 auto;
}

.pop-up .close {
  position: absolute;
  top: 20px;
  left: 15px;
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.pop-up .close img {
  width: 100%;
  height: 100%;
}

.pop-up img.fotopopup {
  width: 100%;
  max-width: 220px;
  display: inline-block;
  margin: 30px 0 40px 0;
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.5s;
}

.pop-up .title h1 {
  text-align: center;
  color: #000000;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 0.05rem;
}

.pop-up .pass h1 {
  font-size: 1.5rem;
  color: #3e4146;
  line-height: 1.3;
  letter-spacing: 0.07rem;
  margin-bottom: 30px;
}

.pop-up .pass form input[type="password"] {
  width: 100%;
  padding: 15px 20px;
  text-align: center;
  font-family: inherit;
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  outline: 0;
  margin-bottom: 15px;
  border: 1px solid #bfbfbf;
  transition: all 0.4s;
}

.pop-up .pass form input[type="password"]:focus {
  border-color: #3e4146;
}

.pop-up .pass form input[type="submit"] {
  width: 100%;
  padding: 15px 20px;
  background-color: #2d2d2d;
  color: #ffffff;
  border: 1px solid #2d2d2d;
  transition: all 0.5s;
}

.pop-up .pass form input[type="submit"]:hover {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
  cursor: pointer;
}

.pop-up.open {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.pop-up.open img.fotopopup {
  opacity: 1;
  transform: translateX(0px);
}
@media (max-width: 600px) {
  .pop-up {
    width: 92% !important;
    max-width: 360px !important;
    max-height: 80vh;
    padding: 0 !important;
  }

  .pop-up .container {
    padding: 24px 16px 30px !important;
    max-width: 100% !important;
  }

  .pop-up .pass form input[type="password"],
  .pop-up .pass form input[type="submit"] {
    padding: 12px 16px;
  }

  .pop-up img.fotopopup {
    max-width: 180px;
    margin: 20px 0 30px;
  }
}
/* ==============================
   FOOTER
   ============================== */
footer {
  background-color: #000;
  color: #fff;
  padding: 50px 20px;
  text-align: left;
  font-size: 10px;
  margin-top: 0; /* para que quede pegado al banner inferior */
}

footer .footer-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}



footer .footer-sections strong {
  display: block;
  font-size: 14px; /* títulos AYUDA, SÍGUENOS, EMPRESA, POLÍTICAS más grandes */
  margin-bottom: 10px;
}

footer .footer-sections .col-6,
footer .footer-sections .col-md-3 {
  text-align: center;
}

footer .footer-sections a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  font-size: 10px; /* tamaño más pequeño para subcategorías en el footer */
}

footer .footer-bottom {
  border-top: 1px solid #555;
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 12px;
}

/* Responsive Footer para móviles */
@media (max-width: 768px) {
  footer .footer-sections {
    flex-direction: column;
    gap: 20px;
  }

  footer .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}