/* plataformajuegoar.com — pja-cuerpo
 * --accent: principal; --accent-2: secundario / acento alternativo
 * Tema: oscuro por defecto; bloques .pja-surface--l = sección clara
 */
html[data-theme="oscuro"] {
  color-scheme: dark;
}

:root {
  --bg: #0a0e12;
  --bg-elevated: #12181f;
  --bg-card: #151c24;
  --text: #e8edf2;
  --text-muted: #8b98a5;
  /* acento cálido (ámbar) + secundario esmeralda */
  --accent: #c9a227;
  --accent-hover: #e0b83a;
  --accent-2: #2dd4a3;
  --border: rgba(201, 162, 39, 0.22);
  --danger: #c94a4a;
  --radius: 12px;
  --font: "DM Sans", system-ui, sans-serif;
  --header-h: 68px;
}

.pja-surface--l {
  --bg: #f3f2ec;
  --bg-elevated: #e8e5dc;
  --bg-card: #fffefb;
  --text: #1a1f14;
  --text-muted: #4a5247;
  --accent: #0d6b55;
  --accent-hover: #0a5a48;
  --accent-2: #a63d2a;
  --border: rgba(0, 0, 0, 0.1);
  background: var(--bg);
  color: var(--text);
  color-scheme: light;
}

.pja-surface--l a {
  color: var(--accent);
}

.pja-surface--l a:hover {
  color: var(--accent-hover);
}

