.fragua-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f3fbff;
  background: radial-gradient(ellipse at 6% 0%, #104c55 0%, transparent 57%),
    radial-gradient(ellipse at 100% 0%, #123974 0%, transparent 58%), #071627;
  border-top: 1px solid #285465;
}

.fragua-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #52ead2 38%, #67aaff 64%, transparent);
}

.fragua-footer-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr .62fr minmax(240px, 1.18fr);
  align-items: start;
  gap: clamp(22px, 4vw, 56px);
  padding-block: clamp(38px, 6vw, 76px);
}

.fragua-footer-brand img {
  width: min(210px, 100%);
  height: auto;
}

.fragua-footer-brand p {
  margin: 14px 0 0;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: 1.02;
}

.fragua-footer-brand strong {
  color: #70ead9;
}

.fragua-footer h2 {
  margin: 0 0 10px;
  color: #f3fbff;
  font-size: .97rem;
  letter-spacing: -.01em;
}

.fragua-footer-links,
.fragua-footer-contact {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.fragua-footer-links a,
.fragua-footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: .9rem;
  color: #c6dce9;
  text-underline-offset: .24em;
  transition: color .2s, transform .2s;
}

.fragua-footer-links a:hover,
.fragua-footer-contact a:hover {
  color: #8af5e6;
  text-decoration: underline;
  transform: translateX(3px);
}

.fragua-footer-contact {
  padding: 20px;
  border: 1px solid #477089;
  border-radius: 20px;
  background: #122c45;
}

.fragua-footer-contact h2 {
  font-size: 1.2rem;
  margin-bottom: 3px;
}

.fragua-footer-contact .fragua-footer-whatsapp {
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 46px;
  padding: 8px 11px;
  border-radius: 12px;
  background: linear-gradient(115deg, #a1f4d3, #92d4ff);
  color: #092637;
  font-weight: 800;
  text-align: center;
}

.fragua-footer-contact .fragua-footer-whatsapp:hover {
  color: #092637;
  transform: translateY(-2px);
}

.fragua-footer-whatsapp img {
  flex: none;
  object-fit: contain;
}

.fragua-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 22px;
  border-color: #375368;
  color: #c6dce9;
  text-align: left;
  padding-inline-end: 72px;
  font-size: .85rem;
}

.fragua-footer .footer-bottom span {
  display: inline;
  margin: 0;
}

.fragua-footer .footer-bottom small {
  font-size: inherit;
}

.fragua-footer .cookie-preferences-link {
  min-height: 36px;
}

.fragua-footer :is(a, button):focus-visible {
  outline: 2px solid #8af5e6;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .fragua-footer-layout {
    grid-template-columns: 1fr 1fr;
  }

  .fragua-footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .fragua-footer-layout {
    gap: 26px 18px;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .fragua-footer-brand {
    grid-column: 1 / -1;
  }

  .fragua-footer-links a,
  .fragua-footer-contact a {
    min-height: 38px;
  }

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

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .fragua-footer {
      view-timeline-name: --fragua-footer-entry;
    }

    .fragua-footer::before {
      animation: fragua-footer-sweep linear both;
      animation-timeline: --fragua-footer-entry;
      animation-range: entry 0% entry 42%;
    }

    @keyframes fragua-footer-sweep {
      from { transform: scaleX(.2); opacity: .2; }
      to { transform: scaleX(1); opacity: 1; }
    }
  }
}

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

  .fragua-footer a:hover {
    transform: none;
  }
}
