/* El Bandito — pulp western comic
   Bold ink outlines · halftone · hard offset shadows · speech bubbles
   Adult graphic-novel energy (not kids cartoon) */

:root {
  --ink: #111111;
  --ink-soft: #3d3d3d;
  --muted: #6b6b6b;
  --paper: #fff4d6;
  --panel: #fffdf5;
  --line: #111111;
  --brand: #0f6b4c;
  --brand-deep: #0a4a35;
  --accent: #c01610;
  --accent-2: #ffe566;
  --cyan: #1ec8ff;
  --ok: #0f6b4c;
  --warn: #ff3b2f;
  --radius: 6px;
  --radius-pill: 999px;
  --comic-shadow: 5px 5px 0 #111;
  --comic-shadow-lg: 8px 8px 0 #111;
  --font-boom: "Bangers", "Impact", system-ui, sans-serif;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1100px;
  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);
  --halftone: radial-gradient(circle, rgba(17, 17, 17, 0.16) 1.1px, transparent 1.2px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    var(--halftone),
    linear-gradient(180deg, #ffe9a8 0%, var(--paper) 28%, #ffe0b0 100%);
  background-size: 10px 10px, auto;
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 60;
  transform: translateY(-120%);
  padding: 0.65rem 1rem;
  background: var(--accent-2);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-boom);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0.75rem);
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-deep);
  font-weight: 700;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Site header / nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink);
  color: #fff;
  border-bottom: 4px solid var(--accent-2);
  overflow: visible;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: 0.55rem;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.site-header .brand {
  color: #fff;
  min-width: 0;
}

.site-header .brand__name {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  text-shadow: 2px 2px 0 var(--accent);
}

.site-header .brand__mark {
  width: 42px;
  height: 42px;
  animation: none;
}

.site-header .brand:hover {
  color: var(--accent-2);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.75rem;
  border: 3px solid #fff;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-boom);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--accent-2);
  cursor: pointer;
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 1.15rem;
}

.nav-toggle__bars span {
  display: block;
  height: 3px;
  background: #fff;
  border: 1px solid var(--ink);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--cyan);
  color: var(--ink);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span {
  background: var(--ink);
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--panel);
  color: var(--ink);
  border-bottom: 4px solid var(--ink);
  box-shadow: 0 12px 0 rgba(17, 17, 17, 0.12);
  padding: 0.85rem 0 1.1rem;
  display: none;
}

.site-nav.is-open {
  display: block;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.site-nav__list > li > a,
.site-nav__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 2px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-boom);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav__list > li > a:hover,
.site-nav__list > li > a[aria-current="page"] {
  color: var(--accent);
}

.site-nav__list > li > a[aria-current="page"] {
  border-bottom-color: var(--accent);
}

.site-nav__group {
  border-bottom: 2px solid var(--ink);
}

.site-nav__summary {
  width: 100%;
  border: 0;
  border-bottom: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  padding-inline: 0;
}

.site-nav__summary::-webkit-details-marker {
  display: none;
}

.site-nav__summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
}

.site-nav__group[open] > .site-nav__summary::after {
  content: "–";
}

.site-nav__sub {
  list-style: none;
  margin: 0 0 0.55rem;
  padding: 0 0 0.35rem 0.75rem;
  display: grid;
  gap: 0.15rem;
}

.site-nav__sub a {
  display: block;
  padding: 0.45rem 0;
  text-decoration: none;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.site-nav__sub a:hover,
.site-nav__sub a[aria-current="page"] {
  color: var(--accent);
}

.site-nav__meta {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(17, 17, 17, 0.45);
}

body.nav-open .sticky-cta {
  visibility: hidden;
  pointer-events: none;
}

.subnav {
  position: relative;
  z-index: 1;
  background: var(--panel);
  border-bottom: 3px solid var(--ink);
}

.subnav__list {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.25rem 0.55rem;
  border: 2px solid transparent;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-boom);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.subnav a:hover {
  color: var(--accent);
}

.subnav a[aria-current="page"] {
  background: var(--accent-2);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
}

.site-nav__local {
  display: none;
  margin: 0 0 1rem;
  padding: 0.75rem 0.8rem 0.85rem;
  border: 3px solid var(--ink);
  background: var(--accent-2);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 2px;
}

.site-nav__local-title {
  margin: 0 0 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-boom);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.site-nav__local-title::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 0 2px #fff;
}

.site-nav__local-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.site-nav__local-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.55rem;
  border: 2px solid var(--ink);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-boom);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 rgba(17, 17, 17, 0.2);
}

.site-nav__local-list a::after {
  content: "→";
  color: var(--accent);
  font-size: 1rem;
}

.site-nav__local-list a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--ink);
}

.site-nav__local-list a[aria-current="page"]::after {
  color: #fff;
}

