/*
 * AguaTopone approved CleanFooter 1.0.1 — independent, no global CTA.
 * Every visual rule is scoped to the replacement footer so existing
 * WordPress and Elementor page content is not restyled.
 */

html.atcf-rendered body > footer#site-footer.site-footer,
html.atcf-rendered body > .elementor-location-footer {
  display: none !important;
}

.atcf-footer,
.atcf-footer *,
.atcf-footer *::before,
.atcf-footer *::after,
.atcf-top,
.atcf-top * {
  box-sizing: border-box;
}

.atcf-footer.cf {
  --at-footer-muted: rgb(255 255 255 / 84%);
  --at-footer-accent: #d8f3ff;
  --at-brand-blue: #3062a9;
  --at-navy-950: #071a36;
  --at-navy-900: #0b2145;
  --at-navy-800: #123765;
  --at-blue-700: #2458a6;
  --at-line: #dce6f1;
  width: 100%;
  margin: 0;
  color: var(--at-footer-muted);
  background: var(--at-brand-blue);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.atcf-footer :where(a) {
  color: #fff;
  text-decoration: none;
}

.atcf-footer :where(a, button):focus-visible {
  outline: 3px solid #37a9e0;
  outline-offset: 3px;
}

.atcf-footer :where(img) {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

.atcf-footer :where(ul) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.atcf-footer :where(p) {
  margin-top: 0;
}

.atcf-footer .cf__main {
  width: min(1400px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(360px, 1fr) minmax(180px, .55fr);
  gap: clamp(46px, 6vw, 96px);
  padding: 72px 0 62px;
}

.atcf-footer .cf__logo img {
  width: min(280px, 100%);
  margin-bottom: 14px;
}

.atcf-footer .cf__tagline {
  max-width: 430px;
  margin: 0 0 22px;
  color: var(--at-footer-muted);
  font-size: 16px;
  line-height: 1.6;
}

.atcf-footer .cf__social {
  display: flex;
  gap: 9px;
  margin-bottom: 22px;
}

.atcf-footer .cf__social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 10px;
  color: #fff;
  background: rgb(255 255 255 / 8%);
}

.atcf-footer .cf__social a:hover,
.atcf-footer .cf__social a:focus-visible {
  color: var(--at-navy-900);
  background: #fff;
  text-decoration: none;
}

.atcf-footer .cf__contact {
  margin: 0 0 14px;
  color: var(--at-footer-muted);
  font-size: 16px;
  line-height: 1.72;
}

.atcf-footer .cf__contact span {
  margin-right: 7px;
  color: var(--at-footer-accent);
  font-weight: 700;
}

.atcf-footer .cf__contact a {
  color: #fff;
}

.atcf-footer .cf__head,
.atcf-footer .cf__subhead {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
}

.atcf-footer .cf__head {
  margin-bottom: 18px;
}

.atcf-footer .cf__subhead {
  display: block;
  margin-bottom: 12px;
}

.atcf-footer .cf__prodcols {
  display: flex;
  gap: clamp(36px, 5vw, 72px);
}

.atcf-footer .cf__col--products li,
.atcf-footer .cf__col--about li {
  margin-bottom: 8px;
}

.atcf-footer .cf__col--products li a,
.atcf-footer .cf__col--about li a {
  color: var(--at-footer-muted);
  font-size: 16px;
}

.atcf-footer .cf__col--products li a:hover,
.atcf-footer .cf__col--about li a:hover,
.atcf-footer .cf__subhead:hover {
  color: #fff;
  text-decoration: underline;
}

.atcf-footer .cf__legal {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px max(20px, calc((100vw - 1400px) / 2));
  border-top: 1px solid rgb(255 255 255 / 16%);
  background: var(--at-brand-blue);
}

.atcf-footer .cf__legal p {
  margin: 0;
  color: rgb(255 255 255 / 84%);
  font-size: 13px;
  line-height: 1.5;
}

.atcf-footer .cf__legal-links {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
}

.atcf-footer .cf__legal-links a {
  color: var(--at-footer-muted);
  font-size: 13px;
}

.atcf-footer .cf__legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.atcf-top.ch-top {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 1100;
  width: 46px;
  height: 46px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dce6f1;
  border-radius: 12px;
  color: #2458a6;
  background: #fff;
  box-shadow: 0 2px 8px rgb(8 20 40 / 16%);
  cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}

.atcf-top[hidden] {
  display: none !important;
}

.atcf-top:hover,
.atcf-top:focus-visible {
  color: #fff;
  background: #2458a6;
}

@media (max-width: 1180px) {
  .atcf-footer .cf__main {
    grid-template-columns: minmax(280px, 1fr) minmax(340px, 1fr) minmax(160px, .55fr);
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .atcf-footer .cf__main {
    width: 100%;
    max-width: 1400px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 44px;
    padding: 62px 28px 54px;
  }

  .atcf-footer .cf__col--about {
    grid-column: 2;
  }

  .atcf-footer .cf__legal {
    padding-inline: 24px;
  }
}

@media (max-width: 767px) {
  .atcf-footer .cf__main {
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 52px 20px 48px;
  }

  .atcf-footer .cf__prodcols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .atcf-footer .cf__col--about {
    grid-column: auto;
  }

  .atcf-footer .cf__legal {
    min-height: auto;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    text-align: center;
  }

  .atcf-footer .cf__legal p {
    line-height: 1.5;
  }

  .atcf-footer .cf__legal-links {
    gap: 14px;
  }

  .atcf-top.ch-top {
    right: 12px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atcf-top.ch-top {
    transition: none;
  }
}
