/* Reset básico */
body,
h1,
h2,
p,
ul,
li,
a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  overflow-x: hidden; /* Evita el scroll horizontal */
  width: 100%;
}

/* Estilo de la navegación */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 15px 0;
  z-index: 1000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ------Estilos generales del menu-------- */
/* ------Estilos generales del menu-------- */
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Diseño de los enlaces del menú */
.menu-item {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: normal;
  padding: 10px 15px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s;
}

/* Asegurar que el botón "Servicios" tenga el mismo diseño */
#servicios-toggle {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Efecto hover para todos los elementos del menú */
.menu-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* Submenú oculto inicialmente */
.submenu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 5px;
}

/* Mostrar submenú cuando se active */
.submenu.active {
  display: block;
}

/* Estilos generales para el submenú */
.submenu li {
  width: 100%;
}

.submenu a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
  text-align: center;
}

.submenu a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.menu a,
.menu-button,
.menu-item,
.submenu a {
  font-family: "Montserrat", sans-serif;
}
/* 🌟 Ajustes para dispositivos móviles */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    display: none;
    max-height: 80vh; /* Evita que ocupe toda la pantalla */
    overflow-y: auto; /* Permite el desplazamiento solo en el menú */
    -webkit-overflow-scrolling: touch; /* Mejora el scroll en móviles */
  }

  .menu.active {
    display: flex;
  }

  .menu-item {
    width: 100%;
    padding: 15px;
  }

  #servicios-toggle {
    width: 100%;
    padding: 15px;
  }

  .submenu {
    position: relative;
    width: 100%;
    text-align: center;
    background: none;
    max-height: 50vh; /* No ocupa toda la pantalla */
    overflow-y: auto;
  }

  .submenu a {
    width: 100%;
  }
  body.no-scroll {
    overflow: hidden;
  }
}

/* 🖥️ Ajustes para PC */
@media (min-width: 769px) {
  .has-submenu {
    position: relative;
  }

  .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9); /* Fondo oscuro elegante */
    padding: 10px 0;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Mostrar submenú solo cuando tenga la clase "active" */
  .submenu.active {
    opacity: 1;
    visibility: visible;
  }

  /* Centrar el texto dentro del submenú */
  .submenu li {
    width: 100%;
    text-align: left;
  }

  .submenu a {
    display: block;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: bold;
  }

  .submenu a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
  }
}

/* Estilos del menú */
.menu {
  list-style: none;
  display: flex;
}

.menu li {
  margin: 0 15px;
  position: relative;
}

.menu a,
.menu-button {
  text-decoration: none;
  color: #fff;
  font-weight: normal;
  transition: color 0.3s;
}

.menu a:hover,
.menu-button:hover {
  color: #ffe09f;
}

/* Submenú oculto por defecto */
.dropdown {
  display: none;
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  list-style: none;
  top: 100%;
  left: 0;
  width: 200px;
  padding: 10px 0;
  border-radius: 5px;
}

.submenu li {
  margin: 0;
  padding: 10px;
}

.submenu a {
  display: block;
  color: white;
  padding: 10px;
  text-decoration: none;
}

.submenu a:hover {
  background: #ffe09f;
  color: black;
}

/* Estilos para móviles */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

/* Diseño responsivo */
@media screen and (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 10px 0;
  }

  .menu li {
    margin: 15px 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu.active {
    display: flex;
  }
}

/*-------- Nav scroll --------------------------------------------------------------------------------------------------------------*/
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: transparent;
  transition: background 0.3s ease-in-out;
  z-index: 1000;
  box-sizing: border-box;
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.5);
}

nav .logo img {
  height: 60px;
  transition: filter 0.3s ease-in-out;
}

nav.scrolled .logo img {
  filter: brightness(0) invert(1);
}

/* Estilo del Hero -----------------------------------------------------------------------------------*/
.hero {
  width: 100vw;
  position: relative;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden; /* Evita desbordamientos */
}

