/* =========================================================
   LGNEX Consultoría Informática — estilos
   ========================================================= */

:root {
  --bg: #0B1114;
  --bg-2: #0E161A;
  --surface: #121C21;
  --surface-2: #18252B;
  --line: rgba(201, 210, 214, .09);
  --line-2: rgba(201, 210, 214, .18);
  --text: #E9EFF1;
  --muted: #8C9BA1;
  --muted-2: #C9D2D6;
  --accent: #2CE5C3;
  --accent-2: #5CF0D4;
  --accent-ink: #04201A;
  --accent-soft: rgba(44, 229, 195, .1);
  --accent-line: rgba(44, 229, 195, .35);
  --glow: 0 0 28px rgba(44, 229, 195, .28);
  --danger: #F2777A;

  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Michroma", "Sora", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
/* Ningún hijo de grilla puede ensanchar la página */
.hero__inner > *, .why > *, .contact__inner > *, .faq > *, .showcase > *, .compare > *, .services > *, .steps > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__icon { width: 42px; height: 42px; flex: none; overflow: visible; filter: drop-shadow(0 0 6px rgba(44,229,195,.55)); }
.brand__icon path { fill: none; stroke: var(--accent); stroke-width: 13; stroke-linecap: round; }
.brand__icon text { font-family: var(--display); font-size: 62px; fill: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .02em; color: #fff; }
.brand__text strong em { font-style: normal; color: var(--accent); }
.brand__text small { font-size: 8px; font-weight: 500; letter-spacing: .26em; color: var(--muted-2); margin-top: 6px; }

.logo-full { width: 190px; height: 190px; flex: none; overflow: visible; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 34px -10px rgba(44,229,195,.75); }
.btn--accent:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(44,229,195,.9); }
.btn--ghost, .btn--outline, .btn--dark { color: var(--text); border-color: var(--line-2); background: transparent; }
.btn--ghost:hover, .btn--outline:hover, .btn--dark:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: background .3s, padding .3s, box-shadow .3s; }
.nav.is-scrolled {
  background: rgba(11, 17, 20, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { color: var(--muted-2); font-size: 14.5px; font-weight: 500; position: relative; transition: color .2s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--accent); box-shadow: var(--glow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover { color: #fff; }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 150px 0 110px; min-height: 100vh; display: flex; align-items: center; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,210,214,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,210,214,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 760px; height: 760px; right: -180px; top: -140px;
  background: radial-gradient(circle, rgba(44,229,195,.16), transparent 62%);
  filter: blur(20px); animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }
.hero__ring {
  position: absolute; width: 900px; height: 900px; right: -260px; top: 50%; margin-top: -450px;
  opacity: .14; overflow: visible; animation: spin 60s linear infinite;
}
.hero__ring path { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 4px var(--accent)); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); padding: 9px 16px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(44,229,195,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(44,229,195,0); } 100% { box-shadow: 0 0 0 0 rgba(44,229,195,0); } }

.hero__title { font-size: clamp(42px, 6vw, 80px); margin: 26px 0 24px; letter-spacing: -.045em; line-height: 1.03; font-weight: 700; color: #fff; }
.accent { color: var(--accent); text-shadow: 0 0 34px rgba(44,229,195,.45); }
.hero__lead { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--muted); max-width: 540px; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--muted); }
.check { color: var(--accent); font-weight: 800; margin-right: 6px; }