@media (prefers-color-scheme: light) {
  :root {
    /* sin cambio forzado; edición con .pja-surface--l en home */
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: #0a0e12;
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

html[data-theme="oscuro"] body,
body.pja-body-oscuro {
  background: var(--bg, #0a0e12);
  color: var(--text, #e8edf2);
}

body.is-locked {
  overflow: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

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

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Ritmo vertical distinto */
.pja-sep--f {
  padding: 1.5rem 0;
}
.pja-sep--a {
  padding: 2.5rem 0 3.5rem;
}
.pja-sep--l {
  padding: 4rem 0 4.5rem;
}
.pja-sep--xl {
  padding: 5.5rem 0 3rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 14, 18, 0.94);
  backdrop-filter: blur(12px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: min(1120px, 92vw);
  margin-inline: auto;
  padding: 0.5rem 0;
}

.pja-surface--l .site-header,
.pja-surface--l ~ * .site-header {
  /* header stays dark on light section pages - use header outside surface */
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #e8edf2;
  text-decoration: none;
  line-height: 1.15;
}

.logo-link:hover {
  color: var(--accent, #c9a227);
  text-decoration: none;
}

.logo-link small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: #8b98a5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.9rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-main a {
  font-size: 0.88rem;
  color: #9aa8b3;
}

.nav-main a:hover {
  color: var(--accent, #c9a227);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  border: 1px solid var(--accent, #c9a227);
  border-radius: 4px;
  color: var(--accent, #c9a227);
}

/* Portada split: sin CTA de negocio en la misma franja */
.pja-hero {
  position: relative;
  overflow: hidden;
  min-height: 38vh;
}

.pja-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.pja-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 14, 18, 0.96) 0%, rgba(10, 14, 18, 0.88) 45%, rgba(10, 14, 18, 0.5) 100%);
  z-index: 1;
}

.pja-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem 2.5rem;
  align-items: end;
  padding: 2.25rem 0 2.5rem;
}

.pja-hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 0.4rem;
  max-width: 18ch;
  color: #e8edf2;
}

.pja-hero__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2, #2dd4a3);
  margin-bottom: 0.5rem;
}

.pja-hero__aside {
  background: rgba(18, 24, 31, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem 1.1rem;
  font-size: 0.82rem;
  color: #9aa8b3;
  line-height: 1.45;
  border-left: 3px solid var(--accent-2, #2dd4a3);
  max-width: 34ch;
  justify-self: end;
}
.pja-hero__aside strong {
  color: #e8edf2;
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
}

.pja-ribbon-18 {
  background: #111820;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  font-size: 0.8rem;
  color: #8b98a5;
  text-align: center;
}

/* Checklist */
.pja-checklist-wrap {
  max-width: 48rem;
  margin: 0 auto;
}

.pja-checklist h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: #e8edf2;
}
.pja-checklist__lead {
  color: #8b98a5;
  font-size: 0.95rem;
  margin: 0 0 1.1rem;
  max-width: 46ch;
}

ol.pja-check {
  margin: 0;
  padding: 0 0 0 1.15rem;
  list-style: none;
  counter-reset: pja;
}
ol.pja-check li {
  position: relative;
  padding-left: 0.1rem;
  margin-bottom: 0.9rem;
  color: #b5c0ca;
  font-size: 0.92rem;
  counter-increment: pja;
  padding-left: 0.2rem;
}
ol.pja-check li::before {
  content: "✓";
  position: absolute;
  left: -1.15rem;
  color: var(--accent-2, #2dd4a3);
  font-weight: 800;
  font-size: 0.85rem;
}
ol.pja-check li strong {
  color: #e8edf2;
}

/* Branching A/B */
.pja-branch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  max-width: 58rem;
  margin: 0 auto;
}
.pja-branch__col {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem 1.35rem;
  min-height: 9rem;
}
.pja-branch__col:nth-child(1) {
  border-top: 3px solid var(--accent, #c9a227);
  padding-top: 1.25rem;
}
.pja-branch__col:nth-child(2) {
  border-top: 3px solid #5c6570;
  padding-top: 1.1rem;
}
.pja-branch h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b98a5;
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.pja-branch p {
  font-size: 0.9rem;
  color: #b0bbc4;
  margin: 0;
  line-height: 1.5;
}

/* Editorial */
.pja-article {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 0.5rem;
}
.pja-article h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: #e8edf2;
}
.pja-article h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.45rem;
  color: #d0d8e0;
}
.pja-article h2 + h3 {
  margin-top: 0.6rem;
}
.pja-article p {
  color: #a8b2bc;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.pja-article p.long {
  font-size: 1.02rem;
  line-height: 1.75;
}
.pja-article blockquote {
  margin: 1.25rem 0;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 3px solid var(--accent, #c9a227);
  color: #c5ccd3;
  font-size: 0.92rem;
  font-style: italic;
  background: rgba(18, 24, 31, 0.5);
  border-radius: 0 8px 8px 0;
}

.pja-compare {
  width: 100%;
  max-width: 32rem;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 0.5rem 0 1.25rem;
  color: #9aa5af;
}
.pja-compare th,
.pja-compare td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: left;
}
.pja-compare th {
  background: #121a22;
  color: #e8edf2;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pja-ejemplo {
  font-size: 0.78rem;
  color: #6e7a85;
  border-left: 2px solid #3d4a55;
  padding: 0.4rem 0 0.4rem 0.7rem;
  margin: 0.5rem 0 0;
  line-height: 1.45;
}
.pja-ejemplo code {
  font-size: 0.76em;
  background: #121820;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

/* Operadores: intro izquierda */
.pja-marcas-intro {
  max-width: 32rem;
  margin: 0 0 1.5rem;
  text-align: left;
}
.pja-marcas-intro h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  line-height: 1.2;
  color: #e8edf2;
}
.pja-marcas-intro p {
  color: #8b98a5;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  max-width: 44ch;
}

/* Grilla de marcas: fila uniforme (3 columnas) */
.pja-marcas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "b b"
    "c d";
  gap: 1rem 1.1rem;
  align-items: stretch;
}
.pja-marcas__banner {
  grid-area: b;
}
.pja-marcas__one {
  grid-area: c;
}
.pja-marcas__two {
  grid-area: d;
  padding-top: 0.3rem;
}

.pja-marcas-grid--uniforme {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-template-areas: none;
  gap: 1.15rem 1.25rem;
  align-items: stretch;
}
.pja-marcas-grid--uniforme .pja-marca--card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #151c24;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pja-marcas-grid--uniforme .pja-marca--card:hover {
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.pja-marcas-grid--uniforme .pja-marca--card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.2rem 1.15rem 1.2rem;
  gap: 0.55rem;
}
.pja-marcas-grid--uniforme .pja-marca--card__body .btn {
  margin-top: auto;
  width: 100%;
  max-width: none;
  justify-content: center;
}
.pja-marcas-grid--uniforme .pja-marca--card__logo {
  margin-top: 0;
  margin-bottom: 0.15rem;
}
.pja-marcas-grid--uniforme .pja-marca--card p {
  flex: 0 0 auto;
}
.pja-marcas-grid--uniforme .pja-marca--card p.pja-marca__text {
  flex: 1 1 auto;
  min-height: 2.5rem;
}

