/* ===============================
   FOOTER BASE
   =============================== */
.footer-rnec {
  background: #002d55;
  color: #f5f7fa;
  padding: 50px 0 0;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  position: relative;
  margin: 0;
}

.footer-logo-img {
  width: 160px;
  margin-bottom: 15px;
  display: block;
}

.footer-rnec p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-rnec i {
  color: #00b0ac;
}

/* ===============================
   ENLACES
   =============================== */
.footer-links {
  margin-top: 105px;
  padding-left: 120px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #f5f7fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00b0ac;
}

/* ===============================
   REDES SOCIALES
   =============================== */
.footer-social {
  margin-top: 105px;
}

.footer-social .social-icons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.footer-social .social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00b0ac;
  color: #fff;
  transition: all 0.3s ease;
  font-size: 18px;
  line-height: 1;
}

.footer-social .social-icon:hover {
  background: #00b0ac;
  color: #002d55;
  transform: translateY(-3px);
}

/* ===============================
   LÍNEA INFERIOR
   =============================== */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  padding: 15px 0 10px;
  font-size: 14px;
  color: #b0c7dc;
  background: #002b50;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 992px) {
  .footer-links,
  .footer-social {
    margin-top: 60px;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .footer-container .row {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo,
  .footer-links,
  .footer-social {
    text-align: center;
    margin-top: 30px;
  }

  
  .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-logo-img {
    margin-top: 10px; 
    margin-bottom: 10px; 
  }

  .footer-links {
    padding-left: 0;
  }

  .footer-social .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-social .social-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}


@media (max-width: 480px) {
  .footer-logo-img {
    width: 130px;
  }

  .footer-links ul li {
    margin-bottom: 6px;
  }

  .footer-bottom {
    font-size: 13px;
    line-height: 1.4;
  }
}



/* ===============================
   HEADER RNEC - Solicitud Apostilla
   =============================== */

.header-rnec {
  position: relative;
  width: 100%;
  height: 220px;
  background: 
    linear-gradient(rgba(0, 45, 85, 0.75), rgba(0, 45, 85, 0.75)),
    url("../images/fachada_regis.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-position: 60% 40%;
}

/* Capa superior */
.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Estructura del contenido */
.header-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 0 60px;
  color: #fff;
}

/* LOGO */
.header-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.header-logo img {
  width: 230px; 
  height: auto;
  margin-top: 42px;
}

/* TÍTULO */
.header-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.header-title h1 {
  color: #fff !important;
  background: transparent !important;
  border: none !important;
  font-size: 40px;
  font-weight: 900;
  margin: 0;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.header-title i {
  color: #00b0ac;
  font-size: 42px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-rnec {
    height: 180px;
  }

  .header-content {
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
  }

  .header-logo img {
    width: 120px;
    margin-bottom: 10px;
  }

  .header-title {
    position: relative;
    left: 0;
    transform: none;
  }

  .header-title h1 {
    font-size: 26px;
  }
}
#guia_lectura {
  position: fixed !important; 
  top: 0;
  left: 0;
  width: 100%;
  height: 2px; 
  background-color: transparent; 
  z-index: 9999;
  pointer-events: none; 
  margin: 0 !important;
  padding: 0 !important;
}
