/*
 * NODOS by G — footer polish
 * Scope: layout/readability only. Footer copy/payment content is owned by Astra
 * admin-text / WPML strings; this stylesheet makes the cleaned footer read as
 * intentional on desktop and mobile.
 */

.site-footer {
  --nodos-footer-text: rgba(255, 255, 255, 0.82);
  --nodos-footer-muted: rgba(255, 255, 255, 0.64);
  --nodos-footer-heading: rgba(255, 255, 255, 0.95);
  --nodos-footer-rule: rgba(255, 255, 255, 0.14);
}

.site-footer .ast-builder-html-element,
.site-footer .textwidget,
.site-footer .widget_nav_menu,
.site-footer .ast-footer-copyright {
  color: var(--nodos-footer-text);
}

.site-footer h2,
.site-footer .widget-title {
  color: var(--nodos-footer-heading);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.site-footer a {
  text-underline-offset: 0.18em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.site-footer .ast-footer-html-1 img {
  display: block;
  max-width: 10.5rem;
  height: auto;
  margin-bottom: 1.35rem;
}

.site-footer .ast-footer-html-1 p,
.site-footer .textwidget p {
  max-width: 20rem;
  line-height: 1.75;
}

.site-footer .nodos-footer-payments {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 0.7rem;
  max-width: 100%;
  color: var(--nodos-footer-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.site-footer .nodos-footer-payments strong {
  color: var(--nodos-footer-heading);
  font-weight: 500;
}

.site-footer .nodos-footer-payments .nodos-payment-methods {
  white-space: normal;
}

.site-footer .ast-footer-copyright p {
  margin-bottom: 0;
  color: var(--nodos-footer-muted);
  font-size: 0.86rem;
}

.site-footer .site-below-footer-wrap .ast-builder-grid-row {
  width: min(calc(100% - 2rem), 1200px);
  margin-inline: auto;
}

@media (max-width: 767px) {
  .site-footer .site-primary-footer-wrap {
    padding-top: 2.75rem;
    padding-bottom: 2rem;
  }

  .site-footer .site-primary-footer-wrap .ast-builder-grid-row {
    row-gap: 2.15rem;
  }

  .site-footer .ast-footer-html-1,
  .site-footer .footer-widget-area,
  .site-footer .widget_nav_menu,
  .site-footer .textwidget,
  .site-footer .ast-footer-copyright {
    text-align: left;
  }

  .site-footer .ast-footer-html-1 img {
    max-width: 8.75rem;
    margin-bottom: 1rem;
  }

  .site-footer .ast-footer-html-1 p,
  .site-footer .textwidget p {
    max-width: 24rem;
  }

  .site-footer .widget-title {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
  }

  .site-footer .menu {
    display: grid;
    gap: 0.38rem;
  }

  .site-footer .site-below-footer-wrap {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    border-top: 1px solid var(--nodos-footer-rule);
  }

  .site-footer .site-below-footer-wrap .ast-builder-grid-row {
    row-gap: 0.85rem;
  }

  .site-footer .nodos-footer-payments {
    justify-content: flex-start;
    font-size: 0.76rem;
  }

  .site-footer .ast-footer-copyright p {
    font-size: 0.78rem;
  }

  #ast-scroll-top {
    right: 1rem;
    bottom: 1rem;
  }
}
