

@font-face {
    font-family: 'martian_mono';
    src: url('fonts/martianmono-variablefont_wdthwght-webfont.woff2') format('woff2'),
         url('fonts/martianmono-variablefont_wdthwght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'martian_mono';
    src: url('fonts/martianmono-variablefont_bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: black;
  height: 100%;
}

.logo {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: auto;
  z-index: 10;

}

.full-screen {
  width: 100%;
  height: 100svh;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
}

#whatwedo {
  margin-top: 100svh;
  position: relative;
}

#services {
  position: relative;
}

#stories {
  position: relative;
}

#partners {
  position: relative;
}

#fiveContent {
  position: relative;
}

#contact{
  position: relative;
}

#bgCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.text-block {
  text-align: center;
  width: 540px;
  z-index: 2;
}

/* Línea grande animada */
.line1 {
  font-family: 'Martian Mono', monospace;
  font-size: 40px;
  margin: 0;
    color: #999999;
}

/* Línea pequeña animada */
.line2 {
  font-family: 'Martian Mono', monospace;
  font-size: 20px;
  margin: 0;
  color: #999999;
  padding-top:12px;
}

.cursor {
  display: inline-block;
  width: 2px;
  background: white;
  animation: blink 0.7s infinite;
  margin-left: 2px;
}


@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

canvas {
  display: block;
}

#lockCanvas {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 20px;
  height: 30px;
  z-index: 200;
}

.scroll-indicator {
  position: absolute;
  top: -80px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.scrollText{
  font-family: 'Martian Mono', monospace; font-size: 14px; margin: 0; color: #999999;
}

.down_arrow {
  width: 13px;
  margin-top: 5px;
}

.upIcon {
  position: fixed;
  top: 40px;
  left: 20px;
  z-index: 200;
  cursor: pointer;
}

.lock_icon {
  width: 12px;
  height: auto;
}

.gradient-section {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  height: auto;
  display: inline-block;

  background: linear-gradient(
      to bottom,
      #000000 0%,
      #161616 100%
  );
}

.section-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.section-title h2 {
    font-family: 'Martian Mono', monospace;
    font-size: 20px;
    color: #BBFF00;
    position: relative;
    display: inline-block;
    padding-top: 25px; /* espacio para la línea superior */
    font-weight: 400;
}

/* Línea vertical encima del texto */
.section-title h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 16px;
    background-color: #BBFF00;
    margin-bottom: 5px;
}

.section-paragraph {
  font-family: 'Martian Mono', monospace;
  font-size: 20px;
  color: #999999;
  max-width: 800px;
  margin: 0 auto;        /* Centrar */
  text-align: center;
  line-height: 1.5;
  margin-top: 20px;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
  text-decoration: none;
  -webkit-data-detectors: none;
}

.three-items-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px; /* separación horizontal en desktop */
    padding: 40px 0;
    flex-wrap: wrap;
}

.item {
    width: 320px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}

.item img {
    width: auto;
    height: 112px;
}

.item2 {
  width: 320px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
}

.item2 img {
  width: auto;
  height: 32px;
}

.item-line {
  margin-top: 20px;
  margin-bottom: 10px;
  width: 2px;
  height: 47px;
  background-color: #BBFF00;
}

.item-text {
  font-family: 'Martian Mono', monospace;
  font-size: 16px;
  color: #999999;
  max-width: 320px;
}

.item-text2 {
  font-family: 'Martian Mono', monospace;
  font-size: 14px;
  color: #999999;
  max-width: 320px;
}

.black-section {
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
  height: auto;
  display: inline-block;
  background: #000000;
  padding-left: 0px;
  padding-right: 0px;
}

.text-container {
  width: 1000px;
  margin: 0 auto; /* centrado */
}