/* Logotipos claros sobre fondo oscuro: bet365 / Betwarrior = PNG claro; Betsson = master oscuro con inversión */
.pja-betsson-from-dark {
  filter: invert(1) brightness(1.12);
  opacity: 0.98;
}
.pja-logo--claro {
  object-fit: contain;
}

/* Variantes de marca */
.pja-marca--banner {
  display: grid;
  grid-template-columns: minmax(0, 130px) 1fr;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  align-items: center;
  transition: border-color 0.2s;
  min-height: 5.5rem;
}
.pja-marca--banner:hover {
  border-color: rgba(45, 212, 163, 0.35);
}
.pja-marca--banner__img {
  width: 100%;
  height: 100%;
  min-height: 5rem;
  object-fit: cover;
  border-radius: 6px;
}
.pja-marca--banner__content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pja-marca--banner__logo {
  max-height: 32px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.pja-marca--banner p {
  margin: 0;
  font-size: 0.88rem;
  color: #9aa8b3;
  line-height: 1.4;
}
.pja-bonus-hint {
  font-size: 0.75rem;
  color: var(--accent-2, #2dd4a3);
  font-weight: 600;
}

.pja-marca--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  background: #131b24;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.9rem 0.75rem 1rem;
  min-height: 4.2rem;
}
.pja-marca--inline__logo {
  max-height: 30px;
  width: auto;
  flex: 0 0 auto;
}
.pja-marca--inline__body {
  flex: 1 1 180px;
  min-width: 0;
}
.pja-marca--inline p {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  color: #9eadb8;
  line-height: 1.35;
}
.pja-rating {
  font-size: 0.75rem;
  color: #7d8a94;
  margin-top: 0.15rem;
}
.pja-rating strong {
  color: #c9a227;
  font-weight: 700;
}
.pja-rating--note {
  display: block;
  font-size: 0.65rem;
  color: #5c656d;
  margin-top: 0.2rem;
}

.pja-marca--card {
  display: flex;
  flex-direction: column;
  background: #151c24;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 15rem;
}
.pja-marca--card--tall {
  min-height: 18rem;
}
.pja-marca--card__img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}
.pja-marca--card__body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
}
.pja-marca--card__logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  object-position: left;
}
.pja-marca--card p {
  font-size: 0.9rem;
  color: #9db0bd;
  margin: 0;
  flex: 1;
  line-height: 1.45;
}

/* Botones: variedad */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.2;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn--primary {
  background: var(--accent, #c9a227);
  color: #0a0e12;
}

.btn--primary:hover {
  background: var(--accent-hover, #e0b83a);
  color: #0a0e12;
  text-decoration: none;
}

.btn--wide {
  min-width: 10.5rem;
  padding: 0.6rem 1.35rem;
}
.btn--compact {
  min-width: 0;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
}
.btn--linkish {
  background: transparent;
  color: var(--accent-2, #2dd4a3);
  border: 1px dashed rgba(45, 212, 163, 0.4);
  font-size: 0.82rem;
  font-weight: 600;
}
.btn--linkish:hover {
  border-color: var(--accent-2, #2dd4a3);
  color: #4df5c0;
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: #e8edf2;
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent, #c9a227);
  color: var(--accent, #c9a227);
  text-decoration: none;
}

.btn--danger {
  background: #121a22;
  color: #e8edf2;
  border: 1px solid var(--border);
}

.btn--danger:hover {
  border-color: var(--danger);
  color: #f0a0a0;
}

/* Inner pages: articulo */
article.brand-article,
.brand-article {
  max-width: 720px;
}

article.brand-article h1,
.brand-article h1 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  margin-top: 0;
  line-height: 1.2;
}

.pja-article-head {
  margin-bottom: 1rem;
}
.pja-article-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b98a5;
  margin: 0 0 0.3rem;
  font-weight: 700;
}

.brand-article h2,
.brand-article h2 {
  font-size: 1.12rem;
  margin-top: 1.75rem;
  color: #e8edf2;
}
.brand-article p,
.brand-article li {
  color: #a5b0ba;
  font-size: 0.95rem;
  line-height: 1.65;
}
.brand-article ul {
  padding-left: 1.25rem;
}
.brand-hero-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1.25rem;
}
.cta-wrap {
  margin: 2rem 0;
  padding: 1.4rem 1.25rem;
  background: #121a22;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  border-left: 4px solid var(--accent-2, #2dd4a3);
}
.cta-wrap .btn--wide {
  margin-top: 0.4rem;
}

.legal-content {
  max-width: 720px;
  padding: 1.5rem 0 3.5rem;
}
.legal-content h1 {
  font-size: 1.6rem;
  margin-top: 0;
  color: #e8edf2;
}
.legal-content h2 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  color: #e0e6ed;
}
.legal-content p,
.legal-content li {
  color: #9aa5af;
  font-size: 0.94rem;
  line-height: 1.6;
}

.minors-hero {
  text-align: center;
  padding: 3.5rem 0;
  max-width: 480px;
  margin: 0 auto;
}
.minors-hero h1 {
  color: #e8edf2;
  font-size: 1.5rem;
}

/* Footer: grid asimétrico + texto encima */
.site-footer {
  margin-top: auto;
  padding: 2rem 0 1.75rem;
  border-top: 1px solid var(--border, rgba(201, 162, 39, 0.2));
  background: #050709;
}
.pja-footer-eyebrow {
  font-size: 0.78rem;
  color: #6e7a85;
  max-width: 60ch;
  margin: 0 0 1.25rem;
  line-height: 1.45;
  padding: 0 0.1rem;
}
.pja-footer-chaos {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.8fr);
  grid-template-areas: "a b c" "d d c";
  gap: 0.9rem 1.2rem;
  margin-bottom: 1.2rem;
}
.pja-footer-chaos__legales {
  grid-area: a;
}
.pja-footer-chaos__site {
  grid-area: b;
  align-self: start;
}
.pja-footer-chaos__juego {
  grid-area: c;
  align-self: stretch;
  row-span: 2;
}
.pja-footer-chaos__loose {
  grid-area: d;
  font-size: 0.8rem;
  color: #5d6873;
  line-height: 1.4;
  padding: 0.4rem 0 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}
