/* Tipografía Inter alojada en el propio sitio (licencia OFL) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =========================================================
   UnicorX · Control operativo de flotas — sitio web
   Paleta heredada del sistema: verde profundo + menta
   ========================================================= */
:root {
  --bg: #f4f9f7; --surface: #ffffff; --ink: #0f1f1b; --ink-2: #2a3b36; --muted: #5a6e67; --line: #dbe8e3;
  --brand: #2f7d68; --brand-2: #3b9279; --brand-dark: #17302b; --deep: #0a1613; --deep-2: #10251f;
  --mint: #8fd3bc; --mint-2: #b9e6d6; --mint-soft: #d9efe6; --tint: #eaf6f1;
  --amber: #f5b84b; --red: #ef5350; --blue: #4aa3ff; --violet: #8b7cf6;
  --r: 18px; --r-lg: 28px; --shadow: 0 24px 60px -24px rgba(15, 45, 38, .35); --shadow-s: 0 8px 24px -12px rgba(15, 45, 38, .28);
  --container: 1180px; --header-h: 72px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section.alt { background: var(--surface); }
.section.dark { background: var(--deep); color: #e7f3ee; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--mint-soft); padding: 7px 14px; border-radius: 999px; }
.dark .eyebrow { color: var(--mint); background: rgba(143, 211, 188, .12); }
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); margin: 18px 0 16px; }
.section-head p { font-size: 19px; color: var(--muted); }
.dark .section-head p { color: #a9c4bb; }
.grad { background: linear-gradient(90deg, #5fd0ae, #8fd3bc 45%, #f5d78b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-d { background: linear-gradient(90deg, var(--brand), #3fae8c); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 14px; font-weight: 700; font-size: 16px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #7fe3c0, #4cc9a0); color: #06231b; box-shadow: 0 12px 30px -10px rgba(76, 201, 160, .65); }
.btn-primary:hover { box-shadow: 0 18px 38px -10px rgba(76, 201, 160, .85); }
.btn-dark { background: var(--brand-dark); color: #fff; box-shadow: var(--shadow-s); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-line { border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 11px 18px; font-size: 14.5px; border-radius: 12px; }

/* ---------- encabezado ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100; display: flex; align-items: center; transition: background .3s, box-shadow .3s, backdrop-filter .3s; color: #fff; }
.site-header.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #3b9279, #2a7260); display: grid; place-items: center; box-shadow: 0 6px 16px -4px rgba(47, 125, 104, .6); }
.brand-mark svg { width: 24px; height: 24px; }
.brand small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 1px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; opacity: .88; transition: background .2s, opacity .2s; }
.nav a:hover, .nav a.on { opacity: 1; background: rgba(255, 255, 255, .12); }
.scrolled .nav a:hover, .scrolled .nav a.on { background: var(--tint); color: var(--brand); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; background: rgba(255, 255, 255, .12); }
.scrolled .nav-toggle { background: var(--tint); }
.progress-top { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 120; background: linear-gradient(90deg, #5fd0ae, #f5d78b); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--deep); color: #fff; padding: calc(var(--header-h) + 56px) 0 0; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 520px at 78% 10%, rgba(76, 201, 160, .26), transparent 60%), radial-gradient(700px 480px at 8% 30%, rgba(63, 130, 200, .16), transparent 60%), linear-gradient(180deg, #0a1613, #0f2a23 70%, #0a1613); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(143, 211, 188, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 211, 188, .06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); margin: 22px 0 22px; letter-spacing: -.035em; }
.hero p.lead { font-size: clamp(18px, 1.7vw, 21px); color: #b6d2c8; max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 14.5px; color: #9ec2b6; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ico { color: var(--mint); }
.hero-visual { position: relative; padding: 20px 0 0 10px; perspective: 1400px; }
.browser { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #e8f0ed; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c6d4cf; }
.browser-bar i:nth-child(1) { background: #ff6b64; } .browser-bar i:nth-child(2) { background: #ffc24d; } .browser-bar i:nth-child(3) { background: #3ed68a; }
.browser-bar span { margin-left: 12px; flex: 1; background: #fff; border-radius: 8px; padding: 4px 12px; font-size: 12px; color: #6b7f78; }
.browser img { width: 100%; }
.hero-visual .browser img { aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }
.hero-visual .browser { transform: rotateY(-7deg) rotateX(2deg); transition: transform .5s; }
.hero-visual:hover .browser { transform: rotateY(-2deg) rotateX(0); }
.float-card { position: absolute; z-index: 3; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.3; animation: bob 6s ease-in-out infinite; transition: transform .25s ease-out; }
.float-card b { display: block; font-size: 15px; }
.float-card .dot { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.fc1 { left: -22px; top: 15%; animation-delay: .2s; } .fc2 { right: -14px; top: 42%; animation-delay: 1.4s; } .fc3 { left: 6%; bottom: 7%; animation-delay: 2.4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-stats { margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(143, 211, 188, .18); }
.hero-stats div { padding: 28px 22px; border-right: 1px solid rgba(143, 211, 188, .12); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats b { display: block; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; font-weight: 800; color: #fff; }
.hero-stats span { font-size: 14.5px; color: #93b7aa; }

/* ---------- franja de rubros ---------- */
.marquee { background: var(--brand-dark); color: #b9d6cb; overflow: hidden; padding: 16px 0; font-weight: 600; font-size: 15px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.marquee-track .ico { color: var(--mint); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- problema / antes-después ---------- */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 64px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.pain:hover { transform: translateY(-6px); box-shadow: var(--shadow-s); border-color: var(--mint); }
.pain .ico-box { width: 50px; height: 50px; border-radius: 14px; background: #ffeceb; color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.pain h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.01em; }
.pain p { font-size: 15px; color: var(--muted); }
.ba { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; background: linear-gradient(160deg, var(--deep-2), #0b1b17); color: #e7f3ee; border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.ba-switch { display: inline-flex; background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 5px; gap: 4px; margin-bottom: 22px; }
.ba-switch button { padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; color: #a9c4bb; transition: all .25s; }
.ba-switch button.on { background: linear-gradient(135deg, #7fe3c0, #4cc9a0); color: #06231b; }
.ba-stage { position: relative; height: 400px; border-radius: 20px; background: radial-gradient(circle at 50% 50%, rgba(76, 201, 160, .08), transparent 70%), rgba(255, 255, 255, .03); border: 1px solid rgba(143, 211, 188, .14); overflow: hidden; }
.ba-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-line { stroke: rgba(143, 211, 188, .65); stroke-width: 2; stroke-dasharray: 6 7; opacity: 0; transition: opacity .6s .35s; animation: dash 1.4s linear infinite; }
.ba.order .ba-line { opacity: 1; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.ba-hub { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 28px; background: linear-gradient(135deg, #3b9279, #2a7260); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(76, 201, 160, .5); opacity: .25; transform: scale(.75); transition: all .6s cubic-bezier(.2, .9, .3, 1.2); }
.ba-hub svg { width: 58px; height: 58px; }
.ba.order .ba-hub { opacity: 1; transform: scale(1); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(76, 201, 160, .5); } 70% { box-shadow: 0 0 0 26px rgba(76, 201, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 201, 160, 0); } }
.ba-node { position: absolute; left: 0; top: 0; width: 86px; text-align: center; font-size: 12px; font-weight: 600; color: #cfe5dc; transform: translate(var(--cx), var(--cy)) rotate(var(--cr)); transition: transform .9s cubic-bezier(.3, 1.1, .4, 1); }
.ba-node .nb { width: 54px; height: 54px; margin: 0 auto 6px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); animation: wob 3.4s ease-in-out infinite; }
.ba.order .ba-node { transform: translate(var(--ox), var(--oy)) rotate(0deg); }
.ba.order .ba-node .nb { animation: none; background: rgba(76, 201, 160, .18); border-color: rgba(143, 211, 188, .5); color: var(--mint); }
@keyframes wob { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 3px -4px; rotate: 4deg; } }
.ba-lists h3 { font-size: 24px; margin-bottom: 18px; }
.ba-list { display: none; gap: 14px; flex-direction: column; }
.ba-list.show { display: flex; animation: fadeUp .5s both; }
.ba-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: #cfe2da; }
.ba-list li .ico { margin-top: 3px; padding: 4px; width: 26px; height: 26px; border-radius: 8px; }
.ba-list.bad li .ico { background: rgba(239, 83, 80, .18); color: #ff8a86; }
.ba-list.good li .ico { background: rgba(76, 201, 160, .2); color: var(--mint); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- video ---------- */
.video-wrap { max-width: 1040px; margin: 0 auto; }
.player { position: relative; border-radius: 22px; overflow: hidden; background: #050d0b; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(143, 211, 188, .18); aspect-ratio: 16 / 9; user-select: none; }
.player:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; display: flex; flex-direction: column; justify-content: center; background: #000; }
.player:fullscreen .stage { aspect-ratio: 16/9; width: min(100vw, 177.78vh); height: auto; margin: auto; position: relative; flex: none; }
.stage { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(900px 500px at 70% 0, #123a2f, transparent 60%), linear-gradient(135deg, #07120f, #0e2a23); color: #fff; font-family: var(--font); }
.sc { position: absolute; inset: 0; opacity: 0; animation: scIn .6s .0s forwards; }
@keyframes scIn { to { opacity: 1; } }
.stage.paused * { animation-play-state: paused !important; }
.sc .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(143, 211, 188, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 211, 188, .06) 1px, transparent 1px); background-size: 3.2em 3.2em; mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 80%); }
.sc .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 6em; }
.sc h4 { font-size: 3.3em; line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.sc h5 { margin: 0; font-size: 2.35em; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
.sc .sub { font-size: 1.35em; color: #a9d4c5; margin-top: .6em; line-height: 1.4; }
.sc .tag { display: inline-block; font-size: 1em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fd3bc; background: rgba(143, 211, 188, .13); padding: .45em 1em; border-radius: 99em; margin-bottom: 1em; }
.pop { opacity: 0; animation: pop .7s cubic-bezier(.2, .9, .3, 1.25) forwards; animation-delay: var(--d, 0s); }
@keyframes pop { from { opacity: 0; transform: translateY(1.2em) scale(.94); } to { opacity: 1; transform: none; } }
.pop-l { opacity: 0; animation: popl .8s cubic-bezier(.2, .9, .3, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes popl { from { opacity: 0; transform: translateX(-2.4em); } to { opacity: 1; transform: none; } }
.logo-draw path.x { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1.1s .3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chaos-ic { position: absolute; display: flex; align-items: center; gap: .6em; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); padding: .7em 1.1em; border-radius: 1em; font-size: 1.3em; font-weight: 600; opacity: 0; animation: chaosIn .7s var(--d) forwards, drift 4.2s var(--d) ease-in-out infinite alternate; }
@keyframes chaosIn { from { opacity: 0; transform: scale(.6) rotate(var(--r, 0deg)); } to { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); } }
@keyframes drift { to { translate: .8em -1em; } }
.hubs { position: absolute; inset: 0; }
.hubs .core { position: absolute; left: 50%; top: 50%; width: 9em; height: 9em; margin: -4.5em 0 0 -4.5em; border-radius: 2.4em; background: linear-gradient(135deg, #3b9279, #2a7260); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(76, 201, 160, .5); animation: pop .8s .1s both, pulse 2.6s 1s infinite; }
.hubs .mod { position: absolute; left: 50%; top: 50%; width: 11em; margin: -3em 0 0 -5.5em; text-align: center; font-size: 1.05em; font-weight: 700; color: #d6ece3; opacity: 0; animation: modIn .9s var(--d) cubic-bezier(.2, .9, .3, 1.1) forwards; }
.hubs .mod .mb { width: 4.4em; height: 4.4em; margin: 0 auto .45em; border-radius: 1.3em; display: grid; place-items: center; background: rgba(76, 201, 160, .18); border: 1px solid rgba(143, 211, 188, .45); color: #8fd3bc; }
.hubs .mod .mb .ico { width: 2.1em; height: 2.1em; }
@keyframes modIn { from { opacity: 0; transform: translate(0, 0) scale(.3); } to { opacity: 1; transform: translate(var(--x), var(--y)) scale(1); } }
.shot { position: absolute; left: 3em; top: 2.4em; width: 40em; border-radius: 1em; overflow: hidden; box-shadow: 0 2.4em 5em -1.4em rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .14); background: #fff; animation: pop .8s both; }
.shot .bar { height: 1.9em; background: #e6efec; display: flex; align-items: center; gap: .45em; padding: 0 .8em; }
.shot .bar i { width: .7em; height: .7em; border-radius: 50%; background: #c2d3cd; } .shot .bar i:nth-child(1) { background: #ff6b64; } .shot .bar i:nth-child(2) { background: #ffc24d; } .shot .bar i:nth-child(3) { background: #3ed68a; }
.shot .vp { position: relative; overflow: hidden; }
.shot .vp img { width: 100%; transform-origin: var(--o, 30% 20%); animation: kb var(--len, 8s) linear forwards; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(var(--z, 1.14)); } }
.callout { position: absolute; z-index: 2; background: #0f2f27; color: #fff; font-size: 1em; font-weight: 700; padding: .55em .95em; border-radius: .7em; border: 1px solid rgba(143, 211, 188, .55); box-shadow: 0 .8em 1.6em -.5em rgba(0, 0, 0, .6); white-space: nowrap; opacity: 0; animation: pop .6s var(--d) cubic-bezier(.2, .9, .3, 1.25) forwards; }
.callout::before { content: ""; position: absolute; left: -.9em; top: 50%; width: .8em; height: .8em; margin-top: -.4em; border-radius: 50%; background: #8fd3bc; box-shadow: 0 0 0 0 rgba(143, 211, 188, .7); animation: ping 1.6s infinite; }
.callout.r::before { left: auto; right: -.9em; }
@keyframes ping { 70% { box-shadow: 0 0 0 .9em rgba(143, 211, 188, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 211, 188, 0); } }
.sidecol { position: absolute; right: 3em; top: 0; bottom: 0; width: 15.5em; display: flex; flex-direction: column; justify-content: center; }
.sidecol .n { font-size: 5em; font-weight: 800; color: rgba(143, 211, 188, .22); line-height: 1; letter-spacing: -.04em; }
.sidecol p { font-size: 1.12em; color: #a9d4c5; margin-top: .9em; line-height: 1.45; }
.bullets { margin-top: 1em; display: flex; flex-direction: column; gap: .6em; font-size: 1.05em; color: #d4eae1; }
.bullets span { display: flex; gap: .6em; align-items: center; opacity: 0; animation: popl .6s var(--d) forwards; }
.bullets .ico { color: #8fd3bc; width: 1.2em; }
.cap { position: absolute; left: 3em; bottom: 3.1em; max-width: 40em; background: rgba(5, 13, 11, .78); backdrop-filter: blur(6px); border: 1px solid rgba(143, 211, 188, .25); border-radius: 99em; padding: .7em 1.6em; font-size: 1.2em; font-weight: 600; opacity: 0; animation: pop .6s .5s forwards; z-index: 4; }
.cap.mid { left: 0; right: 0; margin: 0 auto; width: max-content; }
.player-big { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; padding-bottom: 5.5%; background: linear-gradient(180deg, rgba(5, 13, 11, 0) 40%, rgba(5, 13, 11, .6)); z-index: 6; transition: opacity .3s; }
.player-big.hide { opacity: 0; pointer-events: none; }
.player-big .pb { width: 78px; height: 78px; border-radius: 50%; background: linear-gradient(135deg, #7fe3c0, #4cc9a0); color: #06231b; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(127, 227, 192, .6); animation: pulse2 2.2s infinite; transition: transform .2s; }
.player-big:hover .pb { transform: scale(1.08); }
.player-big .pb .ico { width: 38px; height: 38px; margin-left: 5px; fill: currentColor; }
.player-big .pt { text-align: center; font-weight: 700; font-size: clamp(14px, 1.6vw, 18px); color: #d6ece3; letter-spacing: .02em; }
@keyframes pulse2 { 0% { box-shadow: 0 0 0 0 rgba(127, 227, 192, .55); } 70% { box-shadow: 0 0 0 30px rgba(127, 227, 192, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 227, 192, 0); } }
.pc { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; display: flex; align-items: center; gap: 14px; padding: 26px 18px 14px; background: linear-gradient(0deg, rgba(5, 13, 11, .92), transparent); color: #fff; opacity: 0; transition: opacity .25s; }
.player:hover .pc, .player.paused-ui .pc, .player:focus-within .pc { opacity: 1; }
.pc button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; }
.pc button:hover { background: rgba(255, 255, 255, .14); }
.pc .ico { width: 20px; height: 20px; }
.prog { position: relative; flex: 1; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .22); cursor: pointer; }
.prog .fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 8px; background: linear-gradient(90deg, #7fe3c0, #4cc9a0); }
.prog .mk { position: absolute; top: -3px; width: 2px; height: 14px; background: rgba(5, 13, 11, .8); }
.pc .time { font-size: 13px; font-variant-numeric: tabular-nums; color: #cfe5dc; min-width: 82px; text-align: right; }
.scene-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; border: 1px solid rgba(143, 211, 188, .25); color: #b5d4c9; transition: all .2s; display: inline-flex; gap: 8px; align-items: center; }
.chip:hover { border-color: var(--mint); color: #fff; }
.chip.on { background: var(--mint); color: #06231b; border-color: var(--mint); }
.chip small { opacity: .7; font-weight: 700; }
.video-note { text-align: center; margin-top: 20px; font-size: 14px; color: #7fa396; }
.native-video { width: 100%; height: 100%; object-fit: cover; background: #000; }

/* ---------- módulos ---------- */
.mods { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.mod-tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--header-h) + 20px); }
.mod-tab { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; text-align: left; font-weight: 700; font-size: 15.5px; color: var(--ink-2); border: 1px solid transparent; transition: all .2s; }
.mod-tab .ib { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--brand); display: grid; place-items: center; transition: all .2s; }
.mod-tab:hover { background: #fff; border-color: var(--line); }
.mod-tab.on { background: #fff; border-color: var(--mint); box-shadow: var(--shadow-s); color: var(--brand-dark); }
.mod-tab.on .ib { background: linear-gradient(135deg, #3b9279, #2a7260); color: #fff; }
.mod-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px; box-shadow: var(--shadow-s); animation: fadeUp .45s both; min-height: 560px; }
.mod-panel .top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.mod-panel h3 { font-size: 30px; }
.mod-panel .desc { color: var(--muted); font-size: 18px; max-width: 700px; margin-bottom: 26px; }
.mod-body { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.mod-body .feat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.feat { display: flex; flex-direction: column; gap: 14px; }
.feat li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.feat li .ico { color: var(--brand); background: var(--mint-soft); border-radius: 8px; padding: 4px; width: 26px; height: 26px; margin-top: 2px; }
.links { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.links b { display: block; margin-bottom: 8px; color: var(--ink-2); }
.pill { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--brand); font-weight: 700; font-size: 13px; margin: 0 6px 6px 0; }
.mod-img { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-s); cursor: zoom-in; }
.mod-img .browser-bar { padding: 8px 12px; } .mod-img img { transition: transform .5s; } .mod-img:hover img { transform: scale(1.03); }

/* ---------- conectado ---------- */
.conn { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.conn-list { display: flex; flex-direction: column; gap: 10px; }
.conn-item { text-align: left; background: rgba(255, 255, 255, .04); border: 1px solid rgba(143, 211, 188, .16); border-radius: 16px; padding: 16px 20px; transition: all .25s; color: #cfe2da; }
.conn-item:hover { border-color: rgba(143, 211, 188, .5); transform: translateX(4px); }
.conn-item.on { background: rgba(76, 201, 160, .14); border-color: var(--mint); }
.conn-item .h { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; font-size: 16px; }
.conn-item .h .arrow { color: var(--mint); }
.conn-item p { display: none; font-size: 15px; margin-top: 8px; color: #b6d2c8; }
.conn-item.on p { display: block; animation: fadeUp .35s both; }
.conn-svg-wrap { position: relative; }
.conn-svg { width: 100%; height: auto; }
.cn-link { stroke: rgba(143, 211, 188, .22); stroke-width: 2; transition: all .3s; }
.cn-link.on { stroke: #7fe3c0; stroke-width: 3.5; stroke-dasharray: 8 8; animation: dash 1s linear infinite; filter: drop-shadow(0 0 6px rgba(127, 227, 192, .8)); }
.cn-node circle { fill: #11302a; stroke: rgba(143, 211, 188, .35); stroke-width: 2; transition: all .3s; }
.cn-node text { fill: #b6d2c8; font-size: 13px; font-weight: 600; text-anchor: middle; transition: fill .3s; }
.cn-node .ico { stroke: #8fd3bc; }
.cn-node { cursor: pointer; }
.cn-node.on circle { fill: #1c5a4b; stroke: #7fe3c0; stroke-width: 3; filter: drop-shadow(0 0 12px rgba(127, 227, 192, .65)); }
.cn-node.on text { fill: #fff; }
.cn-node.dim { opacity: .4; }
.cn-hub circle { fill: url(#hubg); stroke: none; }

/* ---------- beneficios ---------- */
.ben-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.ben-tab { padding: 14px 26px; border-radius: 16px; font-weight: 700; display: inline-flex; gap: 10px; align-items: center; border: 1.5px solid var(--line); background: #fff; transition: all .25s; font-size: 16px; }
.ben-tab:hover { border-color: var(--brand); }
.ben-tab.on { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); box-shadow: var(--shadow-s); }
.ben-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; animation: fadeUp .45s both; }
.ben-panel h3 { font-size: 32px; margin-bottom: 14px; }
.ben-panel .intro { color: var(--muted); font-size: 18px; margin-bottom: 24px; }
.ben-panel .feat li { font-size: 16.5px; }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-s); position: relative; }
.chart-card h4 { font-size: 17px; margin-bottom: 4px; letter-spacing: -.01em; }
.chart-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.badge-ex { position: absolute; top: 22px; right: 22px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a6a00; background: #fff3d6; padding: 5px 10px; border-radius: 99px; }
.legend { display: flex; gap: 20px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 7px; vertical-align: -1px; }
.bars { display: flex; flex-direction: column; gap: 22px; }
.brow .lb { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.brow .lb em { font-style: normal; color: var(--brand); font-weight: 800; }
.bar2 { height: 12px; border-radius: 8px; background: #edf3f1; margin-bottom: 6px; overflow: hidden; }
.bar2 > i { display: block; height: 100%; width: 0; border-radius: 8px; transition: width 1.3s cubic-bezier(.2, .9, .3, 1); }
.bar2.b > i { background: linear-gradient(90deg, #c7d4cf, #aebfb8); } .bar2.a > i { background: linear-gradient(90deg, #3b9279, #5fd0ae); }
.donuts { display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; }
.donut { text-align: center; }
.donut svg { width: 170px; height: 170px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 15; }
.donut .tr { stroke: #edf3f1; } .donut .pr { stroke-linecap: round; transition: stroke-dashoffset 1.5s cubic-bezier(.2, .9, .3, 1); }
.donut b { display: block; font-size: 34px; letter-spacing: -.03em; margin-top: -112px; position: relative; }
.donut span { display: block; margin-top: 70px; font-weight: 700; font-size: 14.5px; }
.chart-foot { margin-top: 22px; font-size: 12.5px; color: #8aa098; line-height: 1.5; }

/* ---------- calculadora ---------- */
.calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.calc-in { padding: 42px; }
.calc-out { padding: 42px; background: linear-gradient(160deg, #10302a, #0a1b17); color: #fff; display: flex; flex-direction: column; justify-content: center; position: relative; }
.calc h3 { font-size: 26px; margin-bottom: 6px; }
.calc .hint { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.fld { margin-bottom: 20px; }
.fld label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; color: var(--ink-2); }
.fld label output { color: var(--brand); font-size: 15.5px; }
.fld input[type=range] { width: 100%; accent-color: var(--brand); height: 28px; }
.numbox { display: flex; align-items: center; gap: 10px; }
.fld input[type=number], .numbox input[type=number], .calc select, .form input, .form select, .form textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; font-size: 16px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.numbox input:focus, .calc select:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47, 125, 104, .15); }
.cur { width: 190px !important; flex: none; padding-right: 8px !important; text-overflow: ellipsis; }
@media (max-width: 560px) { .numbox { flex-wrap: wrap; } .cur { width: 100% !important; } }
.assump { margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 16px; }
.assump summary { cursor: pointer; font-weight: 700; color: var(--brand); font-size: 14.5px; list-style: none; display: flex; align-items: center; gap: 8px; }
.assump summary::-webkit-details-marker { display: none; }
.assump[open] summary .ico { transform: rotate(180deg); } .assump summary .ico { transition: transform .2s; }
.assump .fld { margin-top: 16px; margin-bottom: 4px; }
.res-lbl { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--mint); }
.res-big { font-size: clamp(40px, 5.2vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 8px 0 4px; }
.res-yr { font-size: 18px; color: #a9d4c5; margin-bottom: 26px; }
.stack { display: flex; height: 16px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .08); margin-bottom: 18px; }
.stack i { display: block; height: 100%; transition: width .8s cubic-bezier(.2, .9, .3, 1); }
.res-rows { display: grid; gap: 12px; margin-bottom: 24px; }
.res-rows div { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: #cfe5dc; }
.res-rows div b { color: #fff; font-size: 16.5px; }
.res-rows i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 9px; }
.calc-note { font-size: 12.5px; color: #86aa9c; line-height: 1.5; margin-top: 18px; }

/* ---------- rubros ---------- */
.ind-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.ind-tab { padding: 12px 22px; border-radius: 14px; font-weight: 700; border: 1.5px solid var(--line); background: #fff; display: inline-flex; gap: 10px; align-items: center; transition: all .2s; }
.ind-tab:hover { border-color: var(--brand); }
.ind-tab.on { background: linear-gradient(135deg, #3b9279, #2a7260); color: #fff; border-color: transparent; box-shadow: var(--shadow-s); }
.ind-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 42px; box-shadow: var(--shadow-s); animation: fadeUp .4s both; }
.ind-panel h3 { font-size: 28px; margin-bottom: 12px; }
.ind-panel p { color: var(--muted); margin-bottom: 20px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 99px; margin-bottom: 14px; }
.status.ok { background: #dcf7e8; color: #17714a; } .status.cfg { background: #e5eefc; color: #2a5ea8; }
.units-demo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.u-card { background: var(--tint); border-radius: 16px; padding: 18px; text-align: center; transition: transform .25s; }
.u-card:hover { transform: translateY(-4px) rotate(-1deg); }
.u-card .ico { width: 34px; height: 34px; color: var(--brand); margin: 0 auto 10px; }
.u-card b { display: block; font-size: 15.5px; } .u-card span { font-size: 13px; color: var(--muted); }

/* ---------- pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-bottom: 36px; }
.steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 27px; height: 3px; background: linear-gradient(90deg, var(--brand) var(--p, 0%), var(--line) var(--p, 0%)); transition: --p .4s; z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; padding: 0 12px; }
.step button { display: block; margin: 0 auto 16px; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 3px solid var(--line); font-weight: 800; font-size: 20px; color: var(--muted); transition: all .3s; }
.step.done button, .step.on button { border-color: var(--brand); color: var(--brand); }
.step.on button { background: var(--brand); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 8px rgba(47, 125, 104, .16); }
.step h4 { font-size: 16.5px; letter-spacing: -.01em; }
.step-detail { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 38px; box-shadow: var(--shadow-s); text-align: center; animation: fadeUp .4s both; }
.step-detail h3 { font-size: 24px; margin-bottom: 10px; } .step-detail p { color: var(--muted); font-size: 17px; }

/* ---------- seguridad / valores ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-s); }
.fcard::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--tint); transition: transform .4s; }
.fcard:hover::after { transform: scale(1.5); }
.fcard > * { position: relative; z-index: 1; }
.fcard .ib { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #3b9279, #2a7260); color: #fff; display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 10px 22px -8px rgba(47, 125, 104, .6); }
.fcard h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -.01em; }
.fcard p { color: var(--muted); font-size: 15.5px; }

/* ---------- nosotros ---------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.founder { background: linear-gradient(160deg, var(--deep-2), #0b1b17); color: #fff; border-radius: var(--r-lg); padding: 44px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.founder::before { content: "“"; position: absolute; top: -34px; left: 26px; font-size: 220px; line-height: 1; font-weight: 800; color: rgba(143, 211, 188, .13); font-family: Georgia, serif; }
.founder blockquote { margin: 0; font-size: 22px; line-height: 1.5; font-weight: 600; letter-spacing: -.01em; position: relative; }
.f-who { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #5fd0ae, #2a7260); display: grid; place-items: center; font-weight: 800; font-size: 22px; box-shadow: 0 0 0 4px rgba(143, 211, 188, .25); }
.f-who b { display: block; font-size: 19px; } .f-who span { color: #9ec2b6; font-size: 14.5px; }
.about h2 { font-size: clamp(30px, 4vw, 44px); margin: 18px 0 18px; }
.about p { color: var(--muted); font-size: 18px; margin-bottom: 16px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.val { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.val .ico { color: var(--brand); width: 28px; height: 28px; margin-bottom: 10px; }
.val b { display: block; font-size: 15.5px; margin-bottom: 4px; } .val span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--mint); box-shadow: var(--shadow-s); }
.faq summary { cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .3s; color: var(--brand); } .faq details[open] summary .ico { transform: rotate(180deg); }
.faq .ans { padding: 0 26px 24px; color: var(--muted); font-size: 16.5px; animation: fadeUp .35s both; }

/* ---------- contacto ---------- */
.cta { background: radial-gradient(800px 420px at 85% 0, rgba(76, 201, 160, .24), transparent 60%), linear-gradient(160deg, #0d2923, #07120f); color: #fff; }
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.cta h2 { font-size: clamp(32px, 4.4vw, 50px); margin: 18px 0 18px; }
.cta p.lead { color: #b6d2c8; font-size: 19px; margin-bottom: 30px; }
.next { display: flex; flex-direction: column; gap: 18px; }
.next li { display: flex; gap: 16px; align-items: flex-start; }
.next li i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(143, 211, 188, .16); color: var(--mint); display: grid; place-items: center; font-style: normal; font-weight: 800; }
.next li b { display: block; } .next li span { color: #9ec2b6; font-size: 15px; }
.form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 38px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }
.form h3 { font-size: 24px; margin-bottom: 4px; } .form .hint { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--ink-2); }
.form .full { margin-bottom: 14px; } .form textarea { min-height: 96px; resize: vertical; }
.form .err { display: none; color: #c0392b; font-size: 13px; margin-top: 5px; } .form .bad input, .form .bad select { border-color: #e57368; } .form .bad .err { display: block; }
.form .btn { width: 100%; padding: 17px; font-size: 17px; margin-top: 6px; }
.form .priv { font-size: 12.5px; color: #8aa098; margin-top: 14px; text-align: center; }
.ok-box { display: none; text-align: center; padding: 20px 6px; animation: fadeUp .5s both; }
.ok-box.show { display: block; } .ok-box .tick { width: 78px; height: 78px; border-radius: 50%; background: linear-gradient(135deg, #7fe3c0, #4cc9a0); color: #06231b; display: grid; place-items: center; margin: 0 auto 18px; animation: pop .6s both; }
.ok-box .tick .ico { width: 40px; height: 40px; stroke-width: 3; }
.ok-box h3 { font-size: 26px; margin-bottom: 8px; } .ok-box p { color: var(--muted); }
.ok-box pre { text-align: left; background: var(--tint); border-radius: 14px; padding: 16px; font: inherit; font-size: 14px; white-space: pre-wrap; margin: 18px 0; color: var(--ink-2); }
.ok-box .acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dev-note { background: #fff6dd; color: #8a5d00; border-radius: 12px; padding: 12px 14px; font-size: 13px; margin-top: 16px; text-align: left; }

/* ---------- pie ---------- */
.footer { background: #050d0b; color: #8fb0a4; padding: 64px 0 34px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .brand { color: #fff; margin-bottom: 14px; } .footer p { max-width: 340px; }
.footer h5 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.footer li { margin-bottom: 10px; } .footer a:hover { color: var(--mint); }
.foot-bottom { border-top: 1px solid rgba(143, 211, 188, .14); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }

/* ---------- utilidades ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .3, 1), transform .8s cubic-bezier(.2, .8, .3, 1); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-dark); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 90; opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 12, 10, .92); display: none; place-items: center; padding: 28px; cursor: zoom-out; }
.lightbox.show { display: grid; animation: scIn .25s both; }
.lightbox img { max-height: 92vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero-grid, .ba, .mods, .conn, .ben-panel, .calc, .ind-panel, .about, .cta-grid { grid-template-columns: 1fr; }
  .mod-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; gap: 8px; scrollbar-width: thin; }
  .mod-tab { flex: none; padding: 10px 14px; } .mod-tab span.t { white-space: nowrap; }
  .pains { grid-template-columns: repeat(2, 1fr); } .cards3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; } .mod-body .feat { grid-template-columns: 1fr; }
  .hero-visual .browser { transform: none; } .fc1 { left: -8px; } .fc2 { right: -6px; }
}
@media (max-width: 820px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; color: var(--ink); flex-direction: column; align-items: stretch; padding: 14px 20px 24px; gap: 4px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .35); transform: translateY(-120%); transition: transform .35s; }
  .nav.open { transform: none; } .nav a { padding: 14px; font-size: 17px; } .nav a:hover, .nav a.on { background: var(--tint); color: var(--brand); }
  .nav-toggle { display: grid; } .nav .btn { margin-top: 8px; }
  .site-header.menu-open { background: #fff; color: var(--ink); } .site-header.menu-open .nav-toggle { background: var(--tint); }
  .section { padding: 76px 0; } .hero-stats { grid-template-columns: repeat(2, 1fr); } .hero-stats div:nth-child(2) { border-right: 0; } .hero-stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(143, 211, 188, .12); }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px 0; } .steps::before { display: none; }
  .values, .cards3 { grid-template-columns: 1fr; } .ba { padding: 24px; } .ba-stage { height: 340px; }
  .calc-in, .calc-out, .ind-panel, .mod-panel, .form, .founder { padding: 26px; } .frow { grid-template-columns: 1fr; }
  .float-card.fc3 { display: none; } .pc .time { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; } .pains { grid-template-columns: 1fr; } .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; } .float-card { display: none; } .chip small { display: none; } .player-big .pb { width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- WhatsApp, asistente y contacto ---------- */
.btn-wa { background: #25d366; color: #052e14; box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .6); }
.btn-wa:hover { background: #2fe173; box-shadow: 0 18px 38px -10px rgba(37, 211, 102, .8); }
.btn-wa .ico { width: 1.35em; height: 1.35em; }
.cta .loc { display: flex; align-items: center; gap: 8px; margin: 18px 0 34px; color: #9ec2b6; font-size: 15px; }
.cta .loc .ico { color: var(--mint); }
.foot-loc { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14.5px; }
.foot-loc a { text-decoration: underline; text-underline-offset: 3px; }
.foot-loc .ico { width: 1.1em; height: 1.1em; }
.to-top { right: auto; left: 22px; }

.fl-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.fl-wrap > * { pointer-events: auto; }
.fl-btns { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fl-wa { position: relative; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(18, 140, 70, .65); transition: transform .2s; }
.fl-wa:hover { transform: scale(1.07); }
.fl-wa .ico { width: 34px; height: 34px; stroke-width: 1.8; }
.fl-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waRing 2.6s infinite; }
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.fl-wa .tip { position: absolute; right: 74px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 12px; box-shadow: var(--shadow-s); opacity: 0; pointer-events: none; transition: opacity .2s; }
.fl-wa:hover .tip, .fl-wa:focus-visible .tip { opacity: 1; }
.fl-bot { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--brand-dark); color: #fff; font-weight: 700; font-size: 15px; box-shadow: var(--shadow); transition: transform .2s; }
.fl-bot:hover { transform: translateY(-2px); }
.fl-bot .ico { width: 21px; height: 21px; }
.chat-open .fl-bot { display: none; }

.chatbox { width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 190px)); max-height: min(560px, calc(100dvh - 190px)); display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(7, 30, 24, .55); overflow: hidden; animation: fadeUp .3s both; }
.chatbox[hidden] { display: none; }
.chatbox header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, #17302b, #2f7d68); color: #fff; }
.chatbox header .av { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; flex: none; }
.chatbox header b { display: block; line-height: 1.2; } .chatbox header small { color: #b9e6d6; font-size: 12.5px; }
.chatbox header button { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.chatbox header button:hover { background: rgba(255, 255, 255, .16); }
.chatbox .msgs { flex: 1; min-height: 60px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chatbox .m { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; animation: fadeUp .3s both; }
.chatbox .m.bot { align-self: flex-start; background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.chatbox .m.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.chatbox .m .btn { margin-top: 10px; }
.chatbox .typing { display: flex; gap: 5px; padding: 14px; }
.chatbox .typing i { width: 7px; height: 7px; border-radius: 50%; background: #9db3ab; animation: dots 1s infinite; }
.chatbox .typing i:nth-child(2) { animation-delay: .15s; } .chatbox .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }
.chatbox .sug { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; background: #fff; }
.chatbox .sug button { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--brand); background: #fff; }
.chatbox .sug button:hover { background: var(--tint); border-color: var(--brand); }
.chatbox form { display: flex; gap: 8px; padding: 12px; background: #fff; }
.chatbox form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 15px; }
.chatbox form input:focus { outline: none; border-color: var(--brand); }
.chatbox form button { width: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.chatbox .chat-wa { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; background: #eafbf0; color: #0a6b33; font-weight: 700; font-size: 14.5px; border-top: 1px solid var(--line); }
.chatbox .chat-wa:hover { background: #d8f6e3; }
@media (max-width: 560px) {
  .fl-wrap { right: 14px; bottom: 14px; } .fl-wa { width: 56px; height: 56px; } .fl-wa .tip { display: none; }
  .fl-bot span { display: none; } .fl-bot { width: 46px; padding: 0; justify-content: center; }
  .to-top { left: 14px; bottom: 14px; }
}

/* los botones de escenas bajo el video se ocultan (se navega con la barra de progreso) */
.scene-chips { display: none !important; }

/* asistente: las partes fijas no se encogen; el área de mensajes absorbe el espacio; en ventanas bajas las sugerencias van en una fila deslizable */
.chatbox header, .chatbox .sug, .chatbox form, .chatbox .chat-wa { flex: none; }
@media (max-height: 720px) { .chatbox .sug { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; } .chatbox .sug button { white-space: nowrap; flex: none; } }
@media (max-height: 620px) { .chatbox .chat-wa { display: none; } .chatbox .msgs { min-height: 0; } }

/* ---------- páginas legales y 404 ---------- */
.form .priv a, .foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.legal-top { background: var(--deep); color: #e7f3ee; padding: 18px 0; }
.legal-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal-top .back { font-weight: 700; color: var(--mint); }
.legal { padding: 64px 0 96px; }
.legal .doc { max-width: 780px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 44px; box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.legal .upd { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; } .legal ul li { margin-bottom: 6px; }
.legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal .nota { background: var(--tint); border-radius: 14px; padding: 14px 18px; font-size: 15px; }
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 28px; background: linear-gradient(160deg, #0d2923, #07120f); color: #fff; }
.nf h1 { font-size: clamp(64px, 12vw, 120px); } .nf p { color: #b6d2c8; margin: 12px 0 28px; font-size: 19px; }
@media (max-width: 560px) { .legal .doc { padding: 26px 20px; } }