/* ═══════════════════════════════════════════════════════════
   Kabrima — Home page
   Paleta: Azul Eléctrico #1E3A8A · Azul Vibrante #3B82F6
           Naranja Intenso #FF6B00 · Coral #FF3B30 · Blanco Roto #F8FAFC
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy-950: #060A1C;
  --navy-900: #0A1130;
  --navy-800: #111C4A;
  --navy:     #1E3A8A;
  --blue-600: #2563EB;
  --blue:     #3B82F6;
  --blue-400: #60A5FA;
  --blue-200: #BFDBFE;
  --blue-50:  #EFF6FF;
  --orange:   #FF6B00;
  --coral:    #FF3B30;
  --green:    #10B981;

  --paper:     #F8FAFC;
  --white:     #FFFFFF;
  --ink:       #0B1220;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --line:      #E2E8F0;

  --grad-brand:  linear-gradient(135deg, #3B82F6 0%, #1E3A8A 100%);
  --grad-accent: linear-gradient(135deg, #FF9A2E 0%, #FF6B00 45%, #FF3B30 100%);
  --grad-word:   linear-gradient(100deg, #3B82F6 0%, #1E3A8A 100%);

  --font-display: 'Sora', 'Manrope', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-card:  0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -16px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 2px 4px rgba(15, 23, 42, 0.04), 0 30px 60px -28px rgba(30, 58, 138, 0.35);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ─── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(59, 130, 246, 0.28);
  color: var(--ink);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

section[id] { scroll-margin-top: 84px; }

.icon {
  width: 1em; height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ─── Layout helpers ────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.section { padding: 112px 0; position: relative; }
.section-paper { background: var(--paper); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 16px;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.1vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.lead {
  margin-top: 20px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--slate-600);
  text-wrap: pretty;
}

.grad {
  background: var(--grad-word);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.on-dark .h2 { color: var(--white); }
.on-dark .lead { color: rgba(203, 213, 225, 0.82); }
.on-dark .eyebrow { color: var(--blue-400); }
.on-dark .grad { background-image: var(--grad-accent); }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 0;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn .icon { font-size: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .icon-move { transform: translateX(4px); }

.btn-primary {
  background: var(--grad-accent);
  color: var(--navy-950);
  box-shadow: 0 10px 24px -12px rgba(255, 107, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(255, 107, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }

.btn-light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 14px 34px -14px rgba(2, 6, 23, 0.6);
}
.btn-light:hover { transform: translateY(-2px); }

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue-600); }

.btn-sm { padding: 11px 18px; font-size: 14.5px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ─── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  transition: color 0.3s;
}
.brand img { width: 38px; height: 38px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.85);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--white); background: rgba(255, 255, 255, 0.09); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 22px;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: rgba(15, 23, 42, 0.07);
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.25);
}
.nav.is-scrolled .brand { color: var(--navy-900); }
.nav.is-scrolled .nav-links a { color: var(--slate-600); }
.nav.is-scrolled .nav-links a:hover,
.nav.is-scrolled .nav-links a.is-active { color: var(--navy); background: rgba(59, 130, 246, 0.09); }
.nav.is-scrolled .nav-toggle { color: var(--navy-900); border-color: var(--line); background: var(--white); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 16px 24px 32px;
  background: var(--navy-950);
  color: var(--white);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mobile-menu .nav-toggle { display: inline-flex; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mobile-menu nav a .icon { font-size: 20px; color: var(--orange); }
.mobile-menu .btn { margin-top: 28px; }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(100vh, 940px);
  display: flex;
  flex-direction: column;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 20%, transparent 78%);
}

.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.85; }
.orb-blue {
  width: 520px; height: 520px;
  top: -180px; left: -140px;
  background: rgba(59, 130, 246, 0.28);
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-navy {
  width: 480px; height: 480px;
  top: 18%; right: 4%;
  background: rgba(30, 58, 138, 0.55);
}
.orb-orange {
  width: 380px; height: 380px;
  bottom: -180px; right: -100px;
  background: rgba(255, 107, 0, 0.18);
  animation: drift 22s ease-in-out -6s infinite alternate-reverse;
}

.hero-grid {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 148px 24px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-title .grad { background-image: var(--grad-accent); }

.hero-sub {
  margin-top: 22px;
  max-width: 540px;
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.65;
  color: rgba(203, 213, 225, 0.84);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Agent console */
.hero-visual { position: relative; }

