/* Reseteo básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #ffffff;
  color: #fff;
}

.site-header {
  background: #000;
  color: #fff;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}


.logo img {
  height: 120px;
  width: auto;
} 

.brand-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg,#0ea5e9,#7c3aed);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: white;
  box-shadow: 0 4px 18px rgba(124,58,237,0.12);
}

.brand-text {
  font-size: 18px;
  letter-spacing: 0.2px;
}




.nav-list {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-list li {
  margin: 0;
}


.main-nav {
  margin-left: auto;
}




.nav-list a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  padding: 6px 30px;
  outline: none;
  transition: transform 180ms ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.25s ease;
}

.nav-list a:hover::after,
.nav-list a:focus::after {
  width: 100%;
}

.nav-list a:hover,
.nav-list a:focus {
  transform: translateY(-3px);
}


/* HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;

    z-index: 1000;
  }

  .main-nav.active {
    max-height: 500px;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    gap: 0;
  }

  .nav-list li {
    width: 100%;
    text-align: center;
  }

  .nav-list a {
    display: block;
    padding: 14px;
  }

  .site-header {
    position: relative;
    z-index: 1000;
  }
}


/* Botón CTA */
.cta {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease;
}

.cta:hover,
.cta:focus {
  background: rgba(255,255,255,0.04);
  transform: translateY(-3px);
  text-decoration: underline;
}


/* Accesibilidad: foco visible para teclado */
a:focus {
  box-shadow: 0 0 0 3px rgba(125, 85, 255, 0.14);
  border-radius: 6px;
}

.tituloPrincipal {
  max-width: 900px;
  margin: 80px auto 40px;

  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 1px;

  color: #1a1a1a;
  text-transform: uppercase;
}


.tituloPrincipal::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #EFB810;
  margin: 20px auto 0;
  border-radius: 2px;
}


@media (max-width: 768px) {
  .tituloPrincipal {
    font-size: 1.6rem;
    padding: 0 20px;
  }
}





/* ===================== */
/* HERO PRINCIPAL */
/* ===================== */

.hero {
  height: 90vh;
  min-height: 500px;
  padding: 20px;

  background-image: url("../img/imagen1Portada.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  position: relative;
}

/* Capa para mejorar legibilidad */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);

}

/* CONTENIDO */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* TITULO */

.hero-content h1 {
  font-size: clamp(90px, 7vw, 150px);
  font-weight: 800;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* TEXTO */
.hero-content p {
font-size: clamp(50px, 7vw, 60px);
 color:#000;
 font-weight: 800;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
}


/* ===================== */
/* TABLET */
/* ===================== */
@media (max-width: 1024px) {
  .hero {
    height: 80vh;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 20px;
  }
}

/* ===================== */
/* MÓVIL */
/* ===================== */
@media (max-width: 768px) {
  .hero {
    height: 75vh;
    padding: 15px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .button-container-2 button {
    font-size: 16px;
    padding: 10px 18px;
  }
}

/* ===================== */
/* MÓVIL PEQUEÑO */
/* ===================== */
@media (max-width: 480px) {
  .hero {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 14px;
  }
}

h3{
    text-align: center;     
    margin-top: 40px;  
}
h2{
    text-align: center;     
    margin-bottom: 40px;  
}


.button-container-2 {
  position: relative;
  width: 200px;  /* antes 100px, ahora más ancho */
  height: 50px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  overflow: hidden;
  border: 2px solid #EFB810;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  transition: 0.5s;
  letter-spacing: 1px;
}
.button-container-2 button {
  width: 100%;
  height: 100%;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 1px;
  background: #000000;
  -webkit-mask: url("https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png");
  mask: url("https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png");
  -webkit-mask-size: 3000% 100%;
  mask-size: 3000% 100%;
  border: none;
  color: #000;
  cursor: pointer;
  -webkit-animation: ani2 0.7s steps(29) forwards;
  animation: ani2 0.7s steps(29) forwards;
}
.button-container-2 button:hover {
  -webkit-animation: ani 0.7s steps(29) forwards;
  animation: ani 0.7s steps(29) forwards;
}

.button-container-2 {
  border: 2px solid #000000;
   font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}


.button-container-2 button {
  background: #000000;
  color: #ffffff;
   font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 20px;
}

.button-container-2 span.mas {
  color: #000000;
   font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 20px;
}

.mas {
  position: absolute;
  color: #ffffff;
  text-align: center;
  width: 101%;
  font-family: 'Lato', sans-serif;
  position: absolute;
  font-weight: 300;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
  width: 200px;
  height: 50px;
  font-weight: 300;

}

@-webkit-keyframes ani {
  from {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
  to {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
}
@keyframes ani {
  from {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
  to {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
}
@-webkit-keyframes ani2 {
  from {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}
@keyframes ani2 {
  from {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}


.about {
  padding: 80px 0; /* quitamos padding lateral */
  background: #f5f7fa;
}

.about-wrapper {
  width: 100%;
  margin: 0;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* SECCIÓN */
.about {
  background: #f7f9fc;
  padding: 100px 0;
}

/* GRID PRINCIPAL */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
}

/* IMAGEN (pegada al borde) */
.about-right img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  display: block;
}

/* TEXTO */
.about-left {
  padding: 80px;
  max-width: 700px;
}



/* TITULO GRANDE */
.about-left h1 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 40px;
  color: #111;
}

/* BLOQUES */
.bloque {
  margin-bottom: 30px;
}

.bloque h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #111;
}

.bloque p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}


@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .about-left {
    padding: 40px 20px;
  }

  .about-right img {
    min-height: 300px;
  }

  .about-left h1 {
    font-size: 28px;
  }
}


.metodologia {
  padding: 120px 0;
  background: #ffffff;
}

/* LAYOUT */
.metodologia-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* IMAGEN */
.metodologia-img img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  display: block;
}

/* TEXTO */
.metodologia-content {
  padding: 0 80px;
  max-width: 620px;
}

/* LABEL */
.metodologia-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 20px;
  display: block;
}

/* TITULO */
.metodologia-content h2 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 50px;
  color: #111;
  font-weight: 500;
}

