:root {
  --bg: oklch(13% 0.03 258);
  --bg-2: oklch(17% 0.035 258);
  --surface: oklch(21% 0.04 258);
  --surface-2: oklch(25% 0.045 258);
  --line: oklch(98% 0.006 90 / 0.1);
  --line-strong: oklch(98% 0.006 90 / 0.18);
  --ink: oklch(96% 0.006 90);
  --muted: oklch(75% 0.02 258);
  --accent: oklch(74% 0.16 55);
  --accent-ink: oklch(18% 0.02 258);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-brand: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --radius: 20px;
  --max: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a { color: var(--accent); transition: color .2s ease; }
img { max-width: 100%; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Site-wide animated background (shader canvas, fixed behind everything) ---------- */
.hero-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  z-index: -1;
}

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Custom cursor ---------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid oklch(74% 0.16 55 / 0.7);
  pointer-events: none;
  z-index: 300;
  transform: translate(-50%, -50%);
  transition: width .18s ease, height .18s ease, background .18s ease, border-color .18s ease;
  display: none;
}
.cursor-dot.is-active { display: block; }
.cursor-dot.is-hover {
  width: 36px;
  height: 36px;
  background: oklch(74% 0.16 55 / 0.14);
}
@media (pointer: coarse) {
  .cursor-dot { display: none !important; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled {
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  box-shadow: 0 8px 24px oklch(5% 0.02 258 / 0.35);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: var(--ink);
}
.brand .mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.brand:hover .mark { transform: rotate(-8deg) scale(1.06); }
.brand .mark svg circle,
.brand .mark svg path { stroke: oklch(18% 0.02 258); }
.brand .mark svg circle[fill] { fill: oklch(18% 0.02 258); }
.brand .je { color: var(--accent); }
.brand .tech { color: var(--muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--mono);
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .2s ease, transform .2s ease;
}
.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
  padding: 96px 0 110px;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid oklch(74% 0.16 55 / 0.14);
}
.hero-ring--1 { width: 620px; height: 620px; right: -220px; top: -260px; }
.hero-ring--2 { width: 340px; height: 340px; left: -140px; bottom: -160px; border-color: oklch(98% 0.006 90 / 0.08); }

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: oklch(74% 0.16 55 / 0.12);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.kinetic .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
}
.hero h1.kinetic .word {
  animation: wordIn 0.7s cubic-bezier(.2,.8,.2,1) forwards;
}
.kinetic.kinetic-play .word {
  animation: wordIn 0.6s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kinetic .word { opacity: 1; transform: none; animation: none; }
}
.hero p.lead {
  font-size: 19px;
  color: oklch(98% 0.006 90 / 0.7);
  max-width: 520px;
  margin: 0 0 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: oklch(98% 0.006 90 / 0.5); }
