/* =============================================================
   NEXIA · styles.css
   Arquetipo: Mouse-Reactive Gradient (versión clara, marca Nexia)
   ============================================================= */

/* 1. Tokens -------------------------------------------------- */
:root {
  --bg:     #F6F8FC;
  --bg-2:   #EDF1F8;
  --card:   #FFFFFF;
  --ink:    #120A3A;
  --ink-2:  #3B3F63;
  --mute:   #6B7194;
  --navy:   #0B0930;
  --navy-2: #151245;
  --indigo: #1B1E4F;
  --blue:   #03558F;
  --cyan:   #35A7E0;
  --cyan-2: #7CCBF2;
  --wa:     #25D366;
  --line:   rgba(18, 10, 58, .10);
  --line-2: rgba(53, 167, 224, .35);
  --grad:   linear-gradient(100deg, #03558F 0%, #35A7E0 55%, #7CCBF2 100%);

  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4.5vw, 56px);
  --maxw: 1200px;
  --radius: 22px;
  --nav-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow: 0 1px 2px rgba(18,10,58,.04), 0 12px 32px -12px rgba(18,10,58,.14);
}

/* 2. Base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--bg); }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.05; letter-spacing: -.03em; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--cyan); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--ink); color: #fff; z-index: 999; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }

.section { padding: clamp(80px, 12vw, 150px) var(--gutter); max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head.center { margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.kicker--light { color: var(--cyan-2); }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(53,167,224,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(53,167,224,0); } 100% { box-shadow: 0 0 0 0 rgba(53,167,224,0); } }
.section-title { font-size: clamp(2.1rem, 6.4vw, 4rem); font-weight: 700; }
.section-lead { margin-top: 18px; color: var(--ink-2); font-size: 1.08rem; max-width: 60ch; }
.center .section-lead { margin-inline: auto; }

/* 3. Buttons ------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .3s; will-change: transform; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-primary { color: #fff; background: linear-gradient(120deg, var(--indigo), var(--blue) 55%, var(--cyan)); background-size: 180% 100%; background-position: 0 0; box-shadow: 0 12px 28px -10px rgba(3,85,143,.6); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 36px -10px rgba(53,167,224,.7); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.7); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--line-2); background: #fff; }
.btn-light { color: var(--ink); background: #fff; }
.btn-light:hover { background: var(--cyan-2); }
.btn:active { transform: scale(.97); }

/* 4. Nav ----------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); transition: background .4s, box-shadow .4s, transform .45s var(--ease-out); }
.nav.is-solid { background: rgba(246,248,252,.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; letter-spacing: .18em; font-size: 1.05rem; }
.nav-logo img { width: 40px; }
.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: none; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .35s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav.menu-open { background: var(--bg); }
.nav.menu-open .nav-links { display: flex; flex-direction: column; position: fixed; inset: var(--nav-h) 0 auto 0; padding: 12px var(--gutter) 28px; background: var(--bg); box-shadow: 0 20px 40px -20px rgba(18,10,58,.25); animation: drop .4s var(--ease-out); }
.nav.menu-open .nav-links a { font-family: var(--display); font-weight: 700; font-size: 1.7rem; padding: 10px 0; border-bottom: 1px solid var(--line); letter-spacing: -.02em; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }

/* 5. Hero ---------------------------------------------------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 28px) var(--gutter) 56px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%); opacity: .7; }
.hero-glow { position: absolute; inset: -20%; background:
  radial-gradient(circle 32vmax at var(--mx, 70%) var(--my, 35%), rgba(53,167,224,.38), transparent 60%),
  radial-gradient(circle 28vmax at calc(100% - var(--mx, 70%)) calc(100% - var(--my, 35%)), rgba(3,85,143,.22), transparent 60%),
  radial-gradient(circle 22vmax at 15% 85%, rgba(27,30,79,.12), transparent 60%);
  filter: blur(20px); transition: background-position .2s; }
.hero-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; display: grid; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(2.7rem, 11vw, 5.6rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin-top: 22px; font-size: 1.08rem; color: var(--ink-2); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .btn { flex: 1 1 220px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; max-width: 520px; }
.hero-proof li { padding: 14px 12px; border-radius: 16px; background: rgba(255,255,255,.7); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.hero-proof strong { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-proof span { font-size: .78rem; color: var(--mute); line-height: 1.3; display: block; }

.hero-visual { position: relative; height: min(110vw, 520px); display: grid; place-items: center; }
.orb { position: relative; width: min(66vw, 380px); aspect-ratio: 1; display: grid; place-items: center; transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.orb::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #EAF4FC 45%, #D6E9F7 70%, #C1DDF2); box-shadow: inset -20px -30px 60px rgba(3,85,143,.18), 0 40px 80px -30px rgba(3,85,143,.5); }
.orb-logo { position: relative; width: 58%; filter: drop-shadow(0 18px 24px rgba(3,85,143,.35)); animation: bob 6s ease-in-out infinite; }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite; }
.orb-ring.r2 { inset: -9%; border-style: solid; border-color: rgba(18,10,58,.07); animation-duration: 70s; animation-direction: reverse; }
.orb-ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.88); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(10px); font-size: .8rem; animation: bob 7s ease-in-out infinite; white-space: nowrap; }
.float-card b { display: block; font-family: var(--display); font-size: .86rem; letter-spacing: -.01em; }
.float-card small { color: var(--mute); }
.fc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); font-size: 1.05rem; }
.fc1 { top: 0; left: 0; animation-delay: -1s; }
.fc2 { top: 27%; right: 0; animation-delay: -3s; }
.fc3 { bottom: 25%; left: 0; animation-delay: -5s; }
.fc4 { bottom: 0; right: 0; animation-delay: -2s; }
@media (min-width: 960px) {
  .fc1 { top: 6%; left: 0; } .fc2 { top: 18%; right: 0; } .fc3 { bottom: 16%; left: 2%; } .fc4 { bottom: 4%; right: 6%; }
}

/* Marquee */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: #fff; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 30px; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink-2); letter-spacing: -.02em; white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 6. Services ------------------------------------------------ */
.svc-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.svc { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease-out), border-color .4s; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 0%), rgba(53,167,224,.14), transparent 60%); opacity: 0; transition: opacity .4s; }
.svc:hover { transform: translateY(-4px); border-color: var(--line-2); }
.svc:hover::before { opacity: 1; }
.svc-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #EAF5FC, #D4E9F7); margin-bottom: 20px; }
.svc-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.svc p { color: var(--ink-2); font-size: .96rem; }
.svc--big { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; border-color: transparent; }
.svc--big p { color: rgba(255,255,255,.72); }
.svc--big .svc-ico { background: rgba(53,167,224,.16); }
.svc--big .svc-ico svg { stroke: var(--cyan-2); }
.svc-demo { display: grid; gap: 8px; margin-top: 24px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .88rem; line-height: 1.4; }
.bubble.in { background: rgba(255,255,255,.1); border-bottom-left-radius: 4px; }
.bubble.out { justify-self: end; background: var(--grad); color: #04162A; font-weight: 500; border-bottom-right-radius: 4px; }

/* 7. Solutions (dark band) ---------------------------------- */
.solutions { position: relative; background: radial-gradient(80% 60% at 80% 0%, rgba(53,167,224,.22), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(3,85,143,.3), transparent 60%), var(--navy); color: #fff; padding: clamp(80px, 12vw, 150px) var(--gutter); overflow: hidden; }
.solutions-inner { max-width: var(--maxw); margin: 0 auto; }
.section-head--light .section-title { color: #fff; }
.sol-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 36px; padding: 0 var(--gutter); }
.sol-tabs::-webkit-scrollbar { display: none; }
.sol-tabs button { flex: 0 0 auto; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.75); font-weight: 600; font-size: .92rem; transition: all .3s; }
.sol-tabs button:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.sol-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.sol-body { display: grid; gap: 44px; align-items: center; }
.sol-copy h3 { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 700; margin-bottom: 22px; }
.sol-list { display: grid; gap: 14px; margin-bottom: 30px; }
.sol-list li { position: relative; padding-left: 30px; color: rgba(255,255,255,.78); }
.sol-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px rgba(53,167,224,.5); }
.sol-list li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 4px); width: 6px; height: 4px; border-left: 2px solid #04162A; border-bottom: 2px solid #04162A; transform: rotate(-45deg); }
.sol-list b { color: #fff; }
.sol-copy.swap { animation: swap .5s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }

.phone { position: relative; justify-self: center; width: min(86vw, 330px); height: 600px; border-radius: 44px; padding: 14px; background: linear-gradient(145deg, #2A2E5A, #0A0922); box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.12); display: flex; flex-direction: column; overflow: hidden; }
.phone-notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 90px; height: 24px; border-radius: 14px; background: #05040F; z-index: 3; }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 44px 16px 12px; background: #075E54; border-radius: 32px 32px 0 0; }
.phone-head b { display: block; font-size: .95rem; }
.phone-head small { font-size: .72rem; opacity: .8; }
.ph-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 1.1rem; }
.phone-chat { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; background: #0B141A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff' fill-opacity='.04'/%3E%3C/svg%3E"); justify-content: flex-end; }
.pmsg { max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: .84rem; line-height: 1.4; color: #E9EDEF; animation: pop .45s var(--ease-bounce) both; }
.pmsg.in { align-self: flex-start; background: #202C33; border-top-left-radius: 4px; }
.pmsg.out { align-self: flex-end; background: #005C4B; border-top-right-radius: 4px; }
.pmsg small { display: block; text-align: right; font-size: .66rem; opacity: .55; margin-top: 2px; }
.pmsg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.pmsg.typing span { width: 6px; height: 6px; border-radius: 50%; background: #8696A0; animation: blink .9s infinite alternate; }
.pmsg.typing span:nth-child(2) { animation-delay: .15s; } .pmsg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.95); } }
@keyframes blink { from { opacity: .3; } }
.phone-input { display: flex; align-items: center; gap: 8px; padding: 10px 12px 14px; background: #0B141A; border-radius: 0 0 32px 32px; }
.phone-input span { flex: 1; padding: 9px 14px; border-radius: 999px; background: #202C33; color: #8696A0; font-size: .8rem; }
.phone-input i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #00A884; font-style: normal; font-size: .9rem; }
.phone-tag { position: absolute; top: 70px; right: -34px; transform: rotate(35deg); background: var(--cyan); color: #04162A; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 40px; z-index: 4; }

/* 8. Process ------------------------------------------------- */
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-n { font-family: var(--mono); font-size: .8rem; color: var(--cyan); display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: #EAF5FC; }
.step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .95rem; }

/* 9. Work ---------------------------------------------------- */
.case { display: grid; gap: 36px; align-items: center; padding: clamp(20px, 4vw, 44px); border-radius: 30px; background: linear-gradient(160deg, #1B1411, #0D0A08); color: #F3EAD7; overflow: hidden; }
.case-media { position: relative; padding-bottom: 12%; }
.case-desk { width: 100%; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); border: 1px solid rgba(255,255,255,.08); }
.case-mob { position: absolute; bottom: 0; width: 26%; border-radius: 18px; border: 3px solid #2a2320; box-shadow: 0 24px 50px -10px rgba(0,0,0,.8); }
.case-mob.m1 { right: 16%; transform: rotate(-4deg); }
.case-mob.m2 { right: -2%; bottom: 6%; transform: rotate(5deg); }
.case-type { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #E3A92C; }
.case-copy h3 { font-size: clamp(2.2rem, 7vw, 3.4rem); font-weight: 800; margin: 8px 0 14px; color: #fff; }
.case-copy p { color: rgba(243,234,215,.78); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.chips li { font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(227,169,44,.35); color: #F7CD62; }
.case .btn-primary { background: #E3A92C; color: #0D0A08; box-shadow: 0 12px 28px -10px rgba(227,169,44,.6); }
.work-next { margin-top: 28px; text-align: center; color: var(--ink-2); }
.work-next a { color: var(--blue); font-weight: 600; }

/* 10. Plans -------------------------------------------------- */
.plan-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease-out); }
.plan:hover { transform: translateY(-6px); }
.plan--hot { background: linear-gradient(165deg, var(--navy-2), var(--navy)); color: #fff; border: 1px solid rgba(53,167,224,.45); box-shadow: 0 30px 70px -30px rgba(3,85,143,.8); }
.plan-badge { position: absolute; top: -13px; left: 26px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #04162A; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { font-size: 1.4rem; font-weight: 700; }
.plan-for { color: var(--mute); font-size: .92rem; margin: 8px 0 22px; min-height: 3em; }
.plan--hot .plan-for { color: rgba(255,255,255,.65); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.plan-price strong { font-family: var(--display); font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price span { color: var(--mute); font-size: .88rem; }
.plan--hot .plan-price span { color: rgba(255,255,255,.6); }
.plan ul { display: grid; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: .94rem; color: var(--ink-2); }
.plan--hot li { color: rgba(255,255,255,.82); }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; background: #EAF5FC; color: var(--blue); }
.plan--hot li::before { background: rgba(53,167,224,.2); color: var(--cyan-2); }
.plan .btn { width: 100%; }
.plan--hot .btn-ghost { background: #fff; color: var(--ink); border: 0; }
.entry { display: grid; gap: 18px; align-items: center; margin-top: 26px; padding: 24px; border-radius: 24px; background: linear-gradient(120deg, #EAF5FC, #fff 60%); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.entry-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); }
.entry-ico svg { width: 30px; height: 30px; fill: var(--blue); }
.entry-kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.entry-copy h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.entry-copy p:last-child { color: var(--ink-2); font-size: .93rem; }
.entry-side { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.entry-price strong { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.entry-price span { color: var(--mute); font-size: .82rem; }
@media (min-width: 960px) { .entry { grid-template-columns: auto 1fr auto; gap: 28px; padding: 26px 30px; } .entry-side { flex-wrap: nowrap; } }
.monthly { display: grid; gap: 12px; margin-top: 26px; grid-template-columns: minmax(0, 1fr); }
.mo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 18px; border: 1px dashed var(--line-2); background: rgba(255,255,255,.6); }
.mo b { font-family: var(--display); display: block; }
.mo small { color: var(--mute); font-size: .84rem; }
.mo strong { font-family: var(--display); font-size: 1.4rem; white-space: nowrap; color: var(--blue); }
.mo strong em { font-style: normal; font-size: .8rem; color: var(--mute); }
.plans-note { margin-top: 18px; text-align: center; color: var(--mute); font-size: .84rem; }

/* 11. FAQ ---------------------------------------------------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-style: normal; transition: transform .4s var(--ease-out), background .3s; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--cyan); color: #fff; }
.faq-item p { padding: 0 22px 22px; color: var(--ink-2); }

/* 12. CTA ---------------------------------------------------- */
.cta { padding: clamp(90px, 13vw, 160px) var(--gutter); background: radial-gradient(70% 70% at 50% 0%, rgba(53,167,224,.3), transparent 60%), var(--navy); color: #fff; text-align: center; }
.cta-inner { max-width: 760px; margin: 0 auto; display: grid; justify-items: center; gap: 20px; }
.cta-logo { width: min(320px, 70vw); margin-bottom: 18px; }
.cta h2 { font-size: clamp(2.1rem, 6.5vw, 3.8rem); font-weight: 800; }
.cta p { color: rgba(255,255,255,.72); font-size: 1.08rem; }
.cta-form { width: 100%; display: grid; gap: 10px; margin-top: 12px; grid-template-columns: minmax(0, 1fr); }
.cta-form input { width: 100%; min-height: 54px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-size: 16px; }
.cta-form input::placeholder { color: rgba(255,255,255,.5); }
.cta-form input:focus { outline: none; border-color: var(--cyan); background: rgba(255,255,255,.1); }
.form-error { color: #FFB4B4; font-size: .88rem; min-height: 1em; }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: .92rem; }
.cta-contacts a { color: var(--cyan-2); border-bottom: 1px solid transparent; transition: border-color .3s; }
.cta-contacts a:hover { border-color: var(--cyan-2); }

.footer { background: #07061E; color: rgba(255,255,255,.6); text-align: center; padding: 50px var(--gutter) 120px; display: grid; justify-items: center; gap: 12px; font-size: .88rem; }
.footer img { width: 200px; opacity: .9; }
.footer-small { font-size: .75rem; max-width: 64ch; opacity: .8; }

/* 13. Floating + chat --------------------------------------- */
.floaters { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; display: grid; gap: 12px; justify-items: end; }
.fab { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 14px 30px -8px rgba(18,10,58,.5); transition: transform .35s var(--ease-bounce); }
.fab:hover { transform: scale(1.08); }
.fab-wa { background: var(--wa); color: #fff; }
.fab-chat { width: 54px; height: 54px; background: #fff; border: 2px solid var(--cyan); }
.fab-chat img { width: 30px; }
.fab-label { position: absolute; right: calc(100% + 10px); white-space: nowrap; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .4s var(--ease-out); pointer-events: none; }
.fab-chat.nudge .fab-label, .fab-chat:hover .fab-label { opacity: 1; transform: none; }

.chat { position: fixed; z-index: 100; inset: auto 0 0 0; height: min(86svh, 660px); display: flex; flex-direction: column; background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -30px 80px -20px rgba(18,10,58,.4); transform: translateY(105%); visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s; }
.chat.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease-out); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(120deg, var(--navy-2), var(--blue)); color: #fff; border-radius: 24px 24px 0 0; }
.chat-head img { width: 36px; background: #fff; border-radius: 10px; padding: 4px; }
.chat-head > div { flex: 1; }
.chat-head h2 { font-size: 1rem; letter-spacing: -.01em; }
.chat-head p { font-size: .74rem; opacity: .75; }
.chat-close { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; align-content: start; gap: 10px; background: var(--bg); overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; animation: pop .4s var(--ease-out); }
.msg p + p { margin-top: 6px; }
.msg-bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-user { justify-self: end; background: var(--grad); color: #04162A; font-weight: 500; border-bottom-right-radius: 4px; }
.msg-actions { margin-top: 10px; }
.msg-actions a { display: inline-block; font-size: .8rem; font-weight: 700; padding: 8px 12px; border-radius: 999px; background: var(--wa); color: #04210F; }
.typing { display: inline-flex; gap: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: blink .8s infinite alternate; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
.chat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; background: var(--bg); }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button { flex: 0 0 auto; font-size: .82rem; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--blue); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 16px; }
.chat-form input:focus { outline: none; border-color: var(--cyan); }
.chat-form button { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #04162A; flex: 0 0 auto; }
.chat-form button:disabled { opacity: .5; }
.chat-foot { font-size: .7rem; color: var(--mute); text-align: center; padding: 0 16px calc(10px + env(safe-area-inset-bottom)); }

/* 14. Reveal ------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* 15. Responsive -------------------------------------------- */
@media (min-width: 540px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc--big { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-form { grid-template-columns: 1fr 1fr; }
  .cta-form .btn, .cta-form .form-error { grid-column: 1 / -1; }
  .monthly { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 720px) {
  .nav-cta { display: inline-flex; }
  .chat { left: auto; right: 16px; bottom: 16px; width: 400px; border-radius: 24px; transform: translateY(20px) scale(.96); opacity: 0; transition: transform .45s var(--ease-out), opacity .35s, visibility 0s .45s; }
  .chat.is-open { transform: none; opacity: 1; }
  .hero-actions .btn { flex: 0 0 auto; }
}
@media (min-width: 960px) {
  :root { --nav-h: 78px; }
  .burger { display: none; }
  .nav-links { display: flex; gap: 32px; position: absolute; left: 50%; translate: -50% 0; }
  .nav-links a { font-size: .93rem; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; transition: color .3s; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 30px; }
  .hero-title { font-size: clamp(3.6rem, 6.2vw, 5.8rem); }
  .hero-visual { height: 560px; }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc--big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .svc--big h3 { font-size: 1.9rem; }
  .svc--big .svc-demo { margin-top: auto; padding-top: 28px; }
  .sol-body { grid-template-columns: 1fr auto; gap: 80px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -14px; width: 14px; height: 2px; background: var(--grad); }
  .case { grid-template-columns: 1.25fr .75fr; gap: 56px; }
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
  .plan--hot { padding-block: 44px; }
  .footer { padding-bottom: 50px; }
  .floaters { right: 24px; bottom: 24px; }
}

/* 16. Reduced motion (solo lo intrusivo) -------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .orb-ring, .orb-logo, .float-card, .kicker-dot { animation: none; }
}
