body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000000; /* Negro */
  padding: 10px 20px;
}
.logo img {
  height: 60px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}
.hero {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
}
.hero h1 {
  font-size: 2.5rem;
  color: #b30000;
}
.hero p {
  max-width: 800px;
  margin: 10px auto;
}
.slogan {
  margin-top: 20px;
  font-size: 1.5rem;
  color: #333;
  font-style: italic;
}
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  background-color: #f1f1f1;
}
.service {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px;
  width: 300px;
  text-align: center;
}
.service h3 {
  color: #b30000;
}
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #b30000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.btn:hover {
  background-color: #8c0000;
}
footer {
  text-align: center;
  padding: 20px;
  background-color: #b30000;
  color: white;
}
form {
  max-width: 600px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
label {
  font-weight: bold;
}
input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
button {
  padding: 10px 15px;
  background-color: #b30000;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}
button:hover {
  background-color: #8c0000;
}
/* -------- Responsive -------- */
@media (max-width: 768px) {
  /* Header */
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .logo img {
    height: 50px;
  }

  /* Hero text */
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    padding: 0 10px;
  }

  .slogan {
    font-size: 1.2rem;
  }

  /* Services section */
  .services {
    flex-direction: column;
    align-items: center;
  }

  .service {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .slogan {
    font-size: 1rem;
  }
}
footer {
  text-align: center;
  padding: 20px;
  background-color: #b30000; /* mantiene el color rojo original */
  color: white; /* mantiene el texto en blanco */
}

footer p {
  margin: 0;
  font-size: 14px;
}

footer .legal-links {
  margin-top: 8px;
}

footer .legal-links a {
  font-size: 13px;
  color: white; /* los enlaces en blanco para que contraste */
  text-decoration: underline; /* opcional: que se vean como enlaces */
  margin: 0 5px;
}

footer .legal-links a:hover {
  color: #FFD700; /* opcional: color dorado al pasar el ratón */
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-size: 14px;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 60%;
}

.cookie-banner a {
  color: #FFD700;
  text-decoration: underline;
}

.cookie-banner button {
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 16px;
  cursor: pointer;
  flex: 1 1 30%;
  max-width: 120px;
  margin-left: 10px;
  transition: background 0.3s;
}

.cookie-banner button:hover {
  background-color: #0056b3;
}

/* Ajuste responsive para móviles */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner p, .cookie-banner button {
    flex: 1 1 100%;
    margin: 5px 0;
  }
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 15px 20px;
    display: flex !important; /* mantiene flex */
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-size: 14px;
}

    .cookie-banner.hidden {
        display: none !important; /* fuerza ocultar */
    }

