/*
  Design tokens — Monacua Ice / Hielos Claritas
  Valores tomados del design system del mockup original (carpeta _ds,
  tokens de color, tipografía, layout y movimiento), con los dos
  overrides de marca que el propio landing aplicaba en línea.
*/
:root {
  /* — Color — */
  --brand-primary: #6667ab; /* override de marca sobre el #6868ac del design system */
  --brand-deep: #302e5d;
  --brand-ink: #24243b;
  --brand-soft: #efeffb;
  --surface: #fbfbfd;
  --surface-raised: #ffffff;
  --ice: #f2f4fb;
  --muted: #606176;
  --muted-soft: #77798c;
  --border: #dedfeb;
  --border-strong: #c8cbe0;
  --focus: #413f85;
  --whatsapp: #25d366; /* override de marca sobre el #187548 del design system */
  --white: #ffffff;
  --error: #9a3157;
  --hero-ground: #041326;
  --hero-accent: #b9b2ff;

  --tint-accent-08: rgba(104, 104, 172, 0.08);
  --tint-accent-18: rgba(104, 104, 172, 0.18);
  --tint-accent-28: rgba(104, 104, 172, 0.28);
  --tint-deep-24: rgba(48, 46, 93, 0.24);
  --header-bg: rgba(251, 251, 253, 0.94);
  --header-border: rgba(222, 223, 235, 0.9);

  /* — Tipografía — */
  --font-sans: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --text-hero: clamp(42px, 4.4vw, 60px);
  --text-h2: clamp(38px, 4.4vw, 60px);
  --text-h3-lg: clamp(30px, 3.5vw, 46px);
  --text-h3: clamp(23px, 2.2vw, 32px);
  --text-h4: 21px;
  --text-lead: 16px;
  --text-body: 15px;
  --text-body-sm: 14px;
  --text-small: 13px;
  --text-caption: 12px;
  --text-micro: 11px;
  --text-eyebrow: 10px;

  --weight-regular: 400;
  --weight-medium: 600;
  --weight-bold: 700;
  --weight-strong: 750;
  --weight-black: 800;

  --tracking-hero: -0.07em;
  --tracking-h2: -0.065em;
  --tracking-h3: -0.04em;
  --tracking-eyebrow: 0.18em;
  --tracking-label: 0.15em;

  --leading-hero: 0.94;
  --leading-heading: 1.02;
  --leading-tight: 1.3;
  --leading-body: 1.55;
  --leading-relaxed: 1.6;

  /* — Layout — */
  --max: 1200px;
  --gutter: 48px;
  --gutter-sm: 32px;
  --section-space: 112px;
  --section-space-sm: 78px;
  --header-height: 76px;

  --radius: 24px;
  --radius-sm: 20px;
  --control-radius: 12px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 68px;
  --space-9: 92px;

  --control-height: 52px;
  --control-height-sm: 44px;
  --tap-min: 44px;

  --shadow: 0 24px 60px rgba(48, 46, 93, 0.14);
  --shadow-soft: 0 12px 32px rgba(48, 46, 93, 0.08);
  --shadow-accent: 0 12px 24px rgba(104, 104, 172, 0.22);
  --shadow-chip: 0 9px 18px rgba(104, 104, 172, 0.2);
  --shadow-whatsapp: 0 12px 24px rgba(37, 211, 102, 0.24);

  /* — Movimiento (solo transform + opacity) — */
  --ease: ease;
  --duration-fast: 0.18s;
  --duration-reveal: 0.62s;
  --transition-control: transform var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease),
    background var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease);
  --lift-hover: translateY(-2px);
  --lift-hover-sm: translateY(-1px);
  --press-scale: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0.01ms;
    --duration-reveal: 0.01ms;
    --lift-hover: none;
    --lift-hover-sm: none;
    --press-scale: none;
  }
}