.site-nav__global-label {
  display: none;
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Mobile: hamburger + drawer only; no horizontal subnav bar */
@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-header__inner > .site-nav:not(.is-open) {
    display: none;
  }

  .subnav {
    display: none !important;
  }

  .site-nav__local {
    display: block;
  }

  .site-nav__global-label {
    display: block;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none !important;
  }

  .site-nav__local {
    display: none !important;
  }

  .subnav {
    display: block;
  }

  .site-nav,
  .site-nav.is-open {
    position: static;
    display: block;
    background: transparent;
    color: #fff;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .site-nav__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.15rem 0.2rem;
  }

  .site-nav__list > li > a,
  .site-nav__summary {
    border-bottom: 3px solid transparent;
    padding: 0.45rem 0.65rem;
    color: #fff;
    font-size: 1.05rem;
  }

  .site-nav__list > li > a:hover,
  .site-nav__list > li > a[aria-current="page"] {
    color: var(--accent-2);
    border-bottom-color: var(--accent);
  }

  .site-nav__group {
    position: relative;
    border-bottom: 0;
  }

  .site-nav__summary {
    color: #fff;
  }

  .site-nav__summary::after {
    color: var(--accent-2);
  }

  .site-nav__group[open] > .site-nav__summary,
  .site-nav__group:hover > .site-nav__summary {
    color: var(--accent-2);
  }

  .site-nav {
    overflow: visible;
    position: relative;
    z-index: 5;
  }

  .site-nav__sub {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 13rem;
    margin: 0;
    padding: 0.65rem 0.7rem;
    background: var(--panel);
    border: 3px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    display: none;
    z-index: 90;
    pointer-events: auto;
  }

  /* Invisible hover bridge so the pointer can reach the panel without closing it. */
  .site-nav__sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.85rem;
    height: 0.85rem;
  }

  .site-nav__group[open] > .site-nav__sub,
  .site-nav__group:hover > .site-nav__sub,
  .site-nav__group:focus-within > .site-nav__sub {
    display: grid;
  }

  .site-nav__sub a {
    padding: 0.55rem 0.35rem;
    color: var(--ink);
    border-radius: 2px;
  }

  .site-nav__sub a:hover,
  .site-nav__sub a:focus-visible {
    background: var(--accent-2);
    color: var(--ink);
    outline: none;
  }

  .site-nav__meta {
    display: none;
  }

  body.nav-open {
    overflow: auto;
  }

  body.nav-open::before {
    content: none;
  }
}

/* —— Brand —— */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  background: #0f6b4c;
  /* No infinite loop: continuous transform drains mid-range LATAM GPUs. */
  animation: none;
}

@media (prefers-reduced-motion: no-preference) {
  .brand--hero:hover .brand__mark,
  .brand--hero:focus-visible .brand__mark {
    animation: wiggle 0.55s ease-in-out 1;
  }
}

.site-header .brand__mark {
  background: transparent;
  animation: none;
}

.brand__name {
  font-family: var(--font-boom);
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--accent-2);
}

.brand--hero .brand__name {
  color: inherit;
}

/* —— Hero comic splash —— */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(74vh, 640px);
  display: grid;
  align-items: end;
  padding: clamp(2.4rem, 7vw, 4.5rem) 0 2.6rem;
  overflow: visible;
  color: #fff;
  border-bottom: 4px solid var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #111;
}

.hero__media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  display: block;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(8, 8, 8, 0.78) 0%,
      rgba(8, 8, 8, 0.55) 34%,
      rgba(8, 8, 8, 0.22) 58%,
      rgba(8, 8, 8, 0.08) 78%,
      transparent 100%
    ),
    linear-gradient(180deg, rgba(8, 8, 8, 0.18) 0%, transparent 32%, rgba(8, 8, 8, 0.5) 100%);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: var(--halftone);
  background-size: 7px 7px;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

/* Legacy decorative layers kept inert when art is present */
.hero:has(.hero__art) .hero__glow,
.hero:has(.hero__art) .hero__silhouette {
  display: none;
}

.hero__silhouette {
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  z-index: -2;
  background: #111;
  clip-path: polygon(0 100%, 0 55%, 10% 45%, 22% 58%, 35% 38%, 48% 52%, 62% 30%, 78% 48%, 90% 36%, 100% 50%, 100% 100%);
}

.hero__glow {
  position: absolute;
  width: 260px;
  height: 260px;
  right: 4%;
  top: 8%;
  z-index: -1;
  background: var(--accent-2);
  clip-path: polygon(50% 0%, 63% 35%, 98% 35%, 70% 57%, 80% 95%, 50% 72%, 20% 95%, 30% 57%, 2% 35%, 37% 35%);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  opacity: 0.9;
}

@media (prefers-reduced-motion: no-preference) {
  .hero:not(:has(.hero__art)) .hero__glow {
    animation: burst-spin 10s linear infinite;
  }
}

@media (max-width: 719px) {
  .hero__art {
    object-position: 62% center;
  }

  .hero__media::before {
    background:
      linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.42) 0%,
        rgba(8, 8, 8, 0.28) 38%,
        rgba(8, 8, 8, 0.68) 100%
      ),
      linear-gradient(
        105deg,
        rgba(8, 8, 8, 0.62) 0%,
        rgba(8, 8, 8, 0.32) 55%,
        rgba(8, 8, 8, 0.1) 100%
      );
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero .brand,
.hero .brand__name {
  color: #fff;
  text-shadow: 3px 3px 0 #111;
}

.hero__eyebrow {
  display: inline-block;
  margin: 1.1rem 0 0;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-boom);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cyan);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}

.hero__eyebrow::before {
  content: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 6vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 1rem 0 0.75rem;
  text-wrap: balance;
  text-shadow: 4px 4px 0 #111;
}

.hero__lead {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  font-weight: 600;
  color: #fff;
  background: rgba(17, 17, 17, 0.45);
  border: 3px solid #111;
  padding: 0.75rem 0.9rem;
  box-shadow: 4px 4px 0 var(--accent-2);
}

.trust-line {
  margin: 0.9rem 0 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 0 #111, 0 0 8px rgba(0, 0, 0, 0.55);
}