/* LISTA */
.metodologia-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.metodologia-lista li {
  margin-bottom: 28px;
}

.metodologia-lista strong {
  display: block;
  font-size: 16px;
  color: #111;
  margin-bottom: 6px;
}

.metodologia-lista p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}



@media (max-width: 900px) {
  .metodologia-wrapper {
    grid-template-columns: 1fr;
  }

  .metodologia-content {
    padding: 40px 20px;
  }

  .metodologia-img img {
    min-height: 300px;
  }

  .metodologia-content h2 {
    font-size: 26px;
  }
}

.valores-container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  text-align: center;
}

.valor-item img {
  width: 60px;
  height: 60px;
  
}

.valor-item h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  
}

.valor-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}


@media (max-width: 768px) {
  .valores-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


.imagenes-container {
  display: flex;
  justify-content: center;
  gap: 30px;

  max-width: 1200px;
  margin: 60px auto;

   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

   padding: 40px 20px;
}

.imagenes-container img {
  width: 30%;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


@media (max-width: 768px) {
  .imagenes-container {
    flex-direction: column;
    align-items: center;
  }

  .imagenes-container img {
    width: 90%;
  }
}

.footer {
  background: #000000;
  color: #fff;
  padding: 50px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  position: relative;
}

/* Separadores verticales */
.footer-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  height: 100%;
  width: 2px;
  background: #EFB810;
}

/* Logo */
.footer-logo img {
  max-width: 150px;
}

/* Títulos */
.footer-col h3 {
  color: #EFB810;
  margin-bottom: 15px;
  font-size: 18px;
}

/* Links */
.footer-col a {
  color: #fff;
  text-decoration: none;
}
.footer-col p {
  color: #fff;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

/* Lista */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

/* Redes sociales */
.footer-social {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.footer-social a {
  width: 35px;
  height: 35px;
  background: #fff;
  color: #2f3440;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
}



.sponsors {
  background: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.sponsors-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
  letter-spacing: 1px;
}

.sponsors-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.sponsors-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease;
  will-change: transform;
}

.sponsor-slide {
  flex: 1;
  max-width: 100%;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-sizing: border-box;
  text-decoration: none;
}

.sponsor-slide img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.sponsor-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* TABLET */
@media (max-width: 992px) {
  .sponsor-slide {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

/* MÓVIL */
@media (max-width: 768px) {
  .sponsors {
    padding: 50px 15px;
  }

  .sponsors-title {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .sponsor-slide {
    flex: 0 0 50%;
    max-width: 50%;
    height: 90px;
    padding: 10px;
  }

  .sponsor-slide img {
    max-height: 55px;
  }
}

.sponsors-title {
  background: #EFB810;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  display: inline-block;
  margin-bottom: 25px;
  font-size: 18px;
  letter-spacing: 1px;
}

.sponsors-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

