/* ===== ESTILOS BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Montserrat', sans-serif;
  background-color: #000;
  color: white;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}
/* Colores base */
:root {
  --color-neon: #3ad9ff;
  --color-blanco: #ffffff;
  --fuente-titulos: 'Montserrat', sans-serif;
}

/* Títulos en mayúsculas y finos */
h1, h2, h3, h4, h5, h6, button {
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 1px;
}

h2 {
  font-size: 2rem;
  color: var(--color-neon);
  margin-bottom: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  transition: all 0.3s ease;
  }

@media (min-width: 500px) {
  h2 {
  font-size: 2.6rem;
  letter-spacing: 0.6rem;
  }

}
h2:hover {
  text-shadow:
    0 0 1px #3ad9ff,
    0 0 2px #3ad9ff,
    0 0 3px #3ad9ff,
    0 0 5px rgba(58, 217, 255, 0.4);
}
/* ===== HEADER ===== */
header {
  text-align: center;
  padding: 2rem 0rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titulo-principal {
  border-bottom: 1px solid var(--color-neon);
  padding: 1rem;
  font-size: 3.2rem;
  text-transform: uppercase;
  letter-spacing: 0.6rem;
  font-weight: 300;
  color: var(--color-neon);
  transition: all 0.3s ease;
}

@keyframes brillo-neon {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}
.titulo-principal:hover {
  color: transparent;
  transition: all 0.8s ease;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2),
    #3ad9ff,
    rgba(255, 255, 255, 0.2)
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: brillo-neon 4s linear infinite;
}



/* Menú de navegación */
.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 1rem auto 0;
  padding: 0;
  width: fit-content;
}


.menu a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 1rem;
  border-right: 1px solid var(--color-neon);
  transition: color 0.5s ease, transform 0.3s ease;
}

.menu li:last-child a {
  border-right: none;
}


.menu a:hover {
  color: var(--color-neon);
  transform: scale(1.05);
}
/* ===== ESTILOS RESPONSIVOS HEADER ===== */
.header-mobile {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem;
  width: 100%;
}

.logo-movil {
  width: 130px;
  height: auto;
  filter: drop-shadow(0 0 3px var(--color-neon));
}

.menu-toggle {
  filter: drop-shadow(0 0 5px var(--color-neon));
  font-size: 3rem;
  color: var(--color-neon);
  cursor: pointer;
  margin-right: 1rem;
}

/* Ocultar el h1 en móviles */
@media (max-width: 500px) {
  header{
    padding: 0.5rem;
    border-bottom: 1px solid var(--color-neon);
  }
  .titulo-principal {
    display: none;
  }

  .header-mobile {
    display: flex;
  }

  nav {
    width: 100%;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  .menu.mostrar {
    display: flex;
  }

  .menu a {
    border-right: none;
    border-bottom: 1px solid var(--color-neon);
    padding: 1rem;
    justify-content: center;
    width: 100%; /* ✅ que ocupe todo el ancho */
    box-sizing: border-box; /* ✅ asegurarse de que el padding no rompa el ancho */
  }

  .menu li {
    width: 100%; /* ✅ importante para forzar el ancho completo */
  }

  .menu li:last-child a {
    border-bottom: none;
  }
}


/* ===== BOTÓN WHATSAPP FLOTANTE ===== */
.whatsapp-fijo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-fijo img {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 10px var(--color-neon));
  transition: transform 0.3s;
}

.whatsapp-fijo img:hover {
  transform: scale(1.1);
}


/* ===== SECCIÓN PRESENTACIÓN ===== */
.seccion-presentacion {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0rem;
  gap: 2rem;
}

.presentacion-contenido {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  width: 100%;
  max-width: 1200px;
}




.presentacion-texto {
  flex: 1;
  padding: 1rem;
  text-align: center;
  transition: all 0.4s ease;
}




.presentacion-texto h2 {
  color: var(--color-neon);
  margin-bottom: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  transition: all 0.3s ease;
}


.presentacion-texto p {
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  line-height: 1.4;
  font-weight: 200;
  color: white;
  text-transform: uppercase;
  transition: all 0.3s ease;
}


.presentacion-video {
  flex: 1;
  padding: 1rem;
  text-align: center;
}

