/* ═══════════════════════════════════════════════════════════
   OCO AI — v4 "el núcleo se enciende".
   Aurora esmeralda cinemática. Verde #2DCA8C único acento de UI;
   coral/ámbar solo como calor en visuales. Sora display + DM Sans
   cuerpo + Fraunces italic acento editorial. CSS artesanal, cero
   build: se sube a Hostinger tal cual.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:        #071310;
  --bg-2:      #0B1C17;
  --panel:     rgba(17, 38, 31, 0.55);
  --panel-2:   rgba(23, 50, 41, 0.72);
  --line:      rgba(45, 202, 140, 0.14);
  --line-hi:   rgba(45, 202, 140, 0.42);
  --accent:    #2DCA8C;
  --accent-2:  #7FE7BE;
  --warm:      #FF8A5B;   /* solo en visuales, para romper monotonía */
  --warm-2:    #FFC46E;
  --text:      #EAF6F0;
  --text-dim:  #9DB8AC;
  --display:   "Sora", sans-serif;
  --body:      "DM Sans", sans-serif;
  --radius:    22px;
  --sh-1:      0 10px 30px rgba(0,0,0,.35);
  --sh-2:      0 24px 60px rgba(0,0,0,.45);
  --sh-glow:   0 0 34px rgba(45,202,140,.10);
  /* espaciado fluido */
  --sp-section: clamp(76px, 10vw, 128px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(45, 202, 140, 0.35); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1140px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

/* acento de énfasis: verde esmeralda dentro de la misma familia (sin serif) */
.accent { color: var(--accent-2); font-style: normal; }

/* ─── Cursor con presencia (fine pointer, activado por JS) ─── */
.cursor {
  position: fixed; top: 0; left: 0; width: 30px; height: 30px;
  border: 1.5px solid var(--line-hi); border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 9999;
  opacity: 0; transition: width .25s, height .25s, background .25s, border-color .25s, opacity .3s;
  mix-blend-mode: screen;
}
body.cursor-on .cursor { opacity: 1; }
.cursor.is-hover { width: 58px; height: 58px; background: rgba(45,202,140,.10); border-color: var(--accent); }
.cursor.is-down  { width: 22px; height: 22px; background: rgba(45,202,140,.20); }

/* ─── Fondo aurora ─── */
.aurora { position: fixed; inset: 0; z-index: -1; background: var(--bg); overflow: hidden; }
.aurora__blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora__blob--a {
  width: 60vw; height: 60vw; left: -12vw; top: -22vw;
  background: radial-gradient(circle, rgba(45,202,140,.34), transparent 65%);
}
.aurora__blob--b {
  width: 52vw; height: 52vw; right: -16vw; top: 22vh;
  background: radial-gradient(circle, rgba(28,120,88,.30), transparent 65%);
  animation-delay: -12s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vw, 7vh, 0) scale(1.15); }
}
.aurora__grid {
  position: absolute; left: -40%; right: -40%; bottom: -12%; height: 62vh;
  background-image:
    linear-gradient(rgba(45,202,140,.09) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(45,202,140,.09) 1.5px, transparent 1.5px);
  background-size: 90px 90px;
  transform: perspective(900px) rotateX(64deg);
  transform-origin: 50% 0; will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, transparent 92%);
  mask-image: linear-gradient(180deg, transparent, #000 30%, transparent 92%);
}
.aurora__noise {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Marca ─── */
.logo-omega {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  font-family: var(--display); font-weight: 700; font-size: 21px;
  color: var(--bg); background: linear-gradient(140deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 22px rgba(45,202,140,.45);
}
.logo-text {
  font-family: var(--display); font-weight: 700; font-size: 1.18rem;
  letter-spacing: .04em; margin-left: 10px;
}
.logo-text em { font-style: normal; color: var(--accent); margin-left: 5px; font-weight: 500; }
/* Logo oficial (wordmark blanco) */
.brand-logo { display: block; height: 30px; width: auto; }
.footer__brand .brand-logo { height: 34px; margin-bottom: 4px; }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 19, 16, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 28px; padding: 16px 0; }
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  position: relative; text-decoration: none; font-size: .93rem; color: var(--text-dim);
  transition: color .2s; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .28s ease;
}
.nav__links a:hover { color: var(--accent-2); }
.nav__links a:hover::after { width: 100%; }
.nav__burger { display: none; }
.nav__mobile { display: none; }

