/* ============================================================
   TRILAY ERP+ — hoja de estilos
   Azul corporativo profundo + cian eléctrico · hexágonos · PCB
   ============================================================ */
:root {
  --bg: #050e22;
  --bg-2: #0a1632;
  --bg-3: #0f1f44;
  --bg-card: #0c1a3a;
  --line: #1a2d5a;
  --line-2: #25437a;
  --ink: #f1f6ff;
  --ink-2: #b9c7e3;
  --ink-3: #7d8eb5;
  --ink-4: #3a4a72;
  --cyan: #5fb8ff;
  --cyan-2: #3b9eff;
  --cyan-glow: #4cc4ff;
  --green: #4fd6a0;
  --maxw: 1280px;
  --gutter: 28px;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }

/* ── PCB background ── */
.pcb-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.45;
  background:
    radial-gradient(ellipse 1200px 600px at 20% 8%, rgba(95,184,255,0.10), transparent 60%),
    radial-gradient(ellipse 800px 400px at 85% 70%, rgba(95,184,255,0.06), transparent 60%);
}
.pcb-bg svg { width: 100%; height: 100%; display: block; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: all .18s ease; white-space: nowrap;
}
.btn-ghost { color: var(--ink-2); background: transparent; }
.btn-ghost:hover { color: var(--ink); background: var(--bg-3); }
.btn-outline { color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { background: var(--bg-3); border-color: var(--cyan); color: var(--cyan); }
.btn-primary {
  background: linear-gradient(180deg, var(--cyan) 0%, var(--cyan-2) 100%);
  color: #00193a; font-weight: 600;
  box-shadow: 0 0 0 1px rgba(95,184,255,0.3), 0 0 24px -4px rgba(95,184,255,0.4), 0 8px 28px -8px rgba(60,158,255,0.6);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(95,184,255,0.5), 0 0 32px -2px rgba(95,184,255,0.6), 0 12px 32px -8px rgba(60,158,255,0.7); }
.btn-wa { background: #25d366; color: #04220f; font-weight: 600; }
.btn-wa:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(37,211,102,0.6); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn svg { width: 18px; height: 18px; }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 13px var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; object-fit: contain; display: block; flex-shrink: 0; filter: brightness(1.12) saturate(1.08); }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-name { font-style: italic; letter-spacing: 0.01em; }
.brand .plus { color: var(--cyan); }
.nav-links { display: flex; gap: 24px; justify-content: center; font-size: 14.5px; color: var(--ink-2); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--cyan); }
.nav-right { display: flex; gap: 12px; align-items: center; }
.lang-sel { display: flex; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; font-family: var(--mono); font-size: 11px; }
.lang-sel a, .lang-sel span { padding: 5px 9px; color: var(--ink-3); border-radius: 999px; letter-spacing: 0.05em; transition: all .15s; display: inline-block; }
.lang-sel a:hover { color: var(--ink); }
.lang-sel a.active, .lang-sel span.active { background: var(--cyan); color: #00193a; font-weight: 700; }

/* ── section scaffold ── */
section { position: relative; padding: 104px 0; z-index: 1; }
.sec-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; color: var(--cyan);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px; display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.sec-head h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 18px; }
.sec-head h2 .glow { background: linear-gradient(135deg, #fff, var(--cyan-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head p { font-size: 17px; color: var(--ink-2); margin: 0; line-height: 1.65; }
.sec-head.left p { margin-inline: 0; }

/* ── hero ── */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden; }
.hero-glow { position: absolute; top: 40%; left: 50%; width: 1000px; height: 900px; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(95,184,255,0.16), transparent 62%); pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 15px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2);
  font-size: 13px; color: var(--ink-2); margin-bottom: 26px;
}
.hero-tag .pill { font-family: var(--mono); font-size: 10.5px; background: var(--cyan); color: #00193a; padding: 4px 9px; border-radius: 999px; letter-spacing: 0.05em; font-weight: 700; }
.hero h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 22px; }
.hero h1 .glow { background: linear-gradient(135deg, #fff, var(--cyan-glow) 55%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 24px rgba(95,184,255,0.3)); }
.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 560px; margin: 0 0 32px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; font-size: 13.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 9px; }
.hero-trust::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(79,214,160,0.2); }

