body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f6efe7;
  color: #222;
}

header {
  background-color: #1e3a5f;
  color: white;
  text-align: center;
  padding: 32px 20px;
}

header img {
  width: 190px;
  border-radius: 12px;
  background-color: white;
  padding: 8px;
}

main {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
}

section {
  background-color: white;
  margin-bottom: 25px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

section p {
    line-height: 1.6;
}

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

section li {
  padding: 14px 16px;
  margin-bottom: 10px;
  background-color: #f6efe7;
  border-left: 5px solid #d62828;
  border-radius: 8px;
  font-weight: bold;
}

h1 {
  font-size: 38px;
  margin-bottom: 0;
}

h2 {
  color: #d62828;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 32px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.formulario-contenido {
    max-width: 520px;
    margin: 0 auto;
}

form {
    width: 100%;
    margin: 0;
}

form div {
    margin-bottom: 15px;
}
input,
select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  box-sizing: border-box;
}

button {
  background-color: #d62828;
  width: 100%;
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
    background-color: #b91c1c;
}

footer {
  background-color: #1e3a5f;
  color: white;
  text-align: center;
  padding: 20px;
}

.llamada_accion {
    display: inline-block;
    background-color: #d62828;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
}

.mapa {
  width: 100%;
  height: 360px;
  margin-top: 15px;
  border: 0;
  border-radius: 12px;
  display: block;
}

.mensaje-exito {
  background-color: #e8f8ee;
  color: #155724;
  border-left: 6px solid #28a745;
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: 10px;
  font-weight: bold;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mensaje-error {
  background-color: #fdeaea;
  color: #842029;
  border-left: 6px solid #d62828;
  padding: 12px 14px;
  margin-top: 8px;
  border-radius: 8px;
  font-weight: bold;
  line-height: 1.4;
}

/*--------------------------------Móvil*/
@media (max-width: 768px) {

  h1 {
    font-size: 30px;
  }

  section {
    padding: 20px;
  }

  form {
    max-width: 100%;
  }

  header img {
    width: 150px;
  }

  .mapa {
    height: 280px;
  }

}