/* ─── Botones ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 500; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .22s, background .18s, border-color .18s;
  will-change: transform;
}
.btn--primary {
  color: #06231A; background: linear-gradient(140deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 30px rgba(45,202,140,.35);
}
.btn--primary:hover { box-shadow: 0 14px 44px rgba(45,202,140,.5); }
.btn--secondary {
  color: var(--text); border: 1.5px solid var(--line-hi); background: rgba(45,202,140,.06);
}
.btn--secondary:hover { border-color: var(--accent); background: rgba(45,202,140,.12); }
.btn--ghost {
  color: var(--accent-2); border: 1px solid var(--line); font-size: .9rem; padding: 10px 22px;
}
.btn--ghost:hover { border-color: var(--accent); background: rgba(45,202,140,.06); }

/* ─── Hero ─── */
.hero { position: relative; padding: clamp(150px, 20vh, 210px) 0 clamp(90px, 12vh, 140px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__eyebrow, .section__eyebrow {
  font-family: var(--display); font-size: .82rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(45,202,140,.55); animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45,202,140,.5); }
  70% { box-shadow: 0 0 0 10px rgba(45,202,140,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,202,140,0); }
}
.hero__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 6.6vw, 4.7rem);
  line-height: 1.05; letter-spacing: -0.022em; margin-bottom: 30px;
}
.hero__title > span { display: block; }
.accent-line { color: var(--accent); text-shadow: 0 0 44px rgba(45,202,140,.45); }
.accent-dot { color: var(--accent-2); }
.hero__sub { max-width: 560px; font-size: 1.16rem; color: var(--text-dim); margin-bottom: 38px; }
.hero__sub strong { color: var(--text); font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__note { margin-top: 18px; font-size: .86rem; color: var(--text-dim); opacity: .82; }

/* Hero visual: canvas flow-field + núcleo Ω */
.hero__visual {
  position: relative; margin: 0; min-height: 440px;
  display: grid; place-items: center;
}
.flowfield { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__core { position: relative; display: grid; place-items: center; width: 200px; height: 200px; }
.hero__core-omega {
  width: 116px; height: auto; display: block;
  filter: drop-shadow(0 0 40px rgba(45,202,140,.75)) drop-shadow(0 0 90px rgba(45,202,140,.35));
  animation: core-breathe 6s ease-in-out infinite;
}
@keyframes core-breathe {
  0%,100% { transform: scale(1); opacity: .95; }
  50% { transform: scale(1.05); opacity: 1; }
}
.hero__ring {
  position: absolute; border-radius: 50%; border: 1px solid var(--line-hi);
  animation: ring-spin 18s linear infinite;
}
.hero__ring--1 { width: 200px; height: 200px; border-style: dashed; opacity: .5; }
.hero__ring--2 { width: 290px; height: 290px; border-color: var(--line); animation-duration: 30s; animation-direction: reverse; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.hero__scrollcue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: .72rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--text-dim); opacity: .6;
}
.hero__scrollcue span {
  width: 22px; height: 34px; border: 1.5px solid var(--line-hi); border-radius: 12px; position: relative;
}
.hero__scrollcue span::before {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px;
  background: var(--accent); transform: translateX(-50%); animation: scroll-bob 1.6s ease-in-out infinite;
}
@keyframes scroll-bob { 0%,100% { transform: translate(-50%,0); opacity: 1; } 50% { transform: translate(-50%,9px); opacity: .3; } }

/* ─── Secciones ─── */
.section { padding: var(--sp-section) 0; position: relative; }
.section__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.95rem, 4.4vw, 3rem);
  line-height: 1.1; letter-spacing: -0.018em; margin-bottom: 26px;
}
.section__sub { color: var(--text-dim); max-width: 560px; margin-bottom: 14px; }
.section__cta { margin-top: 48px; }

