.site-footer.site-footer--institutional {
  position: relative;
  z-index: 0;
  overflow: hidden;
  margin-top: clamp(-400px, -30vw, -300px);
  padding: clamp(300px, 30vw, 400px) 0 var(--space-12, 3rem);
  background: #08090d;
}

.site-footer--institutional .footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  padding: clamp(1.75rem, 3vw, 2.6rem);
  border: 1px solid var(--border-soft, rgba(255, 255, 255, 0.08));
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018) 28%, rgba(5, 8, 13, 0.94));
  box-shadow: var(--shadow-premium, 0 32px 80px rgba(0, 0, 0, 0.34));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-footer--institutional .footer-heading {
  margin: 0 0 1.25rem;
  color: var(--text-tertiary, #6e7183);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-footer--institutional .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer--institutional .footer-link {
  position: relative;
  display: block;
  width: fit-content;
  color: var(--text-secondary, #b4b6c2);
  font-size: 0.85rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer--institutional .footer-link::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-primary, #2d7ff9);
  content: "";
  transition: width 0.25s var(--ease-premium, ease);
}

.site-footer--institutional .footer-link:hover {
  transform: translateX(2px);
  color: var(--text-primary, #f4f4f7);
}

.site-footer--institutional .footer-link:hover::after {
  width: 100%;
}

.site-footer--institutional .footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.site-footer--institutional .footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: auto;
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px rgba(0, 0, 0, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-premium, ease), box-shadow 0.3s ease, color 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-footer--institutional .footer-badge svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.site-footer--institutional .badge-emerald { border-color: rgba(16, 185, 129, 0.16); color: #b9f7de; }
.site-footer--institutional .badge-amber { border-color: rgba(245, 158, 11, 0.16); color: #f8ddb1; }
.site-footer--institutional .badge-purple { border-color: rgba(139, 92, 246, 0.16); color: #dccfff; }
.site-footer--institutional .badge-orange { border-color: rgba(249, 115, 22, 0.16); color: #ffd2b1; }
.site-footer--institutional .badge-indigo { border-color: rgba(99, 102, 241, 0.16); color: #cfd5ff; }
.site-footer--institutional .badge-slate { border-color: rgba(148, 163, 184, 0.16); color: #dfe6ef; }
.site-footer--institutional .badge-rose { border-color: rgba(244, 63, 94, 0.16); color: #ffd0d8; }

.site-footer--institutional .footer-home-pt-grid {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 2rem;
}

.site-footer--institutional .footer-home-pt-brand > img {
  width: auto;
  height: 2.4rem;
  opacity: 0.88;
}

.site-footer--institutional .footer-brand-desc {
  max-width: 34ch;
  margin-top: 1rem;
  color: var(--text-tertiary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.site-footer--institutional .footer-home-pt-nif {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: var(--text-xs, 0.8rem);
}

.site-footer--institutional .footer-home-pt-hubs {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.site-footer--institutional .footer-home-pt-hub {
  color: var(--text-tertiary);
  font-size: 0.75rem;
  line-height: 1.65;
}

.site-footer--institutional .footer-home-pt-hub-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.25rem;
  color: var(--text-secondary);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer--institutional .footer-home-pt-hub-icon {
  width: 0.78rem;
  height: 0.78rem;
  flex: 0 0 auto;
}

.site-footer--institutional .footer-home-pt-contact .footer-link {
  max-width: 100%;
}

.site-footer--institutional .footer-home-pt-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.site-footer--institutional .footer-home-pt-contact-link--whatsapp {
  color: #72dda0;
}

.site-footer--institutional .footer-home-pt-contact button.footer-link {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.site-footer--institutional .footer-home-pt-subgroup {
  margin-top: 2rem;
}

.site-footer--institutional .footer-home-pt-badges {
  align-items: flex-start;
  margin-top: 1.35rem;
}

.site-footer--institutional .footer-home-pt-badges .footer-badge {
  width: auto;
  max-width: 100%;
  text-transform: none;
}

.footer-zaask-badge {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 1rem;
}

.footer-zaask-badge img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-footer--institutional .footer-home-pt-language {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 1.3rem 0;
}

.site-footer--institutional .footer-home-pt-copyright {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 1.35rem;
  text-align: center;
}

.site-footer--institutional .footer-home-pt-copyright .footer-copy {
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer--institutional .footer-home-pt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .site-footer--institutional .footer-home-pt-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1280px) {
  .site-footer--institutional .footer-home-pt-grid {
    grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  }

  .site-footer--institutional .footer-home-pt-brand {
    grid-column: auto;
  }
}