/* hero hex metrics */
.hex-cluster { position: relative; aspect-ratio: 1/1; max-width: 500px; margin: 0 auto; }
.hex { position: absolute; width: 132px; aspect-ratio: 1/1.155;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, rgba(20,40,90,0.92), rgba(8,20,55,0.96));
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px;
  box-shadow: 0 0 0 1px rgba(95,184,255,0.4) inset, 0 0 30px rgba(95,184,255,0.22);
}
.hex::before { content: ''; position: absolute; inset: 1px; clip-path: inherit; background: linear-gradient(135deg, rgba(95,184,255,0.12), transparent 60%); }
.hex-num { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: #fff; position: relative; filter: drop-shadow(0 0 8px rgba(95,184,255,0.5)); line-height: 1; }
.hex-lbl { font-size: 10px; font-family: var(--mono); color: var(--ink-2); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 7px; position: relative; line-height: 1.3; }
.hex-ico { position: relative; display: grid; place-items: center; }
.hex-ico svg { width: 54px; height: 54px; color: var(--cyan); filter: drop-shadow(0 0 8px rgba(95,184,255,0.55)); }
.hex.h1 { top: 3%; left: 34%; transform: scale(1.12); z-index: 2; }
.hex.h2 { top: 21%; left: 64%; }
.hex.h3 { top: 50%; left: 6%; }
.hex.h4 { top: 55%; left: 48%; }
.hex.h5 { top: 73%; left: 76%; transform: scale(0.84); }

/* ── hero product dashboard mockup ── */
/* ── hero · marco de producto (pcard) — reemplaza al hex-cluster ── */
.pcard {
  width: 100%; max-width: 540px; margin: 0 auto; position: relative;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(95,184,255,0.12), 0 40px 80px -30px rgba(95,184,255,0.4), 0 30px 60px -25px rgba(0,0,0,0.6);
  animation: pcard-float 7s ease-in-out infinite;
}
@keyframes pcard-float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }
@media (prefers-reduced-motion: reduce) { .pcard { animation: none; } }
.pc-chrome { display:flex; align-items:center; gap:12px; padding:11px 14px; border-bottom:1px solid var(--line); background: var(--bg-3); }
.pc-dots { display:flex; gap:6px; flex-shrink:0; }
.pc-dots span { width:10px; height:10px; border-radius:50%; }
.pc-dots span:nth-child(1){ background:#f57b6c; } .pc-dots span:nth-child(2){ background:#f5b94c; } .pc-dots span:nth-child(3){ background:#4fd6a0; }
.pc-url { flex:1; text-align:center; font-family:var(--mono); font-size:11px; color:var(--ink-3); background:var(--bg-2); border:1px solid var(--line); border-radius:6px; padding:4px 10px; max-width:240px; margin:0 auto; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pc-live { flex-shrink:0; font-family:var(--mono); font-size:10px; color:var(--green); display:inline-flex; align-items:center; gap:6px; }
.pc-live::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--green); box-shadow:0 0 8px var(--green); animation: pulse-soft 2s ease-in-out infinite; }
.pc-body { padding:16px; display:flex; flex-direction:column; gap:12px; }
.pc-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pc-top .t { font-size:15px; font-weight:600; letter-spacing:-0.01em; } .pc-top .t .c { color:var(--ink-3); font-weight:400; }
.pc-top .date { font-family:var(--mono); font-size:10px; color:var(--ink-3); white-space:nowrap; }
.pc-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.pc-kpi { border:1px solid var(--line); border-radius:10px; padding:11px 12px; background:var(--bg); display:flex; flex-direction:column; gap:3px; }
.pc-kpi .k { font-family:var(--mono); font-size:8.5px; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink-3); }
.pc-kpi .v { font-size:19px; font-weight:700; letter-spacing:-0.02em; line-height:1; }
.pc-kpi .d { font-family:var(--mono); font-size:9.5px; color:var(--cyan); } .pc-kpi .d.warn { color:#f5b94c; }
.pc-chart { border:1px solid var(--line); border-radius:10px; background:var(--bg); padding:12px 12px 6px; }
.pc-chart-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.pc-chart-head .t { font-size:12px; font-weight:500; color:var(--ink-2); }
.pc-chart-head .pill { font-family:var(--mono); font-size:9px; color:var(--cyan); background:rgba(95,184,255,0.14); padding:2px 7px; border-radius:999px; letter-spacing:0.04em; }
.pc-chart svg { width:100%; height:84px; display:block; }
.pc-act { display:flex; align-items:center; gap:10px; padding:9px 11px; border:1px solid var(--line); border-radius:10px; background:var(--bg); }
.pc-act .av { width:24px; height:24px; border-radius:7px; background:linear-gradient(135deg,var(--cyan),var(--cyan-2)); display:grid; place-items:center; font-family:var(--mono); font-size:10px; font-weight:700; color:#00193a; flex-shrink:0; }
.pc-act .txt { font-size:11.5px; color:var(--ink-2); line-height:1.3; min-width:0; } .pc-act .txt b { color:var(--ink); font-weight:600; }
.pc-act .amt { margin-left:auto; font-family:var(--mono); font-size:11px; color:var(--cyan); white-space:nowrap; }
/* libro diario / asiento contable (pcard contabilidad) */
.pc-ledger { border:1px solid var(--line); border-radius:10px; background:var(--bg); padding:11px 12px; display:flex; flex-direction:column; gap:7px; }
.pc-led-top { display:flex; align-items:center; gap:8px; }
.pc-led-top .as { font-size:12px; font-weight:600; color:var(--ink); }
.pc-led-top .dt { font-family:var(--mono); font-size:10px; color:var(--ink-3); }
.pc-led-top .bal { margin-left:auto; font-family:var(--mono); font-size:9px; color:var(--green); background:rgba(79,214,160,0.14); padding:2px 7px; border-radius:999px; letter-spacing:0.04em; }
.pc-led-h, .pc-led-row, .pc-led-tot { display:grid; grid-template-columns:1fr 70px 70px; gap:10px; align-items:center; }
.pc-led-h { font-family:var(--mono); font-size:8.5px; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink-3); padding-bottom:5px; border-bottom:1px solid var(--line); }
.pc-led-h span:not(:first-child) { text-align:right; }
.pc-led-row { font-size:12px; }
.pc-led-row .ac { color:var(--ink-2); }
.pc-led-row .db, .pc-led-row .hb { text-align:right; font-family:var(--mono); font-size:11px; color:var(--ink-2); }
.pc-led-tot { border-top:1px solid var(--line); padding-top:6px; }
.pc-led-tot .ac { color:var(--ink); font-weight:600; font-size:12px; }
.pc-led-tot .db, .pc-led-tot .hb { text-align:right; font-family:var(--mono); font-size:11px; color:var(--cyan); font-weight:700; }

/* ── hero product dashboard mockup (legacy) ── */
.hero-dash {
  width: 100%; max-width: 580px; margin: 0 auto; position: relative;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(95,184,255,0.12), 0 40px 80px -30px rgba(95,184,255,0.35), 0 30px 60px -25px rgba(0,0,0,0.6);
}
.dash-chrome { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.dash-dots { display: flex; gap: 6px; flex-shrink: 0; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); }
.dash-dots span:nth-child(1) { background: #f57b6c; }
.dash-dots span:nth-child(2) { background: #f5b94c; }
.dash-dots span:nth-child(3) { background: #4fd6a0; }
.dash-url { flex: 1; text-align: center; font-family: var(--mono); font-size: 11px; color: var(--ink-3); background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; max-width: 260px; margin: 0 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-live { flex-shrink: 0; font-family: var(--mono); font-size: 10px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.dash-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse-soft 2s ease-in-out infinite; }
@keyframes pulse-soft { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
.dash-body { display: grid; grid-template-columns: 56px 1fr; min-height: 348px; }
.dash-side { border-right: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--bg-2); }
.dash-logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--cyan), var(--cyan-2)); display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #00193a; margin-bottom: 10px; }
.dash-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-3); position: relative; }
.dash-ico svg { width: 18px; height: 18px; }
.dash-ico.active { color: var(--cyan); background: rgba(95,184,255,0.12); }
.dash-ico.active::before { content: ''; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.dash-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dash-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dash-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.dash-title .crumb { color: var(--ink-3); font-weight: 400; }
.dash-date { font-family: var(--mono); font-size: 10px; color: var(--ink-3); white-space: nowrap; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash-kpi { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: var(--bg); display: flex; flex-direction: column; gap: 3px; }
.dash-kpi .k { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.dash-kpi .v { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.dash-kpi .d { font-family: var(--mono); font-size: 9.5px; color: var(--cyan); }
.dash-kpi .d.warn { color: #f5b94c; }
.dash-chart { border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 12px 12px 6px; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dash-chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dash-chart-head .t { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.dash-chart-head .pill { font-family: var(--mono); font-size: 9px; color: var(--cyan); background: rgba(95,184,255,0.14); padding: 2px 7px; border-radius: 999px; letter-spacing: 0.04em; }
.dash-chart svg { width: 100%; height: 92px; display: block; }
.dash-act { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.dash-act .av { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, var(--cyan), var(--cyan-2)); display: grid; place-items: center; font-family: var(--mono); font-size: 10px; font-weight: 700; color: #00193a; flex-shrink: 0; }
.dash-act .txt { font-size: 11.5px; color: var(--ink-2); line-height: 1.3; min-width: 0; }
.dash-act .txt b { color: var(--ink); font-weight: 600; }
.dash-act .amt { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--cyan); white-space: nowrap; }

/* ── hero abstract art (hexagon constellation) ── */
.hero-art { width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 1/1; position: relative; }
.hero-art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ha-spin { transform-origin: 250px 250px; animation: ha-rotate 60s linear infinite; }
.ha-node { animation: ha-pulse 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ha-node:nth-child(2) { animation-delay: .6s; }
.ha-node:nth-child(3) { animation-delay: 1.2s; }
.ha-node:nth-child(4) { animation-delay: 1.8s; }
.ha-node:nth-child(5) { animation-delay: 2.4s; }
.ha-node:nth-child(6) { animation-delay: 3s; }
.ha-core { transform-origin: 250px 250px; animation: ha-breathe 5s ease-in-out infinite; }
.ha-spark { animation: ha-twinkle 3.5s ease-in-out infinite; }
.ha-spark:nth-child(2) { animation-delay: 1s; }
.ha-spark:nth-child(3) { animation-delay: 2s; }
.ha-spark:nth-child(4) { animation-delay: 1.5s; }
@keyframes ha-rotate { to { transform: rotate(360deg); } }
@keyframes ha-pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes ha-breathe { 0%,100% { filter: drop-shadow(0 0 6px rgba(95,184,255,.4)); } 50% { filter: drop-shadow(0 0 16px rgba(95,184,255,.7)); } }
@keyframes ha-twinkle { 0%,100% { opacity: .2; } 50% { opacity: .9; } }

/* ── hero art · dashboard vivo ── */
.hb-panel { animation: hb-floaty 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hb-panel.hb-delay { animation-delay: 1.5s; }
.hb-bar { transform-box: fill-box; transform-origin: bottom; animation: hb-grow 4.5s ease-in-out infinite; }
.hb-bar:nth-of-type(2) { animation-delay: .3s; }
.hb-bar:nth-of-type(3) { animation-delay: .6s; }
.hb-bar:nth-of-type(4) { animation-delay: .9s; }
.hb-bar:nth-of-type(5) { animation-delay: 1.2s; }
.hb-line { stroke-dasharray: 520; animation: hb-draw 6s ease-in-out infinite; }
.hb-tip { animation: hb-dot 6s ease-in-out infinite; }
.hb-kpi { animation: hb-countup 4s ease-in-out infinite; }
.hb-kpi.hb-k2 { animation-delay: 1s; }
@keyframes hb-grow { 0%,8% { transform: scaleY(.12); } 45%,62% { transform: scaleY(1); } 100% { transform: scaleY(.12); } }
@keyframes hb-draw { 0% { stroke-dashoffset: 520; } 55%,100% { stroke-dashoffset: 0; } }
@keyframes hb-floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hb-dot { 0% { opacity: 0; } 60% { opacity: 0; } 72%,100% { opacity: 1; } }
@keyframes hb-countup { 0%,40% { opacity: .3; } 55%,100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .ha-spin, .ha-node, .ha-core, .ha-spark { animation: none; }
  .hb-panel, .hb-bar, .hb-line, .hb-tip, .hb-kpi { animation: none; }
  .hb-bar { transform: scaleY(1); }
  .hb-line { stroke-dashoffset: 0; }
}

/* ── metrics strip ── */
.metrics { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); padding: 30px 0; position: relative; z-index: 2; }
.metrics-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.metric { padding: 6px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.metric:last-child { border-right: none; }
.metric .n { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: #fff; filter: drop-shadow(0 0 12px rgba(95,184,255,0.25)); }
.metric .n .plus { color: var(--cyan); }
.metric .l { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── problema → solución ── */
.problem { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); border-bottom: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.problem-card { background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden; }
.problem-card.pain { border-color: #5a2d3a; }
.problem-card.pain::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #ff7b9c, transparent); opacity: 0.5; }
.problem-card.sol { border-color: var(--line-2); }
.problem-card.sol::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0.6; }
.problem-card .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 8px; }
.problem-card.pain .tag { color: #ff9cb3; }
.problem-card.sol .tag { color: var(--cyan); }
.problem-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 14px; line-height: 1.2; }
.problem-card p { font-size: 16px; color: var(--ink-2); margin: 0 0 20px; line-height: 1.65; }
.problem-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.problem-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; color: var(--ink-2); align-items: start; }
.problem-list.pain li::before { content: '✕'; color: #ff7b9c; font-weight: 700; }
.problem-list.sol li::before { content: '✓'; color: var(--cyan); font-weight: 700; }

/* ── pilares ── */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { position: relative; padding: 30px; background: linear-gradient(180deg, var(--bg-card), var(--bg-2)); border: 1px solid var(--line-2); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; overflow: hidden; transition: all .25s ease; }
.pillar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0.55; }
.pillar:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: 0 0 30px -8px rgba(95,184,255,0.4); }
.pillar-ico { width: 54px; height: 54px; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background: linear-gradient(135deg, var(--cyan), var(--cyan-2)); display: grid; place-items: center; position: relative; }
.pillar-ico::after { content: ''; position: absolute; inset: 2px; clip-path: inherit; background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); }
.pillar-ico svg { position: relative; width: 25px; height: 25px; color: var(--cyan); z-index: 1; }
.pillar h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.pillar p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.pillar .num { position: absolute; top: 24px; right: 26px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; }

/* ── módulos ── */
.modules { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* centrar grillas según cantidad de tarjetas (solo escritorio; en tablet/móvil colapsan por media query) */
@media (min-width: 1025px) {
  .modules-grid:has(.module:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; }
  .modules-grid:has(.module:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); max-width: 1060px; margin-inline: auto; }
  .pillars-grid:has(.pillar:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; }
  .pillars-grid:has(.pillar:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
}
.module { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; position: relative; transition: all .2s; }
.module:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 0 30px -10px rgba(95,184,255,0.4); }
.module-head { display: flex; align-items: center; gap: 13px; }
.module-circle { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, rgba(95,184,255,0.3), transparent 70%); border: 1px solid var(--cyan); display: grid; place-items: center; position: relative; flex-shrink: 0; }
.module-circle svg { width: 20px; height: 20px; color: var(--cyan); }
.module h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.2; }
.module ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.module li { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 9px; }
.module li::before { content: ''; width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 6px var(--cyan); }
.module li:has(a)::before { display: none; }
.module li a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 9px; flex: 1; padding: 4px 0; margin: -4px 0; border-radius: 7px; transition: color .15s, transform .15s; }
.module li a::before { content: ''; width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 6px var(--cyan); transition: box-shadow .15s; }
.module li a:hover { color: var(--ink); transform: translateX(2px); }
.module li a:hover::before { box-shadow: 0 0 11px var(--cyan); }
.module li a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.module .count { position: static; align-self: flex-start; font-family: var(--mono); font-size: 11px; color: var(--cyan); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: -6px; }

/* ── industrias ── */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; transition: all .2s; position: relative; }
.ind:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 0 28px -10px rgba(95,184,255,0.4); }
.ind-ico { width: 44px; height: 44px; border-radius: 11px; background: rgba(95,184,255,0.1); border: 1px solid var(--line-2); display: grid; place-items: center; }
.ind-ico svg { width: 22px; height: 22px; color: var(--cyan); }
.ind h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.ind p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 0; flex: 1; }
.ind .lnk { font-family: var(--mono); font-size: 11px; color: var(--cyan); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.ind .lnk .arr { transition: transform .15s; }
.ind:hover .lnk .arr { transform: translateX(3px); }
div.ind { cursor: default; }
div.ind:hover { transform: none; border-color: var(--line); box-shadow: none; }
.ind .lnk.soon { color: var(--ink-3); }

/* ── relacionados (landing) · centrado flex ── */
.trace .ind-grid { display: flex; flex-wrap: wrap; justify-content: center; max-width: 1120px; margin-left: auto; margin-right: auto; }
.trace .ind-grid .ind { width: 256px; }
@media (max-width: 600px) { .trace .ind-grid .ind { width: 100%; max-width: 360px; } }

/* ── trazabilidad ── */
.trace { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trace-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-bottom: 28px; }
.trace-flow::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--cyan-2), var(--cyan)); box-shadow: 0 0 12px var(--cyan); z-index: 0; }
.trace-step { position: relative; padding: 0 12px; display: flex; flex-direction: column; align-items: center; gap: 16px; z-index: 1; }
.trace-num { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 19px; color: var(--cyan); box-shadow: 0 0 20px rgba(95,184,255,0.4); z-index: 2; }
.trace-card { background: var(--bg-card); border: 1px solid var(--line-2); border-radius: 12px; padding: 22px 18px; text-align: center; width: 100%; }
.trace-card h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.trace-card p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }
.trace-keys { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.trace-keys span { font-family: var(--mono); font-size: 12px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; }

/* ── modalidades ── */
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.deploy { background: linear-gradient(180deg, var(--bg-card), var(--bg-2)); border: 1px solid var(--line-2); border-radius: 16px; padding: 38px; position: relative; overflow: hidden; }
.deploy.featured { border-color: var(--cyan); box-shadow: 0 0 40px -12px rgba(95,184,255,0.4); }
.deploy .badge { position: absolute; top: 20px; right: 20px; font-family: var(--mono); font-size: 9.5px; background: var(--cyan); color: #00193a; padding: 5px 10px; border-radius: 5px; letter-spacing: 0.06em; font-weight: 700; }
.deploy .tag { font-family: var(--mono); font-size: 12px; color: var(--cyan); letter-spacing: 0.1em; margin-bottom: 18px; }
.deploy h3 { font-size: 25px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 10px; }
.deploy > p { font-size: 15px; color: var(--ink-2); margin: 0 0 22px; line-height: 1.6; }
.deploy ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.deploy li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; font-size: 15px; color: var(--ink-2); align-items: start; }
.deploy li::before { content: '✓'; color: var(--cyan); font-weight: 700; }
.deploy-note { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 13px 15px; line-height: 1.6; }
.deploy-note strong { color: var(--ink-2); font-weight: 600; }
.deploy-cta { margin-top: 22px; }
.deploy-cta .btn { width: 100%; justify-content: center; }

/* ── miami section extras ── */
.miami-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.miami-points li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; font-size: 15px; color: var(--ink-2); align-items: start; }
.miami-points li::before { content: '✓'; color: var(--cyan); font-weight: 700; }
.miami-cta { margin-top: 26px; }
.post .read.muted { color: var(--ink-3); font-style: italic; }

