/* =========================
   ROW FULL WIDTH DEL FOOTER
   ========================= */
.home .tf-footer-row,
.home .tf-footer-row.l-section,
.home .tf-footer-row .l-section-h,
.home .tf-footer-row .g-cols,
.home .tf-footer-row .wpb_column,
.home .tf-footer-row .vc_column-inner,
.home .tf-footer-row .wpb_wrapper {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}

.home .tf-footer-row {
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

.home .tf-footer-row > .l-section-h {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =========================
   FOOTER
   ========================= */
.tf-footer {
  width: 100%;
  margin: 0;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 110, 90, 0.35), transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(22, 75, 160, 0.25), transparent 28%),
    linear-gradient(135deg, #012532 0%, #003a3a 45%, #06103a 100%);
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}

.tf-footer__inner {
  width: 100%;
  max-width: none;
  padding: 38px 36px 24px;
  box-sizing: border-box;
}

.tf-footer__top {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.tf-footer__brand {
  max-width: 520px;
}

.tf-footer__logo-link {
  display: inline-block;
  margin-bottom: 18px;
}

.tf-footer__logo {
  display: block;
  width: auto;
  max-width: 230px;
  max-height: 54px;
}

.tf-footer__text {
  margin: 0 0 22px;
  color: #fff;
  font-size: 17px;
  line-height: 1.45;
}

.tf-footer__text a {
  color: #fff;
  text-decoration: none;
}

.tf-footer__text a:hover {
  text-decoration: underline;
}

.tf-footer__text--social {
  margin-bottom: 18px;
}

.tf-footer__text--news-empty {
  margin-bottom: 0;
}

.tf-footer__socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tf-footer__social {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tf-footer__social:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.tf-footer__social svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: #fff;
}

.tf-footer__social--facebook {
  background: #1877f2;
}

.tf-footer__social--instagram {
  background: linear-gradient(
    135deg,
    #405de6 0%,
    #5851db 18%,
    #833ab4 38%,
    #c13584 58%,
    #e1306c 74%,
    #fd1d1d 88%,
    #fcb045 100%
  );
}

.tf-footer__nav {
  min-width: 0;
}

.tf-footer__nav--news {
  min-width: 0;
}

.tf-footer__title {
  margin: 0 0 20px;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.tf-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-footer__list li + li {
  margin-top: 18px;
}

.tf-footer__list a,
.tf-footer__news-link {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  line-height: 1.35;
}

.tf-footer__list a:hover,
.tf-footer__news-link:hover {
  text-decoration: underline;
}

.tf-footer__list--news {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-footer__list--news li + li {
  margin-top: 18px;
}

.tf-footer__news-item {
  margin: 0;
}

.tf-footer__news-link {
  display: inline-block;
}

.tf-footer__news-cta {
  margin-top: 22px;
}

.tf-footer__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.tf-footer__more-btn:hover {
  background: #fff;
  color: #012532;
  border-color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.tf-footer__bottom {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
}

.tf-footer__bottom p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
}

/* =========================
   TABLET
   ========================= */
@media (max-width: 1023px) {
  .tf-footer__inner {
    padding: 30px 24px 20px;
  }

  .tf-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .tf-footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 767px) {
  .tf-footer {
    border-radius: 0;
    background: #024139;
  }

  .tf-footer__inner {
    padding: 24px 24px 90px;
    text-align: center;
  }

  .tf-footer__top {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tf-footer__brand {
    max-width: 100%;
  }

  .tf-footer__logo-link {
    margin-bottom: 14px;
  }

  .tf-footer__logo {
    margin: 0 auto;
    max-width: 170px;
    max-height: 48px;
  }

  .tf-footer__text {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .tf-footer__socials {
    justify-content: center;
  }

  .tf-footer__nav,
  .tf-footer__bottom {
    display: none;
  }
}