/* Cada card */
.text-card {
  width: 100%; /* ← lo restauro como lo pediste */
  font-family: 'Martian Mono', monospace;
  background: #161616;
  border-radius: 20px;
  padding: 40px 20px;
  margin-bottom: 20px;
  text-align: center;
  box-sizing: border-box;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Texto interno */
.text-card p {
  color: #999999;
  font-size: 20px;
  font-family: inherit;
  margin: 0;
  transition: color 0.3s ease;
}

/* HOVER con degradado 70% / 30% */
.text-card:hover {
  background: linear-gradient(
    to bottom,
    #BBFF00 40%,
    #999999 100%
  );
}

.text-card:hover p {
  color: #161616;
}

/* Quitar margen al último */
.text-card:last-child {
  margin-bottom: 0;
}

.greenLock {
  width: auto;
  height: 30px !important;
}

.greenSmallTitle {
  font-family: 'Martian Mono', monospace;
  font-size: 12px;
  color: #BBFF00;
  margin: 0;
}

.whiteSmallContent {
  font-family: 'Martian Mono', monospace;
  font-size: 14px;
  color: #999999;
  margin: 0;
}

.contactURL {
  font-family: 'Martian Mono', monospace;
  font-size: 20px;
  color: #999999;
  text-decoration: none;
}

.contactURL:hover {
  text-decoration: underline;
}

.site-footer {
  width: 100%;
  background-color: black;
  height: auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px; /* separación entre texto e imagen */
  position: relative;
}

/* Invertir la flecha verticalmente */
.footer-arrow {
  width: 13px;
  height: auto;
  transform: rotate(180deg) !important; /* Voltea verticalmente */
  cursor: pointer;
}


/* Los hijos internos tendrán movimiento */
.parallax-child {
    will-change: transform;
    transition: transform 0.05s linear;
}



/* CONTACTO */
.cta-btn{
  font-family: 'Martian Mono', monospace;
  color: #BBFF00;
  background-color: transparent;
  border: 1px solid #BBFF00;
  padding: 10px 16px 10px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: transform 0.2s ease;
  font-size: 12px;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-4px);
  background-color: #BBFF00;
   color: #161616;
}

.contact-form {
  width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 40px;
  padding-bottom: 0px;
}

/* Estilos base para inputs, selects y textarea */
.contact-form input,
.contact-form select,
.contact-form textarea {
  background-color: #161616;   /* fondo oscuro */
  border: none;
  border-radius: 20px;
  font-family: 'Martian Mono', monospace;
  font-size: 14px;
  color: #999999;              /* texto gris claro */
  padding: 10px 16px;
  width: 100%;
  box-sizing: border-box;
  outline: none;               /* quitamos el outline */
  text-align: left;
  transition: background-color 0.2s, color 0.2s;
}

/* Asegurar que al enfocarse no cambie el color ni el fondo */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background-color: #161616;   /* mismo fondo oscuro al focus */
  color: #ffffff;              /* texto blanco cuando escribes */
}

/* Placeholder centrado */
.contact-form input::placeholder,
.contact-form select::placeholder,
.contact-form textarea::placeholder {
  text-align: center;
  color: #999999;              /* color del placeholder */
}

/* Textarea extra */
.contact-form textarea {
  resize: none;                /* deshabilitar resize horizontal */
  min-height: 100px;
  grid-column: span 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Para que al salir del foco el texto siga visible */
.contact-form input:not(:focus),
.contact-form select:not(:focus),
.contact-form textarea:not(:focus) {
  background-color: #161616;
  color: #999999; /* color de texto cuando pierde el foco */
}


.contact-form .form-actions {
  grid-column: span 3;
  text-align: center;
  margin-top: 10px;
}

.formMessage{
  width: 100%;
  font-family: 'Martian Mono', monospace;
  font-size: 20px;
  color: #BBFF00;
  text-decoration: none;
  text-align: center;
  padding-top:20px;
}

.form-blocked {
  pointer-events: none;    /* Bloquea interacción */
  opacity: 0.2;            /* Formulario semitransparente */
  transition: opacity 0.3s;
}

/* MENU */ 
/* BOTÓN HAMBURGUESA */
.menu-btn {
  position: fixed;
  top: 40px;
  right: 20px;
  width: 30px;
  height: 30px; /* cuadrado para que la X quepa */
  cursor: pointer;
  z-index: 1001;
}

.menu-btn span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #999999;
  border-radius: 2px;
  transform-origin: center;
  transition: all 0.3s ease;
}

/* Primera barra */
.menu-btn span:nth-child(1) {
  transform: translateY(-6px);
}

/* Segunda barra */
.menu-btn span:nth-child(2) {
  transform: translateY(0);
}

/* Tercera barra */
.menu-btn span:nth-child(3) {
  transform: translateY(6px);
}

