/* ========== Reset y Generales ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

body {
  background: url("../Imagenes/fondo_1.png") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

.wrapper {
  background: url("../Imagenes/fondo_1.png") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

/* ========== Header ========== */
header {
  padding: 0;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  margin-left: -60px;
  margin-top: 20px;
}

.logo {
  height: 250px;
  width: auto;
  border-radius: 50%;
}

#titulo {
  margin-left: 20px;
}

.Menu-header {
  display: flex;
  gap: 20px;
  margin-right: 2.5rem;
}

.Menu-header a {
  font-size: 18px;
  color: black;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: 0.3s ease, transform 0.2s ease;
}

.Menu-header a:hover {
  color: #27bd1f;
  transform: scale(1.05);
}

#language-select {
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

#language-select:hover {
  border-color: #27bd1f;
}

/* ========== Publicidad ========== */
.publicidad {
  /*display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0;
  margin-top: 50px;
  width: 100%;
  */
  margin: 70px auto 0 auto;
  padding: 0 20px;
  max-width: 900px;
  transition: transform 0.3s ease;
}

.publicidad:hover {
  transform: scale(1.02);
}

.banner-container {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0;
  margin: 0;
}

.banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.texto-publicidad {
  padding: 40px 30px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.texto-publicidad p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 20px;
}



.frase-azul {
  color: #1f3a65;
  font-weight: 600;
}

.frase-roja {
  color: #1f3a65;
  font-weight: 700;
}

.boton-publicidad a {
  display: inline-block;
  border-radius: 10px;
  background-color: #1f3a65;
  padding: 8px 10px;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s ease, transform 0.2s ease;
}

.boton-publicidad a i {
  margin-right: 8px;
  color: #27bd1f;

}

.boton-publicidad a:hover {
  background-color: #5882c5;
  color: #ffffff;
  transform: scale(1.05);
}

/* ========== Hyperlinks / Cards ========== */
.hyperlink {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 70px;
}

.link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 430px;
  background-color: #929292;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out;
}

.link-img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  display: block;
}

.link-text {
  color: white;
  font-size: 24px;
  font-weight: bold;
  padding: 15px;
  text-align: left;
  width: 100%;
  background-color: #929292;
  display: flex;
  gap: 8px;
}

.link-text i {
  font-size: 28px;
}

.link:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.link:hover .link-text {
  color: #000000;
}

/* ========== Sección Principal ========== */
.container-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding-top: 40px;
  box-sizing: border-box;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0));
  animation: fadeIn 1s ease-in-out;
}

.bienvenida {
  margin: 0 auto 100px auto;
  padding: 0 20px;
  max-width: 900px;
}

.informacion {
  padding: 40px 30px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.informacion:hover {
  transform: scale(1.02);
}

.informacion h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1f3a65;
  font-weight: 700;
}

.informacion p {
  font-size: 19px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}


/* ========== Bloque Final ========== */
.bloque-final {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px 50px 40px;
  margin-top: 100px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.bloque-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bloque-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.bloque-card h4 {
  font-size: 22px;
  margin-bottom: 15px;
  position: relative;
  color: #2c2c2c;
}

.bloque-card h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: #afa081;
  margin-top: 8px;
}

.bloque-card p {
  font-size: 19px;
  line-height: 1.6;
  color: #444;
}

/* ========== Footer ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer {
  background-color: #24262b;
  padding: 20px 0;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
}

.footer-links {
  width: 25%;
  padding: 0 15px;
}

.footer-links h4 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: 500;
  border-bottom: 2px solid #afa081;
  padding-bottom: 10px;
  display: inline-block;
}

.footer-links ul li a {
  font-size: 18px;
  text-decoration: none;
  color: #bbbbbb;
  display: block;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.social-links a {
  display: inline-block;
  min-height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}

.social-links a:hover {
  background-color: #afa081;
}

/* ========== Animaciones ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .logo {
    height: 200px;
  }

  .Menu-header a {
    font-size: 14px;
    right: 1.5rem;
  }

  @media (max-width: 430px) {
  .hyperlink {
    gap: 20px; 
    padding: 0 10px; 
  }

  .link {
    width: 100%;
    max-width: 100%;
  }

  .link-text {
    font-size: 18px; 
    padding: 10px;
    gap: 6px;
  }

  .link-text i {
    font-size: 22px;
  }

  .link-img {
    height: 180px; 
  }
}
  .publicidad {
    flex-direction: column;
  }

  .banner-container,
  .texto-publicidad {

    max-width: 100%;
    flex: 0 0 100%;
  }

  .texto-publicidad {
    padding: 20px;
  }

  .texto-publicidad {
    font-size: 1.2rem;
    ;
  }
}

@media (max-width: 991px) {
  .footer-row {
    text-align: center;
  }

  .footer-links {
    width: 100%;
    margin-bottom: 30px;
  }
}