/* CLEVERSYS · Footer corporativo unificado V36 */
.cleversys-footer,
.cleversys-footer * {
  box-sizing: border-box;
}

.cleversys-footer {
  --cleversys-footer-bg: #041638;
  --cleversys-footer-accent: #55d7dc;
  --cleversys-footer-text: rgba(255, 255, 255, .78);
  --cleversys-footer-muted: rgba(255, 255, 255, .58);
  display: block;
  width: 100%;
  margin: 0;
  padding: 48px 0 22px;
  background: var(--cleversys-footer-bg);
  color: #fff;
  font-family: inherit;
  clear: both;
}

.cleversys-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.cleversys-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
  padding: 0 0 30px;
}

.cleversys-footer-identity,
.cleversys-footer-contact {
  min-width: 0;
}

.cleversys-footer-brand {
  margin: 0 0 12px;
  color: #fff;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
}

.cleversys-footer-tagline {
  margin: 0 0 16px !important;
  color: var(--cleversys-footer-accent) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: .1px;
  line-height: 1.45 !important;
}

.cleversys-footer p {
  margin: 5px 0;
  color: var(--cleversys-footer-text);
  font-size: 14px;
  line-height: 1.7;
}

.cleversys-footer-company-title {
  margin: 0 0 14px !important;
  color: rgba(255, 255, 255, .88) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

.cleversys-footer-location {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 11px 0;
}

.cleversys-footer-label {
  display: block;
  padding-top: 2px;
  color: var(--cleversys-footer-accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.cleversys-footer-location p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.cleversys-footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 14px;
}

.cleversys-footer-contact-links p {
  margin: 0;
  overflow-wrap: anywhere;
}

.cleversys-footer a {
  color: var(--cleversys-footer-text);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
}

.cleversys-footer a:hover {
  color: var(--cleversys-footer-accent);
  text-decoration: underline;
}

.cleversys-footer a:focus-visible {
  color: #fff;
  outline: 2px solid var(--cleversys-footer-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.cleversys-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 18px;
}

.cleversys-footer-copyright {
  margin: 0 !important;
  color: var(--cleversys-footer-muted) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.cleversys-footer-bottom nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 17px;
  min-width: 0;
}

.cleversys-footer-bottom nav a {
  display: inline-block;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .cleversys-footer {
    padding-top: 40px;
  }

  .cleversys-footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 26px;
  }

  .cleversys-footer-contact {
    max-width: 680px;
  }

  .cleversys-footer-bottom {
    align-items: flex-start;
  }

  .cleversys-footer-bottom nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .cleversys-footer {
    padding: 34px 0 20px;
  }

  .cleversys-footer-inner {
    width: calc(100% - 36px);
  }

  .cleversys-footer-brand {
    font-size: 24px;
  }

  .cleversys-footer-tagline {
    font-size: 16px !important;
  }

  .cleversys-footer p {
    font-size: 13px;
    line-height: 1.65;
  }

  .cleversys-footer-location {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    margin: 12px 0;
  }

  .cleversys-footer-label {
    padding-top: 0;
    font-size: 12px;
    letter-spacing: .02em;
  }

  .cleversys-footer-contact-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin-top: 14px;
  }

  .cleversys-footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-top: 15px;
  }

  .cleversys-footer-bottom nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: start;
    gap: 9px 14px;
  }

  .cleversys-footer-bottom nav a {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cleversys-footer a {
    transition: none;
  }
}