.hero .overlay {
  position: absolute; /* Se mantiene sobre la imagen */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centra el contenido completamente */
  display: flex;
  flex-direction: column; /* Acomoda los elementos en columna */
  align-items: center; /* Centra horizontalmente */
  justify-content: center; /* Centra verticalmente */
  text-align: center; /* Asegura que el texto también esté centrado */
  padding: 20px;
  border-radius: 10px;
  z-index: 2; /* Se asegura que esté encima */
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
  font-family: "Libre Baskerville", serif;
}

.hero p {
  font-size: 20px;
  margin-bottom: 20px;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 120vh; /* Más grande para el efecto */
  object-fit: cover;
  top: 0;
  left: 0;
  transition: transform 0.1s linear;
  z-index: 1; /* La imagen está detrás del overlay */
}

.btn-container {
  display: flex;
  justify-content: center; /* Centra el botón horizontalmente */
  margin-top: 1px; /* Espacio entre el título y el botón */
}

.btninicio {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: transparent; /* Fondo transparente */
  font-family: "Montserrat", sans-serif;
  box-shadow: none;
  cursor: pointer;
  border: none;
  width: auto;
  height: auto;
  text-align: center;
}

.spaninicio {
  text-align: center;
  text-decoration: none;
  color: #fff7d1; /* Color original del texto */
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3em;
  transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
}

.btninicio:hover {
  background: transparent !important; /* Asegura que el fondo no cambie */
}

.btninicio:hover .spaninicio {
  color: #ffd401; /* Solo cambia el color del texto en hover */
}
@keyframes scaleUp {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

/* -------BtnWhatsApp--------- */
.whatsapp {
  position: fixed;
  bottom: 15px; /* Separación del borde inferior */
  right: 15px; /* Separación del borde derecho */
  text-decoration: none;
  z-index: 1000; /* Para asegurarse de que esté por encima de otros elementos */
}

.whatsapp img {
  width: 90px; /* Tamaño predeterminado */
  height: 90px;
  transition: transform 0.3s ease-in-out;
}

/* Efecto de escala al pasar el mouse */
.whatsapp img:hover {
  transform: scale(1.1);
}

/* 📌 Ajuste en dispositivos móviles */
@media (max-width: 768px) {
  .whatsapp {
    bottom: 10px;
    right: 10px;
  }

  .whatsapp img {
    width: 80px; /* Reduce el tamaño en móviles */
    height: 80px;
  }
}

/* Iamgen de fondo---------------------------------------------------------------------------------------------*/
.carousel {
  position: absolute; /* Se posiciona dentro de .hero */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Tamaño completo de la pantalla */
  z-index: 0; /* Se va al fondo */
  overflow: hidden;
}

.carousel img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
  filter: brightness(0.6);
}

.carousel img.active {
  opacity: 1;
}

/* mision y vision con transisciones -------------------------------------------------------------------------------------------------------------*/
.mision-vision {
  display: flex;
  flex-direction: column; /* Hace que el título esté arriba */
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: white;
  padding: 2vw;
  font-family: "Playfair Display", serif;
  text-align: center;
}

.mision-vision .contenido {
  display: flex;
  flex-wrap: wrap;
  max-width: 1700px;
  gap: 5vw; /* Más espacio entre misión y visión */
  justify-content: center;
}

.mision-vision .textos {
  flex: 2;
  display: flex;
  gap: 1vw; /* Más espacio entre misión y visión */
  flex-direction: column; /* Mantiene los elementos en columna */
  /* Centrar horizontal y verticalmente */
  align-items: center;
  justify-content: center;
  text-align: center; /* Asegura que los textos estén centrados dentro de su div */
}

.mision-vision .texto {
  flex: 1;
  text-align: center; /* Centrar texto */
}

.mision-vision h2 {
  font-size: clamp(20px, 2.5vw, 30px); /* Tamaño adaptable */
  color: #f0d39e;
  text-transform: uppercase;
  margin-bottom: 10;
  text-align: center; /* Centrar título */
  font-family: "Poppins", sans-serif;
}

.mision-vision p {
  font-size: clamp(14px, 1.8vw, 18px);
  font-style: italic;
  line-height: 1.6;
  color: #f5f5f5;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
  overflow: hidden;
  margin: auto;
}

