/* -------------------- BASE MOBILE FIRST -------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /*outline: 1px dashed red;*/
}


[data-aos="fade-up"] {
  transform: translateY(10px);
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: 1500ms; /* mismo que duration de AOS */
  transition-timing-function: ccubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0057FF;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 0;
}

body {
  font-family: 'Afacad Flux', sans-serif;
  color: #1D1D1F;
  background-color: #fff;
  letter-spacing: 0.4px;
}

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: #f2f2f2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  z-index: 1000;
  transition: transform 0.3s ease;
}
header.hide {
  transform: translateY(-100%);
}

header .logo a {
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.5px;
  font-size: 32px;
  color: #0057FF;
}

.menu-toggle {
  display: block;
  font-size: 20px;
  cursor: pointer;
  padding-top: 10px;
  border: 0px;
  font-family: 'Afacad Flux', sans-serif;
}

/* Nav */
nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: #f2f2f2;
  border-bottom: 1px solid #e5e5e5;
  z-index: 999;
}

nav.show {
  display: flex;
}

nav a, .cta-mobile {
  padding: 24px;
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  color: #1D1D1F;
  border-top: 1px solid #fff;
}

.cta-mobile strong, .cta-desktop strong {
  font-family: 'Outfit', sans-serif;
}

.cta-mobile {
  display: block;
  color: #0057FF;
}

.cta-desktop {
  display: none; /* oculto en mobile */
}



/* Hero */
.hero {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero .frase h1{
  font-weight: 400;
  font-size: 62px;
  margin: 60px 0px 60px 0px;
}

.hero-image {
  width: 100%;
  height: 560px;
  background: url('img/header-m.png') center/contain no-repeat;
  background-size: cover;
  background-position:top center;
  background-repeat: no-repeat;
  aspect-ratio: 2/1; /* opcional: relación de aspecto para mantener forma */
  margin-top: 40px;
}

/* Secciones comunes */
.descripcion, .experiencia, .contacto {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.modulo-dark {
  background-color: #F6F6F6;
  padding: 80px 24px;
}
.modulo-dark-contenido {
  max-width: 1200px;
  margin: 0 auto;
}

.modulo-dark .etapa .texto h3 {
  font-size: 24px;
  font-weight: 600;
}
.modulo-dark .etapa .texto p {
  font-size: 24px;
  font-weight: 400;
  margin-top: 16px;
  line-height: 1.2;
}

.modulo-dark h2 {
  font-size: 28px;
  text-align: center;
  font-weight: 400;
  margin-top: 16px;
  line-height: 1.2;
}
.experiencia p {
  font-size: 28px;
  max-width: 800px;
  text-align: center;
}
.descripcion p {
  font-size: 28px;
  max-width: 800px;
  text-align: left;
}

.descripcion {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px 120px 20px;
  line-height: 1.5;
}

.descripcion span {
  color: #f0f0f0;
  transition: color 0.3s ease;
}

.descripcion span.coloreado {
  color: #1D1D1F;
}

/* Etapas */
.etapa {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 80px 0;
  text-align: center;
}

.etapa .imagen img {
  width: 100%;
  max-width: 300px;
  margin-top:6px;
}

/* Logos */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.logos img {
  width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom:20px;
}

/* Contacto */

.contacto{
  border-top: 1px solid #E5E5E5;
}

.contacto p {
  font-size: 24px;
  text-align: center;
}
.contacto .ws {
    margin: 64px 0px 20px 0px;
    font-size: 20px;
    line-height: 1.6;
  }
.contacto .ws span {
  display: block;
}
.contacto .ws strong a {
    font-weight: normal;
    color:#24D366;
    text-decoration: none;
  }
.contacto img {
  width: 150px;
  height: 150px;
  margin: 20px auto 0;
  display: none;
}
.contacto .e-mail a{
    color: #0057FF;
    font-weight: normal;
    text-decoration: none;
  }

/* Footer */
.footer {
  border-top: 1px solid #E5E5E5;
  padding: 20px;
  font-size: 16px;
  text-align: center;
}
.footer-left strong{
    font-weight: 700;
    color: #0057FF;
    font-size: 28px;
    letter-spacing:-0.5px;
  }
  .footer-right {
    font-weight: 300;
    color: #222;
  }

/* -------------------- TABLET (>=768px) -------------------- */
@media(min-width: 768px) {
  header {
    padding: 10px 20px;
  }

  .hero {
    padding:0 90px;
  } 
  .hero-image {
    background: url('img/header.png') center/contain no-repeat;
    height: auto;
  width: 100%;
  background-size: cover;
  background-position:center;
  background-repeat: no-repeat;
  aspect-ratio: 2/1;
  margin-top: 100px;
  }

  .descripcion p, .experiencia p, .contacto p, .modulo-dark h2 {
    font-size: 48px;
  }
  .descripcion {
    height: 90vh;
  }
  .modulo-dark .etapa .texto h3 { font-size: 32px; }
  .modulo-dark .etapa .texto p  { font-size: 30px; }
  .modulo-dark {
    margin-top: 160px;
  }
  .modulo-dark h2 {
    margin: 58px 0 116px 0;
  }
  .etapa {
    flex-direction: row;
    text-align: left;
  }
  .etapa .texto {
    flex: 1;
    max-width: 480px;
  }
  .etapa .imagen {
    flex: 1;
    max-width: 300px;
  }

 .experiencia {
    max-width: 1000px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 20px;
    margin: auto;
  }
  .experiencia p {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 40px;
    text-align: left;
    max-width: 1600px;
  }
  .logos {
    display: flex;
    gap: 28px;
    justify-content: left;
    margin-left: -44px;
    padding-top: 10px;
  }
  .logos img {
    width: 230px;
    height: 80px;
    object-fit: contain;
 }
 .contacto {
    max-width: 1000px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 20px;
    margin: auto;
  }
  .contacto p {
    font-size: 32px;
  }
  
  .contacto .ws {
    font-size: 24px;
  }
  .contacto .ws span {
    display: contents;
  }
  .contacto img {
    width: 190px;
    height: 190px;
    margin: 0px;
    display: block;
  }
  .footer {
    border-top: 1px solid #E5E5E5;
    margin-top: 80px;
    padding: 20px 133px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Afacad Flux', sans-serif;
    font-size: 22px;
  }

}

/* -------------------- DESKTOP (>=1024px) -------------------- */
@media(min-width: 1024px) {
  header {
    padding: 50px 156px;
    height: 50px;
    display: flex;
    align-items: center;
    background-color: #fff;
  }

  header .logo a {
    font-size: 38px;
  }

  nav {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: static;
    background: none;
    border: none;
    flex-wrap: nowrap;
  }

  nav a {
    margin: 0 22px;
    font-size: 22px;
    font-weight: 400;
    text-decoration: none;
    color: #1D1D1F;
    border: none;
  }

  .menu-toggle {
    display: none;
  }

  .cta-mobile {
    display: none; /* oculto en desktop */
  }

  .cta-desktop {
    display: inline-block;
    margin-left: auto;
    font-size: 22px;
    font-weight: 400;
    color: #0057FF;
    text-decoration: none;
    white-space: nowrap;
  }
  .modulo-dark .etapa .texto h3 { font-size: 32px; }
  .modulo-dark .etapa .texto p  { font-size: 30px; }

  .etapa {
    justify-content: center;
    max-width: 1200px;
    margin: 100px auto;
    gap: 60px; /* opcional: separa más entre texto e imagen */
  }
}