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

html {
  scroll-behavior: smooth;
}

body {
  background: #f3f3f3;
}

/* CABECERA FIJA CON FLEXBOX */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 80px;
  z-index: 1000;
  font-size: 15px;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
}

.header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 25px;
  font-size: 14px;
}

.header nav a:hover {
  text-decoration: underline;
}

/* Enlace activo en el menú */
.header nav a.active {
  color: #4da3ff;
}

/* Separación del contenido respecto a la cabecera */
main {
  margin-top: 80px;
}

/* HERO CON CAPA OSCURA (index) */
.hero {
  position: relative;
  background: url("hero.jpg") center center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 160px 20px 140px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero-content p {
  margin-bottom: 25px;
}

.btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 25px;
  cursor: pointer;
}

/* SOLUCIONES (index) */
.solutions {
  background: #fff;
  text-align: center;
  padding: 40px 20px 80px;
}

.solutions h2 {
  margin-bottom: 30px;
  font-size: 24px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  padding: 25px 20px;
  width: 280px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.card p {
  font-size: 14px;
  margin-bottom: 20px;
}

.btn-secondary {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
}

/* PÁGINA E-LEARNING */
.elearning-main {
  background: #fff;
  padding: 40px 80px 80px;
}

.elearning-section {
  max-width: 900px;
  margin: 0 auto;
}

.elearning-section h1 {
  margin-bottom: 15px;
  font-size: 24px;
}

.elearning-section p {
  margin-bottom: 15px;
  font-size: 14px;
}

.elearning-section ul {
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}

.elearning-section li {
  margin-bottom: 5px;
}

/* PÁGINA CONTENIDOS */
.contenidos-main {
  background: #fff;
  padding: 40px 80px 80px;
}

.contenidos-section {
  max-width: 900px;
  margin: 0 auto;
}

.contenidos-section h1 {
  margin-bottom: 15px;
  font-size: 24px;
}

.contenidos-section h2 {
  margin: 30px 0 15px;
  font-size: 20px;
}

.contenidos-section p {
  margin-bottom: 15px;
  font-size: 14px;
}

.contenidos-section ul {
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}

.contenidos-section li {
  margin-bottom: 5px;
}

/* FORMULARIO DE RESERVA */
.reserva-form {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reserva-form label {
  font-size: 14px;
  margin-top: 5px;
}

.reserva-form input {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
}

.form-actions {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
}

/* PIE */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 12px;
}

