:root {
  --verde: #3c8c5a;
  --celeste: #7ec8e3;
  --amarillo: #ffd166;
  --fondo: #f5f7f4;
  --texto: #222;
  --gris-claro: #e6e6e6;
  --sombra: rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background: var(--fondo);
  color: var(--texto);
}


header {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  background: white;
  border-bottom: 3px solid var(--verde);
  padding: 10px 20px;
  position: relative;
}


.logo img {
  height: 65px; 
  width: auto;
}

.menu-toggle {
  display: none; 
  font-size: 32px;
  background: none;
  border: none;
  color: var(--verde);
  cursor: pointer;
  transition: color 0.3s;
}

.menu-toggle:hover {
  color: var(--celeste);
}

nav.menu {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 15px;
  background: white;
  transition: all 0.3s ease;
  padding: 10px 0;
}

nav.menu a {
  display: inline-block;
  text-decoration: none;
  color: var(--texto);
  font-weight: bold;
  padding: 14px 24px;
  border-radius: 12px;
  border: 3px solid var(--verde);
  background: linear-gradient(135deg, var(--celeste), var(--amarillo));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-size: 1em;
  transition: all 0.3s ease;
}

nav.menu a:hover {
  background: var(--verde);
  color: white;
  transform: scale(1.05);
}

.hero img {
  width: 100%;
  display: block;
}

.nosotros-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.intro-nosotros {
  text-align: center;
  margin-bottom: 50px;
}

.intro-nosotros h1 {
  color: #2d7a2c;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.mision-vision {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 60px;
}

.mision-vision .card {
  flex: 1 1 300px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.mision-vision .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.mision-vision h2 {
  color: #2d7a2c;
  margin-bottom: 15px;
}

.mision-vision p {
  color: #444;
  line-height: 1.6;
}

.equipo {
  text-align: center;
  margin-bottom: 60px;
}

.miembros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.persona {
  flex: 1 1 250px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.persona img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.impacto {
  text-align: center;
  margin-bottom: 60px;
}

.impacto h2 {
  color: #000000;
  margin-bottom: 30px;
}

.logros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.logros div h3 {
  color: #2d7a2c;
  font-size: 2rem;
}

.cta {
  text-align: center;
  margin-bottom: 60px;
}

.cta h2 {
  color: #000000;
  margin-bottom: 20px;
}

.boton-verde {
  display: inline-block;
  background: #2d7a2c;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.boton-verde:hover {
  background: #256d25;
}

footer {
  background: var(--celeste);
  color: #000;
  font-size: 11px;
  text-align: center;
  padding: 20px;
  line-height: 1.4em;
}

@media (min-width: 700px) {
  .contenedor {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contenedor {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block; 
  }

  nav.menu {
    display: none;
    flex-direction: column;
    background: white;
    border-top: 3px solid var(--verde);
    padding: 15px;
    position: absolute; 
    top: 55px;
    left: 0;
    width: 100%;
    z-index: 10;
  }

  nav.menu.active {
    display: flex;
  }

  nav.menu a {
    font-size: 1.1em;
    margin: 8px 0;
    border-width: 2px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}
