/* Ajustes mínimos de Joik sobre Judges. El CSS original de la plantilla no se modifica. */

.joik-concept-badge {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 10000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  max-width: min(540px, calc(100vw - 36px));
  padding: 12px 15px;
  background: #061013;
  color: #fff;
  font-size: 12px;
}

/* El recuadro es de Joik, no de la plantilla: usa los colores de marca. */
.joik-concept-badge strong {
  color: #01d1fe;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.joik-concept-badge a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Wordmark tipográfico en lugar del logo de demostración. */
.joik-legal-brand {
  display: inline-flex;
  flex-direction: column;
  color: #171717;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: .9;
}

.joik-legal-brand small {
  margin-top: 8px;
  color: #9e824d;
  font-family: Lato, sans-serif;
  font-size: 8px;
  letter-spacing: .32em;
}

.joik-legal-brand--footer {
  color: #fff;
  font-size: 34px;
}

/* Contacto sin formulario: texto y acciones en lugar de los campos. */
.joik-legal-contact-copy {
  max-width: 560px;
  margin: 24px 0 36px;
  color: #c9c9c9;
  font-size: 17px;
}

.joik-legal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.joik-legal-secondary {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.joik-legal-secondary:hover {
  color: var(--judges-base);
}

/* Accesibilidad: h1 oculto (Judges no trae ninguno), salto al contenido y foco
   visible con teclado. El anillo doble se ve sobre las secciones claras y oscuras;
   hace falta !important porque .thm-btn declara outline: none !important. */
.joik-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.joik-skip {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 100001;
  padding: 10px 16px;
  background: #061013;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.joik-skip:focus {
  top: 12px;
  color: #fff;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
.thm-btn:focus-visible {
  outline: 2px solid #c1b79a !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #171717 !important;
}

@media (max-width: 767px) {
  /* En móvil la etiqueta también se ve desde la primera pantalla. */
  .joik-concept-badge {
    bottom: 10px;
    left: 10px;
    gap: 4px 12px;
    max-width: calc(100vw - 84px);
    padding: 9px 12px;
    font-size: 11px;
    line-height: 1.45;
  }

  .joik-concept-badge span {
    order: 3;
    flex-basis: 100%;
  }

  .joik-legal-brand {
    font-size: 21px;
  }
}

/* Quien pide menos movimiento no ve las animaciones CSS de la plantilla
   (WOW/animate.css, transiciones). El resto de visitantes no nota cambios. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
