/* ==================== ALIADOS ==================== */

html, body {
  font-family: 'Poppins', sans-serif !important;
}

html, body {
  height: 100%;
}

.titulo-box {
    position: relative;
    display: grid;
    border: 2px solid #000;
    padding: 20px 50px;
    border-radius: 5px;
    width: 60%;
}

.amarillo {
  background-color: #ffe413;
}

.titulo-texto {
    font-weight: 800;
    font-size: 2.3rem;
    margin: 0;
    color: #fff;
}

.titulo-icon {
    width: 59px;
    position: absolute;
    left: -35px;
    top: 11px;
}

.azul-marino {
  background-color: #406ab2;
}

.naranja {
  background-color: #fe7424;
}


.aliados {
  background-color: #4faee1;
  padding: 80px 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
}


.aliados-texto {
  background: #4ebb83;
  border-radius: 5px;
  padding: 24px 30px;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #000;
  border: 1px solid #000;
  font-size: 20px;
}

.aliados-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.aliado img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid #000;
  background: #fff;
}

.aliado {
  position: relative;
}

.aliado p {
 background: #1e3a8a;
    color: #fff;
    padding: 25px 20px;
    margin-top: 8px;
    font-weight: 600;
    border-radius: 4px;
    position: absolute;
    width: 259px;
    bottom: -16px;
    left: 260px;
    font-size: 20px;
    border: 2px solid #000;
}

/* ==================== DONATIVOS ==================== */
.donativos {
  background: #4faee1;
  padding: 80px 20px;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.donativos-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.donativos-texto {
  max-width: 500px;
  color: #fff;
  line-height: 1.6;
  text-align: left;
  font-size: 20px;
  text-align: center;
}

.donativos-botones {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 117px;
}

.btn {
  display: inline-block;
  padding: 12px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border: 3px solid #000;
  transition: transform 0.2s;
  text-decoration: none;
}

.btn:hover {
  transform: scale(1.05);
}

.btn.banorte { background: #dc2626; color: #fff; }
.btn.paypal { background: #2563eb; color: #fff; }
.btn.voluntario { background: #f97316; color: #fff; }

/* ==================== VOLUNTARIADO ==================== */
.voluntario {
  background: #f97316;
  background-image: url("patron-lego.png");
  background-size: 180px;
  color: #000;
  padding: 80px 20px;
  font-family: "Poppins", sans-serif;
}

.voluntario-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fde047;
  font-weight: 800;
  font-size: 1.8rem;
  padding: 12px 30px;
  width: fit-content;
  margin: 0 auto 40px;
  border-radius: 8px;
  box-shadow: 0 4px 0 #000;
}

.voluntario-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Columna izquierda */
.voluntario-info {
  width: 260px;
  text-align: center;
}

.voluntario-info h2{
  background-color: #fde047;
  color: #4faee1;
  padding: 20px;
  text-align: center;
  font-weight: 700;
  border: 2px solid #000;
  border-radius: 4px;
}

.voluntario-info img {
  width: 160px;
  margin-bottom: 20px;
}

.logo {
  background-color: #fff;
  padding-top: 10px;
  border: 2px solid #000;
  border-radius: 4px;
}

.info {
  background-color: #4faee1;
  padding-top: 10px;
  border: 2px solid #000;
  border-radius: 4px;
  margin-top: 10px;
}

.voluntario-info p {
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: #fff;
}

.voluntario-info .btn.enviar {
  background: #fde047;
  color: #ff3b40;
  border-radius: 4px;
  padding: 10px 30px;
  font-weight: 800;
  width: 100%;
  border: 2px solid #000;
  margin-top: 10px;
  font-size: 30px;
}

/* Formulario */
.voluntario-form {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 30px;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border: 2px solid #000;
}

.campo {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.campo.full {
  grid-column: span 2;
}

.campo label {
  font-weight: 600;
  margin-bottom: 6px;
}

.campo input,
.campo textarea {
  border: 2px solid #2563eb;
  border-radius: 6px;
  padding: 10px;
  font-size: 0.95rem;
  outline: none;
}

.campo textarea {
  min-height: 100px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
  .donativos-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ===========================
   RESPONSIVE — SOLO MÓVIL
   (≤ 768px)
=========================== */
@media (max-width: 768px) {

  /* --- TÍTULOS --- */
  .titulo-box {
    width: 90%;
    padding: 15px 25px;
  }

  .titulo-texto {
    font-size: 1.8rem;
    text-align: center;
  }

  .titulo-icon {
    width: 45px;
    left: -25px;
    top: 8px;
  }


  /* ===========================
        ALIADOS
  ============================ */

  .aliados {
    padding: 50px 15px;
    margin-top: 30px;
  }

  .aliados-texto {
    font-size: 17px;
    padding: 20px;
    margin-bottom: 0px;
  }

  .aliado img {
    width: 250px;
    height: 250px;
  }

  .aliado p {
    font-size: 20px;
    padding: 12px 10px;
    width: fit-content;
    margin: 10px auto 0;
    bottom: 0px;
    left: 0px;
    position: relative;
    text-align: center;
    margin-top: -22px;
  }


  /* ===========================
        DONATIVOS
  ============================ */

  .donativos {
    padding: 60px 15px;
  }

  .donativos-texto {
    font-size: 17px;
    max-width: 100%;
    padding: 0 10px;
  }

  .donativos-botones {
    margin-top: 30px;
    gap: 15px;
  }

  .donativos-botones img {
    width: 330px;
    margin: 0 auto;
  }


  /* ===========================
        VOLUNTARIADO
  ============================ */

  .voluntario {
    padding: 60px 15px;
    background-size: 140px;
  }

  .voluntario-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .voluntario-info {
    width: 100%;
    max-width: 330px;
  }

  .voluntario-info h2 {
    font-size: 1.6rem;
  }

  .logo img {
    width: 130px;
  }

  .info {
    padding: 12px;
  }

  .voluntario-info .btn.enviar {
    font-size: 22px;
    padding: 10px 25px;
  }

  /* Formulario */
  .voluntario-form {
    grid-template-columns: 1fr !important;
    padding: 20px;
  }

  .campo.full {
    grid-column: span 1 !important;
  }

  .campo input,
  .campo textarea {
    font-size: 0.9rem;
  }
}

/* =================================================
   RESPONSIVE EXTRA SMALL — ≤ 480px (opcional)
================================================= */
@media (max-width: 480px) {

  .titulo-texto {
    font-size: 1.5rem;
  }

  .titulo-icon {
    width: 38px;
    left: -20px;
  }

  .donativos-botones img {
    width: 330px;
  }

  .voluntario-info .btn.enviar {
    font-size: 20px;
  }
}