/* ── implementación ── */
.impl { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.impl-banner { text-align: center; margin: 0 auto 48px; max-width: 620px; }
.impl-banner .big { font-size: 56px; font-weight: 700; letter-spacing: -0.04em; color: #fff; line-height: 1; filter: drop-shadow(0 0 16px rgba(95,184,255,0.3)); }
.impl-banner .big .u { color: var(--cyan); }
.impl-banner p { font-size: 16px; color: var(--ink-2); margin: 12px 0 0; }
.impl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.impl-step { position: relative; padding: 26px 22px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; }
.impl-step .num { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--cyan-2)); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 15px; color: #00193a; margin-bottom: 16px; box-shadow: 0 0 16px rgba(95,184,255,0.4); }
.impl-step h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.impl-step p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ── Miami ── */
.miami { background: linear-gradient(180deg, var(--bg) 0%, #07112a 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.miami::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 800px 400px at 82% 50%, rgba(95,184,255,0.1), transparent 60%); pointer-events: none; }
.miami-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.miami h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 22px; }
.miami h2 .glow { background: linear-gradient(135deg, #fff, var(--cyan-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.miami p { font-size: 16.5px; color: var(--ink-2); line-height: 1.7; max-width: 500px; margin: 0 0 18px; }
.miami-pres { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.miami-pres .chip { font-size: 14px; color: var(--ink); background: var(--bg-card); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 17px; display: inline-flex; align-items: center; gap: 8px; }
.miami-pres .chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.presence-panel { background: linear-gradient(180deg, var(--bg-card), var(--bg-2)); border: 1px solid var(--line-2); border-radius: 16px; padding: 34px; position: relative; overflow: hidden; box-shadow: 0 0 0 1px rgba(95,184,255,0.1), 0 30px 60px -30px rgba(95,184,255,0.3); }
.presence-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .6; }
.pp-head { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.pp-loc { display: grid; grid-template-columns: 24px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.pp-pin { width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(95,184,255,0.16), 0 0 14px var(--cyan); margin: 0 auto; }
.pp-txt b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; display: block; }
.pp-txt span { font-size: 13.5px; color: var(--ink-3); }
.pp-foot { padding-top: 20px; font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 9px; }
.pp-foot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(79,214,160,0.2); }

/* ── globo terráqueo (presencia mundial) ── */
.globe-art { position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1/1; }
.globe-art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.gl-orbit { transform-origin: 250px 250px; animation: gl-rot 22s linear infinite; }
.gl-node { transform-box: fill-box; transform-origin: center; animation: gl-pulse 3.6s ease-in-out infinite; }
.gl-node:nth-of-type(2) { animation-delay: .5s; }
.gl-node:nth-of-type(3) { animation-delay: 1s; }
.gl-node:nth-of-type(4) { animation-delay: 1.5s; }
.gl-node:nth-of-type(5) { animation-delay: 2s; }
.gl-node:nth-of-type(6) { animation-delay: 2.6s; }
.gl-pkt { offset-rotate: 0deg; animation: gl-flow 3.8s linear infinite; }
.gl-pkt.gl-p2 { animation-delay: 1.6s; }
.gl-arc1 { offset-path: path('M200 210 Q 290 150 360 300'); }
.gl-arc2 { offset-path: path('M150 260 Q 240 160 320 180'); }
@keyframes gl-rot { to { transform: rotate(360deg); } }
@keyframes gl-pulse { 0%,100% { opacity: .4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes gl-flow { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .gl-orbit, .gl-node, .gl-pkt { animation: none; }
}

/* ── testimonios ── */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; transition: border-color .2s, transform .2s; }
.quote-card:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 0 30px -12px rgba(95,184,255,0.4); }
.quote-card::before { content: '\201C'; position: absolute; top: 6px; left: 22px; font-family: var(--sans); font-weight: 700; font-size: 70px; line-height: 1; color: var(--cyan); opacity: 0.4; }
.quote-card blockquote { margin: 22px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); flex: 1; position: relative; }
.quote-card figcaption { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line); }
.qc-av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--cyan-2)); color: #00193a; font-family: var(--mono); font-weight: 700; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.qc-meta b { font-size: 14.5px; font-weight: 600; display: block; letter-spacing: -0.01em; }
.qc-meta span { font-size: 12.5px; color: var(--ink-3); }

