/* ===================================================================
   S3x3A Footer — scoped under .s3x3a so it never leaks into the site.
   Used by the "S3x3A Footer" Elementor widget (inc/footer).
   =================================================================== */

.s3x3a {
  --s3-black:  #0f1919;
  --s3-black2: #080f0f;
  --s3-acid:   #e3e52b;
  --s3-acid-dk:#b5b720;
  --s3-white:  #f0f0e8;
  --s3-muted:  #6a8a8a;
  --s3-muted2: #3a5555;
  --s3-gray1:  #182424;
  --s3-gray2:  #1f2e2e;
  --s3-font-display: 'Anton', 'Barlow Condensed', sans-serif;
  --s3-font-ui:      'Neo Sans Std', 'Barlow Condensed', sans-serif;
  --s3-font-body:    'Neo Sans Std', 'Barlow', sans-serif;
  --s3-gutter: clamp(20px, 4vw, 40px);
}
.s3x3a *, .s3x3a *::before, .s3x3a *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Full-bleed: break out of theme + Elementor boxed containers ── */
.footer_wrap:has(.s3x3a),
.elementor-location-footer:has(.s3x3a) {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
.footer_wrap:has(.s3x3a) .elementor,
.footer_wrap:has(.s3x3a) .elementor-section,
.footer_wrap:has(.s3x3a) .elementor-column,
.footer_wrap:has(.s3x3a) .elementor-widget-wrap,
.footer_wrap:has(.s3x3a) .elementor-widget,
.footer_wrap:has(.s3x3a) .elementor-widget-container,
.footer_wrap:has(.s3x3a) .sc_layouts_item,
.footer_wrap:has(.s3x3a) .elementor-section > .elementor-container,
.footer_wrap:has(.s3x3a) .elementor-section.elementor-section-boxed > .elementor-container,
.elementor-location-footer:has(.s3x3a) .elementor,
.elementor-location-footer:has(.s3x3a) .elementor-section,
.elementor-location-footer:has(.s3x3a) .elementor-column,
.elementor-location-footer:has(.s3x3a) .elementor-widget-wrap,
.elementor-location-footer:has(.s3x3a) .elementor-widget,
.elementor-location-footer:has(.s3x3a) .elementor-widget-container,
.elementor-location-footer:has(.s3x3a) .elementor-section > .elementor-container,
.elementor-location-footer:has(.s3x3a) .elementor-section.elementor-section-boxed > .elementor-container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.s3x3a {
  position: relative;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.s3x3a .s3-foot {
  background: var(--s3-black2);
  position: relative; overflow: hidden;
  font-family: var(--s3-font-body);
  color: var(--s3-white);
  font-size: 16px;
  width: 100%;
}
.s3x3a .s3-foot::before {
  content: ''; display: block; height: 3px;
  background: var(--s3-acid);
}

.s3x3a .footer-watermark {
  position: absolute; left: -8px; bottom: -20px;
  font-family: var(--s3-font-display);
  font-size: clamp(100px,16vw,220px);
  text-transform: uppercase; letter-spacing: -.02em;
  color: rgba(227,229,43,.028); line-height: 1;
  pointer-events: none; user-select: none;
}

.s3x3a .footer-top {
  width: 100%;
  padding: 52px var(--s3-gutter) 0;
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: end;
  position: relative; z-index: 1;
}
.s3x3a .footer-tagline {
  font-family: var(--s3-font-display);
  font-size: clamp(28px, 3.8vw, 48px);
  text-transform: uppercase; line-height: 1.05;
  color: var(--s3-white); max-width: 500px;
}
.s3x3a .footer-tagline em { color: var(--s3-acid); font-style: normal; }

.s3x3a .footer-ctas {
  display: flex; flex-direction: column;
  gap: 10px; width: 260px;
}
.s3x3a .footer-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; width: 100%;
  font-family: var(--s3-font-ui);
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 13px 20px; text-decoration: none;
  transition: var(--sweat-btn-transition, background-color .25s ease, color .25s ease, border-color .25s ease);
  cursor: pointer; border: 2px solid transparent;
}
.s3x3a .footer-cta svg { flex-shrink: 0; color: currentColor; }
/* Dark button — yellow text */
.s3x3a a.footer-cta.footer-cta--ig,
.s3x3a a.footer-cta.footer-cta--ig:visited {
  background: var(--s3-black); border-color: var(--s3-black); color: var(--s3-acid) !important;
}
.s3x3a a.footer-cta.footer-cta--ig:hover,
.s3x3a a.footer-cta.footer-cta--ig:focus-visible {
  background: var(--s3-gray1); border-color: var(--s3-acid); color: var(--s3-acid) !important;
}
/* Yellow button — dark text */
.s3x3a a.footer-cta.footer-cta--wa,
.s3x3a a.footer-cta.footer-cta--wa:visited {
  background: var(--s3-acid); border-color: var(--s3-acid); color: var(--s3-black) !important;
}
.s3x3a a.footer-cta.footer-cta--wa:hover,
.s3x3a a.footer-cta.footer-cta--wa:focus-visible {
  background: var(--s3-acid-dk); border-color: var(--s3-acid-dk); color: var(--s3-black) !important;
}

.s3x3a .footer-successes {
  width: 100%;
  padding: 32px var(--s3-gutter);
  position: relative; z-index: 1;
}
.s3x3a .footer-successes-label {
  font-family: var(--s3-font-ui);
  font-size: 10px; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--s3-muted2); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.s3x3a .footer-successes-label::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.06);
}

