/* ============================================================
   Footer profesional — template Riskon / mentoria
   navy #173856 · acento #e77235
   ============================================================ */

/* ---------- Newsletter como tarjeta destacada ---------- */
.newlatter .newslatter-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e4a70 0%, #173856 65%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.55);
}
.newlatter .newslatter-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e77235, #f2a06a);
}
.newlatter .newslatter-wrapper h3 .black {
  color: #f2a06a !important;
}
.newlatter .color-sec {
  color: rgba(255, 255, 255, 0.7) !important;
}
.newlatter .input-block {
  border-color: rgba(255, 255, 255, 0.25) !important;
}
.newlatter .cus-btn.bg-white {
  background: #e77235 !important;
  border-color: #e77235 !important;
}
.newlatter .cus-btn.bg-white .text {
  color: #ffffff !important;
}
.newlatter .cus-btn.bg-white:hover {
  background: #d5641f !important;
}

/* ---------- Footer navy (template) ---------- */
footer {
  position: relative;
  margin-top: 0 !important;
  padding-top: clamp(48px, 4vw, 80px) !important;
  padding-bottom: 0 !important;
  background-color: #173856 !important;
  background-image: linear-gradient(180deg, #173856 0%, #122c45 100%) !important;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, rgba(231, 114, 53, 0.15) 0%, #e77235 50%, rgba(231, 114, 53, 0.15) 100%);
}

footer .footer-logo {
  width: clamp(128px, 8.977vw, 200px);
  max-width: 100%;
  height: auto;
}

footer p,
footer .dark-gray,
footer .light-gray,
footer .subtitle {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* Titulos de columna con subrayado naranja */
footer h5 {
  position: relative;
  color: #ffffff !important;
  padding-bottom: 14px;
  margin-bottom: 22px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(14px, 0.95vw, 16px);
}

footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: #e77235;
}

/* Contacto — iconos naranja */
footer .svg-block {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #e77235;
}

footer .svg-block path {
  stroke: #e77235;
}

footer a.black,
footer .h6.black {
  color: #ffffff !important;
  transition: color 0.25s ease, opacity 0.25s ease;
}

footer a.black:hover,
footer .h6.black:hover,
footer .hover-content:hover {
  color: #f2a06a !important;
  opacity: 1;
}

/* link-wrapper — 3 columnas como template */
footer .link-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 44px;
  column-gap: 24px;
  padding-right: clamp(0px, 2vw, 48px);
}

footer .link-wrapper > div {
  flex: 1 1 180px;
  min-width: 160px;
}

footer .link-wrapper ul .link a,
footer .link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none;
  font-weight: 400;
  line-height: 145%;
  font-size: clamp(14px, 0.833vw, 16px);
  transition: color 0.25s ease, gap 0.25s ease;
}

footer .link-wrapper ul .link a .linksvg,
footer .link a .linksvg {
  color: #e77235;
  flex-shrink: 0;
  width: 16px;
  height: 17px;
  transition: transform 0.25s ease;
}

footer .link-wrapper ul .link a:hover,
footer .link a:hover {
  color: #ffffff !important;
  gap: 10px;
}

footer .link-wrapper ul .link a:hover .linksvg,
footer .link a:hover .linksvg {
  transform: translateX(3px);
}

/* Publicaciones recientes (si se usa en el futuro) */
footer .recent-block {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.28s ease;
}

footer .recent-block:hover {
  transform: translateX(4px);
}

footer .recent-block .img-block img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

footer .recent-block .hover-content {
  color: #ffffff !important;
}

footer .recent-block .hover-content:hover {
  color: #e77235 !important;
}

/* Barra copyright (template footer-bottombar) */
.footer-bottombar {
  margin-top: clamp(28px, 3vw, 56px);
  padding: 20px 16px;
  text-align: center;
  background-color: #0f2a44;
  border-top: 2px solid rgba(231, 114, 53, 0.6);
}

.footer-bottombar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14px;
}

.footer-bottombar .fw-600 {
  color: #e77235 !important;
}

@media (max-width: 991px) {
  footer .link-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 32px;
    padding-right: 0;
  }

  footer .link-wrapper > div {
    flex: unset;
    min-width: 0;
    width: 100%;
  }
}
