/* ==========================================================================
   IQSEC — Base
   Reset, tipografía, layout base y utilidades globales compartidas
   por las 3 páginas del proyecto.
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background: var(--surface-page);
  line-height: 1.6;
  font-size: 16px;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-max-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

section { padding: var(--space-20) 0; }

h1, h2, h3, h4 { font-weight: 700; color: var(--text-primary); }
h1 { font-size: 52px; line-height: 1.08; }
h2 { font-size: 40px; line-height: 1.15; margin-bottom: var(--space-6); }
h3 { font-size: 24px; line-height: 1.3; font-weight: 500; }
p { color: var(--text-secondary); }
a { color: var(--color-link-text); text-decoration: none; }

.section-eyebrow {
  color: var(--color-link-text);
  font-weight: 700;
  font-size: 23px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
}

.section-soft { background: var(--surface-soft); }

.logo { font-weight: 700; font-size: 20px; color: var(--color-brand-navy); }

/* Accesibilidad de movimiento — respeta la preferencia del sistema operativo */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Scroll-reveal genérico (activado por navigation.js) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- v2.0: Placeholder de imagen temática (reemplaza íconos vectoriales) ---------- */
.img-ph {
  background: linear-gradient(135deg, #EAF4FC, #DCEBFA); border: 1.5px dashed #9DC4E8;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.img-ph .ph-label { color: var(--color-link-text); font-size: 12px; font-weight: 500; text-align: center; padding: var(--space-4); line-height: 1.5; }
.checklist-icon-ph {
  background: rgba(255, 255, 255, 0.08); border: 1px dashed rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.6) !important;
  font-size: 10px; font-weight: 700;
}
