* { margin:0; padding:0; box-sizing:border-box; }
html {
  scroll-behavior: smooth;
}


@font-face {
  font-family: 'Bahnschrift';
  src: url('bahnschrift.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.texto-general
{
  font-family:'Bahnschrift', sans-serif;
  font-size: larger;
}

.navbar {
  background: #0d0636; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}

.nav-logo img { height: 52px; max-width: 100%; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
}
.nav-links img { height: 32px; cursor: pointer; transition: opacity .2s; }
.nav-links img:hover { opacity: .75; }

.nav-donar img { height: 52px; cursor: pointer; transition: transform .2s; }
.nav-donar img:hover { transform: scale(1.05); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.hero-wrap {
  width: 100%;
  overflow: hidden;
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1136 / 517;
  overflow: hidden;
}

.hero-main-logo {
  position: absolute;
  left: 8%;
  top: 6%;
  width: 46%;
  z-index: 5;
}
.hero-main-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-cta {
  position: absolute;
  left: 8%;
  top: 70%;
  width: 27%;
  z-index: 5;
}
.hero-cta img {
  display: block;
  width: 100%;
  cursor: pointer;
  transition: transform .2s;
  object-fit: contain;
}
.hero-cta img:hover { transform: scale(1.05); }

.runner {
  position: absolute;
  right: -3%;
  bottom: -3%;
  height: 106%;
  width: auto;
  object-fit: contain;
  z-index: 4;
}

.hexagono {
  position: absolute;
  right: 10%;
  bottom: 8%;
  width: 19%;
  z-index: 6;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}


.panels-row, .panels-row-2 {
  display: flex;
  gap: 15px;
  background: transparent;
  padding: 28px 2% 8px;
  justify-content: center;
  align-items: flex-start;
}
.panels-row-2 { padding: 8px 2% 28px; }
.panel-item {
  flex: 1;
  max-width: 32%;
}
.panel-item img {
  width: 100%;
  height: auto;
  display: block;
}

.registro-section {
  position: relative;
  background: transparent;
  padding: 40px 3%;
  overflow: hidden;
}
.registro-title {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.registro-title img { max-width: 600px; width: 100%; }

.org-section {
  position: relative;
  background: transparent;
  padding: 40px 5% 50px;
  overflow: hidden;
}
.org-watermark {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  opacity: 0.08;
  pointer-events: none;
}
.org-title {
  text-align: center;
  margin-bottom: 36px;
}
.org-title img { max-width: 700px; width: 100%; }
.org-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.org-grid img {
  max-height: 80px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}
.org-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 12px 0;
}

.patro-section {
  background: transparent;
  padding: 40px 5% 60px;
}
.patro-title {
  text-align: center;
  margin-bottom: 8px;
}
.patro-title img { max-width: 700px; width: 100%; }
.patro-unete {
  text-align: center;
  margin-bottom: 32px;
}
.patro-unete img { max-width: 260px; width: 100%; }
.patro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto 30px;
}

.patro-grid img {
  max-height: 80px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}
.patro-box {
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: 10px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
  cursor: pointer;
}
.patro-box:hover { border-color: rgba(247,194,1,0.5); }

.contacto-section {
  position: relative;
  background: transparent; 
  padding: 60px 5%;
  overflow: hidden;
}
.contacto-title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 50px;
}
.contacto-title-container .rayos {
  position: absolute;
  width: 100%;
  max-width: 500px; 
  z-index: 1;
}
.contacto-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}
.contacto-izq {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding-right: 20px;
}
.contacto-izq .corazon { height: 50px; }
.contacto-izq .logo-principal {
  max-width: 320px;
  width: 100%;
  margin-bottom: 10px;
}
.contacto-izq .redes {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end; 
  width: 100%;
}
.contacto-izq .redes img { height: 30px; object-fit: contain; }
.contacto-divisor {
  width: 2px;
  background: white;
  opacity: 0.7;
  border-radius: 2px;
}
.contacto-der {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-left: 20px;
}
.contacto-der .logo-trans {
  height: 40px;
  align-self: center; 
  margin-bottom: 15px;
}
.contacto-der .redes {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.contacto-der .redes img { height: 30px; object-fit: contain; }


@media (max-width: 992px) {
  body { background-size: 150% auto; } 

  .panels-row, .panels-row-2 { flex-wrap: wrap; }
  .panel-item { max-width: 48%; margin-bottom: 15px; }
  .patro-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid { flex-direction: column; align-items: center; gap: 30px; }
  .contacto-izq, .contacto-der { padding: 0; align-items: center; }
  .contacto-izq .redes, .contacto-der .redes { align-items: center; }
  .contacto-divisor { width: 80%; height: 2px; }
}

@media (max-width: 768px) {
  body { background-size: 250% auto; } 

  .hero-wrap {
    height: auto;
    display: block;
  }

  .hero {
    position: relative;
    aspect-ratio: unset;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0 40px;
    gap: 18px;
  }

  .hero-visuals,
  .hero-content {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }


  .runner {
    position: static;
    order: 1;
    height: auto;
    width: 85%;
    max-width: 520px;
  }


  .hexagono {
    position: static;
    order: 2;
    height: auto;
    width: 45%;
    max-width: 135px;
  }

  .hero-main-logo {
    position: static;
    order: 3;
    width: 80%;
    max-width: 380px;
  }

  .hero-cta {
    position: static;
    order: 4;
    width: 55%;
    max-width: 260px;
  }
  
  .navbar { padding: 10px 20px; }
  .menu-toggle { display: block; }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0d0636;
    padding: 20px 0;
    gap: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }
  
  .nav-links.active { display: flex; }
  .nav-donar { display: none; } 

  .panels-row, .panels-row-2 { 
    flex-direction: column; 
    align-items: center; 
    gap: 20px;
    padding: 20px 5%;
  }
  .panel-item { 
    max-width: 100%; 
    width: 100%; 
    flex: none;
  }
  
  .patro-grid { grid-template-columns: repeat(1, 1fr); }
}