.presentacion-video img {
  max-width: 250px;
  height: auto;
  transition: all 1s ease;
}
.presentacion-video img:hover {
  transform: scale(1.15);
}

@media (min-width: 500px) {
  .presentacion-contenido {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .presentacion-texto {
    flex: 2;
    min-width: 60%;
  }

  .presentacion-video {
    flex: 1;
  }

  .presentacion-texto p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.1rem;
  }
  .presentacion-video img {
    max-width: 350px;
  }
}

/* Botón NEÓN */
.btn-neon {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid var(--color-neon);
  color: var(--color-neon);
  text-transform: uppercase;
  border-radius: 50px;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-neon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, var(--color-neon), transparent);
  transition: left 0.5s;
  z-index: -1;
  opacity: 0.5;
}

.btn-neon:hover::before {
  left: 0;
}

.btn-neon:hover {
  box-shadow: 0 0 15px var(--color-neon);
  transform: scale(1.05);

}



/* ===== SECCIÓN SERVICIOS ===== */
.seccion-servicios {
  padding: 4rem 2rem;
  text-align: center;
}

.seccion-servicios h2 {
  color: var(--color-neon);
  margin-bottom: 3rem;
}

.contenedor-infoboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


@media (min-width: 500px) {
  .contenedor-infoboxes {
    flex-direction: row;
    justify-content: space-around;
  }
}

.infobox {
  background-color: rgba(255, 255, 255, 0);
  border: 2px solid var(--color-neon);
  padding: 2rem 1rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  cursor: default;
  backdrop-filter: blur(4px);
}

.infobox img {
  width: 60px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px var(--color-neon));
}

.infobox p {
  font-size: 1rem;
  color: white;
  line-height: 1.5;
}

/* Hover animado */
.infobox:hover {
  border-color: var(--color-neon);
  box-shadow: 0 0 20px var(--color-neon);
  transform: scale(1.05);
}


/* ===== SECCIÓN PROCESO DE CREACIÓN ===== */
.seccion-proceso {
  padding: 4rem 2rem;
  text-align: center;
}

.seccion-proceso h2 {
  color: var(--color-neon);
  margin-bottom: 4rem;
}

/* 📱 Estilos exclusivos para celular */
@media (max-width: 500px) {
  .paso {
    cursor: pointer;
    border-bottom: 1px solid var(--color-neon);
    padding: 1rem;
    transition: background 0.5s ease;
  }

  .paso-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .flecha {
    display: inline;
    margin-left: 3px;
    font-size: 2rem;
    font-weight: 50;
    color: var(--color-neon);
    transition: transform 0.3s ease;
  }

  .flecha.rotada {
    transform: rotate(180deg);
  }

  .detalle {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    font-size: 1rem;
    line-height: 1.5;
    color: white;
    margin-top: 0.5rem;
  }

  .paso.activo .detalle {
    max-height: 1000px;
    opacity: 1;
  }
  .paso.activo{
    border: 2px solid var(--color-neon);
    border-radius: 15px;
    box-shadow: 0 0 15px var(--color-neon);
  }
}

/* 🖥️ Estilos generales y para PC */
@media (min-width: 501px) {
  .flecha {
    display: none;
  }

  .paso:hover {
    background-color: rgba(58, 217, 255, 0.05);
    border: 2px solid var(--color-neon);
    border-radius: 15px;
    box-shadow: 0 0 15px var(--color-neon);
    padding-bottom: 2rem;
  }

  .paso:hover .detalle {
    max-height: 100px;
    opacity: 1;
  }
}
/* 🧱 Estilos base aplican a ambos dispositivos */
.paso {
  text-align: left;
  background-color: rgba(255, 255, 255, 0);
  border-bottom: 1px solid #3ad8ff42;
  margin: 1rem auto;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  max-width: 1000px;
  padding: 1rem 2rem;
}

.paso h3 {
  font-size: 1.2rem;
  color: var(--color-neon);
  margin: 0;
  transition: margin-bottom 0.3s ease;
}

@media (min-width: 501px) {
  .detalle {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
  }

  .paso:hover .detalle {
    max-height: 100px;
    opacity: 1;
  }
}


/* ===== SECCIÓN PRESUPUESTO ===== */
.seccion-precios {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  gap: 0rem;
}

.precios-contenido {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  width: 100%;
  max-width: 1200px;
}