.btn-dark { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong); }
.btn-dark:hover { background: oklch(29% 0.05 258); }
.magnetic { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .magnetic { transition: none !important; transform: none !important; }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  max-width: 560px;
}
.hero-stats .num {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.hero-stats .label {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: oklch(13% 0.03 258 / 0.7);
  backdrop-filter: blur(4px);
}
.ticker-track {
  display: inline-flex;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker-item span::before {
  content: '•';
  color: var(--accent);
  margin-right: 0;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Hero visual: tech schematic ---------- */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 380px;
}
.tech-diagram { gap: 0; }
.tech-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: oklch(98% 0.006 90 / 0.55);
  margin-bottom: 22px;
}
.tech-status--center { align-self: center; margin: 0 0 18px; }
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(70% 0.14 155);
  box-shadow: 0 0 6px 1px oklch(70% 0.14 155 / 0.7);
  animation: statusPulse 1.8s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.tech-node {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  background: oklch(98% 0.006 90 / 0.04);
  border: 1px dashed oklch(74% 0.16 55 / 0.35);
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.tech-node:hover {
  transform: translateY(-2px);
  border-color: oklch(74% 0.16 55 / 0.6);
}
.tech-node.is-active {
  border-style: solid;
  border-color: oklch(74% 0.16 55 / 0.7);
  background: oklch(74% 0.16 55 / 0.1);
  box-shadow: 0 0 30px -10px oklch(74% 0.16 55 / 0.35);
}
.tech-node--core {
  border: 1px solid oklch(74% 0.16 55 / 0.65);
  background: oklch(74% 0.16 55 / 0.08);
  box-shadow: 0 0 44px -10px oklch(74% 0.16 55 / 0.4);
}
.tech-ref {
  position: absolute;
  top: -20px;
  left: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: oklch(74% 0.16 55 / 0.75);
  letter-spacing: 0.01em;
}
.tech-node-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tech-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: oklch(74% 0.16 55 / 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.tech-node:hover .tech-icon,
.tech-node.is-active .tech-icon { transform: scale(1.08); }
.tech-icon--core { background: var(--accent); }
.tech-node h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.tech-node p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: oklch(98% 0.006 90 / 0.55);
}
.tech-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  font-size: 13px;
  line-height: 1.5;
  color: oklch(98% 0.006 90 / 0.65);
  transition: max-height .3s ease, opacity .3s ease, margin-top .3s ease;
}
.tech-node.is-active .tech-detail {
  max-height: 60px;
  opacity: 1;
  margin-top: 12px;
}

.tech-connector {
  position: relative;
  z-index: 1;
  width: 2px;
  height: 44px;
  margin: 0 auto;
  background: repeating-linear-gradient(
    to bottom,
    oklch(74% 0.16 55 / 0.5) 0 4px,
    transparent 4px 10px
  );
}
.flow-dot {
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px oklch(74% 0.16 55 / 0.85);
  opacity: 0;
  animation: flowDown 2.2s linear infinite;
}
.tech-connector--b .flow-dot { animation-delay: 1.1s; }
@keyframes flowDown {
  0% { top: -4px; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-dot { animation: none; opacity: 0; }
  .status-dot { animation: none; }
}

/* ---------- Section shared ---------- */
section { padding: 96px 0; background: oklch(13% 0.03 258 / 0.65); }
.section-head { max-width: 640px; margin: 0 0 56px; }
.kicker {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 0 0 14px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.section-head p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Scroll reveal (native CSS scroll-driven, JS fallback below) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.problem-grid .reveal:nth-child(2),
.servicios-grid .reveal:nth-child(2),
.casos-grid .reveal:nth-child(2),
.porque-grid .reveal:nth-child(2) { transition-delay: .08s; }
.problem-grid .reveal:nth-child(3),
.servicios-grid .reveal:nth-child(3),
.casos-grid .reveal:nth-child(3),
.porque-grid .reveal:nth-child(3) { transition-delay: .16s; }
.servicios-grid .reveal:nth-child(4),
.porque-grid .reveal:nth-child(4) { transition-delay: .24s; }
.servicios-grid .reveal:nth-child(5),
.porque-grid .reveal:nth-child(5) { transition-delay: .32s; }
.porque-grid .reveal:nth-child(6) { transition-delay: .4s; }

@supports (animation-timeline: view()) {
  .reveal.native-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: none;
    animation: revealIn linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
  @keyframes revealIn {
    to { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.native-reveal { opacity: 1; transform: none; transition: none; animation: none; }
}

/* ---------- Card ref tags (technical vocabulary reused across sections) ---------- */
.card-ref {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: oklch(98% 0.006 90 / 0.3);
  transition: color .2s ease;
}

/* ---------- Problema ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px oklch(5% 0.02 258 / 0.5);
  border-color: var(--line-strong);
}
.problem-card:hover .card-ref { color: var(--accent); }
.problem-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: oklch(74% 0.16 55 / 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform .25s ease;
}
.problem-card:hover .icon { transform: scale(1.08); }
.problem-card h3 { font-size: 19px; margin: 0 0 10px; transition: color .2s ease; }
.problem-card:hover h3 { color: var(--accent); }
.problem-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Servicios ---------- */
.servicios { background: oklch(17% 0.035 258 / 0.82); }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.servicio-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px oklch(5% 0.02 258 / 0.5);
}
.servicio-card:hover .card-ref { color: var(--accent); }
.servicio-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform .25s ease;
}
.servicio-card:hover .icon { transform: scale(1.08) rotate(-4deg); }
.servicio-card h3 { font-size: 21px; margin: 0 0 10px; letter-spacing: -0.01em; transition: color .2s ease; }
.servicio-card:hover h3 { color: var(--accent); }
.servicio-card p { font-size: 15.5px; color: var(--muted); margin: 0; }

/* ---------- Casos reales ---------- */
.casos { background: oklch(13% 0.03 258 / 0.75); }
.casos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.caso-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.caso-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px oklch(5% 0.02 258 / 0.5);
}
.caso-card:hover .card-ref { color: var(--accent); }
.caso-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform .25s ease;
}
.caso-card:hover .icon { transform: scale(1.08); }
.caso-kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.caso-card h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
.caso-card p { font-size: 14px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.caso-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.caso-tag {
  display: inline-flex;
  background: oklch(74% 0.16 55 / 0.14);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  transition: background .2s ease;
}
.caso-tag:hover { background: oklch(74% 0.16 55 / 0.28); }

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; transition: transform .2s ease; }
.step:hover { transform: translateY(-3px); }
.step .step-num {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  transition: color .2s ease, text-shadow .2s ease;
}
.step:hover .step-num { text-shadow: 0 0 12px oklch(74% 0.16 55 / 0.6); }
.step h3 { font-size: 18px; margin: 0 0 10px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 12px;
  right: -12px;
  width: 24px;
  height: 1px;
  background: repeating-linear-gradient(to right, oklch(74% 0.16 55 / 0.5) 0 3px, transparent 3px 7px);
  display: none;
}
@media (min-width: 860px) {
  .step:not(:last-child)::after { display: block; }
}

/* ---------- Por que ---------- */
.porque { background: oklch(17% 0.035 258 / 0.85); color: var(--ink); }
.porque .section-head h2 { color: var(--ink); }
.porque .section-head p { color: var(--muted); }
.porque .kicker { color: var(--accent); }
.porque-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.porque-item {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.porque-item:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.porque-item .check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.porque-item:hover .check { transform: scale(1.12); }
.porque-item h3 { font-size: 17px; margin: 0 0 6px; }
.porque-item p { font-size: 14.5px; color: var(--muted); margin: 0; }

.disclaimer {
  margin-top: 40px;
  font-size: 13px;
  color: oklch(98% 0.006 90 / 0.4);
  max-width: 640px;
}

/* ---------- FAQ ---------- */
#faq { background: oklch(17% 0.035 258 / 0.85); }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ref {
  font-family: var(--mono);
  font-size: 11.5px;
  color: oklch(74% 0.16 55 / 0.7);
  flex-shrink: 0;
  width: 62px;
}
.faq-question {
  font-size: 17px;
  font-weight: 600;
  flex: 1;
  transition: color .2s ease;
}
.faq-item:hover .faq-question { color: var(--accent); }
.faq-toggle {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .3s ease;
}
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle::before { transform: rotate(45deg); }
.faq-item[open] .faq-toggle::after { transform: rotate(-45deg); }
.faq-answer {
  margin: 14px 0 0;
  padding-left: 82px;
  padding-right: 30px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Contacto ---------- */
#contacto { background: oklch(13% 0.03 258 / 0.7); }
.contacto-card {
  position: relative;
  background: var(--surface);
  border: 1px solid oklch(74% 0.16 55 / 0.35);
  box-shadow: 0 0 70px -20px oklch(74% 0.16 55 / 0.25);
  border-radius: 28px;
  padding: 64px;
  text-align: center;
}
.contacto-card h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}
.contacto-card p { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 auto 36px; }
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field span { font-size: 13px; font-weight: 700; color: var(--ink); }
.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  resize: vertical;
  transition: border-color .15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: oklch(98% 0.006 90 / 0.3); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contacto-form .btn {
  width: 100%;
  margin-top: 4px;
}
.contacto-form .btn[disabled] {
  background: var(--surface-2);
  color: var(--muted);
  cursor: not-allowed;
  border-color: var(--line);
}
.contacto-micro {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin: 4px 0 0;
}
.contacto-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 20px;
}

/* ---------- Footer ---------- */
footer {
  background: oklch(17% 0.035 258 / 0.9);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer .brand { font-size: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-family: var(--mono);
  color: var(--muted);
  text-decoration: none;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; margin-top: 24px; }
  .tech-diagram { max-width: 380px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .problem-grid, .servicios-grid, .porque-grid, .casos-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: 260px;
    left: 24px;
  }
  .steps { grid-template-columns: 1fr; }
  .contacto-card { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 72px; }
  section { padding: 64px 0; }
  .faq-ref { display: none; }
  .faq-answer { padding-left: 0; }
  .cursor-dot { display: none !important; }
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 250;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px oklch(5% 0.02 258 / 0.5), 0 0 0 1px oklch(98% 0.006 90 / 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 34px -8px oklch(5% 0.02 258 / 0.6), 0 0 0 1px oklch(98% 0.006 90 / 0.12);
}
.whatsapp-float-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  animation: whatsappPulse 2.2s ease-out infinite;
}
@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-ring { animation: none; display: none; }
}
@media (max-width: 720px) {
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