.local-chip {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.35rem 0.8rem;
  font-family: var(--font-boom);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent-2);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(1.5deg);
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.accent-line {
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0 28px,
    var(--accent-2) 28px 56px,
    var(--cyan) 56px 84px,
    var(--brand) 84px 112px
  );
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

body.theme-pe .accent-line {
  background: linear-gradient(90deg, #d91023 0 33%, #fff 33% 66%, #d91023 66%);
}

body.theme-br .accent-line {
  background: linear-gradient(90deg, #009c3b 0 34%, #ffdf00 34% 66%, #002776 66%);
}

body.theme-co .accent-line {
  background: linear-gradient(90deg, #fcd116 0 50%, #003893 50% 75%, #ce1126 75%);
}

body.theme-mx .accent-line {
  background: linear-gradient(90deg, #006847 0 33%, #fff 33% 66%, #ce1126 66%);
}

/* —— Compact TOC —— */
.toc {
  margin: 1.1rem auto 0.35rem;
  padding: 0.75rem 1rem;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.toc__label {
  margin: 0 0 0.45rem;
  font-family: var(--font-boom);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.toc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc__list li {
  counter-increment: toc;
}

.toc__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 2px 2px 0 rgba(17, 17, 17, 0.18);
}

.toc__list a::before {
  content: counter(toc);
  display: inline-grid;
  place-items: center;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.15rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  border: 1.5px solid var(--ink);
}

.toc__list a:hover {
  background: var(--accent-2);
  color: var(--ink);
}

/* —— Related markets (interlinks) —— */
.related-markets__list {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .related-markets__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.related-markets__list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border: 3px solid var(--ink);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
}

.related-markets__list a:hover {
  background: var(--accent-2);
  color: var(--ink);
}

.related-markets__list span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.vibe-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
}

.vibe-rail__item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 2px 2px 0 rgba(17, 17, 17, 0.2);
}

/* —— Trust —— */
.trust-ribbon {
  padding: 1rem 0;
  background: var(--panel);
  border-bottom: 3px solid var(--ink);
}

.trust-ribbon__grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .trust-ribbon__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-ribbon__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-ribbon__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--accent-2);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-boom);
  font-size: 1.05rem;
}

/* —— Sections —— */
.section {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0;
}

.section__header {
  margin-bottom: 1.25rem;
  max-width: 38rem;
}

.section__title {
  font-family: var(--font-boom);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  letter-spacing: 0.03em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 2px 2px 0 var(--accent-2);
}

.section__lead {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-weight: 600;
}

/* —— Country panels —— */
.country-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .country-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.country-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 175px;
  padding: 1.2rem 1.25rem;
  background: var(--panel);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--comic-shadow);
  overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.18s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .country-card {
    animation: comic-pop 0.4s var(--ease) both;
  }

  .country-card:nth-child(2) { animation-delay: 0.04s; }
  .country-card:nth-child(3) { animation-delay: 0.08s; }
  .country-card:nth-child(4) { animation-delay: 0.12s; }
}

.country-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  border-right: 3px solid var(--ink);
}

.country-card--pe::before { background: linear-gradient(180deg, #d91023, #fff, #d91023); }
.country-card--br::before { background: linear-gradient(180deg, #009c3b, #ffdf00, #002776); }
.country-card--co::before { background: linear-gradient(180deg, #ffe800, #003893, #ce1126); }
.country-card--mx::before { background: linear-gradient(180deg, #006847, #fff, #ce1126); }

.country-card::after {
  content: "POW!";
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  font-family: var(--font-boom);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cyan);
  border: 2px solid var(--ink);
  padding: 0.15rem 0.4rem;
  transform: rotate(8deg);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.country-card:hover {
  transform: translate(-3px, -3px) rotate(-0.5deg);
  box-shadow: 8px 8px 0 var(--ink);
  color: inherit;
}

.country-card:hover::after {
  opacity: 1;
}

.country-card--soon::after {
  content: "SOON";
  background: #ddd;
  opacity: 1;
}

.country-card--soon {
  opacity: 0.75;
  cursor: default;
  pointer-events: none;
}

.country-card--soon:hover {
  transform: none;
  box-shadow: var(--comic-shadow);
}

.country-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  padding-right: 3.2rem;
}

.country-card__flag {
  width: 2.75rem;
  height: 1.85rem;
  border: 2px solid var(--ink);
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 rgba(17, 17, 17, 0.25);
}

.flag-inline {
  display: inline-block;
  width: 1.35rem;
  height: 0.9rem;
  border: 1.5px solid var(--ink);
  object-fit: cover;
  vertical-align: -0.1em;
  margin-right: 0.35rem;
}

.country-card__name {
  font-family: var(--font-boom);
  font-size: 2rem;
  letter-spacing: 0.03em;
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
}

.country-card__meta {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.94rem;
  max-width: 28ch;
}

.country-card__go {
  margin-top: auto;
  padding-top: 0.85rem;
  font-family: var(--font-boom);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}

.country-card__go span {
  display: inline-block;
}

/* —— Badges —— */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  font-family: var(--font-boom);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--cyan);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-2deg);
}

.badge--soon {
  background: #d7d7d7;
}

.badge--gold {
  background: var(--accent-2);
}

/* —— Why —— */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .why-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-list li {
  padding: 1.2rem 1.15rem;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: var(--comic-shadow);
}

.why-list .why-num {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  font-family: var(--font-boom);
  font-size: 1.1rem;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.why-list strong {
  display: block;
  font-family: var(--font-boom);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.why-list p {
  margin: 0;
  font-weight: 600;
  color: var(--ink-soft);
}

/* —— Offer wall comic panels —— */
.casino-list {
  display: grid;
  gap: 1.15rem;
}

.offer {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--panel);
  border: 4px solid var(--ink);
  box-shadow: var(--comic-shadow-lg);
  transition: transform 0.18s var(--ease);
}

.offer:hover {
  transform: translate(-2px, -2px);
}

.offer--top {
  background:
    linear-gradient(180deg, rgba(255, 229, 102, 0.45), transparent 40%),
    var(--panel);
}

.offer--top::before {
  content: "TOP!";
  position: absolute;
  top: -0.65rem;
  right: 1rem;
  z-index: 2;
  font-family: var(--font-boom);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  background: var(--accent);
  color: #fff;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(6deg);
}

.offer__main {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto 1fr;
  align-items: start;
}

@media (min-width: 820px) {
  .offer {
    grid-template-columns: 1fr 230px;
    align-items: stretch;
  }
}

.offer__rank {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-family: var(--font-boom);
  font-size: 1.7rem;
  color: #fff;
  background: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--accent);
}

.offer--top .offer__rank {
  background: var(--accent-2);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--accent);
}

.offer--open {
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(15, 23, 42, 0.03) 10px,
      rgba(15, 23, 42, 0.03) 20px
    ),
    var(--panel);
  border-style: dashed;
  box-shadow: 4px 4px 0 rgba(15, 23, 42, 0.18);
}

.offer--open:hover {
  transform: translate(-1px, -1px);
}

.offer--open .offer__rank {
  background: transparent;
  color: var(--ink);
  border-style: dashed;
  box-shadow: none;
  font-size: 1.35rem;
}

.offer--open .offer__name {
  text-transform: none;
  letter-spacing: 0.01em;
}

.offer--open .btn {
  background: var(--accent-2);
  color: var(--ink);
  border: 3px solid var(--accent-2);
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.35);
}

.offer--open .btn:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 4px 4px 0 var(--accent);
}