/* Transformación a X */
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg);
  background: #161616;
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
  background: #161616;
}


/* MENÚ FULLSCREEN */

/* OVERLAY OSCURO */
#menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8); /* 161616 al 50% */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 900;
}

/* Cuando el menú está activo */
#menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.fullscreen-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 378px;
  height: 100%;
  background: linear-gradient(to bottom, #BBFF00 70%, #999999 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* centra horizontalmente */
  transform: translateX(100%);
  transition: transform 0.5s ease;
  z-index: 1000;
  text-align: center;
}

.fullscreen-menu.active {
  transform: translateY(0);
}

#fullscreen.hide-at-bottom {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.0s ease;
}

.menu-links {
  display: flex;
  flex-direction: column;  /* apila uno debajo de otro */
  align-items: center;     /* centra cada <a> horizontalmente */
  gap: 16px;               /* separación vertical entre enlaces (opcional) */
  text-align: center;      /* por si hay texto interno centrado */
}

/* Enlaces del menú */
.menu-links a {
  display: block;
  font-family: 'Martian Mono', monospace;
  color: #161616;
  font-size: 24px;
  margin: 0px 0; /* espacio vertical reducido */
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative; /* necesario para que la flecha absoluta se posicione respecto al enlace */
  width: auto;
}

/* Hover color */
.menu-links a:hover {
  color: #000000;
}

/* Flecha */
.menu-links a::before {
  content: '';
  position: absolute;
  left: -50px; /* separación desde el enlace */
  top: 50%;
  transform: translateY(-50%) rotate(0deg); /* centrado vertical + rotada 90° */
  width: 16px;  /* ancho de la imagen */
  height: 16px; /* alto de la imagen */
  background-image: url('../images/leftArrow.webp');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0; /* invisible por defecto */
  transition: opacity 0.3s ease, left 0.3s ease;
}

/* Mostrar la flecha al hacer hover */
.menu-links a:hover::before {
  opacity: 1;
  left: -30px; /* se puede mover un poco más cerca al enlace */
}


/* Bottom: idiomas + privacy */
.menu-bottom {
  position: absolute;
  bottom: 40px;
  text-align: center;
}

.menu-bottom .languages,
.menu-bottom a {
  font-family: 'Martian Mono', monospace;
  color: #161616;
  font-size: 14px;
  margin: 5px 0;
  text-decoration: none;
}

.menu-bottom .languages a {
  margin: 0 5px;
}

.privacy-content {
  font-family: 'Martian Mono', monospace;
  font-size: 16px;
  color: #999999;
  max-width: 1100px;
  margin: 0 auto;        /* Centrar */
  text-align: justify;
  line-height: 1.5;
  margin-top: 20px;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
  background-color: black;
}

.gradient-section2 {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  height: auto;
  display: inline-block;
  position: relative;

  background: linear-gradient(
      to bottom,
      #161616 0%,
      #000000 100%
  );
}

@media (max-width: 1024px) {

  .fullscreen-menu {
    width: 100%;
  }

  .privacy-content {
    width: 100%;
    font-size: 12px;
  }

  .menu-links a {
    font-size: 20px;
  }

  .text-container {
    width: 100%;
  }

  .contact-form {
    display: flex !important;      /* cambia a flex vertical */
    flex-direction: column !important;
    gap: 20px !important;           /* separación vertical */
    width: 100%;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .contact-form .form-actions {
    grid-column: auto !important;  /* ignora cualquier span */
    width: 100% !important;        /* ocupa toda la fila */
    margin: 0 !important;
    font-size: 14px !important;
  }

  .scrollText{
    font-size: 12px;
  }

  .black-section{
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .text-block {
    width: 100%;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
  }

  .line1 {
    font-size: 32px;
  }

  .line2 {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 16px
  }

  .section-paragraph {
    font-size: 16px;
  }

  .item {
    width: 100%;
    padding-bottom: 40px;
  }

  .item2 {
    width: 100%;
    padding-bottom: 40px;
  }

  .item-text {
    font-size: 14px;
  }

  .item-text2 {
    font-size: 12px;
  }

  .text-card p {
    font-size: 16px;
  }


 .three-items-container {
        flex-direction: column;
        align-items: center;
        gap: 30px; /* separación entre elementos en móvil */
    }

}