.s3x3a .successes-grid {
  display: grid; grid-template-columns: repeat(6,1fr);
  gap: 2px; background: rgba(227,229,43,.05);
}
.s3x3a .success-card {
  background: var(--s3-black);
  padding: 18px 16px 16px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: background .2s;
  border-top: 2px solid transparent;
  display: flex; flex-direction: column;
}
.s3x3a .success-card:hover { background: var(--s3-gray2); border-top-color: var(--s3-acid); }
.s3x3a .success-country {
  font-family: var(--s3-font-display);
  font-size: 14px; text-transform: uppercase;
  color: var(--s3-white); margin-bottom: 6px; line-height: 1.1;
}
.s3x3a .success-result {
  font-family: var(--s3-font-body);
  font-size: 11px; color: var(--s3-muted);
  line-height: 1.5; margin-bottom: 12px;
}
.s3x3a .success-medal { color: var(--s3-acid); font-weight: 600; }
.s3x3a .success-watch {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--s3-font-ui);
  font-size: 10px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--s3-muted2); transition: color .2s;
  margin-top: auto; padding-top: 12px;
}
.s3x3a .success-watch svg { transition: transform .2s; }
.s3x3a .success-card:hover .success-watch { color: var(--s3-acid); }
.s3x3a .success-card:hover .success-watch svg { transform: translateX(3px); }

.s3x3a .footer-bottom-rule {
  width: 100%;
  padding: 0 var(--s3-gutter);
  position: relative; z-index: 1;
}
.s3x3a .footer-bottom-rule::after {
  content: ''; display: block; height: 1px; background: rgba(255,255,255,.04);
}
.s3x3a .footer-bottom {
  width: 100%;
  padding: 18px var(--s3-gutter) 26px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; position: relative; z-index: 1;
}
.s3x3a .footer-copy { font-family: var(--s3-font-body); color: var(--s3-muted2); font-size: 12px; }
.s3x3a .footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.s3x3a .footer-nav a {
  font-family: var(--s3-font-ui);
  color: var(--s3-muted2); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; transition: color .2s;
}
.s3x3a .footer-nav a:hover { color: var(--s3-acid); }