/* ─── Cards problema ─── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; backdrop-filter: blur(8px);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .25s, box-shadow .25s;
  transform-style: preserve-3d;
}
.card:hover { border-color: var(--line-hi); box-shadow: var(--sh-2), var(--sh-glow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 20px; color: var(--accent);
  background: rgba(45,202,140,.08); border: 1px solid var(--line);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--display); font-size: 1.22rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: .98rem; }

/* ─── Soluciones ─── */
.solutions { display: grid; gap: 22px; margin-top: 56px; }
.solution {
  display: grid; grid-template-columns: 86px 210px 1fr; gap: 8px 34px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 40px; backdrop-filter: blur(8px);
  transition: border-color .25s, box-shadow .25s;
}
.solution:hover { border-color: var(--line-hi); box-shadow: var(--sh-glow); }
.solution__num {
  font-family: var(--display); font-weight: 700; font-size: 2.8rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
  opacity: .85; line-height: 1;
}
.solution__visual { display: grid; place-items: center; }
.solution__body { display: flex; flex-direction: column; gap: 10px; }
.solution h3 { font-family: var(--display); font-size: 1.45rem; }
.solution p { color: var(--text-dim); max-width: 640px; }
.solution p em { color: var(--accent-2); font-style: normal; }
.solution ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; }
.solution li { font-size: .9rem; color: var(--text-dim); }
.solution li::before { content: "▸ "; color: var(--accent); }

/* ─── Lo que construyo ─── */
.builds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.build {
  background: linear-gradient(175deg, var(--panel-2), rgba(11,28,23,.6));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .25s, box-shadow .25s;
  transform-style: preserve-3d;
}
.build:hover { border-color: var(--line-hi); box-shadow: var(--sh-2); }
.build__tag {
  align-self: flex-start; font-family: var(--display); font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--line-hi); border-radius: 999px; padding: 5px 13px;
}
.build h3 { font-family: var(--display); font-size: 1.2rem; }
.build p { color: var(--text-dim); font-size: .94rem; flex: 1; }
.build p strong { color: var(--accent-2); font-weight: 500; }

/* Slot de captura real (assets/builds/*.jpg). Vacío = panel de marca. */
.build__thumb {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 2px;
  background:
    radial-gradient(300px 170px at 28% 18%, rgba(45,202,140,.20), transparent 60%),
    radial-gradient(220px 160px at 90% 100%, rgba(255,138,91,.10), transparent 60%),
    linear-gradient(165deg, #12312780, #0B1C17);
}
.build__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.build__thumb-omega {
  display: none; font-family: var(--display); font-weight: 700; font-size: 2.6rem;
  color: rgba(45,202,140,.45); text-shadow: 0 0 26px rgba(45,202,140,.35);
}
.build__thumb--empty .build__thumb-omega { display: block; }
/* thumb con imagen tipo mockup/laptop (transparente): contener, no recortar */
.build__thumb--shot { align-items: flex-end; }
.build__thumb--shot img { object-fit: contain; padding: 10px 10px 0; }

/* ─── Thumb con video (hover = play loop, click = modal) ─── */
.build__thumb--video { cursor: pointer; overflow: hidden; }
.build__thumb--video:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.build__vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; background: #0B1C17;
}
.build__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; z-index: 2;
  background: rgba(7, 19, 16, 0.55); border: 1px solid var(--line-hi);
  display: grid; place-items: center; color: #fff;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .25s, color .25s, transform .25s, opacity .25s;
}
.build__play svg { width: 22px; height: 22px; margin-left: 3px; }
.build__thumb--video:hover .build__play,
.build__thumb--video:focus-visible .build__play {
  background: var(--accent); color: var(--bg); transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 24px rgba(45,202,140,.5);
}