.offer__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
  margin-bottom: 0.2rem;
}

.offer__name {
  font-family: var(--font-boom);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.offer__stars {
  color: #f5a623;
  font-size: 1rem;
  text-shadow: 1px 1px 0 var(--ink);
}

.offer__domain {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.offer__highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.7rem;
  background: var(--accent-2);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.offer__highlight-label {
  font-family: var(--font-boom);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer__highlight-value {
  font-weight: 800;
  font-size: 1.02rem;
}

.offer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.chip--ok {
  background: #b8f5d4;
}

.offer__aside {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.95rem;
  background: var(--ink);
  color: #fff;
  border: 3px solid var(--ink);
  box-shadow: inset 0 0 0 2px var(--accent-2);
}

/* speech bubble */
.bandito-says {
  position: relative;
  margin: 0;
  padding: 0.85rem 0.9rem 0.95rem;
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 18px;
  font-size: 0.9rem;
  font-weight: 600;
}

.bandito-says::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  bottom: -10px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(45deg);
}

.bandito-says strong {
  display: block;
  font-family: var(--font-boom);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.offer__aside .bandito-says {
  background: #fff;
  color: var(--ink);
}

.offer__aside .pending-note {
  background: #333;
  color: #fff;
  border: 2px dashed #ffe566;
}

.offer__aside .btn {
  width: 100%;
}

.tax-note,
.pending-note {
  margin: 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  border: 2px solid var(--ink);
}

.tax-note {
  background: #ffe566;
  color: var(--ink);
  margin-top: 0.75rem;
}

.pending-note {
  background: #ffd0cc;
  color: #7a1010;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  min-width: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  border: 3px solid var(--ink);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-boom);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  appearance: none;
  -webkit-appearance: none;
}

button.btn {
  font: inherit;
  font-family: var(--font-boom);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.btn:hover {
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--ink);
}

.btn--disabled,
.btn:disabled {
  background: #6f6f6f;
  color: #fff;
  pointer-events: none;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.btn--jungle {
  background: var(--brand);
}

.btn--jungle:hover {
  color: #fff;
}

/* —— Panels —— */
.howto,
.faq,
.prose {
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: var(--comic-shadow);
  padding: 1.3rem 1.35rem;
}

.howto p,
.faq p,
.prose p,
.prose li {
  color: var(--ink-soft);
  font-weight: 600;
}

.howto p,
.faq p,
.prose p {
  margin: 0.5rem 0 0;
}

.prose h2,
.howto .section__title,
.faq .section__title {
  font-family: var(--font-boom);
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--accent-2);
  margin: 0 0 0.55rem;
}

.prose h3 {
  font-family: var(--font-boom);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 1.15rem 0 0.35rem;
}

.prose ul,
.prose ol {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
}

.prose strong {
  color: var(--ink);
}

.calc-box {
  margin: 0.9rem 0 0;
  padding: 0.9rem 1rem;
  background: var(--cyan);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.calc-box p {
  margin: 0.25rem 0;
  color: var(--ink);
}

.calc-box .calc-result {
  font-family: var(--font-boom);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  margin-top: 0.4rem;
}

.faq details {
  border-bottom: 2px solid var(--ink);
  padding: 0.85rem 0;
}

.faq details:last-child {
  border-bottom: none;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-boom);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "BANG";
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.85rem;
  background: var(--accent-2);
  border: 2px solid var(--ink);
  transform: rotate(-3deg);
}

.faq details[open] summary::before {
  content: "ZAP";
  background: var(--cyan);
}

.br-warning {
  margin: 1.25rem 0 0;
  padding: 1.15rem 1.25rem;
  background: var(--ink);
  color: #fff;
  border: 4px solid var(--accent);
  box-shadow: 6px 6px 0 var(--accent);
  font-family: var(--font-boom);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
}

.br-warning span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  margin-bottom: 0.35rem;
}

/* —— Footer —— */
.site-footer {
  margin-top: 0.5rem;
  padding: 0 0 2.5rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
  border-top: 4px solid var(--accent-2);
}

.site-footer .wrap {
  padding-top: 1.8rem;
}

.site-footer p {
  margin: 0 0 0.4rem;
}

.site-footer a {
  color: var(--accent-2);
}

.site-footer a:hover {
  color: #fff;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0;
  font-family: var(--font-boom);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.lang-switch a {
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.lang-switch a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— National themes (flag-driven palettes) —— */
body.theme-pe {
  --brand: #c8102e;
  --brand-deep: #8b0a1a;
  --accent: #a50f1c;
  --accent-2: #ffd6da;
  --ok: #c8102e;
  --cyan: #ff6b7a;
  --paper: #fff1f0;
  --panel: #fffaf9;
  background-color: var(--paper);
  background-image:
    var(--halftone),
    linear-gradient(180deg, #ffd0d4 0%, var(--paper) 30%, #ffe8ea 100%);
  background-size: 10px 10px, auto;
}

body.theme-pe .site-header {
  border-bottom-color: #fff;
  background: #7a0f1c;
}

body.theme-pe .site-header .brand__name {
  text-shadow: 2px 2px 0 #d91023;
}

body.theme-pe .subnav {
  background: #fff;
  border-bottom: 4px solid #d91023;
}

body.theme-pe .local-chip {
  background: #fff;
  color: #8b0a1a;
  border-color: #d91023;
}

body.theme-pe .btn--jungle {
  background: #d91023;
}

body.theme-pe .btn--jungle:hover {
  background: #8b0a1a;
}

body.theme-pe .trust-ribbon {
  background: #fff5f5;
  border-color: #d91023;
}

body.theme-pe .hero__media {
  background: #5c0a14;
}

body.theme-br {
  --brand: #006b29;
  --brand-deep: #004d1e;
  --accent: #002776;
  --accent-2: #ffdf00;
  --ok: #006b29;
  --cyan: #1ec8ff;
  --ink: #0b1f12;
  --paper: #eefaf1;
  --panel: #f7fff9;
  background-color: var(--paper);
  background-image:
    var(--halftone),
    linear-gradient(180deg, #b8f0c8 0%, var(--paper) 28%, #fff3a8 100%);
  background-size: 10px 10px, auto;
}

body.theme-br .site-header {
  border-bottom-color: #ffdf00;
  background: #006b29;
}

body.theme-br .site-header .brand__name {
  text-shadow: 2px 2px 0 #002776;
}

body.theme-br .subnav {
  background: #ffdf00;
  border-bottom: 4px solid #002776;
}

body.theme-br .local-chip {
  background: #ffdf00;
  color: #002776;
  border-color: #002776;
}

body.theme-br .btn--jungle {
  background: #006b29;
  color: #fff;
}

body.theme-br .btn--jungle:hover {
  background: #002776;
}

body.theme-br .btn--ghost {
  border-color: #002776;
  color: #fff;
}

body.theme-br .trust-ribbon {
  background: #e8fff0;
  border-color: #009c3b;
}

body.theme-br .br-warning {
  background: #002776;
  color: #fff;
  border-color: #ffdf00;
  box-shadow: 6px 6px 0 #ffdf00;
}

body.theme-br .br-warning span {
  color: #ffdf00;
}

body.theme-br .hero__media {
  background: #004d24;
}

body.theme-co {
  --brand: #003893;
  --brand-deep: #00205b;
  --accent: #a50e1e;
  --accent-2: #fcd116;
  --ok: #003893;
  --cyan: #4d7fd6;
  --paper: #fff9e8;
  --panel: #fffdf5;
  background-color: var(--paper);
  background-image:
    var(--halftone),
    linear-gradient(180deg, #ffe566 0%, var(--paper) 32%, #ffd4d8 100%);
  background-size: 10px 10px, auto;
}

body.theme-co .site-header {
  border-bottom-color: #fcd116;
  background: #00205b;
}

body.theme-co .site-header .brand__name {
  text-shadow: 2px 2px 0 #ce1126;
}

body.theme-co .subnav {
  background: #fcd116;
  border-bottom: 4px solid #ce1126;
}

body.theme-co .local-chip {
  background: #fcd116;
  color: #00205b;
  border-color: #003893;
}

body.theme-co .btn--jungle {
  background: #003893;
}

body.theme-co .btn--jungle:hover {
  background: #ce1126;
}

body.theme-co .trust-ribbon {
  background: #fff8dc;
  border-color: #003893;
}

body.theme-co .hero__media {
  background: #00205b;
}

.hero--country .hero__content::before {
  content: "";
  display: block;
  width: 4.5rem;
  height: 0.55rem;
  margin-bottom: 0.85rem;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

body.theme-pe .hero--country .hero__content::before {
  background: linear-gradient(90deg, #d91023 0 33%, #fff 33% 66%, #d91023 66%);
}

body.theme-br .hero--country .hero__content::before {
  background: linear-gradient(90deg, #009c3b 0 34%, #ffdf00 34% 66%, #002776 66%);
}

body.theme-co .hero--country .hero__content::before {
  background: linear-gradient(90deg, #fcd116 0 50%, #003893 50% 75%, #ce1126 75%);
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

@keyframes burst-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes speed-lines {
  from { transform: translateX(0); }
  to { transform: translateX(40px); }
}

@keyframes comic-pop {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* —— Toplist strip —— */
.toplist {
  padding: 1rem 0 0.25rem;
}

.toplist__grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .toplist__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.toplist__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.toplist__item:hover {
  transform: translate(-2px, -2px);
}

.toplist__item--open {
  border-style: dashed;
  box-shadow: 3px 3px 0 rgba(15, 23, 42, 0.18);
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 8px,
      rgba(15, 23, 42, 0.03) 8px,
      rgba(15, 23, 42, 0.03) 16px
    ),
    var(--panel);
}

.toplist__item--open .toplist__rank {
  background: transparent;
  color: var(--ink);
  border: 2px dashed var(--ink);
  box-shadow: none;
}
  color: inherit;
}

.toplist__rank {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-family: var(--font-boom);
  font-size: 1.2rem;
  background: var(--accent-2);
  border: 2px solid var(--ink);
}

.toplist__item:first-child .toplist__rank {
  background: var(--accent);
  color: #fff;
}

.toplist__name {
  font-family: var(--font-boom);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}

.toplist__meta {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}

.toplist__cta {
  font-family: var(--font-boom);
  font-size: 0.95rem;
  color: var(--accent);
  text-transform: uppercase;
}

.offer__verified {
  margin: 0.35rem 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-deep);
}

/* —— Interactive calc —— */
.calc-app {
  display: grid;
  gap: 0.75rem;
}

.calc-app__row {
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .calc-app__fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.calc-app label {
  font-family: var(--font-boom);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.calc-app input,
.calc-app select {
  min-height: 44px;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 3px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  box-shadow: 2px 2px 0 var(--ink);
}

.calc-app input:focus-visible,
.calc-app select:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.calc-app__result {
  margin-top: 0.35rem;
  padding: 0.85rem 0.95rem;
  background: var(--accent-2);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.calc-app__result strong {
  display: block;
  font-family: var(--font-boom);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
}

.calc-note {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
}

/* —— Compare table —— */
.compare {
  overflow-x: auto;
  border: 3px solid var(--ink);
  box-shadow: var(--comic-shadow);
  background: var(--panel);
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.compare th,
.compare td {
  padding: 0.75rem 0.85rem;
  border-bottom: 2px solid var(--ink);
  text-align: left;
  font-weight: 700;
  vertical-align: top;
}

.compare th {
  font-family: var(--font-boom);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--accent-2);
}

.compare tr.is-same td:not(:first-child) {
  background: #e8fff3;
}

.compare caption {
  padding: 0.75rem 0.85rem;
  font-family: var(--font-boom);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: left;
  background: var(--ink);
  color: #fff;
}

.compare tbody th,
.compare td:first-child {
  width: 28%;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  background: transparent;
}

.compare thead th:first-child {
  width: 28%;
}

/* —— Comic story panels —— */
.comic-strip {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .comic-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.comic-panel {
  position: relative;
  padding: 1.1rem 1rem 1.2rem;
  background: var(--panel);
  border: 4px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  min-height: 160px;
}

.comic-panel__tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.15rem 0.45rem;
  font-family: var(--font-boom);
  font-size: 0.95rem;
  background: var(--cyan);
  border: 2px solid var(--ink);
  transform: rotate(-2deg);
}

.comic-panel p {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.comic-panel__boom {
  position: absolute;
  right: 0.55rem;
  bottom: 0.45rem;
  font-family: var(--font-boom);
  font-size: 1.3rem;
  color: var(--accent);
  transform: rotate(8deg);
}

/* —— Checklist —— */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  background: #fff;
  border: 2px solid var(--ink);
  font-weight: 700;
}

.checklist li::before {
  content: "☐";
  font-size: 1.1rem;
  line-height: 1.2;
}

@media print {
  .site-footer,
  .sticky-cta,
  .hero__cta-row,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
  }

  #checklist,
  .checklist {
    break-inside: avoid;
  }
}

/* —— Sticky CTA —— */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: var(--ink);
  border-top: 4px solid var(--accent-2);
  transform: translateY(110%);
  transition: transform 0.25s var(--ease);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.sticky-cta__text {
  color: #fff;
  font-family: var(--font-boom);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sticky-cta .btn {
  flex: 0 0 auto;
}

body:has(.sticky-cta) {
  padding-bottom: 5rem;
}

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.guide-links a {
  display: inline-flex;
  padding: 0.4rem 0.7rem;
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  text-decoration: none;
  font-family: var(--font-boom);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.guide-links a:hover {
  background: var(--accent-2);
  color: var(--ink);
}

.offer__rating {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stack-center {
  min-height: 70vh;
  display: grid;
  align-content: center;
  text-align: center;
}

.stack-center .section__lead {
  margin-inline: auto;
}

.note-box {
  max-width: 28rem;
  margin: 1rem auto;
}

.prose-follow {
  margin-top: 0.75rem;
}

.fine-print {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.breadcrumbs a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.breadcrumbs a:hover {
  border-bottom-color: var(--accent);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink-soft);
}

.hero--compact {
  min-height: min(56vh, 520px);
}

.faq summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.toplist__item:focus-visible,
.country-card:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 899px) {
  .site-header__inner {
    gap: 0.65rem;
  }

  .site-header .brand__name {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  }
}

@media (max-width: 719px) {
  .sticky-cta__inner {
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .sticky-cta__text {
    font-size: 0.95rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .sticky-cta .btn {
    width: 100%;
  }

  .hero {
    min-height: min(68vh, 560px);
  }

  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7.2vw, 2.15rem);
    overflow-wrap: anywhere;
  }

  .hero__lead,
  .local-chip {
    max-width: 100%;
  }

  .local-chip {
    display: block;
    line-height: 1.25;
    white-space: normal;
  }

  .toc {
    margin-inline: 1rem;
    width: auto;
  }

  .toc__list a {
    font-size: 0.78rem;
    padding: 0.28rem 0.45rem;
  }

  .offer__aside {
    order: 2;
  }

  .cookie-bar {
    padding-bottom: calc(0.9rem + env(safe-area-inset-bottom));
  }

  body:has(.sticky-cta) .cookie-bar {
    bottom: 4.75rem;
  }

  .related-markets__list a {
    align-items: flex-start;
  }

  .lang-switch {
    gap: 0.55rem 0.85rem;
  }

  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .site-nav__list > li > a,
  .site-nav__summary {
    padding: 0.4rem 0.45rem;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* LATAM mid-range / mobile: cut paint cost (halftone tiles, blend modes, smooth scroll). */
@media (max-width: 899px) {
  html {
    scroll-behavior: auto;
  }

  body {
    background-image: linear-gradient(180deg, #ffe9a8 0%, var(--paper) 32%, #ffe0b0 100%);
    text-rendering: auto;
  }

  .hero__media::after {
    display: none;
  }

  .country-card:hover,
  .toplist__item:hover,
  .offer:hover {
    transform: none;
  }
}

@media (update: slow), (prefers-reduced-motion: reduce) {
  .hero__media::after {
    display: none;
  }

  body {
    background-image: linear-gradient(180deg, #ffe9a8 0%, var(--paper) 32%, #ffe0b0 100%);
  }
}

/* Below-fold offer cards: skip layout/paint until near viewport (Chrome/Android). */
.offer + .offer {
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

/* —— Age gate + cookies —— */
.gate-lock {
  overflow: hidden;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  /* Solid scrim only: backdrop-filter blur causes scroll/jank on many LATAM Androids. */
  background: rgba(17, 17, 17, 0.88);
}

.gate__panel {
  width: min(100%, 26rem);
  background: var(--panel);
  border: 4px solid var(--ink);
  box-shadow: var(--comic-shadow-lg);
  padding: 1.35rem 1.25rem 1.4rem;
  text-align: center;
}

.gate__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-boom);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.gate__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.15;
}

.gate__text {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  background: var(--panel);
  border-top: 4px solid var(--ink);
  box-shadow: 0 -6px 0 rgba(17, 17, 17, 0.12);
  padding: 0.9rem 0;
}

.cookie-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.cookie-bar__title {
  font-family: var(--font-boom);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.cookie-bar__text {
  margin: 0.25rem 0 0;
  max-width: 52ch;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn--ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 3px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-boom);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

.btn--ghost-dark:hover {
  background: var(--accent-2);
  color: var(--ink);
}



/* —— México (green / white / red) —— */
body.theme-mx {
  --brand: #006847;
  --brand-deep: #004d35;
  --accent: #a50e1e;
  --accent-2: #f4f4f4;
  --ok: #006847;
  --cyan: #2a9d6a;
  --paper: #f3faf6;
  --panel: #f9fffc;
  background-color: var(--paper);
  background-image:
    var(--halftone),
    linear-gradient(180deg, #cfe8d9 0%, var(--paper) 30%, #ffe4e6 100%);
  background-size: 10px 10px, auto;
}

body.theme-mx .site-header {
  border-bottom-color: #fff;
  background: #004d35;
}

body.theme-mx .site-header .brand__name {
  text-shadow: 2px 2px 0 #ce1126;
}

body.theme-mx .subnav {
  background: #fff;
  border-bottom: 4px solid #ce1126;
}

body.theme-mx .local-chip {
  background: #fff;
  color: #004d35;
  border-color: #006847;
}

body.theme-mx .btn--jungle {
  background: #006847;
}

body.theme-mx .btn--jungle:hover {
  background: #ce1126;
}

body.theme-mx .trust-ribbon {
  background: #eef8f2;
  border-color: #006847;
}

body.theme-mx .hero__media {
  background: #004d35;
}

body.theme-mx .hero--country .hero__content::before {
  background: linear-gradient(90deg, #006847 0 33%, #fff 33% 66%, #ce1126 66%);
}

/* —— Back to top —— */
.back-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 3px solid var(--ink);
  background: var(--accent-2);
  color: var(--ink);
  font-family: var(--font-boom);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover,
.back-top:focus-visible {
  background: var(--accent);
  color: #fff;
  outline: none;
}

.back-top__text {
  line-height: 1;
}

body:has(.sticky-cta.is-visible) .back-top {
  bottom: calc(5.25rem + env(safe-area-inset-bottom));
}

body.nav-open .back-top {
  visibility: hidden;
  pointer-events: none;
}

/* —— Geo vibe: shared component theming —— */
body.theme-pe .offer,
body.theme-br .offer,
body.theme-co .offer,
body.theme-mx .offer {
  border-color: var(--ink);
}

body.theme-pe .offer--top {
  box-shadow: 6px 6px 0 #d91023;
}

body.theme-br .offer--top {
  box-shadow: 6px 6px 0 #ffdf00;
}

body.theme-co .offer--top {
  box-shadow: 6px 6px 0 #fcd116;
}

body.theme-mx .offer--top {
  box-shadow: 6px 6px 0 #006847;
}

body.theme-pe .chip--ok {
  background: #d91023;
  color: #fff;
}

body.theme-br .chip--ok {
  background: #002776;
  color: #ffdf00;
}

body.theme-co .chip--ok {
  background: #003893;
  color: #fcd116;
}

body.theme-mx .chip--ok {
  background: #006847;
  color: #fff;
}

body.theme-pe .section__title {
  text-shadow: 2px 2px 0 #ffd6da;
}

body.theme-br .section__title {
  text-shadow: 2px 2px 0 #ffdf00;
}

body.theme-co .section__title {
  text-shadow: 2px 2px 0 #fcd116;
}

body.theme-mx .section__title {
  text-shadow: 2px 2px 0 #cfe8d9;
}

body.theme-pe .bandito-says,
body.theme-br .bandito-says,
body.theme-co .bandito-says,
body.theme-mx .bandito-says {
  border-left: 4px solid var(--accent);
}

body.theme-pe .calc-box,
body.theme-pe .calc-app,
body.theme-br .calc-box,
body.theme-br .calc-app,
body.theme-co .calc-box,
body.theme-co .calc-app,
body.theme-mx .calc-box,
body.theme-mx .calc-app {
  background: var(--panel);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--accent);
}

body.theme-pe .comic-panel {
  background: #fffaf9;
  border-color: #d91023;
}

body.theme-br .comic-panel {
  background: #f7fff9;
  border-color: #002776;
}

body.theme-co .comic-panel {
  background: #fffdf5;
  border-color: #ce1126;
}

body.theme-mx .comic-panel {
  background: #f9fffc;
  border-color: #006847;
}

body.theme-pe .comic-panel__boom {
  color: #d91023;
}

body.theme-br .comic-panel__boom {
  color: #002776;
}

body.theme-co .comic-panel__boom {
  color: #ce1126;
}

body.theme-mx .comic-panel__boom {
  color: #ce1126;
}

body.theme-pe .faq summary,
body.theme-br .faq summary,
body.theme-co .faq summary,
body.theme-mx .faq summary {
  border-bottom-color: var(--accent);
}

body.theme-pe .toplist__item,
body.theme-br .toplist__item,
body.theme-co .toplist__item,
body.theme-mx .toplist__item {
  border-color: var(--ink);
}

body.theme-pe .toplist__rank {
  background: #d91023;
  color: #fff;
}

body.theme-br .toplist__rank {
  background: #002776;
  color: #ffdf00;
}

body.theme-co .toplist__rank {
  background: #ce1126;
  color: #fcd116;
}

body.theme-mx .toplist__rank {
  background: #006847;
  color: #fff;
}

body.theme-pe .guide-links a,
body.theme-br .guide-links a,
body.theme-co .guide-links a,
body.theme-mx .guide-links a {
  border-color: var(--ink);
  background: var(--panel);
}

body.theme-pe .guide-links a:hover {
  background: #ffd6da;
}

body.theme-br .guide-links a:hover {
  background: #ffdf00;
}

body.theme-co .guide-links a:hover {
  background: #fcd116;
}

body.theme-mx .guide-links a:hover {
  background: #cfe8d9;
}

body.theme-pe .site-nav__local {
  background: #ffd6da;
}

body.theme-br .site-nav__local {
  background: #ffdf00;
}

body.theme-co .site-nav__local {
  background: #fcd116;
}

body.theme-mx .site-nav__local {
  background: #cfe8d9;
}

body.theme-pe .sticky-cta {
  border-top-color: #ffd6da;
}

body.theme-br .sticky-cta {
  border-top-color: #ffdf00;
  background: #004d1e;
}

body.theme-co .sticky-cta {
  border-top-color: #fcd116;
  background: #00205b;
}

body.theme-mx .sticky-cta {
  border-top-color: #fff;
  background: #004d35;
}

body.theme-pe .back-top {
  background: #ffd6da;
  color: #7a0f1c;
}

body.theme-pe .back-top:hover,
body.theme-pe .back-top:focus-visible {
  background: #d91023;
  color: #fff;
}

body.theme-br .back-top {
  background: #ffdf00;
  color: #002776;
}

body.theme-br .back-top:hover,
body.theme-br .back-top:focus-visible {
  background: #002776;
  color: #ffdf00;
}

body.theme-co .back-top {
  background: #fcd116;
  color: #00205b;
}

body.theme-co .back-top:hover,
body.theme-co .back-top:focus-visible {
  background: #ce1126;
  color: #fff;
}

body.theme-mx .back-top {
  background: #fff;
  color: #004d35;
  border-color: #006847;
}

body.theme-mx .back-top:hover,
body.theme-mx .back-top:focus-visible {
  background: #006847;
  color: #fff;
}

body.theme-pe .prose a,
body.theme-br .prose a,
body.theme-co .prose a,
body.theme-mx .prose a {
  color: var(--accent);
}

body.theme-pe .badge--gold {
  background: #ffd6da;
  color: #7a0f1c;
}

body.theme-br .badge--gold {
  background: #ffdf00;
  color: #002776;
}

body.theme-co .badge--gold {
  background: #fcd116;
  color: #00205b;
}

body.theme-mx .badge--gold {
  background: #cfe8d9;
  color: #004d35;
}

@media (max-width: 719px) {
  .back-top__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .back-top {
    min-width: 2.75rem;
    justify-content: center;
    padding-inline: 0.7rem;
    font-size: 1.15rem;
  }
}