/* ── recursos / blog ── */
.blog { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .2s; display: flex; flex-direction: column; }
.post:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 0 30px -10px rgba(95,184,255,0.4); }
.post-top { height: 8px; background: linear-gradient(90deg, var(--cyan), var(--cyan-2)); opacity: 0.8; }
.post-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post .cat { font-family: var(--mono); font-size: 10.5px; color: var(--cyan); letter-spacing: 0.1em; text-transform: uppercase; }
.post h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin: 0; line-height: 1.25; }
.post p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55; flex: 1; }
.post .read { font-family: var(--mono); font-size: 12px; color: var(--cyan); display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; }
.post .read .arr { transition: transform .15s; }
.post:hover .read .arr { transform: translateX(3px); }

/* ── FAQ ── */
.faq-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s; }
.faq[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cyan); }
.faq .ico { width: 24px; height: 24px; flex-shrink: 0; position: relative; }
.faq .ico::before, .faq .ico::after { content: ''; position: absolute; background: var(--cyan); border-radius: 2px; transition: transform .2s; }
.faq .ico::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.faq .ico::after { left: 11px; top: 4px; bottom: 4px; width: 2px; }
.faq[open] .ico::after { transform: rotate(90deg); opacity: 0; }
.faq-body { padding: 0 26px 24px; font-size: 15.5px; color: var(--ink-2); line-height: 1.65; }