.precios-texto {
  flex: 1;
  padding: 1rem;
  text-align: center;
  transition: all 0.4s ease;
}


.precios-texto h2 {
  color: var(--color-neon);
  margin-bottom: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  transition: all 0.3s ease;
}


.precios-texto p {
  font-size: 1.1rem;
  font-weight: 200;
  line-height: 1.4;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  transition: all 0.3s ease;
}


.precios-video {
  flex: 1;
  padding: 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
}


.precios-video video {
  max-width: 100%;
  max-width: 450px;
  height: auto;
  transition: all 1s ease;
}
.precios-video video:hover {
  transform: scale(1.15);
}

.cta-presupuesto {
  margin-top: 2rem;
}

.cta-presupuesto .btn-neon {
  font-size: 1.1rem;
  padding: 0.8rem 2.2rem;
}

@media (min-width: 500px) {
  .precios-contenido {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .precios-texto {
    flex: 2;
    min-width: 60%;
  }

  .precios-video {
    flex: 1;
  }

  .precios-texto p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.1rem;
  }
  .precios-texto h2 {
    font-size: 2.5rem;
    letter-spacing: 0.6rem;
  }
}


/* ===== SECCIÓN TESTIMONIOS ===== */
/*desactivada por el momento*/
/*#testimonios {
  display: none;
}*/

.seccion-testimonios {
  padding: 4rem 2rem;
  text-align: center;
}

.seccion-testimonios h2 {
  color: var(--color-neon);
  margin-bottom: 2rem;
}

.carrusel-testimonios {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: visible;
  min-height: 0px; /* para evitar saltos al cambiar de testimonio */

}

.testimonio {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.5s ease;
}

.testimonio video {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 15px var(--color-neon);
}

.testimonio h3 {
  margin-top: 1rem;
  color: var(--color-neon);
  font-size: 1.2rem;
}

.testimonio {
  opacity: 0;
  transform: translateX(50px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  border-radius: 20px;
  border: 2px solid transparent;
}

.testimonio.activo {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  border-color: var(--color-neon);
  box-shadow: 0 0 20px var(--color-neon);
  position: relative;
}


/* Botones de flechas */
/* From Uiverse.io by xopc333 */ 
.button {
  display: block;
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0;
  overflow: hidden;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  border: 0;
}

.button:before,
.button:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 7px;
}

.button:before {
  border: 4px none #f0eeef;
  transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
    transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
}

.button:after {
  border: 4px none #96daf0;
  transform: scale(1.3);
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}

.button:hover:before,
.button:focus:before {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.button:hover:after,
.button:focus:after {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
    transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
}

.button-box {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.button-elem {
  display: block;
  width: 20px;
  height: 20px;
  margin: 17px 18px 0 18px;
  transform: rotate(180deg);
  fill: var(--color-neon);
}

.button:hover .button-box,
.button:focus .button-box {
  transition: 0.4s;
  transform: translateX(-56px);
}
.der{
  transform: rotate(180deg);
}

.controles-carrusel {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;

}




/* ===== SECCIÓN CONTACTO ===== */
.seccion-contacto {
  padding: 4rem 2rem;
  text-align: center;
}

.seccion-contacto h2 {
  color: var(--color-neon);
  margin-bottom: 2rem;
}

.contacto-contenido {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 500px) {
  .contacto-contenido {
    flex-direction: row;
    justify-content: space-between;
  }
}

.formulario {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.formulario input,
.formulario textarea {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  padding: 0.8rem;
  color: rgb(255, 255, 255);
  font-size: 1rem;
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
}

.formulario input:focus,
.formulario textarea:focus {
  border-color: var(--color-neon);
  box-shadow: 0 0 10px var(--color-neon);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.info-contacto {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
  justify-content: top;
}

.fila-contacto {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.fila-contacto img {
  margin-right: 0.5rem;
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 5px var(--color-neon));
}

.fila-contacto:hover {
  transform: scale(1.02);
}

.fila-contacto span {
  color: white;
  font-size: 1rem;
  word-break: break-word;
}




/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.02);
  color: white;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
  margin: 0.5rem 0;
}




/*Animacion Fade in*/
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 0.8s ease;
}

.fade-in.mostrar {
  opacity: 1;
  transform: translateY(0);
}