/* ─── Modal de video ─── */
.vmodal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.vmodal.open { display: flex; }
.vmodal__backdrop { position: absolute; inset: 0; background: rgba(3, 8, 7, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: vfade .25s ease both; }
.vmodal__box { position: relative; z-index: 1; width: min(980px, 94vw); margin: 0; animation: vpop .32s cubic-bezier(.2,.7,.3,1) both; }
.vmodal__vid { width: 100%; display: block; border-radius: 16px; border: 1px solid var(--line-hi); box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 60px rgba(45,202,140,.1); background: #000; }
.vmodal__title { text-align: center; margin-top: 16px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--text); }
.vmodal__close {
  position: absolute; top: -16px; right: -16px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  background: linear-gradient(140deg, var(--accent-2), var(--accent)); color: var(--bg); border: none;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.5);
  transition: transform .18s;
}
.vmodal__close:hover { transform: scale(1.08); }
.vmodal__close svg { width: 20px; height: 20px; }
@keyframes vfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vpop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .vmodal { padding: 14px; }
  .vmodal__close { top: 6px; right: 6px; background: rgba(7,19,16,.8); color: #fff; border: 1px solid var(--line-hi); }
}
@media (prefers-reduced-motion: reduce) {
  .vmodal__backdrop, .vmodal__box { animation: none; }
}

.build__meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: .74rem; letter-spacing: .03em; color: var(--text-dim);
}
.build__meta::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.build__stack { display: flex; flex-wrap: wrap; gap: 8px; }
.build__stack span {
  font-family: var(--display); font-size: .76rem; color: var(--accent-2);
  background: rgba(45,202,140,.09); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px;
}

/* ─── Equipo digital + panel del sistema (robots-mascota) ─── */
.team-block { margin-top: 44px; text-align: center; }
.team-block .blueprint__head { max-width: 780px; margin: 0 auto; }
.blueprint__head h3 {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.15; margin: 12px 0 12px; letter-spacing: -.015em;
}
.blueprint__lead { color: var(--text-dim); max-width: 640px; margin: 0 auto; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: end; margin-top: 46px; }
.member { position: relative; display: flex; flex-direction: column; }
.member--b { margin-bottom: 46px; }        /* tarjeta central elevada, como el original */
.member__stage {
  position: relative; z-index: 2; height: 220px; overflow: hidden;
  display: flex; align-items: flex-start; justify-content: center;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.member__img {
  height: 300px; width: auto; max-width: 100%; object-fit: contain; margin-top: 4px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)) drop-shadow(0 0 26px rgba(45,202,140,.16));
}
.member__card {
  position: relative; z-index: 1; margin-top: -36px; padding: 50px 22px 26px;
  border: 1px solid var(--line); border-radius: 20px;
  background: radial-gradient(240px 150px at 50% 0%, rgba(45,202,140,.15), transparent 70%), rgba(11,28,23,.66);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .25s, box-shadow .25s;
}
.member--c .member__card {
  background: radial-gradient(240px 150px at 50% 0%, rgba(255,140,80,.13), transparent 70%), rgba(11,28,23,.66);
}
.member:hover .member__card { transform: translateY(-5px); border-color: var(--line-hi); box-shadow: var(--sh-2); }
.member__card h4 { font-family: var(--display); font-weight: 600; font-size: 1.12rem; margin-bottom: 6px; color: var(--accent-2); }
.member--c .member__card h4 { color: var(--warm-2); }
.member__card p { color: var(--text-dim); font-size: .9rem; }

.team-laptop { display: flex; justify-content: center; margin: -52px 0 -10px; position: relative; z-index: 0; }
.team-laptop img {
  max-width: min(700px, 88%); width: 100%;
  filter: drop-shadow(0 30px 55px rgba(0,0,0,.6)) drop-shadow(0 0 48px rgba(45,202,140,.16));
}

@media (max-width: 820px) {
  .team { grid-template-columns: 1fr; gap: 4px; max-width: 400px; margin-inline: auto; }
  .member--b { margin-bottom: 0; }
  .member__stage { height: 240px; }
  .member__img { height: 320px; }
  .team-laptop { margin-top: 6px; }
  .team-laptop img { max-width: 100%; }
}