/* ── CTA final ── */
.cta-final { text-align: center; padding: 120px 0 110px; position: relative; }
.cta-final::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 640px; height: 640px; background: radial-gradient(circle, rgba(95,184,255,0.18), transparent 60%); z-index: 0; }
.cta-final h2 { font-size: clamp(34px, 4.8vw, 62px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 20px; position: relative; z-index: 1; }
.cta-final h2 .glow { background: linear-gradient(135deg, #fff, var(--cyan-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-final p { font-size: 18px; color: var(--ink-2); max-width: 580px; margin: 0 auto 36px; line-height: 1.6; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── footer ── */
footer { border-top: 1px solid var(--line); padding: 60px 0 28px; background: var(--bg); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2.2fr repeat(4, 1fr); gap: 44px; margin-bottom: 52px; }
.footer-brand { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.footer-brand .brand-logo { height: 50px; width: auto; }
.footer-brand .brand-name { font-style: italic; }
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-brand .plus { color: var(--cyan); }
.footer-tag { font-size: 14px; color: var(--ink-3); max-width: 320px; line-height: 1.6; margin-bottom: 18px; }
.footer-contact { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.footer-contact a { color: var(--cyan); }
.footer-contact .lbl { color: var(--ink-3); }
.footer-col h5 { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.13em; text-transform: uppercase; margin: 0 0 17px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--ink-2); transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.05em; flex-wrap: wrap; gap: 14px; }
.footer-langs { display: flex; gap: 14px; }
.footer-langs a:hover { color: var(--cyan); }

/* ── floating WhatsApp ── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 28px -6px rgba(37,211,102,0.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ── reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-trust::before { animation: none; } }

/* ── breadcrumb (landing) ── */
.crumb { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; padding: 22px 0 0; }
.crumb a { color: var(--cyan); }

/* ── responsive ── */
/* safety net: nada genera scroll horizontal */
img, svg, video { max-width: 100%; }
body { overflow-x: hidden; }

/* hide nav links early so the lang selector + CTA never overflow */
@media (max-width: 1100px) {
  .nav-links { display: none; }
}
@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .impl-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hex-cluster { max-width: 380px; aspect-ratio: 4/5; margin-top: 8px; }
  .metrics-inner { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .metric { border-right: none; padding: 12px 18px; }
  .metric:not(:last-child) { border-bottom: 1px solid var(--line); }
  .problem-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .trace-flow { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .trace-flow::before { display: none; }
  .deploy-grid { grid-template-columns: 1fr; }
  .impl-grid { grid-template-columns: 1fr 1fr; }
  .miami-grid { grid-template-columns: 1fr; gap: 40px; }
  .cases-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: span 2; }
  section { padding: 72px 0; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .modules-grid, .ind-grid, .impl-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .metrics-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: span 1; }
  .hero h1 { font-size: 34px; }
  /* nav compacto en celular */
  .nav-inner { gap: 12px; }
  .brand-logo { height: 36px; }
  .nav-right { gap: 8px; }
  .lang-sel { display: none; }
  .btn { padding: 11px 16px; font-size: 14px; }
  /* tarjetas y bloques con menos padding */
  .deploy { padding: 26px 22px; }
  .problem-card { padding: 28px 22px; }
  .pillar, .module, .ind, .case, .post-body { padding: 22px; }
  .trace-flow { grid-template-columns: 1fr; }
  .impl-banner .big { font-size: 44px; }
  .metric .n { font-size: 32px; }
  section { padding: 60px 0; }
  .cta-final { padding: 80px 0; }
  .faq summary { font-size: 15.5px; padding: 18px 20px; }
  .faq-body { padding: 0 20px 20px; }
}

/* teléfonos muy angostos: el hero hex no debe apretar */
@media (max-width: 380px) {
  .hero h1 { font-size: 30px; }
  .hex-cluster { max-width: 280px; }
}
