/* ==========================================================================
 * KairSun — footer v2 «vivo» (CSS puro, sin JS)
 * --------------------------------------------------------------------------
 * Dueño: agente FOOTER. Se inyecta en cada HTML con tools/sync-footer.mjs a
 * partir de tools/footer.template.html. El <link> va en el <head>
 * (render-blocking: sin FOUC); el footer v2 gana la cascada por orden y sin
 * !important. Los tokens de color viven scoped en .site-footer.ksf (mismos
 * valores que marketing.css) para que legal.css —que en tema claro pisa
 * --gold con #A16207— no degrade contraste; --max/--display/--font siguen
 * tomándose del sitio con fallback.
 *
 * Reglas respetadas: 0 !important · 0 estilos inline · 0 fuentes externas ·
 * contraste AA sobre #01070F · focus visible · targets ≥ 44px ·
 * responsive 320 → ultrawide (ancho máximo = --max del sitio) ·
 * prefers-reduced-motion apaga todo movimiento.
 * ========================================================================== */

/* --------------------------------------------------------------------------
 * 1. Base + atmósfera
 * ------------------------------------------------------------------------ */

.site-footer.ksf {
  /* Tokens propios: el footer es oscuro en TODAS las paginas. Sin esto, el
   * :root claro de legal.css pisa --gold (A16207 sobre #01070F = 2.1:1) y el
   * sello/bisagra pierden contraste. Valores = marketing.css. */
  --gold: #F5C451;
  --gold-hi: #FFE9B8;
  --gold-base: #FFD777;
  --gold-deep: #E8A93E;
  --gold-ink: #2B1D00;
  --mastery: #2DD4BF;
  --text: #FAFAFA;
  --text-2: #E2E8F0;
  --muted: #B8C4D6;
  /* Motion: alias de los tokens de marketing.css (con fallback). Un solo
   * lenguaje de tiempos/curvas para todo el footer. */
  --ksf-t-fast: var(--dur-1, 140ms);
  --ksf-t-mid: var(--dur-2, 240ms);
  --ksf-t-slow: var(--dur-3, 420ms);
  --ksf-ease: var(--ease-spring, cubic-bezier(0.2, 0.85, 0.25, 1));
  --ksf-ease-out: var(--ease-out, cubic-bezier(0.22, 0.9, 0.24, 1));
  --ksf-lift: var(--lift-2, -2px);
  position: relative;
  isolation: isolate;
  /* clip (no hidden): el pseudo ::before mide 2× y con hidden crearía un
   * scroll container horizontal en el footer. */
  overflow: clip;
  margin-top: 72px;
  padding: 0;
  border-top: 0;
  color: var(--text-2, #E2E8F0);
  font-family: var(--font, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  font-size: 0.9rem;
  line-height: 1.55;
  /* Opaco desde el borde: sobre papel claro (legales) el texto del footer
   * siempre mide AA; la hairline dorada marca la bisagra con la pagina. */
  background:
    radial-gradient(ellipse 55% 120% at 10% 0%, rgba(45, 212, 191, 0.12), transparent 62%),
    radial-gradient(ellipse 45% 100% at 90% 6%, rgba(245, 196, 81, 0.1), transparent 58%),
    linear-gradient(180deg, #04101F 0%, #01070F 62%);
}

/* Hairline gold→teal en movimiento lento: loop SOLO transform (compositor).
 * El pseudo mide 2× el footer y el gradiente vive centrado; el translate lo
 * pasea ±12% sin perder el trazo en ningún borde. */
.site-footer.ksf::before {
  content: "";
  position: absolute;
  inset: 0 -50% auto;
  height: 1px;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold, #F5C451) 20%,
    var(--mastery, #2DD4BF) 50%,
    var(--gold, #F5C451) 80%,
    transparent 100%
  );
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-shadow:
    0 0 14px rgba(45, 212, 191, 0.35),
    0 0 34px rgba(245, 196, 81, 0.16);
  pointer-events: none;
  z-index: 2;
  transform: translate3d(0, 0, 0);
  transform-origin: 50% 50%;
}

@keyframes ksf-rail {
  from { transform: translate3d(-12%, 0, 0); }
  to { transform: translate3d(12%, 0, 0); }
}

/* Constelación sutil de fondo (dos capas de estrellas con parpadeo lento) */
.ksf .ksf-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ksf .ksf-sky::before,
.ksf .ksf-sky::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: transparent;
  opacity: 0.5;
}

.ksf .ksf-sky::before {
  box-shadow:
    6vw 34px 0 0 rgba(255, 233, 184, 0.5),
    18vw 118px 0 1px rgba(245, 196, 81, 0.34),
    31vw 26px 0 0 rgba(45, 212, 191, 0.4),
    44vw 176px 0 1px rgba(255, 233, 184, 0.3),
    57vw 62px 0 0 rgba(245, 196, 81, 0.4),
    69vw 148px 0 0 rgba(45, 212, 191, 0.34),
    81vw 40px 0 1px rgba(255, 233, 184, 0.32),
    93vw 196px 0 0 rgba(245, 196, 81, 0.28),
    24vw 252px 0 0 rgba(45, 212, 191, 0.3),
    63vw 300px 0 1px rgba(255, 233, 184, 0.24),
    12vw 336px 0 0 rgba(245, 196, 81, 0.22),
    87vw 352px 0 0 rgba(45, 212, 191, 0.22);
}

.ksf .ksf-sky::after {
  box-shadow:
    9vw 74px 0 0 rgba(45, 212, 191, 0.32),
    22vw 158px 0 1px rgba(255, 233, 184, 0.26),
    37vw 96px 0 0 rgba(245, 196, 81, 0.26),
    52vw 214px 0 0 rgba(45, 212, 191, 0.24),
    66vw 30px 0 1px rgba(255, 233, 184, 0.24),
    78vw 246px 0 0 rgba(245, 196, 81, 0.22),
    91vw 112px 0 0 rgba(45, 212, 191, 0.26),
    41vw 320px 0 1px rgba(255, 233, 184, 0.18),
    74vw 358px 0 0 rgba(245, 196, 81, 0.18);
}

@keyframes ksf-twinkle {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.85; }
}

/* --------------------------------------------------------------------------
 * 2. Layout (alineado al ancho máximo del sitio)
 * ------------------------------------------------------------------------ */

.ksf .ksf-wrap {
  position: relative;
  z-index: 1;
  max-width: var(--max, 1120px);
  margin-inline: auto;
  /* padding-inline espeja .wrap del sitio (20px; 12px ≤560) para que el
   * lockup/columnas arranquen en la misma x que el contenido. */
  padding: 64px 20px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 44px;
  align-items: start;
}

/* --------------------------------------------------------------------------
 * 3. Marca + mascota (KairSun = Kairós + Sun, el «+» como bisagra)
 * ------------------------------------------------------------------------ */

.ksf .ksf-brand {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.ksf .ksf-brand__lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  min-height: 44px;
  color: var(--text, #FAFAFA);
  text-decoration: none;
  border-radius: 14px;
}

.ksf .ksf-brand__lockup:hover,
.ksf .ksf-brand__lockup:focus-visible {
  color: var(--text, #FAFAFA);
}

/* El mark dúo Kairós + Sun se apoya en la bisagra: sube 2px y gana anillo. */
.ksf .ksf-mark {
  transition:
    transform var(--ksf-t-mid) var(--ksf-ease),
    box-shadow var(--ksf-t-mid) var(--ksf-ease-out),
    border-color var(--ksf-t-mid) var(--ksf-ease-out);
}

.ksf .ksf-brand__lockup:hover .ksf-mark,
.ksf .ksf-brand__lockup:focus-visible .ksf-mark {
  transform: translateY(var(--ksf-lift));
  border-color: rgba(245, 196, 81, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 4px rgba(245, 196, 81, 0.12),
    0 14px 30px rgba(0, 0, 0, 0.45);
}

.ksf .ksf-brand__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ksf .ksf-brand__etym {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted, #B8C4D6);
}

.ksf .ksf-brand__name {
  font-family: var(--display, "Times New Roman", Georgia, serif);
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.08;
  color: var(--gold-hi, #FFE9B8);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ksf .ksf-brand__name {
    background: linear-gradient(
      135deg,
      var(--gold-hi, #FFE9B8),
      var(--gold-base, #FFD777) 52%,
      var(--gold-deep, #E8A93E)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* Micro-interacción del «+»: gira sobre su eje y se enciende en gold */
.ksf .ksf-plus {
  display: inline-grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  border: 1px solid rgba(245, 196, 81, 0.5);
  background: rgba(245, 196, 81, 0.12);
  color: var(--gold, #F5C451);
  font-weight: 700;
  line-height: 1;
  transition:
    transform var(--ksf-t-mid) var(--ksf-ease),
    color var(--ksf-t-fast) var(--ksf-ease-out),
    background var(--ksf-t-fast) var(--ksf-ease-out),
    border-color var(--ksf-t-fast) var(--ksf-ease-out),
    box-shadow var(--ksf-t-slow) var(--ksf-ease-out);
}

.ksf .ksf-brand__lockup:hover .ksf-plus,
.ksf .ksf-brand__lockup:focus-visible .ksf-plus {
  transform: rotate(90deg) scale(1.05);
  color: var(--gold-ink, #2B1D00);
  background: linear-gradient(180deg, var(--gold-hi, #FFE9B8), var(--gold-base, #FFD777) 55%, var(--gold-deep, #E8A93E));
  border-color: transparent;
  box-shadow:
    0 0 0 4px rgba(245, 196, 81, 0.16),
    0 6px 16px rgba(245, 196, 81, 0.35);
}

/* Mark dúo Kairós + Sun: mismo tile glass que antes ocupaba la mascota. */
.ksf .ksf-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: none;
  width: 78px;
  height: 64px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.14), transparent 55%),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 26px rgba(0, 0, 0, 0.4);
}

.ksf .ksf-mark::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.3), rgba(245, 196, 81, 0.12) 48%, transparent 70%);
  filter: blur(10px);
}

.ksf .ksf-mark__kairos,
.ksf .ksf-mark__sun {
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.ksf .ksf-mark__kairos {
  width: 40px;
  height: 40px;
}

.ksf .ksf-mark__sun {
  width: 22px;
  height: 22px;
}

/* Tagline y aviso legal (verdad, no marketing) */
.ksf .ksf-tagline {
  margin: 0;
  max-width: 34ch;
  color: var(--muted, #B8C4D6);
  font-size: 0.95rem;
  text-wrap: balance;
}

.ksf .ksf-disclaimer {
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--gold, #F5C451);
  border-radius: 0 10px 10px 0;
  background: rgba(245, 196, 81, 0.08);
  color: var(--text-2, #E2E8F0);
  font-size: 0.88rem;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
 * 4. Columnas Producto / Legal + links con subrayado y flecha
 * ------------------------------------------------------------------------ */

.ksf .ksf-col {
  position: relative;
  min-width: 0;
}

/* Hairline vertical entre columnas (solo desktop ancho). */
.ksf .ksf-col::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.14) 16%,
    rgba(255, 255, 255, 0.14) 84%,
    transparent
  );
  pointer-events: none;
}

.ksf .ksf-col__title {
  margin: 0 0 10px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text, #FAFAFA);
}

.ksf .ksf-col__title::before {
  content: "";
  flex: none;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold, #F5C451), var(--mastery, #2DD4BF));
  box-shadow: 0 0 8px rgba(245, 196, 81, 0.35);
  transform: scaleX(0.5833);
  transform-origin: 0 50%;
  transition: transform var(--ksf-t-mid) var(--ksf-ease-out);
}

.ksf .ksf-col:hover .ksf-col__title::before,
.ksf .ksf-col:focus-within .ksf-col__title::before {
  transform: scaleX(1);
}

.ksf .ksf-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ksf .ksf-links li {
  margin: 0;
}

.ksf .ksf-link {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 0;
  color: var(--text-2, #E2E8F0);
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(90deg, var(--gold, #F5C451), var(--mastery, #2DD4BF));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition:
    color var(--ksf-t-fast) var(--ksf-ease-out),
    background-size var(--ksf-t-mid) var(--ksf-ease-out);
}

/* Chip de hover: se enciende sin mover el layout (inset negativo). */
.ksf .ksf-link::before {
  content: "";
  position: absolute;
  inset: 7px -10px;
  z-index: -1;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(245, 196, 81, 0.14), rgba(45, 212, 191, 0.08));
  box-shadow: inset 0 0 0 1px rgba(245, 196, 81, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ksf-t-fast) var(--ksf-ease-out);
}

.ksf .ksf-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--gold, #F5C451);
  border-right: 2px solid var(--gold, #F5C451);
  border-radius: 1px;
  transform: translateX(-5px) rotate(45deg);
  opacity: 0;
  transition:
    transform var(--ksf-t-mid) var(--ksf-ease-out),
    opacity var(--ksf-t-fast) var(--ksf-ease-out);
}

.ksf .ksf-link:hover,
.ksf .ksf-link:focus-visible {
  color: var(--gold-hi, #FFE9B8);
  background-size: 100% 2px;
}

.ksf .ksf-link:hover::before,
.ksf .ksf-link:focus-visible::before {
  opacity: 1;
}

.ksf .ksf-link:hover::after,
.ksf .ksf-link:focus-visible::after {
  transform: translateX(0) rotate(45deg);
  opacity: 1;
}

/* El correo es la acción de contacto: chip con borde, sin subrayado. */
.ksf .ksf-link--mail {
  padding: 8px 14px;
  border: 1px solid rgba(245, 196, 81, 0.28);
  border-radius: 999px;
  background-image: none;
  background-color: rgba(245, 196, 81, 0.06);
  transition:
    color var(--ksf-t-fast) var(--ksf-ease-out),
    border-color var(--ksf-t-fast) var(--ksf-ease-out),
    background-color var(--ksf-t-fast) var(--ksf-ease-out);
}

.ksf .ksf-link--mail::before,
.ksf .ksf-link--mail::after {
  display: none;
}

.ksf .ksf-link--mail:hover,
.ksf .ksf-link--mail:focus-visible {
  border-color: rgba(245, 196, 81, 0.55);
  background-color: rgba(245, 196, 81, 0.12);
}

/* --------------------------------------------------------------------------
 * 5. Meta: contacto, sello Android, copyright
 * ------------------------------------------------------------------------ */

.ksf .ksf-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: 12px;
  padding: 20px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ksf .ksf-fine {
  margin: 0;
  color: var(--muted, #B8C4D6);
  font-size: 0.82rem;
}

.ksf .ksf-meta__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

/* Sello: doble anillo (outline + borde) y brillo interior de estampa. */
.ksf .ksf-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, 0.3);
  outline: 1px solid rgba(61, 220, 132, 0.22);
  outline-offset: 3px;
  background:
    linear-gradient(180deg, rgba(245, 196, 81, 0.1), rgba(255, 255, 255, 0.03) 72%),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -8px 16px rgba(0, 0, 0, 0.22);
  color: var(--text-2, #E2E8F0);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ksf .ksf-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DDC84;
  box-shadow:
    0 0 0 3px rgba(61, 220, 132, 0.16),
    0 0 0 5px rgba(61, 220, 132, 0.06),
    0 0 10px rgba(61, 220, 132, 0.5);
}

/* --------------------------------------------------------------------------
 * 6. Focus visible (nunca outline:none sin reemplazo)
 * ------------------------------------------------------------------------ */

.ksf a:focus-visible,
.ksf .ksf-link:focus-visible {
  outline: 2px solid var(--gold, #F5C451);
  outline-offset: 3px;
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.35);
}

/* --------------------------------------------------------------------------
 * 7. Motion (todo apagado con reduced-motion)
 * ------------------------------------------------------------------------ */

/* EXACTAMENTE 2 loops permanentes: hairline (ksf-rail, solo transform) +
 * constelación (ksf-twinkle, solo opacity). La segunda capa de estrellas queda
 * estática para no sumar un tercer loop. El halo, la respiración de la
 * mascota y el glint también quedan estáticos: mismo look, sin CPU de fondo.
 * Nada de filter animado. */
@media (prefers-reduced-motion: no-preference) {
  .site-footer.ksf::before {
    animation: ksf-rail 16s ease-in-out infinite alternate;
  }

  .ksf .ksf-sky::before {
    animation: ksf-twinkle 11s ease-in-out infinite;
  }
}

/* Entradas sutiles por view(): sin fill, así una captura full-page o un lector
 * sin scroll nunca pierde el footer; el stagger va por columna. */
@keyframes ksf-rise {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes ksf-hair {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ksf .ksf-wrap > * {
      animation: ksf-rise linear;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }

    .ksf .ksf-wrap > :nth-child(2) { animation-range: entry 6% entry 61%; }
    .ksf .ksf-wrap > :nth-child(3) { animation-range: entry 12% entry 67%; }
    .ksf .ksf-wrap > :nth-child(4) { animation-range: entry 18% entry 73%; }

    .ksf .ksf-col::before {
      transform-origin: 50% 0;
      animation: ksf-hair linear;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }

    .ksf .ksf-col:nth-child(2)::before { animation-range: entry 6% entry 61%; }
    .ksf .ksf-col:nth-child(3)::before { animation-range: entry 12% entry 67%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer.ksf::before {
    animation: none;
    transform: none;
  }

  .ksf .ksf-sky::before,
  .ksf .ksf-sky::after {
    animation: none;
  }

  .ksf .ksf-link,
  .ksf .ksf-link::before,
  .ksf .ksf-link::after,
  .ksf .ksf-link--mail,
  .ksf .ksf-plus,
  .ksf .ksf-mark,
  .ksf .ksf-col__title::before {
    transition: none;
  }

  .ksf .ksf-brand__lockup:hover .ksf-plus,
  .ksf .ksf-brand__lockup:focus-visible .ksf-plus,
  .ksf .ksf-brand__lockup:hover .ksf-mark,
  .ksf .ksf-brand__lockup:focus-visible .ksf-mark {
    transform: none;
  }

  .ksf .ksf-col:hover .ksf-col__title::before,
  .ksf .ksf-col:focus-within .ksf-col__title::before {
    transform: scaleX(0.5833);
  }

  .ksf .ksf-wrap > *,
  .ksf .ksf-col::before {
    animation: none;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
 * 8. Responsive 320 → ultrawide
 * ------------------------------------------------------------------------ */

@media (max-width: 900px) {
  .ksf .ksf-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
    padding-top: 44px;
  }

  .ksf .ksf-brand {
    grid-column: 1 / -1;
  }

  /* En 2 columnas la hairline vertical ya no aporta y confunde. */
  .ksf .ksf-col::before {
    display: none;
  }
}

@media (min-width: 1440px) {
  .ksf .ksf-wrap {
    gap: 52px 52px;
  }

  .ksf .ksf-col::before {
    left: -26px;
  }

  .ksf .ksf-link::before {
    inset-inline: -12px;
  }
}

@media (max-width: 560px) {
  .ksf .ksf-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-inline: 12px;
  }

  .ksf .ksf-brand {
    grid-column: auto;
  }

  .ksf .ksf-brand__lockup {
    gap: 12px;
  }

  .ksf .ksf-mark {
    width: 72px;
    height: 58px;
  }

  .ksf .ksf-mark__kairos {
    width: 36px;
    height: 36px;
  }

  .ksf .ksf-mark__sun {
    width: 20px;
    height: 20px;
  }

  .ksf .ksf-tagline {
    max-width: none;
  }

  .ksf .ksf-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .ksf .ksf-sky::after {
    display: none;
  }

  .ksf .ksf-sky::before {
    box-shadow:
      10vw 30px 0 0 rgba(45, 212, 191, 0.34),
      34vw 96px 0 1px rgba(255, 233, 184, 0.3),
      62vw 44px 0 0 rgba(245, 196, 81, 0.34),
      86vw 132px 0 0 rgba(45, 212, 191, 0.28),
      22vw 210px 0 1px rgba(255, 233, 184, 0.22),
      70vw 268px 0 0 rgba(245, 196, 81, 0.2);
  }
}

/* --------------------------------------------------------------------------
 * 9. Print (footer legible en papel)
 * ------------------------------------------------------------------------ */

@media print {
  .site-footer.ksf {
    background: none;
    color: #111;
  }

  .site-footer.ksf::before,
  .ksf .ksf-sky,
  .ksf .ksf-col::before,
  .ksf .ksf-mark::before,
  .ksf .ksf-link::before {
    display: none;
  }

  .ksf .ksf-link,
  .ksf .ksf-fine,
  .ksf .ksf-tagline,
  .ksf .ksf-col__title,
  .ksf .ksf-brand__etym {
    color: #111;
  }

  .ksf .ksf-col__title {
    border-bottom-color: #ccc;
  }

  .ksf .ksf-link--mail {
    border-color: #999;
    background: none;
  }

  .ksf .ksf-brand__name {
    background: none;
    color: #111;
    -webkit-text-fill-color: #111;
  }

  .ksf .ksf-disclaimer {
    border-color: #111;
    background: none;
    color: #111;
  }

  .ksf .ksf-badge {
    border-color: #999;
    outline: none;
    background: none;
    box-shadow: none;
    color: #111;
  }

  .ksf .ksf-badge__dot {
    background: #111;
    box-shadow: none;
  }
}