.console {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(20, 31, 78, 0.88), rgba(9, 14, 40, 0.94));
  border: 1px solid rgba(147, 197, 253, 0.18);
  box-shadow:
    0 50px 100px -40px rgba(2, 6, 23, 0.95),
    0 0 140px -40px rgba(59, 130, 246, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  animation: console-in 0.9s var(--ease) both;
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.13);
}

.console-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
}
.console-tab {
  padding: 7px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(203, 213, 225, 0.8);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.25s, color 0.25s;
}
.console-tab:hover { color: var(--white); }
.console-tab[aria-pressed="true"] { background: var(--white); color: var(--navy-900); }

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(203, 213, 225, 0.7);
}
.dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34D399;
  animation: ping 2.2s ease-out infinite;
}

.console-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 352px;
  padding: 20px 18px 8px;
  overflow: hidden;
}

.msg {
  max-width: 88%;
  padding: 12px 15px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  animation: rise 0.45s var(--ease) both;
}
.msg-user {
  align-self: flex-end;
  background: var(--blue);
  color: var(--white);
  border-bottom-right-radius: 6px;
}
.msg-agent {
  align-self: flex-start;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #E2E8F0;
  border-bottom-left-radius: 6px;
}

.steps { display: flex; flex-direction: column; gap: 9px; padding: 2px 4px; }
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.8);
  animation: rise 0.4s var(--ease) both;
}
.step-ico {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.3);
  border-top-color: var(--orange);
  animation: spin 0.8s linear infinite;
}
.step.is-done .step-ico {
  border: 0;
  animation: none;
  background: #34D399 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062a1f' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(59, 130, 246, 0.18);
  color: var(--blue-200);
  font-size: 11.5px;
  font-weight: 700;
}

.console-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 16px 16px;
  padding: 10px 10px 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.45);
  font-size: 13.5px;
  color: rgba(148, 163, 184, 0.85);
}
.console-send {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad-accent);
  color: var(--navy-950);
  font-size: 16px;
}

.floater {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 26px 50px -20px rgba(2, 6, 23, 0.8);
}
.floater .txt strong { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.floater .txt span { display: block; font-size: 12px; color: var(--slate-500); line-height: 1.3; white-space: nowrap; }
.floater-ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 20px;
}
.floater-a { top: -50px; right: -26px; animation: bob 6s ease-in-out infinite; }
.floater-a .floater-ico { background: rgba(255, 107, 0, 0.14); color: var(--orange); }
.floater-b { bottom: -48px; left: -38px; animation: bob 7s ease-in-out -2.5s infinite; }
.floater-b .floater-ico { background: rgba(59, 130, 246, 0.14); color: var(--blue-600); }

/* Utility bar */
.utility-bar {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(6, 10, 28, 0.72);
}
.utility-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.utility-list li {
  padding: 18px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(203, 213, 225, 0.78);
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}
.utility-list li:last-child { border-right: 0; }
.utility-list strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* ─── Soluciones (bento) ────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.card:hover { border-color: rgba(59, 130, 246, 0.4); background: #FCFDFF; }

.bento .card:nth-child(1), .bento .card:nth-child(4) { grid-column: span 7; }
.bento .card:nth-child(2), .bento .card:nth-child(3) { grid-column: span 5; }

.card-ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--grad-brand);
  color: var(--white);
  font-size: 26px;
  box-shadow: 0 14px 26px -14px rgba(30, 58, 138, 0.9);
  margin-bottom: 22px;
}
.card-ico.is-accent {
  background: var(--grad-accent);
  color: var(--navy-950);
  box-shadow: 0 14px 26px -14px rgba(255, 107, 0, 0.9);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.card p { font-size: 15.5px; line-height: 1.65; color: var(--slate-600); }

.card-body { flex: 1; margin-bottom: 28px; }

.mini {
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13.5px;
}

/* mini: chat */
.mini-chat { display: flex; flex-direction: column; gap: 9px; }
.mc {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.mc-in { align-self: flex-end; background: var(--blue); color: var(--white); border-bottom-right-radius: 5px; }
.mc-out { align-self: flex-start; background: var(--white); border: 1px solid var(--line); color: var(--slate-700); border-bottom-left-radius: 5px; }
.mc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-500);
}
.mc-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* mini: rag */
.mini-rag { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.rag-docs { display: grid; gap: 7px; }
.rag-doc {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  color: var(--slate-600);
}
.rag-doc .icon { font-size: 14px; color: var(--blue-600); }
.rag-answer {
  position: relative;
  padding: 13px 14px;
  border-radius: 13px;
  background: var(--white);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 22px -16px rgba(30, 58, 138, 0.6);
}
.rag-answer p { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.rag-cite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 11.5px;
  font-weight: 800;
}

/* mini: plan */
.mini-plan { display: grid; gap: 10px; }
.plan-goal {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.plan-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate-700);
}
.plan-row .tool {
  margin-left: auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--slate-500);
}
.plan-check {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
}
.plan-check .icon { stroke-width: 3.5; }
.plan-spin {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2.5px solid var(--slate-300);
  border-top-color: var(--orange);
  animation: spin 0.9s linear infinite;
}