.slider-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-images img {
  width: 100%;
  height: fit-content;
  border-radius: 20px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
  border-radius: 5px;
  transition: background 0.3s ease-in-out; /* Agregamos una transición suave */
}

.slider-button:hover {
  background: rgba(0, 0, 0, 0.8); /* Se oscurece al pasar el mouse */
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

@media (max-width: 450px) {
  .slider-container {
    max-width: 100%;
  }

  .slider-button {
    padding: 5px;
    font-size: 14px;
  }
}

/* Responsividad */
@media (max-width: 900px) {
  .mision-vision .contenido {
    flex-direction: column;
    text-align: center;
  }

  .mision-vision .textos {
    flex-direction: column;
    gap: 20px;
  }

  .mision-vision .imagen img {
    max-width: 300px;
  }
}

/* Animación */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px); /* Empieza desde abajo */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aplicamos la animación a los elementos */
.mision-vision h2,
.mision-vision p,
.mision-vision .slider-container {
  opacity: 0; /* Inicialmente oculto */
  animation: fadeInUp 1s ease-out forwards;
}

/* Añadir retraso para que aparezcan en orden */
.mision-vision h2 {
  animation-delay: 1s; /* Retraso de 1 segundo */
}

.mision-vision p {
  animation-delay: 1.3s; /* Retraso de 1.3 segundos */
}

.mision-vision .slider-container {
  animation-delay: 1.3s; /* Retraso de 1.6 segundos */
}

.mostrar {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.titulo-principal {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(22px, 4vw, 30px); /* Se adapta al tamaño de la pantalla */
  font-weight: bold;
  color: rgb(241, 194, 92); /* Combina con los títulos */
  text-transform: uppercase;
  margin-bottom: 10px; /* Espacio entre el título y el contenido */
  text-align: center;
  width: 100%;
  max-width: 1700px;
  padding-left: 20px; /* Espaciado a la izquierda */
}

/* Responsividad */
@media (max-width: 900px) {
  .titulo-principal {
    font-size: 25px;
    padding-left: 10px;
  }
}

/* Animación de entrada desde la izquierda */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.titulo-principal {
  opacity: 0;
  animation: fadeInLeft 3s ease-out forwards;
}

/* GALERIA DE PROYECTOS------------------------------------------------------------------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 4 columnas en pantallas grandes */
  gap: 10px; /* Espacio entre imágenes */
  padding: 20px;
  justify-content: center; /* Alineado a la izquierda */
}
.image-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 100%;
  height: 450px;
  opacity: 0; /* Inicialmente ocultas */
  transform: translateY(50px); /* Desplazadas hacia abajo */
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.image-box a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute; /* Cubre toda el área */
  top: 0;
  left: 0;
  z-index: 10;
  pointer-events: auto; /* Asegura que el clic sea detectado */
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.image-box:hover img {
  transform: scale(1.1); /* Hace zoom en la imagen */
  filter: brightness(0.1); /* Oscurece la imagen */
}

/* Clase para mostrar las imágenes con animación */
.mostrar {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* RESPONSIVIDAD */

/* Tablet (máx 1300px) */
@media (max-width: 1300px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr); /* 2 imágenes por fila */
  }

  .image-box {
    height: 400px; /* Reducir altura de imágenes */
  }
}

/* Tablet (máx 900px) */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr); /* 2 imágenes por fila */
  }

  .image-box {
    height: 400px; /* Reducir altura de imágenes */
  }
}
/* Tablet (máx 900px) */
@media (max-width: 750px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 imágenes por fila */
  }

  .image-box {
    height: 400px; /* Reducir altura de imágenes */
  }
}

/* Celular (máx 600px) */
@media (max-width: 550px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr); /* 1 imagen por fila */
    justify-content: center;
  }

  .image-box {
    height: 400px; /* Ajustar tamaño */
  }
}

/* Estilos del texto (span) */
.image-box .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fdbb2d;
  font-size: 15px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.image-box:hover .overlay-text {
  opacity: 1; /* Aparece el texto al pasar el mouse */
}

