
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #0d0f11;
  color: #fff;
}

@font-face {
  font-family: 'Mokoto';
  src: url('../../../assets/fonts/mokoto-mokoto-regular-400.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

button,
.btn-quienes,
.btn-animado,
.btn-whatsapp {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.mokoto-text {
  font-family: 'Mokoto', sans-serif;
  letter-spacing: 1px;
}

.section-container h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.section-container p {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

input, textarea, select {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

/* Para el texto placeholder (el que ves dentro de los campos) */
input::placeholder,
textarea::placeholder {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: #ccc;  /* Opcional: puedes ajustar el color del placeholder */
}

#menuToggle {
  display: none; /* por defecto oculto */
}

header.hero {
  height: 100vh;
  background-color: #0d0f11;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.logo-large {
  max-width: 80vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.5s ease-in-out;
}
nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  z-index: 1000;
  transition: background-color 0.3s ease, padding 0.3s ease;
}
nav.scrolled {
  background-color: rgba(13, 15, 17, 0.95);
  padding: 0.5rem 2rem;
}
.logo-small {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(-10px);
}
nav.scrolled .logo-small {
  opacity: 1;
  transform: translateY(0);
}
.logo-small img {
  height: 64px;
  width: auto;
  object-fit: contain;
}
.logo-small span {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
section.placeholder {
  height: 120vh;
  background: #16191d;
  padding: 4rem 2rem;
}
section.placeholder h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
section.placeholder p {
  max-width: 600px;
  line-height: 1.7;
}

.nav-buttons {
  background-color: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.nav-buttons.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-buttons a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Efecto al pasar el cursor */
.nav-buttons a:hover,
.nav-buttons a.active {
  background-color: white;
  color: #1a1a1a; /* o el color de fondo de tu navbar */
}

.nav-buttons-wrapper {
  background-color: rgba(255, 255, 255, 0.08); /* barra gris suave */
  border-radius: 30px;
  padding: 5px 8px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(-20px);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.nav-buttons-wrapper.show {
  opacity: 1;
  transform: translateY(0);
}

section {
  padding: 100px 40px;
  min-height: 100vh;
  background-color: #0d0f11;
  color: white;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

section p, section ul {
  font-size: 1.2rem;
  max-width: 800px;
  line-height: 1.6;
}

section ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* Menú hamburguesa oculto en pantallas grandes */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1100;
  position: absolute;
  right: 1.5rem;  /* ✅ más cerca del borde derecho */
  top: 1rem;
}

/* Mostrar menú hamburguesa solo en móviles */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;  /* ✅ botón a la derecha */
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1100;
  }

  .nav-buttons {
    position: absolute;
    top: 100%;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    width: max-content;
    z-index: 999;
  }

  .nav-buttons.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-buttons.show {
    display: none; /* ✅ Evita que se muestre junto con el hamburguesa */
  }

  .nav-buttons.show-mobile {
    display: flex !important;
  }
}
}

/* Estilos para la sección ¿Quiénes somos? */
.highlighted-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem;
  text-align: center;
  background: #0d0f11;
}

.section-container {
  max-width: 900px;
}

.section-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #aaa, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.section-container p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.scroll-fade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 3s ease, transform 3s ease;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Botón con borde iluminado */
.btn-quienes {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  top: 15px; 
  color: white;
  background-color: black;
  border: 2px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 0px rgba(255, 255, 255, 0.2);
}

.btn-quienes::before {
  content: "";
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: -4px;
  right: -4px;
  border-radius: 12px;
  background: linear-gradient(90deg, #1249a4, #1249a4, #1249a4);
  z-index: -1;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.btn-quienes:hover::before {
  opacity: 1;
}

.btn-quienes:hover {
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

@media (max-width: 600px) {
  .btn-quienes {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    white-space: nowrap;        /* Evita salto de línea */
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    width: fit-content;         /* ✅ Nuevo: que el botón se ajuste al texto */
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .btn-quienes::before {
    filter: blur(10px); /* Menor blur */
  }
}

/* Marco elegante */
.framed-box {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4rem 3rem;
  background: linear-gradient(to bottom right, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  backdrop-filter: blur(2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

#particles-quienes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: transparent;
}

.section-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto; 
}

.highlighted-section {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem;
  text-align: center;
}

/* Sección de Servicios */
.servicios-section {
  background-color: #0d0f11;
  padding: 140px 20px;
  color: #ffffff;
}

.servicios-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-weight: 700;
}

.servicios-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centra todo el contenido */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.servicio-item {
  flex: 0 1 260px; /* Fijo con margen de crecimiento */
  max-width: 260px;
  background-color: #111318;
  padding: 30px 10px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  text-align: center;
  opacity: 0;
  transition: all 0.3s ease;
  position: relative;
}

.servicio-item:hover {
  transform: translateY(-15px);
  z-index: 10;
  box-shadow: 0 0 25px #1249a4;
}

.servicio-item.visible {
  animation: fadeUpOnly 0.8s ease-out forwards;
}

/* Cada columna con un delay progresivo */
.servicio-item.visible:nth-child(1) {
  animation-delay: 0.5s;
}
.servicio-item.visible:nth-child(2) {
  animation-delay: 1.2s;
}
.servicio-item.visible:nth-child(3) {
  animation-delay: 1.9s;
}
.servicio-item.visible:nth-child(4) {
  animation-delay: 2.5s;
}

.servicio-item img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 
    0 0 0 4px rgba(255, 255, 255, 0.1), 
    0 0 25px rgba(255, 255, 255, 0.25);
}

.servicio-item h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.servicio-item p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Animación */
@keyframes fadeUpOnly {
  0% {
    opacity: 0;
    translate: 0 30px;
  }
  100% {
    opacity: 1;
    translate: 0 0;
  }
}

/* Responsivo */


  /* .servicio-item img {
    width: 140px;
    height: 140px;
  }
} */

/*Seccion de herramientas*/

.herramientas-section {
  background-color: #0d0f11;
  padding: 15rem 2rem;
  text-align: center;
  overflow: hidden;
}

.herramientas-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #aaa, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.herramientas-section p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
  color: #ccc; /* opcional para un tono más suave */
}

.carousel-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 60px;
  animation: scrollLeft 60s linear infinite;
  width: max-content;
}

.carousel-track.reverse {
  animation: scrollRight 60s linear infinite;
}

.carousel img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.2);
  transition: transform 0.3s ease;
}

.carousel img:hover {
  transform: scale(1.1);
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Pausa con hover 2 segundos */
.pause-on-hover:hover .carousel-track {
  animation-play-state: paused;
}


/* Sección de contacto */
.contact-section {
  background-color: #0d0f11;
  padding: 200px 40px;
  color: white;
}

.contact-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 40%;
}

.contact-info h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #999, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ccc;
  line-height: 1.6;
}