/* ---------- Hero: de papeles a sistema ---------- */
.hero__visual { position: relative; }
.morph-wrap { position: relative; }
.morph { position: relative; width: 540px; height: 500px; transform-origin: top left; }
.morph__tag {
  position: absolute; top: -12px; left: 16px; z-index: 5; font-family: var(--display); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); box-shadow: var(--glow);
}
.morph__tag--bad { background: #3A2A24; color: #FFB199; box-shadow: none; border: 1px solid rgba(255,140,110,.35); }
.morph__chaos { position: absolute; left: 0; top: 0; width: 280px; height: 232px; border: 1px dashed rgba(255,177,153,.28); border-radius: 22px; background: rgba(255,140,110,.03); }

.paper, .note { position: absolute; transform: rotate(var(--r)); box-shadow: 0 14px 28px -14px rgba(0,0,0,.8);
  transition: transform .9s var(--ease), opacity .7s ease, filter .7s; transition-delay: calc(var(--k) * .12s); }
.morph.is-done .paper, .morph.is-done .note { transform: translate(var(--dx), var(--dy)) rotate(calc(var(--r) * -6)) scale(.08); opacity: 0; filter: blur(2px); }
.paper { width: 130px; padding: 12px 12px 14px; background: #EEF0EA; border-radius: 4px; color: #2B2B2B; }
.paper b { display: block; font: 700 9.5px var(--mono); letter-spacing: .06em; margin-bottom: 8px; color: #444; }
.paper i { display: block; height: 4px; border-radius: 3px; background: #B9BDB5; margin-bottom: 6px; width: 92%; }
.paper i.s { width: 60%; }
.paper i.x { width: 75%; background: #E58A7A; }
.paper--1 { left: 18px; top: 26px; --k: 0; }
.paper--2 { left: 108px; top: 62px; width: 150px; --k: 1; }
.paper--3 { left: 34px; top: 140px; --k: 2; }
.sheet__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.sheet__grid span { height: 9px; background: #D7DBD2; }
.sheet__grid span.r { background: #F2B8AC; }
.note { width: 92px; padding: 10px; font: 600 11.5px/1.25 var(--font); color: #3B3200; background: #FFE873; border-radius: 3px; }
.note--1 { left: 176px; top: 150px; --k: 3; }
.note--2 { left: 196px; top: 14px; background: #FFC7DE; color: #4A1630; --k: 4; }

.morph__core { position: absolute; left: 300px; top: 70px; width: 100px; height: 100px; display: grid; place-items: center; z-index: 3; }
.morph__core svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: transform 1.4s var(--ease); }
.morph.is-done .morph__core svg { transform: rotate(540deg); }
.morph__core path { fill: none; stroke: var(--accent); stroke-width: 11; stroke-linecap: round; filter: drop-shadow(0 0 8px var(--accent)); }
.morph__core span { font-family: var(--display); font-size: 13px; color: #fff; letter-spacing: .02em; }
.morph__core em { font-style: normal; color: var(--accent); }
.morph__core::before { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: radial-gradient(circle, rgba(44,229,195,.35), transparent 70%); transform: scale(.8); opacity: .4; transition: transform .6s var(--ease), opacity .6s; }
.morph.is-pulse .morph__core::before { transform: scale(1.6); opacity: 1; }
.morph__beam { position: absolute; left: 349px; top: 176px; width: 2px; height: 74px; background: linear-gradient(180deg, var(--accent), transparent); transform-origin: top; box-shadow: 0 0 10px var(--accent); z-index: 2; opacity: 0; scale: 1 0; transition: scale .5s var(--ease) .7s, opacity .4s .7s; }
.morph.is-done .morph__beam { opacity: 1; scale: 1 1; }

.morph__order {
  position: absolute; right: 0; top: 256px; width: 460px; padding: 0 16px 16px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--accent-line);
  border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 60px -24px rgba(44,229,195,.4);
}
.sys__bar { display: flex; align-items: center; gap: 6px; padding: 14px 2px 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.sys__bar > span { width: 8px; height: 8px; border-radius: 50%; background: #2A383E; }
.sys__bar code { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.sys__wait { position: absolute; left: 0; right: 0; top: 50%; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); transition: opacity .3s; margin: 0; }
.sys__wait span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: 6px; animation: blink 1s steps(1) infinite; }
.morph.is-done .sys__wait { opacity: 0; }
.sys__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.kpi, .srow { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s var(--ease); }
.morph.is-done .kpi, .morph.is-done .srow { opacity: 1; transform: none; transition-duration: .5s; transition-delay: calc(1s + var(--i) * .18s); }
.kpi { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; }
.kpi small { display: block; font-size: 9.5px; color: var(--muted); }
.kpi b { font-size: 19px; color: #fff; }
.ok { color: var(--accent) !important; }
.warn { color: #FFC266 !important; }
.sys__rows { display: grid; gap: 6px; }
.srow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: rgba(201,210,214,.04); border: 1px solid var(--line); color: var(--muted-2); }
.srow b { font-size: 10.5px; font-weight: 600; }
.av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 700; background: var(--accent-soft); color: var(--accent); }

/* ---------- Marquee ---------- */
.marquee { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 17px 0; box-shadow: 0 0 50px -10px rgba(44,229,195,.55); position: relative; z-index: 1; }
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: scroll 38s linear infinite; }
.marquee span { font-size: 20px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 11px; opacity: .55; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 120px 0; position: relative; }
.section--dark, .section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--tight { padding-bottom: 100px; }
.section__head { max-width: 760px; margin-bottom: 60px; }
.label { font-family: var(--display); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.section h2 { font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -.04em; color: #fff; }
.hl { color: var(--muted); }
.section__lead { font-size: 17.5px; color: var(--muted); margin-top: 20px; max-width: 600px; font-weight: 300; }

/* Antes / después */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
.compare__col { border-radius: var(--radius-lg); padding: 36px 34px; }
.compare__col h3 { font-family: var(--display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 24px; font-weight: 400; }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare__col li { display: flex; gap: 12px; font-size: 15.5px; font-weight: 500; }
.compare__col--before { background: var(--surface); border: 1px solid var(--line); }
.compare__col--before h3 { color: var(--danger); }
.compare__col--before li { color: var(--muted); }
.compare__col--before li::before { content: "✕"; color: var(--danger); font-weight: 700; }
.compare__col--after { background: linear-gradient(160deg, rgba(44,229,195,.12), rgba(44,229,195,.03)); border: 1px solid var(--accent-line); box-shadow: var(--glow); }
.compare__col--after h3 { color: var(--accent); }
.compare__col--after li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.compare__arrow { align-self: center; width: 64px; }
.compare__arrow svg { width: 64px; height: 24px; overflow: visible; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(44,229,195,.7)); animation: nudge 2.4s var(--ease) infinite; }
.compare__line { stroke-dasharray: 4 6; animation: dash 1.2s linear infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
@keyframes dash { to { stroke-dashoffset: -20; } }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(500px circle at 0 0, rgba(44,229,195,.1), transparent 45%); opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent-line); box-shadow: 0 24px 50px -25px rgba(0,0,0,.9), var(--glow); }
.card:hover::before { opacity: 1; }
.card__ico {
  width: 54px; height: 54px; border-radius: 15px; background: var(--bg);
  border: 1px solid var(--accent-line);
  display: grid; place-items: center; margin-bottom: 26px;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.card__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card__ico { transform: rotate(-6deg) scale(1.06); box-shadow: var(--glow); }
.card h3 { font-size: 20px; margin-bottom: 12px; color: #fff; }
.card p { color: var(--muted); font-size: 15px; font-weight: 300; }
.card ul { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 8px; }
.card li { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; color: var(--muted-2); }
.card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); flex: none; }
.card--dark { background: linear-gradient(160deg, rgba(44,229,195,.14), var(--surface) 60%); border-color: var(--accent-line); }
.card--dark .card__ico { background: var(--accent); }
.card--dark .card__ico svg { stroke: var(--accent-ink); }

/* Proyectos */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 28px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); font: 500 14.5px var(--font); color: var(--muted-2); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.tab:hover { border-color: var(--accent-line); color: #fff; }
.tab.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; box-shadow: var(--glow); }
.project-panel { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }

.showcase {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 48px;
  position: relative; overflow: hidden;
}
.showcase::before {
  content: ""; position: absolute; width: 560px; height: 560px; left: -160px; bottom: -280px;
  background: radial-gradient(circle, rgba(44,229,195,.16), transparent 65%);
}
.showcase__media { position: relative; padding: 0 60px 40px 0; }
.browser { border-radius: 14px; overflow: hidden; background: #1B262C; box-shadow: 0 30px 60px -25px rgba(0,0,0,.9); border: 1px solid var(--line-2); transition: transform .5s var(--ease); }
.showcase:hover .browser { transform: translateY(-4px); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; }
.browser__bar > span { width: 9px; height: 9px; border-radius: 50%; background: #34444B; }
.browser__bar code { margin-left: 10px; flex: 1; font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: var(--bg); border-radius: 6px; padding: 4px 10px; }
.browser img { width: 100%; height: auto; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 30%; min-width: 120px;
  border-radius: 26px; padding: 7px; background: #05080A;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.12);
  transition: transform .5s var(--ease);
}
.showcase:hover .phone { transform: translateY(-10px) rotate(-2deg); }
.phone img { border-radius: 20px; width: 100%; height: auto; aspect-ratio: 780/1688; object-fit: cover; object-position: top; }
.showcase__info { position: relative; }
.showcase__info h3 { font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -.03em; margin: 18px 0 14px; color: #fff; }
.showcase__info > p { color: var(--muted); font-size: 15.5px; font-weight: 300; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 14.5px; font-weight: 500; }
.checks li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.showcase__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.showcase__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mode-switch { display: inline-flex; background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.mode-switch button { border: 0; background: none; color: var(--muted); font: 500 12.5px var(--font); padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.mode-switch button.is-on { background: var(--accent); color: var(--accent-ink); }
.showcase img[data-shot] { transition: opacity .25s; }
.showcase.is-swapping img[data-shot] { opacity: .2; }

.soon__tag {
  display: inline-block; font-family: var(--display); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}
.soon__tag--live { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.soon {
  text-align: center; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius-lg);
  padding: 64px 28px; display: flex; flex-direction: column; align-items: center;
}
.soon__ico { width: 72px; height: 72px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 28px; margin-bottom: 20px; box-shadow: var(--glow); }
.soon h3 { font-size: clamp(22px, 2.5vw, 30px); margin: 16px 0 12px; letter-spacing: -.03em; color: #fff; }
.soon p { color: var(--muted); max-width: 560px; margin-bottom: 28px; font-weight: 300; }

/* Proceso */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 34px 30px 10px 0; border-top: 1px solid var(--line-2); }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0;
  background: var(--accent); box-shadow: 0 0 12px var(--accent); transition: width 1.1s var(--ease);
}
.step.is-visible::before { width: calc(100% - 30px); }
.step:nth-child(2)::before { transition-delay: .15s; }
.step:nth-child(3)::before { transition-delay: .3s; }
.step:nth-child(4)::before { transition-delay: .45s; }
.step__n { font-family: var(--display); font-size: 12px; color: var(--accent); letter-spacing: .14em; }
.step h3 { font-size: 23px; margin: 18px 0 14px; color: #fff; }
.step p { color: var(--muted); font-size: 15px; font-weight: 300; }

/* Por qué */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__ico {
  flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 19px; font-weight: 700;
  border: 1px solid var(--accent-line);
}
.feature__ico svg, .contact__ico svg, .soon__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__ico svg.fill { fill: currentColor; stroke: none; width: 24px; height: 24px; }
.soon__ico svg { width: 30px; height: 30px; }
.feature h4 { font-size: 16.5px; margin-bottom: 4px; letter-spacing: -.015em; color: #fff; }
.feature p { color: var(--muted); font-size: 14.5px; font-weight: 300; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; gap: 18px;
  transition: transform .35s var(--ease), border-color .35s;
}
.stat:hover { transform: translateY(-4px); border-color: var(--accent-line); }
.stat strong { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3.8vw, 50px); letter-spacing: -.02em; line-height: 1; color: #fff; }
.stat > span { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.stat--accent { background: linear-gradient(160deg, rgba(44,229,195,.18), var(--surface)); border-color: var(--accent-line); box-shadow: var(--glow); }
.stat--accent strong { color: var(--accent); text-shadow: 0 0 24px rgba(44,229,195,.5); }

/* CTA */
.cta-band { padding: 40px 0 120px; }
.cta-band__inner {
  display: flex; align-items: center; gap: 44px;
  background: radial-gradient(ellipse at 15% 50%, rgba(44,229,195,.16), transparent 55%), var(--surface);
  border: 1px solid var(--accent-line); border-radius: var(--radius-lg); padding: 44px 52px;
  box-shadow: 0 0 80px -30px rgba(44,229,195,.5);
}
.cta-band__inner > div { flex: 1; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.035em; margin-bottom: 10px; color: #fff; }
.cta-band p { font-size: 16.5px; color: var(--muted); max-width: 560px; font-weight: 300; }
.cta-band .btn--dark { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cta-band .btn--dark:hover { background: var(--accent-2); color: var(--accent-ink); }
.cta-band .logo-full { width: 170px; height: 170px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq .section__head { margin: 0; position: sticky; top: 110px; }
.faq__list { display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 26px; transition: border-color .3s, box-shadow .3s; }
details[open] { border-color: var(--accent-line); box-shadow: var(--glow); }
summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-size: 16.5px; font-weight: 600; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2); color: var(--accent); font-size: 20px; font-weight: 400;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
details p { padding: 0 0 24px; color: var(--muted); font-size: 15.5px; font-weight: 300; }

/* Contacto */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--surface); color: var(--accent); font-size: 19px; border: 1px solid var(--accent-line);
}
.contact__list small { display: block; font-family: var(--display); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact__list a, .contact__list span { font-size: 16px; font-weight: 600; }
.contact__list a:hover { color: var(--accent); }

.form { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 36px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.form input, .form select, .form textarea {
  width: 100%; font: 400 15.5px var(--font); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.form input::placeholder, .form textarea::placeholder { color: #50616A; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(44,229,195,.14); }
.form .is-invalid { border-color: var(--danger); }
.form__note { font-size: 14px; min-height: 1.4em; color: var(--accent); text-align: center; }
.form__note.is-error { color: var(--danger); }

/* Footer */
.footer { background: #070B0D; padding: 70px 0 30px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__tag { color: var(--muted); font-size: 14.5px; font-weight: 300; }
.footer__nav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; }
.footer__nav a { color: var(--muted-2); transition: color .2s; }
.footer__nav a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; font-size: 13px; color: var(--muted); }
.footer__top:hover { color: var(--accent); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  transition: transform .25s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); }

/* ---------- Aparición ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.services .reveal:nth-child(3n+2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.services .reveal:nth-child(3n), .steps .reveal:nth-child(3) { transition-delay: .2s; }
.steps .reveal:nth-child(4) { transition-delay: .3s; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .32s; }
.hero__visual.reveal { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 70px; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .why, .contact__inner, .faq { grid-template-columns: 1fr; gap: 56px; }
  .faq .section__head { position: static; }
  .footer__inner { grid-template-columns: 1fr; gap: 20px; }
  .compare { grid-template-columns: 1fr; }
  .compare__arrow { justify-self: center; transform: rotate(90deg); width: 40px; }
  .compare__arrow svg { width: 40px; }
  .showcase { grid-template-columns: 1fr; padding: 36px; gap: 40px; }
}

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0 0 auto; top: 0; padding: 100px 24px 34px;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(11,17,20,.97); backdrop-filter: blur(14px);
    transform: translateY(-100%); transition: transform .45s var(--ease); z-index: -1;
    border-bottom: 1px solid var(--accent-line);
  }
  .nav__links a:not(.btn) { font-size: 21px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open { background: transparent; box-shadow: none; }

  .hero { padding: 130px 0 90px; }
  .hero__ring { width: 600px; height: 600px; right: -300px; margin-top: -300px; top: 30%; }
  .section { padding: 90px 0; }
  .cta-band { padding: 20px 0 90px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; gap: 26px; padding: 34px 28px; }
  .cta-band .logo-full { width: 120px; height: 120px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand__icon { width: 36px; height: 36px; }
  .brand__text strong { font-size: 16px; }
  .brand__text small { font-size: 7px; letter-spacing: .2em; }
  .services, .steps { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  .step.is-visible::before { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 22px 18px; min-height: 140px; }
  .stat strong { font-size: clamp(22px, 7vw, 30px); }
  .stat > span { font-size: 13.5px; }
  .hero__title { font-size: clamp(34px, 10vw, 44px); }
  .container { width: calc(100% - 32px); }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .footer__nav { flex-wrap: wrap; gap: 14px 22px; }
  .footer__bottom { flex-direction: column; }
  .compare__col { padding: 28px 24px; }
  .showcase { padding: 22px; border-radius: 22px; }
  .showcase__media { padding: 0 34px 30px 0; }
  .phone { min-width: 96px; border-radius: 18px; padding: 5px; }
  .phone img { border-radius: 14px; }
  .showcase__actions .btn { width: 100%; }
  .soon { padding: 44px 20px; }
  .soon .btn { white-space: normal; text-align: center; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .chart__line { stroke-dashoffset: 0; }
  .chart__area { opacity: 1; }
}