/* mini: flow */
.mini-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.flow-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--slate-700);
  text-align: center;
}
.flow-node .icon { font-size: 20px; color: var(--blue-600); }
.flow-node:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -21px;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--slate-400);
}
.flow-node.is-end { border-color: rgba(16, 185, 129, 0.4); background: #ECFDF5; color: #047857; }
.flow-node.is-end .icon { color: #059669; }

/* ─── Proceso ───────────────────────────────────────────── */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: paso; }

.process-step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}
.process-step:hover { background: var(--white); border-color: rgba(59, 130, 246, 0.35); }

.process-num {
  display: block;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--grad-word);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.9;
  margin-bottom: 22px;
}
.process-step:last-child .process-num { background-image: var(--grad-accent); }

.process-step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.process-step p { font-size: 14.5px; line-height: 1.65; color: var(--slate-600); }

/* ─── Pedidos ───────────────────────────────────────────── */
.pedidos {
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.pedidos::before, .pedidos::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.pedidos::before { width: 560px; height: 560px; top: -200px; right: -120px; background: rgba(255, 107, 0, 0.22); }
.pedidos::after { width: 620px; height: 620px; bottom: -260px; left: -180px; background: rgba(59, 130, 246, 0.35); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }

.pedidos-logo {
  display: flex;
  width: max-content;
  padding: 14px 20px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 20px 40px -20px rgba(2, 6, 23, 0.9);
  margin-bottom: 30px;
}
.pedidos-logo img { height: 46px; width: auto; }

.checks { display: grid; gap: 16px; margin: 32px 0 38px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks-ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 107, 0, 0.14);
  border: 1px solid rgba(255, 107, 0, 0.28);
  color: #FF9A4D;
  font-size: 19px;
}
.checks .txt strong { display: block; font-size: 16px; font-weight: 800; }
.checks .txt span { display: block; font-size: 14.5px; color: rgba(203, 213, 225, 0.78); line-height: 1.55; }

.pedidos-visual { position: relative; padding: 18px 0; }

.window {
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 60px 110px -50px rgba(2, 6, 23, 1), 0 0 120px -50px rgba(59, 130, 246, 0.7);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #F1F5F9;
  border-bottom: 1px solid var(--line);
}
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-300); }
.window-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate-500);
}
.window-url .icon { font-size: 13px; color: var(--green); }

.order { padding: 24px; }
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.order-id { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.order-id small { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--slate-500); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}
.pill-orange { background: #FFF1E6; color: #C2410C; }
.pill-orange i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: ping-orange 2s ease-out infinite; }

.order-items { display: grid; gap: 11px; padding: 16px 0; border-top: 1px dashed var(--slate-300); border-bottom: 1px dashed var(--slate-300); }
.order-items li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--slate-700); }
.order-items b { margin-right: 8px; color: var(--blue-600); font-weight: 800; }
.order-items span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }

.order-total { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 22px; }
.order-total span { font-size: 14px; font-weight: 700; color: var(--slate-500); }
.order-total strong { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }

