body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: #f5f8fa;
  color: #333;
}

header {
  background-image: url('images/headerimg1.png');
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 45, 85, 0.6); /* azul oscuro translúcido */
  z-index: 0;
}

header > * {
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: 3em;
  margin: 0 0 20px;
}

header p {
  font-size: 1.3em;
}


.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

section {
  margin-bottom: 60px;
}

h2 {
  color: #003865;
  margin-bottom: 20px;
}

ul {
  margin-left: 20px;
}

.highlight {
  background: #e0f2f1;
  padding: 20px;
  border-left: 5px solid #00796b;
  font-style: italic;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
}

.card img {
  width: 100%;
  border-radius: 8px 8px 0 0;
  height: 180px;
  object-fit: cover;
}

footer {
  background-color: #003865;
  color: white;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9em;
}

.contacto h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.contacto p {
  margin: 5px 0;
}
.contacto a {
  color: #00796b;
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #003865;
  color: white;
  padding: 15px 20px;
  font-size: 0.9em;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner a {
  color: #ffd700;
  text-decoration: underline;
}

.cookie-banner button {
  background: #00796b;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
}

.cookie-banner button:hover {
  background: #005e52;
}
