/* -------------------------------------- */
/* Estilos generales y tipografía */
/* -------------------------------------- */
:root {
  --color-principal: #0e529b; /* Azul profesional */
  --color-secundario: #343a40; /* Gris oscuro para texto */
  --color-fondo: #f8f9fa; /* Fondo claro */
  --color-acento: #28a745; /* Verde para destacar */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-secundario);
  background-color: var(--color-fondo);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1; /* Permite que el contenido principal ocupe el espacio */
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}

/* -------------------------------------- */
/* Encabezado (Header) */
/* -------------------------------------- */
header {
  background-color: var(--color-principal);
  color: white;
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 0.2em;
}

header p {
  font-size: 1.2em;
  opacity: 0.9;
}

/* -------------------------------------- */
/* Secciones de contenido */
/* -------------------------------------- */
section {
  padding: 40px 0;
  border-bottom: 1px solid #e9ecef;
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  color: var(--color-principal);
  font-size: 1.8em;
  margin-bottom: 15px;
  border-bottom: 3px solid var(--color-principal);
  display: inline-block;
  padding-bottom: 5px;
}

/* Lista de servicios */
.servicios ul {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.servicios li {
  background-color: white;
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--color-acento);
}

/* Banner provisional */
.provisional {
  text-align: center;
  background-color: #fff3cd; /* Amarillo suave */
  color: #856404; /* Texto oscuro */
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #ffeeba;
  margin-top: 30px;
}

.provisional strong {
  font-size: 1.1em;
}

/* -------------------------------------- */
/* Pie de página (Footer) */
/* -------------------------------------- */
footer {
  background-color: var(--color-secundario);
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
}

footer h2 {
  color: white;
  border-bottom-color: white;
  margin-bottom: 15px;
}

footer a {
  color: #a2d2ff; /* Un azul más claro para enlaces */
  text-decoration: none;
}

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

footer p:last-child {
  margin-top: 15px;
  font-size: 0.9em;
  opacity: 0.7;
}

/* -------------------------------------- */
/* Responsive (opcional pero recomendado) */
/* -------------------------------------- */
@media (max-width: 600px) {
  header h1 {
    font-size: 2em;
  }

  header p {
    font-size: 1em;
  }

  h2 {
    font-size: 1.5em;
  }
}