.contact-form {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-row {
  display: flex;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
  color: white;
  font-size: 1rem;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00e1ff;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-primary {
  padding: 1rem 2rem;
  background-color: inherit;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: flex-start;
}


.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background-color: #25d366;
  color: black;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-whatsapp img {
  width: 24px;
  margin-right: 10px;
}

.btn-whatsapp:hover {
  background-color: #1ebd5f;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info, .contact-form {
    flex: 1 1 100%;
  }

  .contact-form .form-row {
    flex-direction: column;
  }
}

.contact-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.05);
  padding: 60px;
  backdrop-filter: blur(8px);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .contact-box {
    padding: 30px;
    flex-direction: column;
    gap: 40px;
  }
}

/* Sombra animada */
.btn-animado {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  top: 15px; 
  color: white;
  background-color: black;
  border: 2px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 0px rgba(255, 255, 255, 0.2);
}

/* El efecto de resplandor animado */
.btn-animado::before {
  content: "";
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: -4px;
  right: -4px;
  border-radius: 12px;
  background: linear-gradient(90deg, #1249a4, #1249a4, #1249a4);
  z-index: -1;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Mostrar solo la sombra animada al hacer hover */
.btn-animado:hover::before {
  opacity: 1;
}

.btn-animado:hover {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

/* Animación de desplazamiento suave del gradiente */
@keyframes resplandor {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Footer */

.site-footer {
  background-color: #0b0d0f;
  color: #ccc;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  margin-top: 60px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-logo img {
  height: 50px;
  object-fit: contain;
  filter: brightness(1.2);
}

.footer-info p {
  margin: 0.3rem 0;
}

.footer-social a {
  color: #ccc;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #00e1ff;
}