.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.track::before, .track::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 12.5%;
  height: 3px;
  border-radius: 3px;
}
.track::before { right: 12.5%; background: var(--line); }
.track::after { width: 50%; background: var(--grad-brand); }
.track li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-400);
  text-align: center;
}
.track li::before {
  content: '';
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 3px solid var(--line);
  background: var(--white);
}
.track li.is-done { color: var(--navy); }
.track li.is-done::before {
  border-color: var(--blue-600);
  background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.track li.is-now { color: #C2410C; }
.track li.is-now::before { border-color: var(--orange); box-shadow: 0 0 0 5px rgba(255, 107, 0, 0.16); }

.pedidos-visual .floater-a { top: -22px; right: -22px; }
.pedidos-visual .floater-a .floater-ico { background: rgba(16, 185, 129, 0.14); color: #059669; }
.pedidos-visual .floater-b { bottom: -26px; left: -30px; }
.pedidos-visual .floater-b .floater-ico { background: rgba(255, 107, 0, 0.14); color: var(--orange); }

/* ─── Apps ──────────────────────────────────────────────── */
.apps-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }

.app-feature {
  grid-column: span 8;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 44px 44px 0;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, #0B132B 0%, #14297A 55%, #2563EB 115%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.app-feature::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 420px; height: 420px;
  right: -120px; top: -160px;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.45);
  filter: blur(80px);
}
.app-copy { padding-bottom: 44px; }

.app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.app-id img { width: 68px; height: 68px; border-radius: 18px; box-shadow: 0 18px 34px -16px rgba(2, 6, 23, 0.9); }
.app-id h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.app-id span { display: block; font-size: 13.5px; font-weight: 700; color: var(--blue-200); }

.app-tagline {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.26);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  color: #E0EDFF;
}
.tag .icon { font-size: 14px; color: #FFB37A; }

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 11px 18px;
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 800;
}
.app-status .icon { font-size: 18px; }
a.app-status { transition: transform 0.25s var(--ease); }
a.app-status:hover { transform: translateY(-2px); }