/* ─── Proceso (línea de tiempo) ─── */
.timeline {
  list-style: none; position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 62px;
}
/* línea que conecta los 3 marcadores */
.timeline::before {
  content: ""; position: absolute; top: 29px; left: 15%; right: 15%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--line-hi));
  opacity: .55; z-index: 0;
}
.tl-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.timeline .tl-step:nth-child(2) { transition-delay: .12s; }
.timeline .tl-step:nth-child(3) { transition-delay: .24s; }
.tl-marker {
  position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 24px; background: var(--bg);
}
.tl-num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--bg);
  background: linear-gradient(140deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 24px rgba(45,202,140,.4);
}
.tl-card {
  width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; backdrop-filter: blur(8px);
  transition: border-color .25s, box-shadow .25s, transform .3s cubic-bezier(.2,.7,.3,1);
}
.tl-card:hover { border-color: var(--line-hi); box-shadow: var(--sh-2), var(--sh-glow); transform: translateY(-5px); }
.tl-phase {
  display: inline-block; font-family: var(--display); font-size: .66rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); opacity: .8; margin-bottom: 8px;
}
.tl-card h3 { font-family: var(--display); font-size: 1.22rem; margin-bottom: 10px; }
.tl-card p { color: var(--text-dim); font-size: .95rem; }
.step__badge {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--line-hi); border-radius: 999px;
  padding: 3px 10px; margin-left: 8px; vertical-align: middle; font-family: var(--display);
}
/* móvil: línea de tiempo vertical */
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before {
    top: 6px; bottom: 22px; left: 28px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--accent), var(--accent-2), var(--line-hi));
  }
  .tl-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; padding-bottom: 22px; }
  .tl-step:last-child { padding-bottom: 0; }
  .tl-marker { margin-bottom: 0; flex-shrink: 0; }
}

/* ─── Perfil ─── */
.section--profile { }
.profile { display: grid; grid-template-columns: 360px 1fr; gap: 70px; align-items: center; }
.profile__frame {
  position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-hi);
  box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 60px rgba(45,202,140,.12);
  aspect-ratio: 4/5;
}
.profile__frame img:not(.profile__omega) { width: 100%; height: 100%; object-fit: cover; }
.profile__frame--placeholder {
  background:
    radial-gradient(420px 340px at 30% 20%, rgba(45,202,140,.25), transparent 60%),
    radial-gradient(300px 300px at 85% 90%, rgba(255,138,91,.12), transparent 60%),
    linear-gradient(165deg, #123227, #0B1C17);
}
.profile__omega {
  position: absolute; right: 16px; bottom: 14px; width: 44px; height: auto; opacity: .92;
  filter: drop-shadow(0 0 20px rgba(45,202,140,.6));
}
.profile__text p { color: var(--text-dim); margin-bottom: 16px; max-width: 560px; }
.profile__text p strong { color: var(--text); font-weight: 500; }
.profile__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.profile__links a {
  font-family: var(--display); font-size: .88rem; text-decoration: none;
  color: var(--accent-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; transition: transform .18s, border-color .2s, background .2s;
}
.profile__links a:hover { border-color: var(--accent); background: rgba(45,202,140,.09); }

/* ─── FAQ ─── */
.faqs { margin-top: 50px; display: grid; gap: 14px; }
.faq {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; transition: border-color .25s;
}
.faq[open] { border-color: var(--line-hi); }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 500; font-size: 1.04rem;
  padding: 22px 56px 22px 26px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); color: var(--accent); font-size: 1.5rem; transition: transform .25s;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 26px 24px; color: var(--text-dim); font-size: .96rem; }