/* MODAL */
.s3x3a .s3-modal-overlay {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(8,15,15,.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
  font-family: var(--s3-font-body);
}
.s3x3a .s3-modal-overlay.active { opacity: 1; pointer-events: all; }
.s3x3a .s3-modal {
  background: var(--s3-black2); width: 100%; max-width: 460px;
  position: relative; border-top: 3px solid var(--s3-acid);
  transform: translateY(14px); transition: transform .28s ease;
}
.s3x3a .s3-modal-overlay.active .s3-modal { transform: translateY(0); }
.s3x3a .s3-modal-thumb {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--s3-gray1), var(--s3-gray2));
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.s3x3a .s3-modal-thumb-placeholder {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; color: var(--s3-muted2);
  font-family: var(--s3-font-ui); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
}
.s3x3a .s3-modal-thumb-placeholder svg { opacity: .2; }
.s3x3a .s3-modal-play {
  position: absolute; width: 60px; height: 60px;
  background: var(--s3-acid);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--sweat-btn-transition, transform .25s ease, background-color .25s ease);
  box-shadow: 0 0 0 10px rgba(227,229,43,.1);
}
.s3x3a .s3-modal-play:hover { transform: scale(1.08); background: var(--s3-acid-dk); }
.s3x3a .s3-modal-play svg { margin-left: 4px; }
.s3x3a .s3-modal-body { padding: 24px 28px 28px; }
.s3x3a .s3-modal-flag { font-size: 22px; display: block; margin-bottom: 8px; }
.s3x3a .s3-modal-country {
  font-family: var(--s3-font-display);
  font-size: 30px; text-transform: uppercase;
  color: var(--s3-white); line-height: .95; margin-bottom: 8px;
}
.s3x3a .s3-modal-result { color: var(--s3-muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.s3x3a .s3-modal-result strong { color: var(--s3-acid); }
.s3x3a .s3-modal-cta { display: flex; gap: 10px; }
.s3x3a .s3-modal-ig-btn,
.s3x3a .s3-modal-close-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 8px; font-family: var(--s3-font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 12px 16px; cursor: pointer;
  transition: var(--sweat-btn-transition, background-color .25s ease, color .25s ease, border-color .25s ease);
  border: 2px solid transparent;
}
.s3x3a a.s3-modal-ig-btn,
.s3x3a a.s3-modal-ig-btn:visited {
  background: var(--s3-acid); color: var(--s3-black) !important;
  text-decoration: none; border-color: var(--s3-acid);
}
.s3x3a a.s3-modal-ig-btn:hover,
.s3x3a a.s3-modal-ig-btn:focus-visible {
  background: var(--s3-acid-dk); border-color: var(--s3-acid-dk); color: var(--s3-black) !important;
}
.s3x3a .s3-modal-close-btn {
  background: var(--s3-black); color: var(--s3-acid) !important;
  border-color: var(--s3-black);
}
.s3x3a .s3-modal-close-btn:hover,
.s3x3a .s3-modal-close-btn:focus-visible {
  background: var(--s3-gray1); border-color: var(--s3-acid); color: var(--s3-acid) !important;
}
.s3x3a .s3-modal-x {
  position: absolute; top: 10px; right: 10px; z-index: 10;
  width: 30px; height: 30px;
  background: var(--s3-black); border: 1px solid rgba(255,255,255,.1);
  color: var(--s3-acid); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; line-height: 1;
  transition: var(--sweat-btn-transition, background-color .25s ease, color .25s ease, border-color .25s ease);
}
.s3x3a .s3-modal-x:hover,
.s3x3a .s3-modal-x:focus-visible {
  background: var(--s3-gray1); border-color: var(--s3-acid); color: var(--s3-acid);
}

@media(max-width:900px){
  .s3x3a .successes-grid { grid-template-columns: repeat(3,1fr); }
}
@media(max-width:640px){
  .s3x3a .footer-top { grid-template-columns: 1fr; }
  .s3x3a .footer-ctas { width: 100%; flex-direction: column; }
  .s3x3a .footer-cta { width: 100%; }
  .s3x3a .successes-grid { grid-template-columns: repeat(2,1fr); }
  .s3x3a .footer-bottom { flex-direction: column; align-items: flex-start; }
}
