/* =========================================================
   Zyntha · zyntha.co
   Estilos del sitio. Sin frameworks.
   Índice:
   1. Variables y base       6. Puente (circuito)
   2. Utilidades y botones   7. Conciliación en un día
   3. Menú                   8. Bento
   4. Portada                9. Cómo funciona · Para quién
   5. Tarjetas que voltean  10. Contacto · Pie · Animaciones
   ========================================================= */

/* ---------- 0. Fuentes (alojadas en el sitio) ---------- */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/sora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/sora-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/sora-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

/* ---------- 1. Variables y base ---------- */
:root {
  --bg: #09080E;
  --bg-alt: #0C0B12;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(164, 122, 255, 0.45);

  --text: #EDE6FA;
  --white: #FFFFFF;
  --muted: #B9B2CC;
  --dim: #8F88A3;

  --violet: #8052EA;
  --violet-deep: #5B21B6;
  --lavender: #A47AFF;
  --lavender-2: #C9B0FF;
  --mint: #5EE6A8;
  --amber: #FFB86B;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 24px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--lavender-2); }
a:hover { color: var(--white); }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------- 2. Utilidades, tipografía y botones ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 960px; }
.section { position: relative; padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); overflow: hidden; }

.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--sm { width: 15px; height: 15px; }
.ico--lg { width: 26px; height: 26px; }
.ico--xl { width: 40px; height: 40px; stroke-width: 1.5; }