/* ─── CTA final ─── */
.section--cta { padding-bottom: clamp(100px, 14vh, 150px); }
.cta-final {
  position: relative; text-align: center;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(45,202,140,.16), transparent 70%),
    linear-gradient(175deg, rgba(23,50,41,.8), rgba(9,22,18,.9));
  border: 1px solid var(--line-hi); border-radius: 34px;
  padding: clamp(60px, 8vw, 96px) 40px clamp(52px, 7vw, 82px); overflow: hidden;
}
.cta-final__omega {
  position: absolute; right: -18px; top: -34px; width: 290px; height: auto;
  opacity: .06; pointer-events: none;
}
.cta-final h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.95rem, 4.6vw, 3rem); line-height: 1.12; margin-bottom: 20px;
}
.cta-final p { color: var(--text-dim); max-width: 520px; margin: 0 auto 40px; }
.cta-final .hero__ctas { justify-content: center; }

/* ─── Footer ─── */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; background: rgba(5,13,11,.6); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__brand p { color: var(--text-dim); font-size: .92rem; margin-top: 14px; max-width: 280px; }
.footer__links, .footer__social { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__social a {
  text-decoration: none; color: var(--text-dim); font-size: .93rem; transition: color .2s;
}
.footer__links a:hover, .footer__social a:hover { color: var(--accent-2); }
.footer__legal {
  border-top: 1px solid var(--line); padding-top: 24px;
  font-size: .82rem; color: var(--text-dim);
  display: flex; flex-direction: column; gap: 10px;
}
.footer__fiscal { margin: 0; line-height: 1.6; opacity: .85; }
.footer__fiscal strong { color: var(--text); font-weight: 600; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal-links a {
  color: var(--text-dim); text-decoration: none; transition: color .2s;
}
.footer__legal-links a:hover { color: var(--accent-2); }
.footer__copy { opacity: .6; }

/* ─── Páginas legales ─── */
.legal { max-width: 760px; margin: 0 auto; padding: 140px 24px 90px; position: relative; z-index: 2; }
.legal__back {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent-2); text-decoration: none; font-size: .9rem; margin-bottom: 30px;
}
.legal__back:hover { text-decoration: underline; }
.legal h1 { font-family: 'Sora', sans-serif; font-size: 2.1rem; line-height: 1.15; margin: 0 0 10px; letter-spacing: -.01em; }
.legal__meta { color: var(--text-dim); font-size: .84rem; margin: 0 0 40px; opacity: .8; }
.legal h2 { font-family: 'Sora', sans-serif; font-size: 1.12rem; margin: 38px 0 12px; color: var(--text); }
.legal p, .legal li { color: var(--text-dim); line-height: 1.75; font-size: .97rem; }
.legal ul { padding-left: 22px; margin: 14px 0; list-style: disc; }
.legal li { margin: 7px 0; }
.legal li::marker { color: var(--accent-2); }
.legal a { color: var(--accent-2); }
.legal strong { color: var(--text); font-weight: 600; }
.legal__box {
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 22px 0;
  background: rgba(255,255,255,.02);
}
.legal__box p { margin: 4px 0; }

/* ─── CTA flotante WhatsApp ─── */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 0;
  height: 56px; padding: 0; width: 56px; overflow: hidden;
  border-radius: 999px; text-decoration: none; color: #06231A;
  background: linear-gradient(140deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 30px rgba(45,202,140,.4);
  transform: translateY(120px); opacity: 0;
  transition: transform .4s cubic-bezier(.2,.8,.3,1), opacity .4s, width .3s, box-shadow .25s;
}
.wa-fab.show { transform: translateY(0); opacity: 1; }
.wa-fab svg { flex: 0 0 56px; width: 56px; height: 26px; }
.wa-fab__label {
  font-family: var(--display); font-weight: 600; font-size: .95rem; white-space: nowrap;
  max-width: 0; opacity: 0; transition: max-width .3s, opacity .25s, padding .3s; padding-right: 0;
}
.wa-fab:hover { width: 172px; box-shadow: 0 14px 40px rgba(45,202,140,.55); }
.wa-fab:hover .wa-fab__label { max-width: 120px; opacity: 1; padding-right: 20px; }

/* ─── Animaciones de entrada ─── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .34s; }
.d5 { transition-delay: .44s; } .d6 { transition-delay: .54s; }

/* Secuenciado de mockups / listas al entrar (data-seq) */
.chat-mock__msg, .chat-mock__typing { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.3,1); }
.seq-in .chat-mock__msg, .seq-in .chat-mock__typing { opacity: 1; transform: none; }
.seq-in .chat-mock__msg:nth-child(2) { transition-delay: .15s; }
.seq-in .chat-mock__msg:nth-child(3) { transition-delay: .5s; }
.seq-in .chat-mock__msg:nth-child(4) { transition-delay: .95s; }
.seq-in .chat-mock__msg:nth-child(5) { transition-delay: 1.35s; }
.seq-in .chat-mock__typing { transition-delay: 1.7s; }
.dash-mock__bars i { transform: scaleY(0); transform-origin: bottom; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.seq-in .dash-mock__bars i { transform: scaleY(1); }
.seq-in .dash-mock__bars i:nth-child(1){transition-delay:.05s}
.seq-in .dash-mock__bars i:nth-child(2){transition-delay:.12s}
.seq-in .dash-mock__bars i:nth-child(3){transition-delay:.19s}
.seq-in .dash-mock__bars i:nth-child(4){transition-delay:.26s}
.seq-in .dash-mock__bars i:nth-child(5){transition-delay:.33s}
.seq-in .dash-mock__bars i:nth-child(6){transition-delay:.40s}
.seq-in .dash-mock__bars i:nth-child(7){transition-delay:.47s}

/* ═══ Mockups CSS (recursos visuales propios, sin imágenes) ═══ */

/* Chat WhatsApp */
.chat-mock {
  width: 100%; max-width: 250px; border-radius: 20px; padding: 14px 12px 16px;
  background: linear-gradient(170deg, #0E241C, #081712);
  border: 1px solid var(--line-hi);
  box-shadow: 0 20px 44px rgba(0,0,0,.45), 0 0 30px rgba(45,202,140,.1);
  display: flex; flex-direction: column; gap: 8px; font-size: .74rem;
}
.chat-mock__bar {
  font-family: var(--display); font-size: .68rem; color: var(--text-dim);
  padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 2px;
  display: flex; align-items: center; gap: 6px;
}
.chat-mock__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.chat-mock__msg { max-width: 88%; padding: 7px 11px; border-radius: 12px; line-height: 1.4; color: var(--text); }
.chat-mock__msg--in  { align-self: flex-start; background: rgba(255,255,255,.07); border-bottom-left-radius: 4px; }
.chat-mock__msg--out { align-self: flex-end; background: rgba(45,202,140,.16); border: 1px solid rgba(45,202,140,.25); border-bottom-right-radius: 4px; }
.chat-mock__voice { display: flex; align-items: center; gap: 8px; }
.chat-mock__play { color: var(--accent-2); font-size: .8rem; }
.chat-mock__time { color: var(--text-dim); font-size: .62rem; }
.wave { display: flex; align-items: center; gap: 2px; height: 16px; }
.wave i { width: 2.5px; border-radius: 2px; background: var(--accent-2); animation: waveb 1.1s ease-in-out infinite; }
.wave i:nth-child(1){height:6px} .wave i:nth-child(2){height:12px;animation-delay:.1s}
.wave i:nth-child(3){height:9px;animation-delay:.2s} .wave i:nth-child(4){height:14px;animation-delay:.3s}
.wave i:nth-child(5){height:7px;animation-delay:.4s} .wave i:nth-child(6){height:12px;animation-delay:.5s}
.wave i:nth-child(7){height:5px;animation-delay:.6s} .wave i:nth-child(8){height:10px;animation-delay:.7s}
@keyframes waveb { 0%,100% { transform: scaleY(.6); } 50% { transform: scaleY(1.25); } }
.chat-mock__typing { align-self: flex-start; display: flex; gap: 4px; padding: 8px 12px; background: rgba(255,255,255,.07); border-radius: 12px; border-bottom-left-radius: 4px; }
.chat-mock__typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-dim); animation: typing 1.2s infinite; }
.chat-mock__typing i:nth-child(2){animation-delay:.2s} .chat-mock__typing i:nth-child(3){animation-delay:.4s}
@keyframes typing { 0%,60%,100% { opacity:.35; transform: translateY(0);} 30% { opacity:1; transform: translateY(-3px);} }

