* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f4f4f4;
  color: #333;
}

header {
  background: #003366;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 15px;
  font-weight: bold;
}

/* --- Hero Section --- */
.hero {
  min-height: 600px;
  padding: 40px 20px 60px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("img/CPEM70_2.png");
  background-size: cover;
  background-position: center;

  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Alinea todo el contenido hacia abajo */
  align-items: center;

  color: white;
  text-align: center;
}

.hero p {
  margin: 15px 0;
  font-size: 20px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.hero button {
  padding: 15px 30px;
  border: none;
  background: #ff9800;
  color: white;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero button:hover {
  background: #e68a00;
}

/* --- Estilos para la Cita (Sin rectángulo) --- */
.cita-contenedor {
  background: transparent;
  border-left: none;
  box-shadow: none;
  backdrop-filter: none;
  
  padding: 0 25px;
  margin-top: 120px; /* Desplaza el grupo hacia la parte inferior */
  margin-bottom: 20px;
  max-width: 850px;
}

.cita-contenedor blockquote p {
  font-size: 1.4rem;
  font-style: italic;
  color: #ffffff;
  line-height: 1.5;
  margin: 0 0 10px 0;
  
  /* Sombra de texto para alta legibilidad sobre los ladrillos */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.cita-contenedor figcaption {
  text-align: right;
  font-weight: bold;
  color: #ffc107;
  font-size: 1.1rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* --- Secciones Generales --- */
section {
  padding: 60px;
}

footer {
  background: #003366;
  color: white;
  padding: 20px;
  text-align: center;
}

/* --- Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-contenido {
  background: #fff;
  width: 300px;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.modal-contenido form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-contenido input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
}

.modal-contenido input:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
}

.modal-contenido button {
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 15px;
  width: 150px;
}

.modal-contenido button:hover {
  background: #0056b3;
}

.cerrar {
  float: right;
  font-size: 25px;
  cursor: pointer;
}