/* Phone */
.phone {
  position: relative;
  width: 250px;
  margin-bottom: -46px;
  padding: 10px;
  border-radius: 40px;
  background: #0A0F24;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -30px rgba(2, 6, 23, 0.95);
  transform: rotate(4deg);
  transition: transform 0.6s var(--ease);
}
.app-feature:hover .phone { transform: rotate(1.5deg) translateY(-8px); }
.phone-screen { border-radius: 31px; background: #0F172A; overflow: hidden; }
.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 14px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #E2E8F0;
}
.phone-bar span:last-child { padding: 2px 8px; border-radius: 999px; background: rgba(148, 163, 184, 0.18); font-size: 11px; color: var(--slate-300); }
.phone-page {
  position: relative;
  margin: 0 12px;
  padding: 20px 16px 22px;
  border-radius: 10px;
  background: #F8FAFC;
}
.phone-page::after {
  content: '';
  position: absolute;
  top: -3px; right: 16px;
  width: 16px; height: 30px;
  background: #F59E0B;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}
.line { display: block; height: 6px; border-radius: 6px; background: #CBD5E1; margin-bottom: 9px; }
.line.is-title { height: 11px; width: 62%; background: #1E293B; margin-bottom: 15px; }
.line.is-mark { background: #FDE68A; }
.w-90 { width: 90%; } .w-80 { width: 80%; } .w-70 { width: 70%; } .w-55 { width: 55%; } .w-40 { width: 40%; }
.phone-thumbs { display: flex; gap: 7px; padding: 14px 12px 50px; }
.phone-thumbs i { flex: 1; height: 40px; border-radius: 6px; background: rgba(148, 163, 184, 0.22); }
.phone-thumbs i.is-on { background: #E2E8F0; box-shadow: 0 0 0 2px var(--blue); }

.app-more {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.app-more h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 12px; }
.app-more p { font-size: 15.5px; line-height: 1.65; color: var(--slate-600); }

.app-principles { display: grid; gap: 12px; }
.app-principles li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--slate-700);
}
.app-principles .icon { font-size: 19px; color: var(--orange); }

/* ─── Por qué Kabrima ───────────────────────────────────── */
.why { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 72px; align-items: start; }
.why-intro { position: sticky; top: 112px; }
.why-intro .btn { margin-top: 32px; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: 28px; }
.why-item {
  position: relative;
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.3s, background 0.3s;
}
.why-item:hover { border-color: rgba(59, 130, 246, 0.35); background: #FCFDFF; }
.why-item:nth-child(even) { top: 28px; }
.why-ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 23px;
  margin-bottom: 18px;
}
.why-item:nth-child(2) .why-ico, .why-item:nth-child(3) .why-ico { background: #FFF1E6; color: #EA580C; }
.why-item h3 { font-family: var(--font-display); font-size: 18.5px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 8px; }
.why-item p { font-size: 14.5px; line-height: 1.65; color: var(--slate-600); }

/* ─── Contacto ──────────────────────────────────────────── */
.contact-wrap { padding: 0 24px 112px; }

.contact {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
  border-radius: 44px;
  background: linear-gradient(135deg, #0A1130 0%, #14297A 60%, #1E3A8A 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.contact::before, .contact::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
}
.contact::before { width: 440px; height: 440px; left: -140px; bottom: -200px; background: rgba(255, 107, 0, 0.38); }
.contact::after { width: 460px; height: 460px; right: -120px; top: -200px; background: rgba(59, 130, 246, 0.6); }

.contact-steps { display: grid; gap: 14px; margin-top: 34px; }
.contact-steps li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 700; color: rgba(226, 232, 240, 0.92); }
.contact-steps b {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-size: 13.5px;
}

.contact-direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.contact-direct[hidden] { display: none; }

.form {
  padding: 34px;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 50px 90px -40px rgba(2, 6, 23, 0.9);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 800; color: var(--slate-700); }
.field label span { font-weight: 600; color: var(--slate-400); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 13px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  appearance: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}
.form-note { margin-top: 14px; font-size: 13px; color: var(--slate-500); text-align: center; }

/* ─── Footer ────────────────────────────────────────────── */
.footer { background: var(--navy-950); color: rgba(203, 213, 225, 0.75); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
.footer .brand { margin-bottom: 18px; }
.footer-about { max-width: 340px; font-size: 14.5px; line-height: 1.7; }
.footer-place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  margin-right: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.9);
  transition: color 0.2s;
}
a.footer-place:hover { color: var(--white); }
.footer-place .icon { font-size: 16px; color: var(--orange); }
.footer h4 { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--white); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-col a .icon { font-size: 13px; opacity: 0.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 13.5px; color: rgba(148, 163, 184, 0.8); }

/* ─── Reveal on scroll ──────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ─── Keyframes ─────────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes console-in { from { opacity: 0; transform: translateY(28px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
@keyframes ping-orange { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.55); } 80%, 100% { box-shadow: 0 0 0 7px rgba(255, 107, 0, 0); } }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-grid { gap: 48px; }
  .split { gap: 56px; }
  .why { gap: 48px; }
  .contact { padding: 56px; gap: 48px; }
  .app-feature { grid-column: span 12; }
  .app-more { grid-column: span 12; flex-direction: row; align-items: center; }
  .app-more > * { flex: 1; }
  .floater-a, .pedidos-visual .floater-a { right: -10px; }
  .floater-b, .pedidos-visual .floater-b { left: -14px; }
}

@media (max-width: 960px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }

  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; }

  .utility-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utility-list li:nth-child(2n) { border-right: 0; }
  .utility-list li:nth-child(-n+2) { border-bottom: 1px solid rgba(148, 163, 184, 0.12); }

  .hero-grid { grid-template-columns: 1fr; padding: 128px 24px 72px; gap: 64px; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }

  .bento .card:nth-child(n) { grid-column: span 6; }
  .mini-flow { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .flow-node:not(:last-child)::after { content: none; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .pedidos-visual { max-width: 560px; width: 100%; margin: 0 auto; }

  .why { grid-template-columns: 1fr; }
  .why-intro { position: static; }

  .contact-wrap { padding-bottom: 84px; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .bento .card:nth-child(n) { grid-column: span 12; }
  .card { padding: 28px; }

  .app-feature { grid-template-columns: 1fr; padding: 34px 28px 0; gap: 8px; }
  .app-copy { padding-bottom: 12px; }
  .phone { margin: 0 auto -60px; }
  .app-more { flex-direction: column; align-items: stretch; padding: 30px 28px; }

  .why-grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .why-item:nth-child(even) { top: 0; }

  .contact-wrap { padding-left: 16px; padding-right: 16px; }
  .contact { padding: 40px 24px; border-radius: 32px; gap: 40px; }
  .form { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .section { padding: 72px 0; }

  .utility-list { grid-template-columns: 1fr; }
  .utility-list li {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }
  .utility-list li:last-child { border-bottom: 0; }
  .utility-list li:nth-child(-n+2) { border-bottom: 1px solid rgba(148, 163, 184, 0.12); }

  .hero-grid { padding: 116px 20px 64px; }
  .hero-cta .btn { flex: 1 1 100%; }

  .console-status { display: none; }
  .console-tabs { width: 100%; }
  .console-tab { flex: 1; }
  .console-body { height: 372px; }
  .floater { display: none; }

  .process { grid-template-columns: 1fr; }
  .process-num { font-size: 44px; margin-bottom: 14px; }

  .mini-rag { grid-template-columns: 1fr; }
  .rag-docs { display: flex; flex-wrap: wrap; }

  .order { padding: 20px 18px; }
  .track li { font-size: 11px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ─── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