@media (max-width: 900px) {
  .pja-footer-chaos {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a b" "c c" "d d";
  }
  .pja-footer-chaos__juego {
    grid-row: auto;
  }
}
@media (max-width: 560px) {
  .pja-footer-chaos {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d";
  }
}

.site-footer h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6e7a85;
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
}
.site-footer a {
  color: #9aa5af;
}
.site-footer a:hover {
  color: var(--accent, #c9a227);
}
.responsible-logos {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.2rem;
}
.responsible-logos a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.45rem;
  background: #0e1318;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.72rem;
  line-height: 1.3;
  max-width: 100%;
}
.responsible-logos a:hover {
  border-color: rgba(201, 162, 39, 0.35);
}
.loteria-badge {
  color: #b8c0c8;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #5a6570;
}
.pja-unsplash {
  font-size: 0.7rem;
  color: #4a555e;
  margin: 0 0 0.6rem;
}

/* Age + cookie (heredan de antes) */
.age-modal[hidden] {
  display: none !important;
}
.age-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}
.age-modal__box {
  max-width: 400px;
  width: 100%;
  background: #151c24;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.age-modal__box h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: #e8edf2;
}
.age-modal__box p {
  color: #9aa5af;
  font-size: 0.88rem;
  margin: 0 0 1.1rem;
}
.age-modal__actions {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
}
.age-modal__actions .btn {
  min-width: 108px;
}

.cookie-bar[hidden] {
  display: none !important;
}
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.9rem 1rem;
  background: #121a22;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.4);
}
.cookie-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}
.cookie-bar p {
  margin: 0;
  font-size: 0.84rem;
  color: #8b98a5;
  max-width: 58ch;
  line-height: 1.45;
}
.cookie-bar__actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

/* Page 404 */
.pja-404 {
  text-align: left;
  padding: 2.5rem 0 4rem;
  max-width: 28rem;
  margin: 0 auto;
}
.pja-404 h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 0.3rem;
  line-height: 1;
  color: #e8edf2;
  letter-spacing: -0.03em;
}
.pja-404 p {
  color: #8b98a5;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.pja-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  align-items: center;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}

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

/* Responsive */
@media (max-width: 800px) {
  .pja-hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .pja-hero__aside {
    justify-self: start;
    max-width: 100%;
  }
  .pja-branch {
    grid-template-columns: 1fr;
  }
  .pja-marcas-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "b" "c" "d";
  }
  .pja-marcas-grid--uniforme {
    grid-template-columns: 1fr;
  }
  .pja-marca--banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-main {
    gap: 0.5rem 0.75rem;
  }
}