/* PANTALLA DE CARGA------------------------------------------------------------------------------- */
.banter-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin-left: -36px;
  margin-top: -36px;
}

.banter-loader__box {
  float: left;
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

.banter-loader__box:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}

.banter-loader__box:nth-child(3n) {
  margin-right: 0;
  margin-bottom: 6px;
}

.banter-loader__box:nth-child(1):before,
.banter-loader__box:nth-child(4):before {
  margin-left: 26px;
}

.banter-loader__box:nth-child(3):before {
  margin-top: 52px;
}

.banter-loader__box:last-child {
  margin-bottom: 0;
}

@keyframes moveBox-1 {
  9.0909090909% {
    transform: translate(-26px, 0);
  }

  18.1818181818% {
    transform: translate(0px, 0);
  }

  27.2727272727% {
    transform: translate(0px, 0);
  }

  36.3636363636% {
    transform: translate(26px, 0);
  }

  45.4545454545% {
    transform: translate(26px, 26px);
  }

  54.5454545455% {
    transform: translate(26px, 26px);
  }

  63.6363636364% {
    transform: translate(26px, 26px);
  }

  72.7272727273% {
    transform: translate(26px, 0px);
  }

  81.8181818182% {
    transform: translate(0px, 0px);
  }

  90.9090909091% {
    transform: translate(-26px, 0px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(1) {
  animation: moveBox-1 4s infinite;
}

@keyframes moveBox-2 {
  9.0909090909% {
    transform: translate(0, 0);
  }

  18.1818181818% {
    transform: translate(26px, 0);
  }

  27.2727272727% {
    transform: translate(0px, 0);
  }

  36.3636363636% {
    transform: translate(26px, 0);
  }

  45.4545454545% {
    transform: translate(26px, 26px);
  }

  54.5454545455% {
    transform: translate(26px, 26px);
  }

  63.6363636364% {
    transform: translate(26px, 26px);
  }

  72.7272727273% {
    transform: translate(26px, 26px);
  }

  81.8181818182% {
    transform: translate(0px, 26px);
  }

  90.9090909091% {
    transform: translate(0px, 26px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(2) {
  animation: moveBox-2 4s infinite;
}

@keyframes moveBox-3 {
  9.0909090909% {
    transform: translate(-26px, 0);
  }

  18.1818181818% {
    transform: translate(-26px, 0);
  }

  27.2727272727% {
    transform: translate(0px, 0);
  }

  36.3636363636% {
    transform: translate(-26px, 0);
  }

  45.4545454545% {
    transform: translate(-26px, 0);
  }

  54.5454545455% {
    transform: translate(-26px, 0);
  }

  63.6363636364% {
    transform: translate(-26px, 0);
  }

  72.7272727273% {
    transform: translate(-26px, 0);
  }

  81.8181818182% {
    transform: translate(-26px, -26px);
  }

  90.9090909091% {
    transform: translate(0px, -26px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(3) {
  animation: moveBox-3 4s infinite;
}

@keyframes moveBox-4 {
  9.0909090909% {
    transform: translate(-26px, 0);
  }

  18.1818181818% {
    transform: translate(-26px, 0);
  }

  27.2727272727% {
    transform: translate(-26px, -26px);
  }

  36.3636363636% {
    transform: translate(0px, -26px);
  }

  45.4545454545% {
    transform: translate(0px, 0px);
  }

  54.5454545455% {
    transform: translate(0px, -26px);
  }

  63.6363636364% {
    transform: translate(0px, -26px);
  }

  72.7272727273% {
    transform: translate(0px, -26px);
  }

  81.8181818182% {
    transform: translate(-26px, -26px);
  }

  90.9090909091% {
    transform: translate(-26px, 0px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(4) {
  animation: moveBox-4 4s infinite;
}

@keyframes moveBox-5 {
  9.0909090909% {
    transform: translate(0, 0);
  }

  18.1818181818% {
    transform: translate(0, 0);
  }

  27.2727272727% {
    transform: translate(0, 0);
  }

  36.3636363636% {
    transform: translate(26px, 0);
  }

  45.4545454545% {
    transform: translate(26px, 0);
  }

  54.5454545455% {
    transform: translate(26px, 0);
  }

  63.6363636364% {
    transform: translate(26px, 0);
  }

  72.7272727273% {
    transform: translate(26px, 0);
  }

  81.8181818182% {
    transform: translate(26px, -26px);
  }

  90.9090909091% {
    transform: translate(0px, -26px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(5) {
  animation: moveBox-5 4s infinite;
}

@keyframes moveBox-6 {
  9.0909090909% {
    transform: translate(0, 0);
  }

  18.1818181818% {
    transform: translate(-26px, 0);
  }

  27.2727272727% {
    transform: translate(-26px, 0);
  }

  36.3636363636% {
    transform: translate(0px, 0);
  }

  45.4545454545% {
    transform: translate(0px, 0);
  }

  54.5454545455% {
    transform: translate(0px, 0);
  }

  63.6363636364% {
    transform: translate(0px, 0);
  }

  72.7272727273% {
    transform: translate(0px, 26px);
  }

  81.8181818182% {
    transform: translate(-26px, 26px);
  }

  90.9090909091% {
    transform: translate(-26px, 0px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(6) {
  animation: moveBox-6 4s infinite;
}

@keyframes moveBox-7 {
  9.0909090909% {
    transform: translate(26px, 0);
  }

  18.1818181818% {
    transform: translate(26px, 0);
  }

  27.2727272727% {
    transform: translate(26px, 0);
  }

  36.3636363636% {
    transform: translate(0px, 0);
  }

  45.4545454545% {
    transform: translate(0px, -26px);
  }

  54.5454545455% {
    transform: translate(26px, -26px);
  }

  63.6363636364% {
    transform: translate(0px, -26px);
  }

  72.7272727273% {
    transform: translate(0px, -26px);
  }

  81.8181818182% {
    transform: translate(0px, 0px);
  }

  90.9090909091% {
    transform: translate(26px, 0px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(7) {
  animation: moveBox-7 4s infinite;
}

@keyframes moveBox-8 {
  9.0909090909% {
    transform: translate(0, 0);
  }

  18.1818181818% {
    transform: translate(-26px, 0);
  }

  27.2727272727% {
    transform: translate(-26px, -26px);
  }

  36.3636363636% {
    transform: translate(0px, -26px);
  }

  45.4545454545% {
    transform: translate(0px, -26px);
  }

  54.5454545455% {
    transform: translate(0px, -26px);
  }

  63.6363636364% {
    transform: translate(0px, -26px);
  }

  72.7272727273% {
    transform: translate(0px, -26px);
  }

  81.8181818182% {
    transform: translate(26px, -26px);
  }

  90.9090909091% {
    transform: translate(26px, 0px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(8) {
  animation: moveBox-8 4s infinite;
}

@keyframes moveBox-9 {
  9.0909090909% {
    transform: translate(-26px, 0);
  }

  18.1818181818% {
    transform: translate(-26px, 0);
  }

  27.2727272727% {
    transform: translate(0px, 0);
  }

  36.3636363636% {
    transform: translate(-26px, 0);
  }

  45.4545454545% {
    transform: translate(0px, 0);
  }

  54.5454545455% {
    transform: translate(0px, 0);
  }

  63.6363636364% {
    transform: translate(-26px, 0);
  }

  72.7272727273% {
    transform: translate(-26px, 0);
  }

  81.8181818182% {
    transform: translate(-52px, 0);
  }

  90.9090909091% {
    transform: translate(-26px, 0);
  }

  100% {
    transform: translate(0px, 0);
  }
}

.banter-loader__box:nth-child(9) {
  animation: moveBox-9 4s infinite;
}
/* Estilos de la pantalla de carga */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.loader {
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top: 6px solid white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Ocultar la pantalla de carga correctamente */
.hidden {
  opacity: 0;
  visibility: hidden;
}

/*  PARTE AMARILLA CON BOTON ANIMADO NEGRO-----------------------------------------------------------------------------------*/
.banner {
  background-color: #f7a600; /* Amarillo */
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  gap: 20px; /* Espacio entre texto y botón */
}

.banner-text {
  font-size: 20px;
  flex: 1; /* Permite que el texto ocupe su espacio */
  font-family: "Work Sans", sans-serif;
}

.banner-button {
  background: none;
  border: 2px solid black;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-left: 20px; /* Espaciado entre texto y botón */
}

.banner-button:hover {
  background: black;
  color: white;
}

/* BOTÓN ANIMADO */
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border: 4px solid black;
  font-size: 16px;
  background-color: transparent;
  border-radius: 100px;
  font-weight: 600;
  color: black;
  box-shadow: 0 0 0 2px black;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Ajuste de las flechas */
.animated-button svg {
  position: absolute;
  width: 24px;
  fill: black;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

/* Círculo de animación */
.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: black;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Texto inicial */
.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Efectos hover */
.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: white;
  background-color: black;
  border-radius: 12px;
}

/* Flechas en hover */
.animated-button:hover svg {
  fill: white;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

/* Círculo de expansión */
.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

/* Efecto al presionar */
.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px black;
}

/* RESPONSIVIDAD */

/* Tablet (máx 900px) */
@media (max-width: 900px) {
  .banner {
    flex-direction: column; /* Apilar elementos */
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .banner-text {
    font-size: 18px;
  }

  .animated-button {
    padding: 14px 30px;
    font-size: 14px;
  }
}

/* Celular (máx 600px) */
@media (max-width: 600px) {
  .banner {
    padding: 15px;
    width: 100%;
  }

  .banner-text {
    font-size: 16px;
  }

  .animated-button {
    padding: 12px 24px;
    font-size: 12px;
  }

  /* Ajustar flechas en móviles */
  .animated-button .arr-1 {
    right: 10px;
  }

  .animated-button .arr-2 {
    left: -30%;
  }
}

/*--------Slider, parte inferior-------- */
#contact {
  background-color: #41424b;
  color: #fff;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* Alinea a la izquierda en pantallas grandes */
  align-items: center;
  padding: 20px;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
}

/* Imagen del contacto */
.contact-image {
  max-width: 200px;
  height: auto;
  flex: 1;
}

/* Información de contacto */
.contact-info {
  flex: 2;
  min-width: 300px;
  text-align: left; /* Alineado a la izquierda en pantallas grandes */
}

.contact-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-info p,
.contact-info li {
  font-size: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-family: "Poppins", sans-serif;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Inicialmente ocultamos la sección de contacto */
.contact-info {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Clase para activar la animación */
.contact-info.show {
  opacity: 1;
  transform: translateY(0);
}

/* 📌 Ajuste en móviles y tablets */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info {
    text-align: center; /* Centra el texto en dispositivos móviles */
  }
}
/*Logos de Iconos uiverse*/
.parent {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.child button {
  border: none;
  background: none;
  cursor: pointer;
}

.child svg {
  width: 20px;
  height: 20px;
}

.child {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.68, 0.85, 0.265, 1.85);
  border-radius: 5px;
  margin: 0 5px;
  box-shadow: inset 1px 1px 2px #fff, 0 0 5px #4442;
}

.child:hover {
  background-color: white;
  background-position: -100px 100px, -100px 100px;
  transform: perspective(180px) rotateX(60deg) translateY(2px);
}

.child-1:hover {
  box-shadow: 0px 10px 10px #f04040;
}
.child-2:hover {
  box-shadow: 0px 10px 10px #ff00ff;
}
.child-3:hover {
  box-shadow: 0px 10px 10px #000;
}
.child-4:hover {
  box-shadow: 0px 10px 10px #4267b2;
}

.button {
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
  font-size: 20px;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.68, -0.85, 0.265, 1.55);
}

.child:hover > .button {
  transform: translate3d(0px, 20px, 30px) perspective(80px) rotateX(-60deg)
    translateY(2px) translateZ(10px);
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
}
