/* Home de DEXMA: estilos propios de esta página. Lo común (header, mega menú, footer,
   tipografía, botones base) vive en /css/sitio.css */
/* Dirección: "ingeniería editorial" en blanco: rejilla asimétrica alineada a la izquierda,
     color plano, esquinas rectas, hero con red neuronal animada. Geist como voz de marca. */
  :root {
    --paper: #FFFFFF;
    --paper-2: #F6F6F4;
    --paper-3: #EEEEEA;
    --ink: #16151A;
    --ink-soft: #57555F;
    --ink-faint: #8A8892;
    --line: #E7E7E3;
    --line-ink: #D9D9D3;
    --accent: #5A2BE0;
    --accent-ink: #4A1FC9;
    --night: #F6F6F4;
    --night-2: #FFFFFF;
    --night-line: #E2E2DC;
    --night-ink: #16151A;
    --night-soft: #57555F;
    --ok: #1E9E5A;
    --c-red:#E0484C; --c-purple:#8A4BE0; --c-amber:#D98A1E; --c-emerald:#1E9E5A; --c-blue:#2F6FE0; --c-cyan:#1FA9BC; --c-green:#1EA85C;
    color-scheme: light;
    --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --maxw: 1240px;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body {
    background: var(--paper); color: var(--ink);
    font-family: var(--body); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }

  .wrap {
    max-width: var(--maxw); margin: 0 auto;
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
  }

  h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
  p { margin: 0; }
  a { color: inherit; text-decoration: none; }

  .mono { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }

  /* buttons */
  .btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--body); font-weight: 600; font-size: 0.95rem; padding: 13px 22px; cursor: pointer; border: 1.5px solid var(--ink); transition: transform .12s ease, background .15s, color .15s, box-shadow .15s; }
  .btn-solid { background: var(--ink); color: var(--paper); }
  .btn-solid:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--accent); }
  .btn-line { background: transparent; color: var(--ink); }
  .btn-line:hover { background: var(--ink); color: var(--paper); }
  .btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
  .btn-accent:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); }
  .btn-sm { padding: 9px 16px; font-size: 0.88rem; }
  .link-arrow { font-weight: 600; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; color: var(--ink); }
  .link-arrow:hover { color: var(--accent); }

  /* hero */
  .hero { position: relative; overflow: hidden; min-height: clamp(660px, 92vh, 960px); display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); background: var(--paper); }
  #net { position: absolute; inset: 0; display: block; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, var(--paper) 0%, rgba(255,255,255,0.94) 30%, rgba(255,255,255,0.35) 52%, rgba(255,255,255,0) 66%); }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1; pointer-events: none;
    background: linear-gradient(0deg, var(--paper), rgba(255,255,255,0)); }
  .hero .wrap { position: relative; z-index: 2; width: 100%; }
  .hero-top { max-width: 900px; padding-block: 96px 64px; }
  .pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--line-ink); background: rgba(255,255,255,0.85); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 30px; }
  .pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(30,158,90,0.5); animation: ping 2s infinite; }
  @keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(30,158,90,0.5); } 70% { box-shadow: 0 0 0 9px rgba(30,158,90,0); } 100% { box-shadow: 0 0 0 0 rgba(30,158,90,0); } }
  .hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.6rem); font-weight: 600; line-height: 1; letter-spacing: -0.055em; }
  .hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.14em; }
  .hero h1 .ln > span { display: inline-block; animation: rise 1s cubic-bezier(.2,.75,.1,1) both; }
  .hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
  .hero h1 .ln:nth-child(3) > span { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
  .hero h1 .acc { color: var(--accent-ink); }
  .rot { color: var(--accent-ink); position: relative; display: inline-block; }
  .rot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.07em; background: var(--accent); transform-origin: left; animation: bar 2.6s cubic-bezier(.6,0,.2,1) infinite; }
  @keyframes bar { 0% { transform: scaleX(0); } 25%, 80% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
  .rot.swap { animation: swap .5s cubic-bezier(.2,.75,.1,1); }
  @keyframes swap { from { transform: translateY(40%); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
  .fade-in { animation: fadeup .9s cubic-bezier(.2,.75,.1,1) both; }
  @keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .hero .lead { font-size: clamp(1.06rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 50ch; margin: 30px 0 36px; line-height: 1.55; animation-delay: .4s; }
  .hero-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; animation-delay: .55s; }

  /* clients */
  .clients { border-bottom: 1px solid var(--line); padding-block: 26px; }
  .clients .wrap { display: flex; align-items: center; gap: 36px; }
  .clients .mono { flex: none; }
  .marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
  .track { list-style: none; margin: 0; padding: 0; }
  .track li { display: flex; align-items: center; gap: 10px; padding-right: 44px; color: var(--ink-faint); white-space: nowrap; transition: color .25s; }
  .track li svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
  .track li span { font-size: 0.95rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-soft); }
  .track li:hover { color: var(--brand); }
  @keyframes marquee { to { transform: translateX(-50%); } }

  /* reveal on scroll */
  html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.75,.1,1), transform .9s cubic-bezier(.2,.75,.1,1); transition-delay: var(--d, 0s); }
  html.js [data-reveal].in { opacity: 1; transform: none; }
  html.js .step .bar i { transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.6,0,.2,1) .35s; }
  html.js .step.in .bar i { transform: scaleX(1); }
  header.scrolled { box-shadow: 0 8px 24px -18px rgba(20,20,43,0.35); }

  /* generic band */
  section.band { padding-block: 92px; border-bottom: 1px solid var(--line); }
  .sec-split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; }
  .sec-title .mono { display: block; margin-bottom: 18px; color: var(--accent-ink); }
  .sec-title h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
  .sec-title p { color: var(--ink-soft); margin-top: 18px; max-width: 36ch; }
  .sticky-top { position: sticky; top: 92px; }

  /* principles */
  .principles { display: flex; flex-direction: column; }
  .principle { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line-ink); align-items: start; }
  .principle:first-child { border-top: none; padding-top: 0; }
  .principle .n { font-family: var(--mono); font-size: 0.8rem; color: var(--accent-ink); padding-top: 5px; }
  .principle h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 7px; }
  .principle p { color: var(--ink-soft); font-size: 0.98rem; }

  /* services dark band */
  .services { background: var(--night); color: var(--night-ink); padding-block: 96px; border-block: 1px solid var(--line); }
  .services .wrap { }
  .services .head { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 30px; margin-bottom: 48px; }
  .services .head .mono { color: var(--accent-ink); }
  .services .head h2 { font-size: clamp(2rem, 3.8vw, 3rem); color: var(--night-ink); margin-top: 16px; max-width: 18ch; }
  .services .head p { color: var(--night-soft); max-width: 42ch; }
  .lines { border-top: 1px solid var(--night-line); }
  .line { display: grid; grid-template-columns: 0.85fr 1.6fr; gap: 56px; padding-block: 44px; border-bottom: 1px solid var(--night-line); }
  .line-head .n { font-family: var(--mono); font-size: 0.8rem; color: var(--accent-ink); display: block; margin-bottom: 14px; }
  .line-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--night-ink); margin-bottom: 12px; }
  .line-head p { color: var(--night-soft); max-width: 34ch; margin-bottom: 20px; }
  .line-head a { font-weight: 600; font-size: 0.92rem; color: var(--night-ink); border-bottom: 1.5px solid var(--accent-ink); padding-bottom: 2px; }
  .line-head a:hover { color: var(--accent-ink); }
  .items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; align-content: start; }
  .item { padding-block: 18px; border-top: 1px solid var(--night-line); min-width: 0; }
  .items > .item:nth-child(-n+2), .items > .sub + .item, .items > .sub + .item + .item { border-top: none; }
  .item.wide { grid-column: 1 / -1; }
  .item h4 { font-family: var(--body); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; color: var(--night-ink); margin-bottom: 5px; line-height: 1.35; }
  .item h4 em { font-style: normal; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ok); border: 1px solid rgba(30,158,90,0.35); padding: 3px 8px; margin-left: 8px; vertical-align: middle; white-space: nowrap; }
  .item p { color: var(--night-soft); font-size: 0.9rem; line-height: 1.5; }
  .item .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
  .item .tags span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.04em; border: 1px solid var(--night-line); padding: 4px 9px; color: var(--night-soft); }
  .sub { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); padding: 22px 0 6px; border-top: 1px solid var(--night-line); }
  .items > .sub:first-child { padding-top: 0; border-top: none; }

  .line-head .partner { display: inline-block; margin-top: 4px; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ok); border: 1px solid rgba(30,158,90,0.35); padding: 5px 10px; }
  .engage { margin-top: 64px; }
  .engage-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
  .engage-head .mono { color: var(--accent-ink); }
  .engage-head p { color: var(--night-soft); max-width: 46ch; }
  .engage-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); }
  .eg { background: var(--night-2); padding: 24px 22px; }
  .eg h4 { font-family: var(--display); font-size: 1.15rem; color: var(--night-ink); margin-bottom: 8px; }
  .eg p { color: var(--night-soft); font-size: 0.88rem; line-height: 1.5; }


  /* ===== Servicios: pestañas con demos ===== */
  .svc2 { padding-block: 104px; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
  .svc2-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
  .svc2-head .mono { color: var(--accent-ink); display: block; margin-bottom: 16px; }
  .svc2-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); max-width: 15ch; }
  .tabs { display: grid; grid-template-columns: 0.85fr 1.5fr; gap: 48px; align-items: stretch; }
  .tablist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
  .tab { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 24px 0; cursor: pointer; font: inherit; position: relative; display: grid; grid-template-columns: 1fr; color: var(--ink-faint); }
  .tab b { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; padding-top: 9px; color: inherit; }
  .tab .t { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; letter-spacing: -0.035em; color: var(--ink-faint); transition: color .25s; }
  .tab .d { grid-column: 1; font-size: 0.94rem; line-height: 1.5; color: var(--ink-soft); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s, opacity .35s, margin .35s; }
  .tab .prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); }
  .tab:hover .t, .tab[aria-selected="true"] .t { color: var(--ink); }
  .tab[aria-selected="true"] b { color: var(--accent-ink); }
  .tab[aria-selected="true"] .d { max-height: 140px; opacity: 1; margin-top: 8px; }
  .tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
  .stage { border: 1px solid var(--line-ink); background: var(--paper-2); display: flex; flex-direction: column; min-height: 500px; min-width: 0;
    background-image: radial-gradient(rgba(22,21,26,0.07) 1px, transparent 1px); background-size: 18px 18px; }
  .panel { flex: 1; display: flex; flex-direction: column; min-width: 0; }
  .panel[hidden] { display: none; }
  .demo { flex: 1; display: grid; place-items: center; padding: 40px 32px; position: relative; overflow: hidden; }
  .panel-foot { border-top: 1px solid var(--line-ink); background: var(--paper); padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .panel-foot .mono { margin-right: 6px; }
  .chip { font-size: 0.85rem; font-weight: 500; border: 1px solid var(--line-ink); padding: 6px 11px; background: #fff; color: var(--ink); transition: border-color .2s, color .2s; }
  .chip:hover { border-color: var(--accent); color: var(--accent-ink); }
  .engage2 { margin-top: 28px; display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .engage2 ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; flex: 1; }
  .engage2 li { font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
  .engage2 li::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }

  .win { background: #fff; border: 1px solid var(--line-ink); box-shadow: 0 30px 60px -32px rgba(20,20,43,0.3); width: 100%; }
  .win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .win-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-ink); }
  .win-bar span { margin-left: 8px; font-family: var(--mono); font-size: 0.66rem; color: var(--ink-faint); }

  /* demo 1: producto */
  .d-prod { position: relative; width: 100%; max-width: 540px; margin-right: 40px; }
  .dash { display: grid; grid-template-columns: 46px 1fr; min-height: 270px; }
  .dash aside { border-right: 1px solid var(--line); padding: 14px 11px; display: flex; flex-direction: column; gap: 11px; }
  .dash aside s { display: block; height: 8px; background: var(--paper-3); }
  .dash aside s:first-child { background: var(--accent); }
  .dmain { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
  .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .kpis div { border: 1px solid var(--line); padding: 8px 10px; min-width: 0; }
  .kpis em { display: block; font-style: normal; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
  .kpis strong { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .chart { width: 100%; height: 78px; display: block; }
  .chart .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 420; }
  .chart .area { fill: rgba(90,43,224,0.08); }
  .rows p { display: grid; grid-template-columns: 1fr 0.55fr auto; gap: 10px; align-items: center; margin: 0; padding: 7px 0; border-top: 1px solid var(--line); }
  .rows span { height: 7px; background: var(--paper-3); }
  .rows b { font-family: var(--mono); font-weight: 500; font-size: 0.56rem; color: var(--ok); background: rgba(30,158,90,0.1); padding: 3px 6px; }
  .phone { position: absolute; right: -40px; bottom: -34px; width: 132px; background: #fff; border: 1px solid var(--line-ink); border-radius: 18px; padding: 18px 10px 10px; box-shadow: 0 24px 44px -20px rgba(20,20,43,0.4); }
  .phone::before { content: ""; position: absolute; top: 7px; left: 50%; width: 34px; height: 5px; border-radius: 3px; background: var(--paper-3); transform: translateX(-50%); }
  .ph-h { font-size: 0.68rem; font-weight: 600; margin-bottom: 4px; }
  .ph-i { display: flex; gap: 7px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
  .ph-i i { width: 18px; height: 18px; background: rgba(90,43,224,0.14); flex: none; }
  .ph-i span { flex: 1; height: 6px; background: var(--paper-3); }

  /* demo 2: IA */
  .flow { width: 100%; max-width: 470px; display: flex; flex-direction: column; }
  .fs { display: grid; grid-template-columns: 56px 1fr 22px; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line-ink); padding: 14px 16px; box-shadow: 0 16px 30px -24px rgba(20,20,43,0.35); }
  .fs.ai { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(90,43,224,0.08), 0 16px 30px -24px rgba(20,20,43,0.35); }
  .ft { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); border: 1px solid currentColor; padding: 3px 0; text-align: center; margin-top: 2px; }
  .fs strong { display: block; font-size: 0.95rem; font-weight: 600; }
  .fs small { color: var(--ink-faint); font-size: 0.74rem; font-family: var(--mono); }
  .fs dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 9px 0 0; }
  .fs dt { font-family: var(--mono); font-size: 0.6rem; color: var(--ink-faint); text-transform: uppercase; padding-top: 2px; }
  .fs dd { margin: 0; font-family: var(--mono); font-size: 0.76rem; }
  .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); position: relative; margin-top: 1px; }
  .ok::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
  .fc { height: 30px; position: relative; margin-left: 44px; border-left: 1.5px dashed var(--line-ink); }
  .fc span { position: absolute; left: -4.75px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: drop 1.3s linear infinite; }
  @keyframes drop { from { top: 0; opacity: 0; } 25% { opacity: 1; } to { top: 100%; opacity: 0; } }

  /* demo 3: fintech */
  .fin { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 560px; }
  .fcard { background: #fff; border: 1px solid var(--line-ink); padding: 14px; min-height: 178px; display: flex; flex-direction: column; gap: 10px; min-width: 0; box-shadow: 0 16px 30px -26px rgba(20,20,43,0.35); }
  .fhead { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-faint); }
  .scan { position: relative; height: 86px; display: grid; place-items: center; overflow: hidden; background: var(--paper-2); color: var(--ink-faint); }
  .scan .sl { position: absolute; left: 22%; right: 22%; height: 2px; background: var(--accent); box-shadow: 0 0 12px rgba(90,43,224,0.6); top: 14%; animation: scanl 1.8s ease-in-out infinite alternate; }
  @keyframes scanl { to { top: 84%; } }
  .scan .br { position: absolute; width: 13px; height: 13px; border: 0 solid var(--accent); }
  .scan .b1 { top: 8px; left: calc(50% - 38px); border-width: 2px 0 0 2px; } .scan .b2 { top: 8px; right: calc(50% - 38px); border-width: 2px 2px 0 0; }
  .scan .b3 { bottom: 8px; left: calc(50% - 38px); border-width: 0 0 2px 2px; } .scan .b4 { bottom: 8px; right: calc(50% - 38px); border-width: 0 2px 2px 0; }
  .fstat { font-size: 0.8rem; font-weight: 500; display: flex; gap: 7px; align-items: center; }
  .fstat i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
  .amt { font-size: 1.55rem; font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; line-height: 1.1; }
  .clabe { font-family: var(--mono); font-size: 0.66rem; color: var(--ink-faint); }
  .st3 { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .st3 li { font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-soft); padding-top: 9px; position: relative; }
  .st3 li::before, .st3 li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--paper-3); }
  .st3 li::after { background: var(--ok); transform-origin: left; }
  .doc { position: relative; flex: 1; border: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
  .doc span { height: 6px; background: var(--paper-3); }
  .stamp { position: absolute; right: 8px; bottom: 9px; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em; color: var(--accent-ink); border: 1.5px solid var(--accent); padding: 4px 8px; background: rgba(255,255,255,0.9); transform: rotate(-7deg); }
  .uuid { font-family: var(--mono); font-size: 0.6rem; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chat { display: flex; flex-direction: column; gap: 6px; }
  .bub { font-size: 0.74rem; line-height: 1.35; padding: 7px 9px; max-width: 90%; }
  .bub.in { background: var(--paper-2); align-self: flex-start; }
  .bub.out { background: #E3F6EA; align-self: flex-end; }
  .pay { align-self: flex-end; font-size: 0.7rem; font-weight: 600; border: 1px solid var(--ok); color: var(--ok); padding: 4px 9px; }

  /* demo 4: nube */
  .d-ops { max-width: 540px; }
  .ops { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
  .ops-head { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; }
  .ops-head strong { font-size: 0.98rem; font-weight: 600; }
  .ops-head i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); animation: ping 2s infinite; }
  .srow { display: grid; grid-template-columns: 92px 1fr 64px; gap: 12px; align-items: center; }
  .srow span { font-size: 0.8rem; font-weight: 500; }
  .srow em { font-style: normal; font-family: var(--mono); font-size: 0.58rem; color: var(--ok); text-align: right; text-transform: uppercase; }
  .bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; }
  .bars i { height: 18px; background: var(--ok); opacity: 0.8; }
  .ops-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
  .spark { width: 100%; height: 46px; display: block; margin-top: 6px; }
  .spark path { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 300; }
  .secl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
  .secl li { font-size: 0.78rem; display: flex; gap: 8px; align-items: center; }
  .secl li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") center/14px no-repeat; }

  /* animaciones de las demos: corren cuando la sección está a la vista */
  @keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
  @keyframes fadein { from { opacity: 0; } }
  @keyframes draw { from { stroke-dashoffset: 420; } }
  @keyframes grow { from { transform: scaleY(0.15); opacity: 0; } }
  @keyframes fill { from { transform: scaleX(0); } }
  @keyframes stamp { from { transform: rotate(-7deg) scale(1.9); opacity: 0; } }
  .stage.play .panel:not([hidden]) .kpis div { animation: pop .5s cubic-bezier(.2,.75,.1,1) both; }
  .stage.play .panel:not([hidden]) .kpis div:nth-child(2) { animation-delay: .12s; }
  .stage.play .panel:not([hidden]) .kpis div:nth-child(3) { animation-delay: .24s; }
  .stage.play .panel:not([hidden]) .chart .line { animation: draw 1.6s .45s cubic-bezier(.6,0,.2,1) both; }
  .stage.play .panel:not([hidden]) .chart .area { animation: fadein .8s 1.3s both; }
  .stage.play .panel:not([hidden]) .rows p { animation: pop .45s both; }
  .stage.play .panel:not([hidden]) .rows p:nth-child(1) { animation-delay: 1.3s; }
  .stage.play .panel:not([hidden]) .rows p:nth-child(2) { animation-delay: 1.45s; }
  .stage.play .panel:not([hidden]) .rows p:nth-child(3) { animation-delay: 1.6s; }
  .stage.play .panel:not([hidden]) .phone { animation: pop .7s .8s cubic-bezier(.2,.75,.1,1) both; }
  .stage.play .panel:not([hidden]) .ph-i { animation: pop .4s both; }
  .stage.play .panel:not([hidden]) .ph-i:nth-of-type(1) { animation-delay: 1.3s; }
  .stage.play .panel:not([hidden]) .ph-i:nth-of-type(2) { animation-delay: 1.45s; }
  .stage.play .panel:not([hidden]) .ph-i:nth-of-type(3) { animation-delay: 1.6s; }
  .stage.play .panel:not([hidden]) .fs { animation: pop .5s cubic-bezier(.2,.75,.1,1) both; }
  .stage.play .panel:not([hidden]) .fs:nth-of-type(2) { animation-delay: .9s; }
  .stage.play .panel:not([hidden]) .fs:nth-of-type(3) { animation-delay: 2.1s; }
  .stage.play .panel:not([hidden]) .fs dd { animation: fadein .3s both; }
  .stage.play .panel:not([hidden]) .fs dd:nth-of-type(1) { animation-delay: 1.3s; }
  .stage.play .panel:not([hidden]) .fs dd:nth-of-type(2) { animation-delay: 1.5s; }
  .stage.play .panel:not([hidden]) .fs dd:nth-of-type(3) { animation-delay: 1.7s; }
  .stage.play .panel:not([hidden]) .fs .ok { animation: pop .35s both; }
  .stage.play .panel:not([hidden]) .fs:nth-of-type(1) .ok { animation-delay: .6s; }
  .stage.play .panel:not([hidden]) .fs:nth-of-type(2) .ok { animation-delay: 1.9s; }
  .stage.play .panel:not([hidden]) .fs:nth-of-type(3) .ok { animation-delay: 2.6s; }
  .stage.play .panel:not([hidden]) .fcard { animation: pop .5s cubic-bezier(.2,.75,.1,1) both; }
  .stage.play .panel:not([hidden]) .fcard:nth-child(2) { animation-delay: .1s; }
  .stage.play .panel:not([hidden]) .fcard:nth-child(3) { animation-delay: .2s; }
  .stage.play .panel:not([hidden]) .fcard:nth-child(4) { animation-delay: .3s; }
  .stage.play .panel:not([hidden]) .fstat { animation: pop .4s 1.5s both; }
  .stage.play .panel:not([hidden]) .st3 li::after { animation: fill .6s both; }
  .stage.play .panel:not([hidden]) .st3 li:nth-child(1)::after { animation-delay: .5s; }
  .stage.play .panel:not([hidden]) .st3 li:nth-child(2)::after { animation-delay: 1.2s; }
  .stage.play .panel:not([hidden]) .st3 li:nth-child(3)::after { animation-delay: 1.9s; }
  .stage.play .panel:not([hidden]) .stamp { animation: stamp .45s 1.2s cubic-bezier(.3,1.6,.5,1) both; }
  .stage.play .panel:not([hidden]) .bub, .stage.play .panel:not([hidden]) .pay { animation: pop .4s both; }
  .stage.play .panel:not([hidden]) .bub.in { animation-delay: .5s; }
  .stage.play .panel:not([hidden]) .bub.out { animation-delay: 1.3s; }
  .stage.play .panel:not([hidden]) .pay { animation-delay: 2s; }
  .stage.play .panel:not([hidden]) .bars i { animation: grow .35s both; animation-delay: calc(var(--k) * 22ms + .2s); transform-origin: bottom; }
  .stage.play .panel:not([hidden]) .spark path { animation: draw 1.6s 1s both; }
  .stage.play .panel:not([hidden]) .secl li { animation: pop .35s both; }
  .stage.play .panel:not([hidden]) .secl li:nth-child(1) { animation-delay: 1.2s; }
  .stage.play .panel:not([hidden]) .secl li:nth-child(2) { animation-delay: 1.45s; }
  .stage.play .panel:not([hidden]) .secl li:nth-child(3) { animation-delay: 1.7s; }

  /* ===== Por qué DEXMA ===== */
  .why2 { padding-block: 104px; border-bottom: 1px solid var(--line); }
  .why2-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 48px; }
  .why2-head .mono { color: var(--accent-ink); display: block; margin-bottom: 16px; }
  .why2-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); max-width: 17ch; }
  .why2-head .side { max-width: 38ch; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
  .why2-head .side p { color: var(--ink-soft); }
  .why2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .why2-card { border: 1px solid var(--line); display: flex; flex-direction: column; }
  .vis { height: 190px; background: var(--paper-2); border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 20px; overflow: hidden;
    background-image: radial-gradient(rgba(22,21,26,0.07) 1px, transparent 1px); background-size: 16px 16px; }
  .vis svg { width: 100%; max-width: 280px; height: auto; overflow: visible; }
  .vis text { font-family: var(--mono); font-size: 9px; fill: var(--ink-faint); letter-spacing: 0.04em; }
  .why2-body { padding: 24px 22px 26px; }
  .why2-body h3 { font-size: 1.28rem; margin-bottom: 6px; }
  .why2-body p { color: var(--ink-soft); font-size: 0.95rem; }
  .wk { width: 100%; max-width: 280px; }
  .wk-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .wk-cols div { background: #fff; border: 1px solid var(--line-ink); height: 92px; display: flex; flex-direction: column; justify-content: space-between; padding: 8px; }
  .wk-cols span { font-family: var(--mono); font-size: 0.62rem; color: var(--ink-faint); }
  .wk-cols i { font-style: normal; font-family: var(--mono); font-size: 0.56rem; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; background: var(--accent); padding: 4px 0; text-align: center; }
  .wk-bar { height: 3px; background: var(--line-ink); margin-top: 12px; position: relative; }
  .wk-bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; }
  .why2-card.in .cn { animation: draw 1s both; }
  .why2-card.in .cn:nth-of-type(2) { animation-delay: .15s; }
  .why2-card.in .cn:nth-of-type(3) { animation-delay: .3s; }
  .why2-card.in .pop { animation: pop .45s both; transform-box: fill-box; transform-origin: center; }
  .why2-card.in .pop.d1 { animation-delay: .9s; } .why2-card.in .pop.d2 { animation-delay: 1.1s; } .why2-card.in .pop.d3 { animation-delay: 1.3s; }
  .why2-card.in .wk-cols i { animation: pop .4s both; }
  .why2-card.in .wk-cols div:nth-child(1) i { animation-delay: .3s; } .why2-card.in .wk-cols div:nth-child(2) i { animation-delay: .55s; }
  .why2-card.in .wk-cols div:nth-child(3) i { animation-delay: .8s; } .why2-card.in .wk-cols div:nth-child(4) i { animation-delay: 1.05s; }
  .why2-card.in .wk-bar::after { animation: fill 1.3s .2s cubic-bezier(.6,0,.2,1) both; }
  .why2-card.in .grow-line { animation: draw 1.6s .3s cubic-bezier(.6,0,.2,1) both; }

  /* ===== Proceso: línea de tiempo ===== */
  .proc { padding-block: 104px; border-bottom: 1px solid var(--line); }
  .tl-head { margin-bottom: 56px; }
  .tl-head .mono { color: var(--accent-ink); display: block; margin-bottom: 16px; }
  .tl-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
  .hp-tl { position: relative; }
  .tl-track { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line-ink); }
  .tl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--accent); transition: width .15s linear; }
  .tl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
  .tl-steps li { opacity: 0.4; transition: opacity .4s; }
  .tl-steps li.on { opacity: 1; }
  .tl-steps .dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line-ink); margin-bottom: 26px; transition: background .35s, border-color .35s, box-shadow .35s; }
  .tl-steps li.on .dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px rgba(90,43,224,0.12); }
  .tl-steps b { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; color: var(--accent-ink); display: block; margin-bottom: 10px; }
  .tl-steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
  .tl-steps p { color: var(--ink-soft); font-size: 0.95rem; max-width: 28ch; }

  /* ===== Industrias ===== */
  .ind2s { padding-block: 104px; border-bottom: 1px solid var(--line); }
  .ind2-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
  .ind2-head .mono { color: var(--accent-ink); display: block; margin-bottom: 16px; }
  .ind2-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); max-width: 16ch; }
  .ind2-head p { color: var(--ink-soft); max-width: 38ch; }
  .ind2-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .ind2 { border: 1px solid var(--line); padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 30px; min-height: 172px; position: relative; transition: border-color .25s, transform .25s, box-shadow .25s; }
  .ind2 strong { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.02em; display: block; }
  .ind2 small { display: block; color: var(--ink-faint); font-size: 0.82rem; margin-top: 3px; }
  .ind2 .arr { position: absolute; top: 18px; right: 18px; color: var(--ink-faint); transition: transform .25s, color .25s; }
  .ind2:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 34px -24px rgba(20,20,43,0.4); }
  .ind2:hover .arr { transform: translate(3px, -3px); color: var(--ink); }

  /* ===== Tecnologías ===== */
  .tech { padding-block: 96px; border-bottom: 1px solid var(--line); }
  .tech-wrap { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 56px; align-items: start; }
  .tech-head .mono { color: var(--accent-ink); display: block; margin-bottom: 16px; }
  .tech-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
  .tech-head p { color: var(--ink-soft); margin-top: 16px; max-width: 34ch; }
  .tech-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .tech-grid li { background: var(--paper); display: flex; align-items: center; gap: 12px; padding: 22px 18px; color: var(--ink-faint); transition: color .25s, background .25s; }
  .tech-grid svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
  .tech-grid span { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
  .tech-grid li:hover { color: var(--brand); background: var(--paper-2); }

  @media (max-width: 960px) {
    .tabs { grid-template-columns: 1fr; gap: 28px; }
    .stage { min-height: 460px; }
    .why2-grid { grid-template-columns: 1fr; }
    .ind2-grid { grid-template-columns: repeat(3, 1fr); }
    .tech-wrap { grid-template-columns: 1fr; gap: 32px; }
    .tl-track { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .tl-fill { width: 100%; height: var(--p, 0%); bottom: auto; transition: height .15s linear; }
    .tl-steps { grid-template-columns: 1fr; gap: 36px; }
    .tl-steps li { position: relative; padding-left: 44px; }
    .tl-steps .dot { position: absolute; left: 0; top: 2px; margin: 0; }
  }
  @media (max-width: 600px) {
    .fin { grid-template-columns: 1fr; }
    .phone { display: none; }
    .d-prod { margin-right: 0; }
    .demo { padding: 24px 14px; }
    .ind2-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .srow { grid-template-columns: 70px 1fr; } .srow em { display: none; }
    .ops-foot { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) {
    .tl-steps li { opacity: 1; }
    .tl-fill { width: 100%; }
  }

  /* process */
  .steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 8px; }
  .step .bar { height: 3px; background: var(--line-ink); position: relative; margin-bottom: 20px; }
  .step .bar i { position: absolute; left: 0; top: 0; height: 100%; background: var(--accent); }
  .step .n { font-family: var(--mono); font-size: 0.85rem; color: var(--accent-ink); margin-bottom: 10px; }
  .step h3 { font-size: 1.28rem; margin-bottom: 8px; }
  .step p { color: var(--ink-soft); font-size: 0.96rem; max-width: 30ch; }

  /* why */
  .why-lead { max-width: 30ch; }
  .why-lead h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
  .why-lead p { color: var(--ink-soft); margin: 18px 0 26px; }
  .why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); margin-top: 48px; }
  .why { background: var(--paper); padding: 28px 24px; }
  .why .k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--accent-ink); margin-bottom: 14px; }
  .why h3 { font-size: 1.14rem; margin-bottom: 9px; }
  .why p { color: var(--ink-soft); font-size: 0.92rem; }

  /* industries */
  .industries { background: var(--paper-2); }
  .ind-head { text-align: left; margin-bottom: 44px; max-width: 46ch; }
  .ind-head .mono { color: var(--accent-ink); display: block; margin-bottom: 16px; }
  .ind-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
  .ind-head p { color: var(--ink-soft); margin-top: 16px; }
  .ind-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  .ind { background: var(--paper); border: 1px solid var(--line); padding: 26px; transition: transform .2s, box-shadow .2s; }
  .ind:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -18px rgba(20,20,43,0.22); }
  .ind-ico { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; }
  .ind-ico svg { width: 24px; height: 24px; }
  .ind h3 { font-size: 1.18rem; margin-bottom: 8px; }
  .ind p { color: var(--ink-soft); font-size: 0.9rem; }

  /* CTA with form */
  .cta { background: var(--accent); color: #fff; padding-block: 90px; }
  .cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
  .cta .mono { color: rgba(255,255,255,0.72); }
  .cta h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); color: #fff; font-weight: 600; margin-top: 16px; }
  .cta p { color: rgba(255,255,255,0.85); margin-top: 18px; max-width: 44ch; font-size: 1.08rem; }
  .cta-form { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); padding: 28px; }
  .cta-form label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.8); display: block; margin-bottom: 10px; }
  .cta-form .field { display: flex; gap: 10px; flex-wrap: wrap; }
  .cta-form input { flex: 1; min-width: 180px; background: #fff; border: 1.5px solid #fff; color: var(--ink); padding: 13px 16px; font-family: var(--body); font-size: 0.95rem; }
  .cta-form input:focus { outline: 2px solid var(--night); outline-offset: 1px; }
  .cta-form .btn-white { background: var(--ink); border-color: var(--ink); color: #fff; }
  .cta-form .btn-white:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 rgba(255,255,255,0.4); }
  .cta-points { display: flex; gap: 22px; margin-top: 18px; flex-wrap: wrap; }
  .cta-points span { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: rgba(255,255,255,0.9); }
  .cta-points svg { width: 16px; height: 16px; }
  .cta-msg { margin-top: 14px; font-size: 0.9rem; color: #d7ffe8; min-height: 1.2em; }

  /* accesibilidad y enlaces */
  .skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 600; font-size: 0.9rem; transition: top .15s; }
  .skip:focus { top: 12px; }
  [id] { scroll-margin-top: 84px; }
  a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .item { position: relative; }
  .item h4 a { color: inherit; }
  .item h4 a::after { content: ""; position: absolute; inset: 0; }
  .item h4::after { content: "→"; content: "→" / ""; display: inline-block; margin-left: 6px; color: var(--accent-ink); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
  .item:hover h4 a, .item h4 a:focus-visible { color: var(--accent-ink); }
  .item:hover h4::after, .item:focus-within h4::after { opacity: 1; transform: none; }
  .engage-head h3.mono { font-weight: 500; line-height: 1.6; }
  .lines-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 28px; }
  .lines-foot p { color: var(--night-soft); max-width: 52ch; font-size: 0.95rem; }
  .cta-direct { margin-top: 22px; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
  .cta-direct a { color: #fff; font-weight: 600; border-bottom: 1.5px solid rgba(255,255,255,0.5); padding-bottom: 1px; }
  .cta-direct a:hover { border-color: #fff; }

  /* bloque de palabra clave */
  .kw-body { display: flex; flex-direction: column; gap: 18px; max-width: 64ch; }
  .kw-body p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.7; }
  .kw-body p:first-child { color: var(--ink); font-size: 1.16rem; }
  .kw-body a { color: var(--ink); border-bottom: 1.5px solid var(--accent); padding-bottom: 1px; font-weight: 500; }
  .kw-body a:hover { color: var(--accent-ink); }

  /* FAQ */
  .faq { display: flex; flex-direction: column; border-top: 1px solid var(--line-ink); }
  .faq details { border-bottom: 1px solid var(--line-ink); }
  .faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 22px; gap: 20px; align-items: start; padding: 24px 0; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .n { font-family: var(--mono); font-size: 0.8rem; color: var(--accent-ink); padding-top: 5px; }
  .faq summary h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.32; transition: color .15s; }
  .faq summary:hover h3 { color: var(--accent-ink); }
  .faq .pm { position: relative; width: 16px; height: 16px; margin-top: 6px; }
  .faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; background: var(--ink); transition: transform .25s cubic-bezier(.2,.75,.1,1), background .15s; }
  .faq .pm::after { transform: rotate(90deg); }
  .faq details[open] .pm::after { transform: rotate(0deg); }
  .faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--accent); }
  .faq .ans { padding: 0 42px 26px 74px; color: var(--ink-soft); font-size: 0.98rem; max-width: 70ch; }
  .faq .ans a { color: var(--ink); border-bottom: 1.5px solid var(--accent); }
  .faq .ans a:hover { color: var(--accent-ink); }
  .faq details[open] .ans { animation: fadeup .45s cubic-bezier(.2,.75,.1,1) both; }

  @media (max-width: 960px) {
    .hero-grid, .sec-split, .services .head, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
    .sticky-top { position: static; }
    .ind-grid { grid-template-columns: repeat(2,1fr); }
    .line { grid-template-columns: 1fr; gap: 24px; }
    .engage-grid { grid-template-columns: 1fr 1fr; }
    .cases { grid-template-columns: 1fr; }
    .steps, .why-grid { grid-template-columns: 1fr 1fr; }
    .foot-top { grid-template-columns: 1fr 1fr; }
    nav.main { display: none; }
  }
  @media (max-width: 760px) {
    .header-right .mono { display: none; }
    .header-right .btn { white-space: nowrap; padding: 9px 14px; font-size: 0.84rem; }
    .engage2 { flex-direction: column; align-items: flex-start; }
    .engage2 ul { flex-direction: column; gap: 8px; }
    .hero::before { background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.78) 60%, rgba(255,255,255,0.4) 100%); }
    .clients .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
    .marquee { width: 100%; }
  }
  @media (max-width: 560px) {
    .items, .engage-grid, .ind-grid, .steps, .why-grid, .foot-top { grid-template-columns: 1fr; }
    .faq summary { grid-template-columns: 1fr 18px; gap: 12px; }
    .faq .ans { padding: 0 0 22px 42px; }
    .util .wrap .hide-sm { display: none; }
  }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html.js [data-reveal] { opacity: 1; transform: none; } }

  /* Industrias: aviso para sectores que no están en la lista */
  .ind2-other { margin-top: 12px; display: flex; align-items: center; gap: 22px; padding: 22px 24px; border: 1px dashed var(--line-ink); background: var(--paper-2); }
  .ind2-other-txt { flex: 1; min-width: 0; }
  .ind2-other strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; display: block; }
  .ind2-other p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 4px; max-width: 78ch; }
  .ind2-other .btn { flex: none; }
  @media (max-width: 760px) { .ind2-other { flex-direction: column; align-items: flex-start; } }

/* ===== Tipografía: Plus Jakarta Sans ===== */
:root { --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
body { font-family: var(--body); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; }
h1, h2 { line-height: 1.05; }
h3, h4 { letter-spacing: -0.02em; line-height: 1.2; }
.hero h1 { letter-spacing: -0.045em; line-height: 1.02; }
.acc, h1 .acc, h2 .acc { font-style: normal; }
.logo .word, .flogo .word { font-family: var(--body); font-weight: 800; letter-spacing: -0.05em; }
.faq summary { font-family: var(--body); font-weight: 600; letter-spacing: -0.015em; }
.mm-ft { font-weight: 700; letter-spacing: -0.03em; font-size: 1.2rem; }
.mm-arts a { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.015em; }

/* En el celular el hero no ocupa toda la pantalla: el título va cerca del menú */
@media (max-width: 760px) {
  .hero { min-height: 0; justify-content: flex-start; }
  .hero-top { padding-block: 40px 48px; }
}
