/* ==========================================================================
   CSB — versión impresa

   La pantalla usa base oscura; en papel se invierte a blanco para no gastar
   tinta y para que el texto tenga contraste real. Se oculta la navegación, los
   botones y los degradados decorativos, y los logotipos se imprimen en negro
   macizo sobre blanco.
   ========================================================================== */

@media print {
  :root {
    --surface-1: #ffffff;
    --surface-2: #ffffff;
    --surface-3: #f5f5f7;
    --ink-1: #111111;
    --ink-2: #333333;
    --ink-3: #555555;
    --ink-4: #767676;
    --hairline: #d6d6de;
    --brand-300: #2a1a8f;
  }

  html {
    font-size: 11pt;
  }

  body {
    background: #ffffff;
    color: #111111;
  }

  .navigation,
  .nav-toggle,
  .menu-panel,
  .legal,
  .skip-link,
  .hero__actions,
  .cta-ghost,
  .brain__cta,
  .hero__meta,
  .footer__net {
    display: none !important;
  }

  /* Portada, producto, contacto y pie pierden su color de marca y su marco.
     El pie, además, deja de reservar el alto de la red neuronal. */
  .hero,
  .brain__panel,
  .contact,
  .footer {
    background: #ffffff !important;
    color: #111111 !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    min-height: 0;
    padding: 0 0 1rem;
  }

  .hero::before,
  .hero::after,
  .brain__panel::before,
  .brain__panel::after {
    display: none !important;
  }

  .hero__title,
  .hero__eyebrow,
  .hero__lead,
  .brain__title,
  .brain__feature p,
  .contact__title,
  .contact a,
  .intro__title,
  .intro__text {
    color: #111111 !important;
  }

  /* Los paneles de marca usan tinta clara y filetes translúcidos: sobre papel
     se fuerzan a negro y a un filete visible. */
  .brain__panel *,
  .contact * {
    color: #111111 !important;
    border-color: var(--hairline) !important;
  }

  /* La marca del pie es blanca sobre transparente: se invierte para imprimir. */
  .footer__mark {
    filter: invert(1);
  }

  .intro__accent {
    color: #2a1a8f !important;
  }

  .logos__logo {
    filter: brightness(0);
    opacity: 1;
  }

  .logos__grid {
    gap: 0.75rem 1rem;
  }

  section,
  .footer {
    break-inside: avoid;
  }
}
