body {
  background-color: #ffffff;
  color: #000080;
  font-size: 1.1em;
  font-family: 'Georgia', serif;
  width: 80%;
  margin: auto;
}

header {
  text-align: center;
  padding: 2rem;
  background: #006699;
  color: white;
  font-family: 'Playfair Display', serif;
}

.intro {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background: white;
  transition: background-color 0.3s ease;
  color: #000080;
}

.card {
  background: white;
  border: 1px solid #000080;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 250px;
  padding: 1rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.card a {
  color: #000080;
  text-decoration: none;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
  font-weight: bold;
}

.card h3 {
  margin-top: 0;
  font-family: 'Playfair Display', serif;
  color: #000080;
}

.card:hover {
  transform: translateY(-5px);
  background-color: #006699;
  color: white;
}

/* 🔧 Nuevas reglas para cambiar el color del contenido interno al hacer hover */
.card:hover h3,
.card:hover p,
.card:hover a,
.card:hover ul,
.card:hover li {
  color: white;
}

/* Opcional: si tienes botones dentro del card */
.card:hover .btn {
  background-color: white;
  color: #006699;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #006699;
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background-color: #ffffff;
  color: #006699;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

footer {
  background-color: #006699;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1rem;
  border-top: 1px solid #000080;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.footer-links a:hover {
  background-color: #ffffff;
  color: #000080;
}

h1 {
  font-family: Georgia, Serif;
  font-size: 2.3em;
  text-align: center;
  font-weight: bold;
}
img.suelta {
display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

h2 {
  font-family: Georgia, Serif;
  font-size: 1.6em;
  text-align: left;
  font-weight: bold;
}

p {
  font-family: Georgia, Serif;
  text-align: justify;
  font-size: 1em;
  line-height: 1.4;
}

p.center {
  text-align: center;
}

p.negrita {
  font-weight: bold;
}

ul {
  font-family: Georgia, Serif;
  text-align: left;
  font-size: 1em;
  line-height: 1.4;
}

table {
  border: 1px solid #800000;
  width: 100%;
}
.tracker{visibility:hidden!important;}

/* 📱 Responsive */
@media (max-width: 768px) {
  header {
    padding: 1.5rem;
    font-size: 1.2rem;
  }

  .intro {
    padding: 1rem;
    margin: 1rem;
    font-size: 1rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1.5rem;
  }

  .card {
    width: 90%;
    max-width: 350px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
  }

  footer {
    padding: 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links a {
    display: block;
    width: 100%;
    text-align: center;
  }

  footer {
    font-size: 1rem;
    padding: 1.5rem 1rem;
  }
}
