/* A fifth, semantic closing screen using the verified Shopify footer content. */
.site-footer {
  --footer-background: #13100d;
  --footer-ink: #faedd7;
  --footer-muted: #e1d6c7;
  --footer-accent: #ff7238;
  --footer-line: #f8f1e62b;
  --footer-header-offset: calc(var(--header-height) + env(safe-area-inset-top));
  --footer-curve-height: clamp(42px, 12vw, 72px);
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - var(--footer-header-offset));
  padding: calc(var(--footer-curve-height) + 28px) var(--gutter) max(24px, env(safe-area-inset-bottom));
  display: flex;
  color: var(--footer-ink);
  background: var(--footer-background);
  scroll-margin-top: var(--footer-header-offset);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath d='M0 0h128v128H0z' filter='url(%23n)'/%3E%3C/svg%3E");
}
.footer-curve {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: var(--footer-curve-height);
  z-index: -1;
  fill: url(#footer-orange-fill);
  pointer-events: none;
}
.footer-shell { width: 100%; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-areas: "about" "payments" "explore" "contact" "community";
  gap: 28px;
}
.footer-about { grid-area: about; }
.footer-payments { grid-area: payments; }
.footer-explore { grid-area: explore; }
.footer-community { grid-area: community; }
.footer-contact { grid-area: contact; }
#nosotros, .footer-explore #faq { scroll-margin-top: calc(var(--header-height) + env(safe-area-inset-top) + 16px); }
.footer-label { margin: 0 0 12px; color: var(--footer-accent); font-size: 14px; font-weight: 800; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.footer-grid p { font-size: 16px; line-height: 1.45; color: var(--footer-muted); }
.footer-about .footer-about-lead { margin-bottom: 10px; font-size: clamp(23px, 6vw, 30px); font-weight: 800; line-height: 1.13; color: var(--footer-ink); text-wrap: balance; }
.footer-payment-logos { display: flex; align-items: center; gap: 24px; }
.footer-payment-logos img { max-width: calc((100% - 24px) / 2); height: auto; }
.footer-payment-logos .footer-wompi { width: 112px; }
/* Match Wompi's visible height, excluding its transparent padding. */
.footer-payment-logos .footer-breb { width: 81px; filter: grayscale(1) invert(1) brightness(20); mix-blend-mode: screen; }
.footer-explore a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 16px; }
.footer-explore .icon { width: 14px; height: 14px; flex-basis: 14px; opacity: .65; }
.footer-socials { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 12px; }
.footer-socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--footer-line); border-radius: 24px; font-size: 13px; }
.footer-socials .icon { width: 18px; height: 18px; flex-basis: 18px; }
.footer-contact address { font-style: normal; }
.footer-contact address > * { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; }
.footer-contact address > a { width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.footer-contact address > a span { min-width: 0; }
.footer-contact .icon { width: 18px; height: 18px; flex-basis: 18px; stroke-width: 1.6; }
.footer-bottom { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--footer-accent); }
.footer-bottom p { font-size: 12px; line-height: 1.5; color: var(--footer-muted); }
.footer-top-link {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--footer-ink);
  border-radius: 50%;
  background: var(--footer-background);
  color: var(--footer-ink);
}
.footer-top-link .icon { width: 20px; height: 20px; }
body[data-scene="site-footer"] { --interface: var(--paper); }
body[data-scene="site-footer"] .scene-nav span { background: var(--clear); }
body[data-scene="site-footer"] .scene-nav [aria-current] span { background: var(--orange); border-color: var(--orange); }
@media (hover: hover) {
  .site-footer a:hover { color: var(--footer-accent); }
  .footer-socials a:hover, .footer-top-link:hover { border-color: var(--footer-accent); }
}
@media (prefers-reduced-motion: no-preference) {
  .site-footer.is-active .footer-top-link .icon { animation: hero-scroll-cue 1.6s ease-in-out infinite; }
  .page-hidden .site-footer .footer-top-link .icon { animation-play-state: paused; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-areas: "about about" "payments explore" "contact community";
    gap: 32px;
  }
}
@media (min-width: 900px) {
  .site-footer {
    --footer-curve-height: clamp(76px, 8.4vw, 132px);
    padding-top: calc(var(--footer-curve-height) + clamp(56px, 8vw, 124px));
    padding-bottom: max(clamp(32px, 5dvh, 64px), env(safe-area-inset-bottom));
  }
  .footer-shell { max-width: 1440px; gap: clamp(44px, 6vw, 88px); }
  .footer-grid {
    grid-template-columns: minmax(0,1.2fr) minmax(0,.88fr) minmax(0,1.05fr);
    grid-template-areas: "about explore contact" "payments explore community";
    align-items: start;
    gap: 40px clamp(32px, 4.5vw, 72px);
  }
  .footer-grid p { font-size: clamp(16px, 1.5vw, 22px); line-height: 1.4; }
  .footer-label { margin-bottom: 16px; font-size: clamp(15px, 1.4vw, 22px); }
  .footer-about .footer-about-lead { margin-bottom: 16px; font-size: clamp(23px, 2.3vw, 36px); }
  .footer-payment-logos { gap: clamp(24px, 3.4vw, 48px); }
  .footer-payment-logos img { min-width: 0; }
  .footer-payment-logos .footer-wompi { width: clamp(136px, 13vw, 184px); }
  .footer-payment-logos .footer-breb { width: clamp(98px, 9.36vw, 133px); }
  .footer-explore a { min-height: clamp(44px, 4.1vw, 56px); font-size: clamp(16px, 1.6vw, 24px); }
  .footer-explore .icon { width: 18px; height: 18px; flex-basis: 18px; }
  .footer-socials { flex-direction: row; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
  .footer-socials a { font-size: clamp(14px, 1.35vw, 19px); padding-inline: 16px; }
  .footer-contact address > * { min-height: 40px; font-size: clamp(16px, 1.5vw, 22px); }
  .footer-bottom { padding-top: 32px; }
  .footer-bottom p { font-size: clamp(14px, 1.2vw, 18px); }
  .footer-top-link { width: 56px; height: 56px; }
  .footer-top-link .icon { width: 24px; height: 24px; }
}