/* Mini dashboard */
.dash-mock {
  width: 100%; max-width: 250px; border-radius: 20px; padding: 14px;
  background: linear-gradient(170deg, #0E241C, #081712);
  border: 1px solid var(--line-hi);
  box-shadow: 0 20px 44px rgba(0,0,0,.45), 0 0 30px rgba(45,202,140,.1);
  display: flex; flex-direction: column; gap: 12px;
}
.dash-mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dash-mock__stat {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 10px; display: flex; flex-direction: column; gap: 1px;
}
.dash-mock__stat small { font-size: .58rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }
.dash-mock__stat strong { font-family: var(--display); font-size: .95rem; font-variant-numeric: tabular-nums; }
.dash-mock__stat em { font-style: normal; font-size: .6rem; color: var(--accent); }
.dash-mock__bars { display: flex; align-items: flex-end; gap: 6px; height: 58px; padding: 0 4px; }
.dash-mock__bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--accent), rgba(45,202,140,.25)); }
.dash-mock__alert {
  font-size: .64rem; color: var(--warm-2); background: rgba(255,196,110,.08);
  border: 1px solid rgba(255,196,110,.25); border-radius: 10px; padding: 7px 10px;
}

/* Flujo n8n */
.flow-mock { display: flex; flex-direction: column; align-items: center; gap: 0; width: 100%; max-width: 250px; }
.flow-mock__node {
  width: 150px; text-align: center; font-family: var(--display); font-size: .8rem;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-hi); border-radius: 14px;
  padding: 10px 12px; line-height: 1.25; box-shadow: 0 10px 26px rgba(0,0,0,.4);
}
.flow-mock__node small { color: var(--text-dim); font-family: var(--body); font-size: .66rem; }
.flow-mock__node--ai {
  color: #06231A; background: linear-gradient(140deg, var(--accent-2), var(--accent));
  border: none; box-shadow: 0 0 28px rgba(45,202,140,.4);
}
.flow-mock__node--ai small { color: rgba(6,35,26,.75); }
.flow-mock__wire {
  width: 2px; height: 26px;
  background: repeating-linear-gradient(180deg, var(--accent) 0 5px, transparent 5px 10px);
  animation: wire-flow 1s linear infinite;
}
@keyframes wire-flow { to { background-position-y: 10px; } }

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__visual { min-height: 320px; order: -1; }
  .hero__core { transform: scale(.9); }
  .cards-3, .builds { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; gap: 44px; }
  .profile__visual { max-width: 340px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .solution { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .solution__num { font-size: 2.2rem; }
  .solution__visual { justify-items: start; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 6px; margin-left: auto;
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav__burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger.open span:last-child  { transform: translateY(-4px) rotate(-45deg); }
  .nav__mobile {
    display: none; flex-direction: column; gap: 6px; padding: 10px 5% 26px;
    background: rgba(7,19,16,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  }
  .nav__mobile.open { display: flex; }
  .nav__mobile a { text-decoration: none; color: var(--text); font-family: var(--display); padding: 12px 4px; font-size: 1.05rem; }
  .nav__mobile .btn { justify-content: center; margin-top: 12px; }
  .section { padding: clamp(64px, 12vw, 90px) 0; }
  .chat-mock, .dash-mock, .flow-mock { max-width: 300px; }
  .wa-fab { right: 16px; bottom: 16px; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chat-mock__msg, .chat-mock__typing, .dash-mock__bars i { opacity: 1; transform: none; transition: none; }
  .aurora__blob, .hero__core-omega, .hero__ring, .pulse-dot,
  .wave i, .chat-mock__typing i, .flow-mock__wire,
  .hero__scrollcue span::before { animation: none !important; }
  html { scroll-behavior: auto; }
  .wa-fab { transition: opacity .3s; }
}