.grad {
  background: linear-gradient(90deg, #D9C8FF 0%, var(--lavender) 50%, #7C5CFA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--lavender); }
.eyebrow--light { color: #E9D8FF; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; color: var(--white); }
.h2--xl { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; }
.h2--xxl { font-size: clamp(34px, 4.8vw, 64px); font-weight: 800; line-height: 1.06; }
.lead { font-size: 18px; color: var(--muted); max-width: 600px; }
.lead--narrow { max-width: 380px; font-size: 16px; }
.lead--light { color: #E9D8FF; font-size: 19px; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.mono--mint { color: var(--mint); }
.text-mint { color: var(--mint) !important; }
.fine-print { margin-top: 40px; font-size: 13px; color: var(--dim); }

.section__head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: 48px; }
.section__head--center { align-items: center; text-align: center; margin-inline: auto; }
.section__head--split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.section__head--split > div { display: flex; flex-direction: column; gap: 16px; flex: 1 1 520px; min-width: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--violet); color: var(--white); box-shadow: 0 8px 30px rgba(139, 92, 246, .35); }
.btn--primary:hover { color: var(--white); box-shadow: 0 12px 36px rgba(139, 92, 246, .5); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); color: var(--white); }
.btn--light { background: var(--white); color: #0B0A12; }
.btn--light:hover { color: #0B0A12; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social-row { display: flex; gap: 14px; }
.social-btn {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); color: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.social-btn .ico { width: 26px; height: 26px; }
.social-btn:hover { color: var(--white); transform: translateY(-2px); background: rgba(139, 92, 246, .25); box-shadow: 0 10px 30px rgba(139, 92, 246, .45); }
.social-btn--wa { background: var(--white); border-color: var(--white); color: #0B0A12; }
.social-btn--wa:hover { color: #0B0A12; background: var(--white); }

.pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 12px; font-weight: 600; color: var(--white); }
.pill--mono { font-family: var(--font-mono); font-weight: 400; font-size: 11px; color: var(--muted); background: none; }
.pill--lg { padding: 12px 20px; font-size: 15px; background: rgba(255, 255, 255, .1); border-color: rgba(233, 216, 255, .35); }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip--violet { background: rgba(139, 92, 246, .18); color: var(--lavender-2); }
.chip--ok { background: rgba(94, 230, 168, .12); border: 1px solid rgba(94, 230, 168, .35); color: var(--mint); }
.chip--warn { background: rgba(255, 184, 107, .12); border: 1px solid rgba(255, 184, 107, .35); color: var(--amber); }
.chip--working { background: rgba(139, 92, 246, .16); border: 1px solid rgba(164, 122, 255, .4); color: var(--lavender-2); }
.chip--working::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lavender-2); animation: pulse 1.6s ease-in-out infinite; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot--mint { background: var(--mint); }
.dot--lav { background: var(--lavender-2); }
.ok { color: var(--mint); }
.warn { color: var(--amber); }

/* Fondos decorativos: estrellas y haces de luz */
.stars, .stars--twinkle { position: absolute; inset: 0; pointer-events: none; }
.stars {
  background-image:
    radial-gradient(1.5px 1.5px at 8% 18%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 22% 72%, rgba(201,176,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 35% 40%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 48% 12%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 62% 82%, rgba(201,176,255,.55), transparent),
    radial-gradient(1px 1px at 74% 28%, rgba(255,255,255,.45), transparent),
    radial-gradient(2px 2px at 88% 64%, rgba(164,122,255,.6), transparent),
    radial-gradient(1px 1px at 94% 10%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 4% 90%, rgba(164,122,255,.5), transparent);
}
.stars--twinkle {
  background-image:
    radial-gradient(1px 1px at 15% 45%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 28% 8%, rgba(164,122,255,.6), transparent),
    radial-gradient(1px 1px at 41% 88%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.5px 1.5px at 67% 6%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 79% 92%, rgba(201,176,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 97% 38%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 52% 30%, rgba(164,122,255,.5), transparent);
  animation: twinkle 4s ease-in-out infinite;
}
.beam { position: absolute; transform: rotate(32deg); transform-origin: left center; pointer-events: none; animation: beam 6s ease-in-out infinite; }
.beam--wide { left: -260px; top: -180px; width: 1100px; height: 300px; filter: blur(38px); background: linear-gradient(90deg, rgba(196,170,255,.55), rgba(139,92,246,.22) 45%, transparent 80%); }
.beam--core { left: -200px; top: -60px; width: 900px; height: 46px; filter: blur(12px); background: linear-gradient(90deg, rgba(255,255,255,.65), rgba(201,176,255,.25) 40%, transparent 75%); animation-delay: 1.5s; }

/* ---------- 3. Menú ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px clamp(12px, 3vw, 32px) 0; }
.nav {
  position: relative; max-width: var(--container); margin: 0 auto; padding: 8px 12px 8px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border-radius: 20px; background: rgba(18, 16, 25, .72); border: 1px solid var(--border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
}
.brand { display: block; margin: -6px 0; }
.brand img { width: 56px; height: 56px; }
.nav__links { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.nav__links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; color: #C8C2D6; font-size: 14px; text-decoration: none; transition: background-color .2s, color .2s; }
.nav__links a:hover, .nav__links a.is-active { background: rgba(255, 255, 255, .09); color: var(--white); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__wa { color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); place-items: center; }

/* ---------- 4. Portada ---------- */
.hero { position: relative; padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__grid { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero__copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .28); font-size: 13px; font-weight: 500; color: #B9A2FF; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 3.9vw, 54px); line-height: 1.12; letter-spacing: -0.035em; color: var(--white); }
.hero__lead { max-width: 540px; font-size: 18px; color: var(--muted); }
.stats { display: flex; flex-wrap: wrap; gap: 20px 56px; margin: 12px 0 0; }
.stats dt { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--white); }
.stats dd { margin: 4px 0 0; font-size: 14px; color: var(--dim); }

.mockup { position: relative; flex: 1 1 440px; min-width: 0; height: 700px; }

/* Carrusel 3D de la portada */
.mk-item {
  position: absolute; left: 50%; top: 47%;
  transition: transform 1s var(--ease), opacity 1s var(--ease), filter 1s var(--ease);
  will-change: transform;
}
.mk-item[data-pos="front"] { z-index: 3; transform: translate(-50%, -50%) scale(1); opacity: 1; filter: none; }
.mk-item[data-pos="left"]  { z-index: 1; transform: translate(calc(-50% - 175px), calc(-50% - 70px)) scale(.8); opacity: .55; filter: blur(1.5px) saturate(.8); cursor: pointer; }
.mk-item[data-pos="right"] { z-index: 2; transform: translate(calc(-50% + 175px), calc(-50% + 80px)) scale(.8); opacity: .55; filter: blur(1.5px) saturate(.8); cursor: pointer; }
.mk-item[data-pos="left"]:hover, .mk-item[data-pos="right"]:hover { opacity: .85; filter: none; }
.mk-item[data-pos="front"] .panel { box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(164, 122, 255, .35); }

.panel {
  width: 300px; display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 16px;
  border-radius: 28px; background: rgba(22, 19, 32, .94); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.panel__head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 6px; }
.panel__head strong { font-family: var(--font-display); font-size: 19px; color: var(--white); }
.panel__total { display: flex; flex-direction: column; gap: 2px; padding: 4px 4px 8px; }
.panel__total small { color: #A39CB6; font-size: 13px; }
.panel__total strong { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.02em; color: var(--white); }
.panel__foot { display: flex; flex-direction: column; gap: 8px; padding: 8px 4px 2px; color: #A39CB6; font-size: 12.5px; }
.mini-row__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; color: var(--white); font-weight: 500; }
.mini-row__txt small { font-weight: 400; color: #9E97B3; font-size: 12px; }
.mini-row__txt small.warn { color: var(--amber); }
.mini-row .chip { font-size: 11px; padding: 4px 8px; }
.mini-row--client strong { font-family: var(--font-display); font-size: 14px; }

.mk-dots { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 4; display: flex; }
.mk-dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.mk-dots button::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .25); transition: width .35s var(--ease), background-color .35s; }
.mk-dots button[aria-pressed="true"]::after { width: 28px; background: var(--lavender); }
.mockup__glow { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; filter: blur(10px); background: radial-gradient(circle, rgba(124, 58, 237, .85) 0%, rgba(124, 58, 237, .35) 32%, transparent 66%); pointer-events: none; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); color: #E6E1F0; font-size: 13px; }
.mini-row > span:nth-child(2) { flex: 1; }
.mini-row--between { justify-content: space-between; }
.mini-row--between > span { flex: initial !important; color: var(--muted); }
.mini-row strong { font-size: 13px; color: var(--white); font-family: var(--font-body); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.avatar--blue { background: rgba(96, 165, 250, .18); color: #93C5FD; }
.avatar--violet { background: rgba(164, 122, 255, .2); color: var(--lavender-2); }
.avatar--amber { background: rgba(255, 184, 107, .18); color: var(--amber); }

.phone {
  position: relative; z-index: 2; width: 300px; height: 600px; padding: 20px 18px 16px;
  display: flex; flex-direction: column; gap: 14px; border-radius: 44px;
  background: #121019; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6), inset 0 0 0 6px #0B0A10;
}
.phone__top { display: flex; justify-content: space-between; padding: 6px 4px 0; }
.phone__top-right { display: flex; gap: 8px; }
.round-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .12); color: var(--white); }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.segmented button { min-height: 36px; border: 0; border-radius: 10px; background: transparent; color: #A39CB6; font-size: 13px; transition: background-color .25s, color .25s; }
.segmented button[aria-selected="true"] { background: #1E2433; color: var(--white); font-weight: 600; }
.phone__kpi { padding: 0 4px; display: flex; flex-direction: column; gap: 6px; }
.phone__label { font-size: 13px; color: #A39CB6; }
.phone__big { font-family: var(--font-display); font-size: 32px; letter-spacing: -0.02em; color: var(--white); }
.phone__unit { font-size: 13px; color: #A39CB6; }
.spark { width: 100%; height: 104px; overflow: visible; }
.spark__line { fill: none; stroke: var(--lavender); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(164, 122, 255, .7)); stroke-dasharray: 600; animation: draw 1.6s ease-out both; }
.spark__dot { fill: #121019; stroke: var(--lavender); stroke-width: 2.5; transition: cx .6s var(--ease), cy .6s var(--ease); }
.phone__rows { display: flex; flex-direction: column; gap: 8px; }
.phone__rows .mini-row { font-size: 12px; background: rgba(255, 255, 255, .03); }
.phone__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.phone__foot-right { display: flex; flex-direction: column; align-items: flex-end; }
.phone__foot-right strong { font-family: var(--font-display); font-size: 18px; color: var(--white); }
.phone__foot-right small { font-size: 11px; color: #A39CB6; }
.phone__note { align-self: center; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

.strip { margin-top: 56px; padding-top: 40px; padding-bottom: clamp(64px, 8vw, 96px); border-top: 1px solid rgba(255, 255, 255, .07); }
.strip__title { margin-bottom: 32px; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.strip__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 20px; }
.strip__list li { flex: 1 1 120px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--dim); font-size: 14px; transition: color .25s; }
.strip__list li:hover { color: var(--lavender-2); }

/* ---------- 5. Tarjetas que se voltean ---------- */
.flip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.flip { perspective: 1400px; min-height: 300px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.flip:hover .flip__front { border-color: rgba(164, 122, 255, .6); }
.flip:hover .flip__front .arrow-circle { transform: translateX(3px); background: rgba(139, 92, 246, .25); }
.flip__inner { position: relative; height: 100%; min-height: 300px; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flip__front { justify-content: space-between; gap: 24px; background: var(--surface); border: 1px solid var(--border); transition: border-color .25s; }
.flip__front:hover { border-color: rgba(164, 122, 255, .6); }
.flip__front .num { font-family: var(--font-mono); font-size: 13px; color: #B793FF; }
.flip__front h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--white); }
.flip__trigger { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 500; color: var(--lavender-2); }
.arrow-circle { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(164, 122, 255, .45); transition: transform .25s, background-color .25s; }
.flip__trigger:hover .arrow-circle { transform: translateX(3px); background: rgba(139, 92, 246, .25); }
.flip__back {
  transform: rotateY(180deg); gap: 16px; background-color: #150F24;
  background-image: radial-gradient(circle at 100% 0%, rgba(139, 92, 246, .35), transparent 60%);
  border: 1px solid rgba(164, 122, 255, .55); box-shadow: 0 20px 60px rgba(139, 92, 246, .25);
}
.flip__back p { font-size: 16px; color: var(--text); }
.tag-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.tag-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.flip__actions { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.flip__close { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: none; font-size: 13px; color: #D9CCF5; }
.flip__actions a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* ---------- 6. Puente (circuito) ---------- */
.circuit { display: grid; grid-template-columns: minmax(0, 1fr) 120px 210px 120px minmax(0, 1fr); align-items: stretch; }
.circuit__inputs { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.io-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.io-card strong { display: block; font-size: 15px; color: var(--white); }
.io-card small { display: block; font-size: 12.5px; color: #9E97B3; }
.io-card__ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(139, 92, 246, .16); border: 1px solid rgba(164, 122, 255, .35); color: var(--lavender-2); flex: none; }
.circuit__wires { position: relative; }
.circuit__wires svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wire { fill: none; stroke: rgba(164, 122, 255, .28); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.wire--pulse { stroke: var(--lavender-2); stroke-width: 2; stroke-dasharray: 18 222; animation: trace 2.4s linear infinite; filter: drop-shadow(0 0 3px var(--lavender-2)); }
.wire--mint { stroke: var(--mint); }
.chip-core { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.chip-core__frame {
  position: relative; width: 170px; height: 170px; padding: 12px; border-radius: 30px;
  background: linear-gradient(145deg, rgba(201, 176, 255, .5), rgba(91, 33, 182, .4));
  box-shadow: 0 0 60px rgba(139, 92, 246, .6), 0 0 140px rgba(139, 92, 246, .3);
}
.chip-core__die {
  width: 100%; height: 100%; display: grid; place-items: center; border-radius: 22px;
  background: radial-gradient(circle at 50% 35%, #1C1433 0%, #0B0A12 75%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -10px 24px rgba(0, 0, 0, .55);
  animation: chipglow 3s ease-in-out infinite;
}
.chip-core__die img { width: 128px; height: 128px; }
.chip-core__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lavender-2); }
.pins { position: absolute; display: flex; justify-content: space-around; }
.pins::before, .pins::after { content: ""; }
.pins--l, .pins--r { top: 22%; bottom: 22%; width: 9px; flex-direction: column; background: repeating-linear-gradient(to bottom, rgba(201,176,255,.6) 0 2px, transparent 2px 16px); }
.pins--l { left: -9px; } .pins--r { right: -9px; }
.pins--t, .pins--b { left: 22%; right: 22%; height: 9px; background: repeating-linear-gradient(to right, rgba(201,176,255,.6) 0 2px, transparent 2px 16px); }
.pins--t { top: -9px; } .pins--b { bottom: -9px; }
.io-out { align-self: center; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: rgba(94, 230, 168, .06); border: 1px solid rgba(94, 230, 168, .35); }
.io-out strong { font-family: var(--font-display); font-size: 21px; color: var(--white); }
.io-out p { font-size: 14.5px; color: var(--muted); }

/* ---------- 7. Conciliación en un día ---------- */
.day__glow { position: absolute; right: -12%; top: 10%; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .32), transparent 65%); pointer-events: none; }
.day__grid { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 64px); }

.timeline { position: relative; flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.timeline__rail { position: absolute; left: 18px; top: 19px; bottom: 60px; width: 2px; background: rgba(255, 255, 255, .1); }
.timeline__fill { display: block; width: 100%; height: 0; background: linear-gradient(180deg, var(--mint), var(--violet)); box-shadow: 0 0 12px rgba(139, 92, 246, .8); transition: height .9s var(--ease); }
.tl-step { position: relative; display: flex; gap: 18px; }
.tl-step time { font-family: var(--font-mono); font-size: 12.5px; color: var(--lavender); }
.tl-step h3, .tl-step strong { margin: 0; display: block; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--white); }
.tl-step p { font-size: 14.5px; color: var(--muted); }
.tl-dot { position: relative; z-index: 1; flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-alt); border: 1px solid rgba(255, 255, 255, .16); transition: background-color .4s, box-shadow .4s, border-color .4s; }
.tl-num { font-family: var(--font-mono); font-size: 13px; color: var(--dim); }
.tl-dot .ico { display: none; }
.tl-step.is-active .tl-dot { background: var(--violet); border-color: var(--violet); box-shadow: 0 0 0 6px rgba(139, 92, 246, .22), 0 0 26px rgba(139, 92, 246, .8); color: var(--white); }
.tl-step.is-done .tl-dot { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 18px rgba(94, 230, 168, .45); color: #0B0A12; }
.tl-step.is-active .tl-num, .tl-step.is-done .tl-num { display: none; }
.tl-step.is-active .tl-ico-active, .tl-step.is-done .tl-ico-done { display: block; }
.tl-step.is-done .tl-ico-done { stroke-width: 2.8; }

.live { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: rgba(18, 16, 25, .92); border: 1px solid rgba(164, 122, 255, .28); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.live__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.live__title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--white); }
.live__meters { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.arc { position: relative; flex: none; width: 200px; height: 112px; }
.arc svg { width: 200px; height: 112px; overflow: visible; }
.arc__track, .arc__fill { fill: none; stroke-width: 6; stroke-linecap: round; }
.arc__track { stroke: rgba(255, 255, 255, .1); }
.arc__fill { stroke: url(#arc-grad); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .9s var(--ease); }
.arc__dot { fill: var(--white); filter: drop-shadow(0 0 8px var(--lavender-2)); transition: cx .9s var(--ease), cy .9s var(--ease); }
.arc__center { position: absolute; left: 0; right: 0; bottom: 4px; display: flex; flex-direction: column; align-items: center; }
.arc__center strong { font-family: var(--font-display); font-size: 28px; color: var(--white); line-height: 1.2; }
.arc__center small, .counter small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.counter { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.counter small { font-size: 13px; letter-spacing: 0; text-transform: none; color: #9E97B3; }
.counter strong { font-family: var(--font-display); font-size: 30px; color: var(--white); }
.counter__of { font-size: 16px; font-weight: 500; color: var(--dim); }
.bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--mint)); transition: width .8s var(--ease); }

.feed { display: flex; flex-direction: column; gap: 8px; min-height: 330px; }
.feed__item { display: none; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid rgba(255, 255, 255, .07); }
.feed__item.is-shown { display: flex; animation: fadeUp .45s ease-out both; }
.feed__ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(139, 92, 246, .16); color: var(--lavender-2); }
.feed__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.feed__txt strong, .feed__txt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__txt strong { font-size: 14px; color: var(--white); }
.feed__txt small { font-size: 12.5px; color: #9E97B3; }
.feed__item .chip { display: none; }
.feed__item.is-working .chip--working { display: inline-flex; }
.feed__item.is-done .chip:not(.chip--working) { display: inline-flex; animation: fadeUp .45s ease-out both; }
.live__status { display: none; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; font-size: 14px; }
.live__status--working { background: rgba(139, 92, 246, .08); border: 1px solid rgba(164, 122, 255, .25); color: var(--lavender-2); }
.live__status--done { background: rgba(94, 230, 168, .1); border: 1px solid rgba(94, 230, 168, .4); color: #D8FBEA; font-weight: 600; }
.live__status--done .ico { color: var(--mint); stroke-width: 2.6; }
.live:not(.is-complete) .live__status--working, .live.is-complete .live__status--done { display: flex; }

/* ---------- 8. Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bento__card { position: relative; min-height: 280px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.bento__card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--white); }
.bento__card p { font-size: 15px; color: var(--muted); }
.bento__card--wide { grid-column: span 2; }
.bento__card--hero { background: linear-gradient(160deg, #8B6CFF, #5B4CF0 55%, #3A2FB8); border: 0; box-shadow: 0 30px 70px rgba(91, 76, 240, .35); }
.bento__card--hero h3 { position: relative; font-size: 28px; line-height: 1.15; }
.bento__card--hero p { position: relative; color: #EDE9FF; }
.bento__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bento__mini-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--white); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpis div { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.kpis small { display: block; font-size: 12px; color: #9E97B3; }
.kpis strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 22px; color: var(--white); }
.bars { flex: 1; min-height: 110px; display: flex; align-items: flex-end; gap: 10px; }
.bars span { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--lavender), rgba(139, 92, 246, .25)); transform-origin: bottom; transform: scaleY(.15); transition: transform 1.2s var(--ease); }
.bars span:nth-child(2) { transition-delay: .08s; } .bars span:nth-child(3) { transition-delay: .16s; } .bars span:nth-child(4) { transition-delay: .24s; }
.bars span:nth-child(5) { transition-delay: .32s; } .bars span:nth-child(6) { transition-delay: .4s; } .bars span:nth-child(7) { transition-delay: .48s; }
.bars .is-peak { background: linear-gradient(180deg, var(--lavender-2), rgba(139, 92, 246, .3)); box-shadow: 0 0 24px rgba(164, 122, 255, .5); }
.is-visible .bars span, .bars.is-visible span { transform: scaleY(1); }
.bento__card--chat { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 28px; }
.chat-copy { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.chat-copy h3 { font-size: 24px; line-height: 1.2; }
.square-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(139, 92, 246, .18); color: var(--lavender-2); }
.chat { flex: 1.2 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; gap: 10px; align-items: flex-start; max-width: 88%; animation: chat 9s ease-out infinite both; }
.msg--me { align-self: flex-end; max-width: 80%; }
.m2 { animation-delay: 1.4s; } .m3 { animation-delay: 2.8s; }
.msg__avatar { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--lavender), #6D3FE8); font-size: 12px; font-weight: 700; color: var(--white); }
.msg__bubble { padding: 11px 14px; border-radius: 4px 14px 14px 14px; background: rgba(139, 92, 246, .18); border: 1px solid rgba(164, 122, 255, .3); font-size: 13.5px; line-height: 1.45; color: var(--text); }
.msg--me .msg__bubble { border-radius: 14px 4px 14px 14px; background: rgba(255, 255, 255, .07); border: 0; color: var(--white); }
.msg__bubble--ok { display: inline-flex; align-items: center; gap: 8px; background: rgba(94, 230, 168, .1); border-color: rgba(94, 230, 168, .35); color: #D8FBEA; }
.msg__bubble--ok .ico { color: var(--mint); stroke-width: 2.5; }
.alerts { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.alert { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; }
.alert span:last-child { color: #E6E1F0; }
.alert--warn { background: rgba(255, 184, 107, .1); border: 1px solid rgba(255, 184, 107, .3); color: var(--amber); }
.alert--maybe { background: rgba(183, 147, 255, .1); border: 1px solid rgba(183, 147, 255, .3); color: var(--lavender-2); }
.alert--ok { background: rgba(94, 230, 168, .08); border: 1px solid rgba(94, 230, 168, .3); color: var(--mint); }

/* ---------- 9. Cómo funciona · Para quién ---------- */
.rail { position: relative; height: 4px; margin-bottom: 40px; border-radius: 999px; background: rgba(164, 122, 255, .16); }
.rail__fill { position: absolute; inset: 0 auto 0 0; width: 25%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--lavender-2)); box-shadow: 0 0 18px rgba(139, 92, 246, .7); transition: width .6s var(--ease); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.step { display: flex; flex-direction: column; gap: 16px; padding: 26px; text-align: left; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 15px; transition: transform .25s, border-color .25s, background-color .25s; }
.step:hover { transform: translateY(-4px); border-color: rgba(164, 122, 255, .6); }
.step strong { font-family: var(--font-display); font-size: 21px; color: var(--white); }
.step__num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(164, 122, 255, .45); font-family: var(--font-mono); color: var(--lavender-2); transition: background-color .3s, box-shadow .3s, color .3s; }
.step[aria-pressed="true"] .step__num { background: var(--violet); border-color: var(--violet); color: var(--white); box-shadow: 0 0 24px rgba(139, 92, 246, .7); }

.audience { overflow: hidden; background: radial-gradient(ellipse at center, rgba(124, 58, 237, .38), transparent 62%), var(--bg); }
.audience__ring { position: absolute; left: 50%; top: 50%; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; border: 1px solid rgba(201, 176, 255, .14); }
.audience__ring--dashed { width: 900px; height: 900px; margin: -450px 0 0 -450px; border: 1px dashed rgba(201, 176, 255, .22); animation: spin 24s linear infinite; }
.audience__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }

/* ---------- 10. Contacto · Pie ---------- */
.contact { overflow: hidden; background-image: linear-gradient(rgba(164,122,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(164,122,255,.07) 1px, transparent 1px); background-size: 56px 56px; }
.contact__glow { position: absolute; left: 27%; bottom: -40px; width: 760px; height: 620px; margin-left: -380px; pointer-events: none; background: radial-gradient(ellipse 40% 75% at 50% 100%, rgba(164, 122, 255, .55), rgba(139, 92, 246, .18) 45%, transparent 75%); animation: beam 6s ease-in-out infinite; }
.contact__grid { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.contact__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.form-card { flex: 1 1 420px; min-width: 0; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: rgba(18, 16, 25, .9); border: 1px solid rgba(164, 122, 255, .3); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.form { display: flex; flex-direction: column; gap: 8px; }
.form h3, .form-done h3 { margin-bottom: 10px; font-family: var(--font-display); font-size: 22px; color: var(--white); }
.form label { margin-top: 10px; font-size: 14px; font-weight: 500; color: #D9CCF5; }
.form input, .form select { min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(164, 122, 255, .35); background: rgba(255, 255, 255, .04); color: var(--white); font-size: 16px; }
.form select { background: #15131D; }
.form input:focus, .form select:focus { outline: none; border-color: var(--lavender); box-shadow: 0 0 0 3px rgba(139, 92, 246, .25); }
.form .btn { margin-top: 18px; border: 0; }
.form__error { margin-top: 8px; font-size: 14px; color: var(--amber); }
.form__hint { text-align: center; font-size: 12.5px; color: var(--dim); }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 0; animation: fadeUp .45s ease-out both; }
.form-done p { color: var(--muted); }
.form-done__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(94, 230, 168, .15); color: var(--mint); }

.footer { background: #060509; border-top: 1px solid rgba(164, 122, 255, .14); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: #B7A9D6; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 52px; height: 52px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__nav a { color: #D9CCF5; text-decoration: none; }

/* ---------- Animaciones ---------- */
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes beam { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes trace { from { stroke-dashoffset: 120; } to { stroke-dashoffset: -120; } }
@keyframes chipglow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.25); } }
@keyframes chat { 0% { opacity: 0; transform: translateY(8px); } 6% { opacity: 1; transform: none; } 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 5s ease-in-out infinite 1.2s; }
.float-c { animation: float 8s ease-in-out infinite .6s; }
.pulse { animation: pulse 1.6s ease-in-out infinite; }

/* Aparición al hacer scroll (main.js agrega .is-visible) */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__wa { display: none; }
}
@media (max-width: 900px) {
  .nav__toggle { display: grid; }
  .nav__actions .btn { display: none; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; flex-direction: column;
    padding: 10px; border-radius: 18px; background: rgba(18, 16, 25, .97); border: 1px solid var(--border);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { min-height: 44px; }
  .mockup { height: 660px; }
  .mk-item[data-pos="left"]  { transform: translate(calc(-50% - 90px), calc(-50% - 40px)) scale(.72); opacity: .35; }
  .mk-item[data-pos="right"] { transform: translate(calc(-50% + 90px), calc(-50% + 50px)) scale(.72); opacity: .35; }
  .circuit { grid-template-columns: 1fr; row-gap: 22px; }
  .circuit__wires { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: auto; }
  .contact__glow { left: 50%; }
}
@media (max-width: 520px) {
  .phone, .panel { width: 286px; }
  .kpis { grid-template-columns: 1fr; }
  .stats { gap: 16px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .bars span { transform: none; }
  .feed__item { display: flex; }
}
