/* --- Reset básico --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
  font-size: 1rem; /* Mejor uso de unidades relativas */
}

/* --- Encabezado --- */
header {
  background: linear-gradient(90deg, #ffe600, #ffd200);
  text-align: center;
  padding: 2em;
  animation: headerPulse 3s infinite;
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #111;
}

header p {
  font-size: 1.3em;
  margin-bottom: 1em;
}

/* --- Animación de encabezado --- */
@keyframes headerPulse {
  0% { background-color: #ffe600; }
  50% { background-color: #fff176; }
  100% { background-color: #ffe600; }
}

/* --- Botones --- */
.btn {
  display: inline-block;
  margin: 0.5em;
  padding: 0.7em 1.4em;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
  font-size: 1em;
}

.btn:hover {
  background: #555;
}

/* --- Secciones --- */
section {
  padding: 2em;
  background-color: #fff;
  margin: 1em auto;
  max-width: 800px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border-radius: 10px;
  animation: fadeIn 1s ease;
}

h2 {
  font-size: 1.8em;
  margin-bottom: 0.7em;
  color: #444;
}

p {
  margin-bottom: 1em;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin: 0.5em 0;
  padding-left: 1.2em;
  position: relative;
}

ul li::before {
  content: "✔️";
  position: absolute;
  left: 0;
}

/* --- Testimonios --- */
blockquote {
  font-style: italic;
  background: #fcfcfc;
  border-left: 4px solid #ffcc00;
  margin: 1em 0;
  padding: 1em;
  border-radius: 6px;
}

/* --- Footer --- */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 2em;
  font-size: 0.9em;
}

footer a {
  color: #ffd700;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* --- Animación general --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Sección mapa --- */
.map-section {
  background: #fafafa;
  padding: 2em;
  text-align: center;
}

.map-section iframe {
  width: 100%;
  max-width: 700px;
  height: 400px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* --- Sección campañas --- */
.campaigns {
  background: #fff8e1;
  padding: 2em;
  border: 1px solid #ffe082;
  border-radius: 10px;
  margin: 2em auto;
  max-width: 800px;
}

.campaigns h3 {
  color: #d27b00;
  margin-bottom: 1em;
}

.campaigns p {
  font-weight: 500;
}

/* --- Estilos Responsivos para móviles --- */
@media (max-width: 768px) {
  header {
    padding: 1.5em;
  }

  header h1 {
    font-size: 2em;
  }

  header p {
    font-size: 1.1em;
  }

  .btn {
    display: block;
    width: 90%;
    margin: 0.5em auto;
    font-size: 1em;
    text-align: center;
  }

  section {
    padding: 1.5em;
    margin: 1em;
  }

  h2 {
    font-size: 1.5em;
  }

  blockquote {
    font-size: 0.95em;
  }

  footer {
    padding: 1.5em;
    font-size: 0.85em;
  }

  .map-section iframe {
    height: 300px;
  }
}
